Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Drive Z
Author | Message | ||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1805 |
This months SC has an article for an Inductance/Capacitance meter using an Arduino UNO. I purchased one on Ebay but using my workshop computer running Win XP I have loaded every driver known and can't connect. So I tried to connect using my laptop running Win 10 and it comes up but as Drive Z. But when I click on drive Z although I am the administrator I can't get access. So I go into sharing and share with everyone but still can't access. What is happening. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
Trevorc Newbie Joined: 26/02/2017 Location: United KingdomPosts: 22 |
Hi Palcal, It sounds familiar to me. You shouldn't get any problem if you have installed the Arduino IDE as the serial driver is in the driver folder with the Arduino files. It may help if you have a look at this site http://www.hobbytronics.co.uk/arduino-installation, it explains exactly what to do. I do warn that if you have installed other serial drivers, it is possible that your choice of Com No may be restricted if you don't remove the drivers. Hope this helps. Trevorc |
||||
BobD Guru Joined: 07/12/2011 Location: AustraliaPosts: 935 |
Many people have had a Drive Z appear. It seems that it may be related to updates pending. Are you sure it relates to the meter? Does it disappear when you remove the meter? Have a look at some of these threads. |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2294 |
hi paul, can you post a photo of the uno you received? does it have a "CH340G" near the USB socket? cheers, rob :-) |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1805 |
@ Robert.rozee Yes it does have a CH340G near the USB socket. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2294 |
in that case the drivers you need are here: http://www.wch.cn/download/CH341SER_ZIP.html it is the same USB to serial bridge as used on the original ascii ICSP programmer (that was based upon an arduino nano). i've always found the CH340G to be highly reliable. cheers, rob :-) |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1805 |
Thanks for that. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1805 |
OK am now connected on my Win XP box. Downloaded the sketch but got an error when verifying. Searched the net and found I may need to use an older release of the IDE, so downloaded and earlier version and now get an error at the line: The error message is: Probably one for Silicon Chip to sort out, but after a recent exchange of emails with them on another project I am sick of them. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2294 |
i'd suggest using the latest version of the IDE. from the error message, it sounds a little like there is no I2C LCD support built in by default for earlier versions of the IDE. can you report the exact error message with the new IDE? as i recall there is a progress window that lists everything happening during upload, cutting and pasting the entire contents of this after the compile/upload process may be helpful. using the IDE is really an unnecessary complexity. SC could have just provided a pre-compiled .hex file and a link to prog328p, a little arduino uploader that i wrote ages ago: https://github.com/robert-rozee/Prog328P if anyone cares to compile the sketch for paul, the upload with prog328p is then trivially simple. cheers, rob :-) |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1805 |
Reloaded the latest version of the IDE and the error message is. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2294 |
right, you are now running close to the latest version of the IDE (1.8.2), so this side of things is all correct. the hiccup is that the SC sketch requires one of the I2C liquid crystal librarys - there seems to be at least two. to install this you need to follow the steps here: https://www.arduino.cc/en/guide/libraries in the box that says "Filter your search..." type in "LiquidCrystal I2C" and select the right one. which one? hopefully the text of the SC article or the source of the sketch will give some clues. the one by Frank de Brabander would be my guess. am just off out for the rest of the day, but will check back in this evening to see what progress has been made. cheers, rob :-) |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1805 |
I looked through the article and can't find anything about I2C liquid crystal libraries . I don't have the display connected yet, still waiting on some parts. I thought I would have a play with the UNO and load the sketch in the meantime (never had anything to do with Arduino B4 and really don't want to start). The circuit is very simple, using the change in frequency of an oscillator to calculate the unknown value of L or C. It would be a perfect MM Backpack project so I'm thinking I might have a go at coding an MM to do the job, but get it going on the UNO first. Paul "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
GoodToGo! Senior Member Joined: 23/04/2017 Location: AustraliaPosts: 188 |
Gotta admit I was thinking about porting it to MM as well as it looks reasonably easy. But I'm just not too interested in learning arduino at the moment. (Ported INA219 library ok, but the NRF24L01+ library gave me a migraine. I'm even baulking at the Pi and it's MM port for now..... Just got too many other projects, or 'hobbies' as the boss calls them, on the go at the moment.... *sigh* Back to the xmas light power monitor coding...... Cheers! GTG! ...... Don't worry mate, it'll be GoodToGo! |
||||
palcal Guru Joined: 12/10/2011 Location: AustraliaPosts: 1805 |
@ GoodToGo I have never read Arduino code before but it was fairly self explanatory. I have finished converting the code to MM.Basic I'm sure it will have plenty of bugs but when I get the hardware built for the meter I will see what happens. Don't know if I can publish it or not as it is not really my code. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
Print this page |