Hi,
I currently have 4 DS-18B20 sensors hooked into an Arduino Mega and Arduino Ethernet. I am running 3 wires to each sensor (pwr, gnd and data line). Everything was working fine until I tried to add another sensor. When I added the sensor, one of my existing sensors started to display 32 degrees and the new sensor did not show up. So I replaced the sensor, still same problem. Then I tried to add a sensor with a short wire (4 ft), still one sensor displays 32 degrees and did not recognize the new sensor. Then I added a 4 ft wire to the data line without hooking it up to anything else and one sensor displayed 32 degrees. I am using the 4.7K resistor at the Arduino mega and my longest run is about 25 ft. Does anyone have any ideas??
Thanks in advance,
Ronnie
I currently have 4 DS-18B20 sensors hooked into an Arduino Mega and Arduino Ethernet. I am running 3 wires to each sensor (pwr, gnd and data line). Everything was working fine until I tried to add another sensor. When I added the sensor, one of my existing sensors started to display 32 degrees and the new sensor did not show up. So I replaced the sensor, still same problem. Then I tried to add a sensor with a short wire (4 ft), still one sensor displays 32 degrees and did not recognize the new sensor. Then I added a 4 ft wire to the data line without hooking it up to anything else and one sensor displayed 32 degrees. I am using the 4.7K resistor at the Arduino mega and my longest run is about 25 ft. Does anyone have any ideas??
Thanks in advance,
Ronnie
Comment