11-06-2013 02:34 PM
Wohoooooooooo, yes that was it. I deleted the files you named and Arduino verified completely correct. I searched the code the hole time for the duplicates, not the directories. Thank you very much to both of you!
11-06-2013 02:54 PM
Hey all,
I've just had to make a printed circuit board to connect up to12 of the Dallas DS1820's to an Arduino Uno. (I actually get the first board tomorrow). Nice sturdy connectors and there are also screw terminals for some of the other Arduino connections, etc. I don't want to get too much into the details just yet. What I would like to know is if anyone else is interested in buying some. I'm not looking at making any money (well, maybe a little). So... anyone interested?
Thanks.
-Matt
11-06-2013 02:56 PM
Matt,
I'd be interested in one. I have about 4 - 6 sensors I'm going to need for my brew rig. Screw terminal connections for both the sensors and the link back to the Arduino or is it more like a shield?
11-06-2013 03:05 PM
I'll post some pics as soon as I put it together.. probably this weekend. It's supposed to come in tomorrow. Hopefully, it will work right away (crosses fingers).
The Arduino is going to mount directly on the board. The pins on the board will connect to the Arduino (so no wires between the Arduino and the board). The temp sensors will have a nice sturdy (but cheap) connector... I'll post the part number for that, too.
-Matt
11-09-2013 12:44 PM
After I got so much help here, I want to share my working VI together with the Arduino Firmware which I had never get done without your help, Nathan and PentairDave. The only thing is that I get error 5003 sometimes, but I don't know the reason, this doesn't help. Next step is adding more sensors.
11-09-2013 10:21 PM
Here is the official documtation for that errors: http://digital.ni.com/public.nsf/allkb/8D47D6C48D0ABA0A86257884007035F1. Having just skimmed over this document and your block diagram, I see that your baud rate does not match the default baudrate for the Arduino Mega 2560. The default baudrate is 9600 (unless you changed it in the firmware).
Also, you typically should open Init the Arduino before the loop starts and then close the Arduino after the loop finishes.
11-21-2013 02:18 PM
hi all,
anybody worked with more than one sensor?
regards
11-21-2013 02:52 PM
Hello Riky,
Actually, I was going to post something about that this weekend.
I have a board that can accommodate up to 12 sensors. Everything worked fine until I got up to 5 sensors (using the sketch you can download from this thread). I wrote a couple of additional commands (one to report the address of the sensor at index 0 and the other to report the temperature of a sensor at a given address). These functions also worked well. Once I got above 5 (or sometimes 6), nothing worked. I could talk a lot about the different resistors we tried and the o-scope traces, but I'm not going to bore you with all of the details. Because...
I was fortunate to be working across the street from the Maxim facility that supports this sensor (really!). They were great and helped me debug the problem. The conclusion was that the problem was in the software, probably in the Dallas Temperature library. With Maxim's help, I wrote a simple sketch that worked fine but did *not* use that library -- just the onewire library. The sketch that I wrote simply sends a text block with the address and temperature of each sensor it detects. If you want, I'll post that sketch (but not until this weekend). I'll also post pictures of the board and if you want, I will sell them to you -- not trying to make money on it. It's really nice because the Arduino mounts directly on the board...
-Matt
11-23-2013 09:34 AM
Sry for my double post but I just want to share the video which shows where the error starts. Anyway, it didn't help me to identify my fault but maybe somebody of you.
11-24-2013 11:54 AM
I tried to solve my 5003 problem but I don't get it. My VI works for some seconds and I used some of the ideas by DavePW but I dont know what's my fault.
Anyway, here is the picture, see also attached files and a video. I would be very happy if somebody could help me.
I used this way to read the sensor address of the DS18B20 sensors. http://www.hacktronics.com/Tutorials/arduino-1-wire-address-finder.html
Videolink: http://www.youtube.com/watch?v=rkmu5e6CMXc&feature=youtu.be