In my current running project I need to interface 5 temperature sensor devices. One of these sensors is in the controller itself to monitor the inside temperature, the other four device are for water temperature monitoring. I started to test the sensors with only connecting one sensor. This sensor is working perfect just the way a suspected.
This sensor has a 4k7 pull-up resistor and is connected directly to the controller board about 3 cm from the microcontroller.
The other four sensors are connected with different cables they are about 3,5 meters long. I have connected on sensor to one of the cables and attached a 2k7 pull-up resistor. Now the problems that I'm experiencing.
1. When only one sensor is attached the sensor count macro tells me that there are 0 sensors attached, that's strange because this sensor is working correctly.
2. When I attach the second sensor and look what the scanbus macro tells me, it's gives me a error code 2. I have read on the forum that this could be
How can I solve this, is this matter of a wrong pull up resistor also get device count is not working properly with one sensor.returned when the one wire receives two consecutive logic 1's from the bus during a scan for nodes. This indicates that no node responded to the request.
Also it's a problem to share my flowcode because it's about 600kb big and I'm only allowed to upload 256kb.
Hope somebody can help me.
Regards jordy
