I have 3 DB18S20, an Uno running hacktronic 1 wire tutorial, and when running each sensor by its self I get the reading. But when you tie all three into on pin it give only 000.00 in the readout. Program compiled fine and all I have added was the addresses for each sensor. I am running 4.7k pullup resistor and have tried it with and without external power. They are from china, and they are recognized as db18s20. any ideas, cheers
Program compiled fine
That's great.
Which program?
hacktronic 1 wire tutorial.
additional info. I am using pin 3 (ds2) on digital inputs, I have tried also OneWire Arduino Library, connecting 1-wire devices (DS18S20, etc) to Teensy and get the same results. When using only one sensor, serial monitor displays
ROM = 28 DE 75 8F 6 0 0 E4
Chip = DS18B20
Data = 1 62 1 4B 46 7F FF E 10 3 CRC=3
Temperature = 22.12 Celsius, 71.82 Fahrenheit
No more addresses.
but when more than one are attached....
No more addresses.
No more addresses.
No more addresses.
No more addresses.
achiappetta:
I have tried also OneWire Arduino Library, connecting 1-wire devices (DS18S20, etc) to Teensy and get the same results. When using only one sensor, serial monitor displays
ROM = 28 DE 75 8F 6 0 0 E4
Chip = DS18B20
Data = 1 62 1 4B 46 7F FF E 10 3 CRC=3
Temperature = 22.12 Celsius, 71.82 Fahrenheit
No more addresses.
Well, is it a DS18S20 or a DS18B20?
I can't remember the difference but I recall it is something to do with the resolution and, I guess, the time taken to acquire it. I believe the Hacktronics code is for the DS18B20 but any modification required should be trivial.
Good call, I did not notice it. there is a time difference but from what I just read that is it. I believe that one should be able to use them as a 1 wire. But just to check i did slow down the time to 1500 ms and they are still are not responding. I am new to the arduino world (relatively speaking) and I am wondering if any one else has had any issues like this before. I am suspect of the sensors . Can anyone a reliable vendor not in china for the 3 meter lead or longer, sealed type, thanks