jump to navigation

DS18B20 – always a new twist June 10, 2013

Posted by rik94566 in 1-wire, aquaponics electronics, DIY aquaponics, DS18B20, IoT aquaponics, One-wire, Stainless Steel Temp Probe, Temperature Probe.
Tags: , , , , , , ,
trackback

I have resisted moving to Arduino IDE 1.0.x as I have read that people have had problems moving to it.

In my case I have been using ver 21 IDE because it was stable and all the libraries worked with it.  Now that I am moving to the IoT platform I am required to use Arduino IDE 1.0.x.

First step was to download and install.  Then needed to re-establish all the libraries required to work with DS18B20.  Once all done it was time to determine if it all would work correctly.

To start off I ran the one-wire finder sketch.  Much to my delight it worked.  Now I was very confident that this transition was going to go smoothly.   I now connected up 3 sensors and loaded my 3 sensor sketch.

Here was my result:

DS18B20 - 1.0.x

I got reading that were incorrect or really no readings at all

Next I had to make sure the hardware was connected right.  So I went back to my ver. 21 IDE and re-tested everything.  Sure enough everything worked great.

The results now is that using the Hacktronics sketch that was stated to be workable with Arduino IDE 1.0.x does not work with my set-up.  Now I will have to determine just what the problem is and how to correct it.

This will have to be my next task in learning about the DS18B20 and Arduino.

Advertisements

Comments»

1. terryking228 - June 10, 2013

Hi Rik,

I’ve been using 1.0x (1.05 now) for quite a while. The examples here are OK with 1.05:
http://arduino-info.wikispaces.com/Brick-Temperature-DS18B20

One is your example with 4 DS18B20 on one wire…

Latest libraries there also….

Regards, Terry King
…In The Woods in Vermont, USA
terry@yourduino.com

rik94566 - June 11, 2013

Terry,

Thanks for your input on this. I will give it a go with your links. I was surprised that it would not work. Thanks for helping out on this as I was starting to get frustrated with it. Now I know it is possible and will keep after it until I get it working.

rik


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: