Edak
BrauShnizzleMyNizzle
At this point you could change your design to utilise an I2C LCD, which only uses 2 analog pins, leaves the rest for other in/outputs.
You only need to change that if you are running the sensor in parisite power mode. If your running the DS18B20 in powered mode (three wires)then the code is good. The code isn't designed to run in parisite mode anyway as it polls the sensor to see if the conversion is complete, you can't do that in parisite mode because the data line has to be held high until the conversion has taken place.Dxxxx said:Apparently I have fixed it. Seems like it was a software issue, had to change ds.write(0x44,0); to ds.write(0x44,1);
Something to do with parasite power? Too tired.
Nah, thanks for the offer, but I am well away from Melbourne. I've tried with 2 arduinos anyway. I've ordered another DS18B20 to test, so I'll see what happens.djar007 said:are you in mebourne dxx, I have a spare arduino tested and working you ca borrow to troubleshoot if you like
When I first completed my shield, it read the temperature fine without the pump/heater/buttons, then when I finished the rest it started doing the 85 thing. As with matties, the pcb labels weren't in the right spots, so check against the PDF wiring diagram to make sure you have the sensor connected properly.QldKev said:Currently I have the thing on a bench test, so the DS18B20 just has it's legs shoved into the 3 terminals. I have not connected up pump/heater/buttons. The code is matho's standard code (with the mandatory display name hack)
Should it read a correct temperature at this stage, all I get is the 85.00c
edit: The DS18B20 is not the one supplied with the kit, I don't have the normal kit one.
mattieharding said:check your connections QldKev I bought 2 x DS18B20s off ebay and they worked fine. Although I think my kit was labelled wrong on the PCB I will check tonite and post a pic if you like
Enter your email address to join: