Lowered the resistor from 4k7 to 3k3.I've got 4 different sensors, none is working "remote", but very well close to the board.I'm powering the unit through the USB-cable.if I move them directly close to the board it detects 2 or more addresses.I use the code below to just locate and display the devices.
lease, have mercy on me and tell me what the h##l is wrong....
....I'm using the sensor (waterproof) itself. .....
but it seems they had resistors in the metal casing.
Try this.Connect the cable to your arduino. Take the sensor off the remote end of the cable. Connect the data line to a digital pin on the arduino. Write a sketch which sets the digital output to low, and get the sketch to make the output low and high alternatively at one second intervals. Use your voltmeter to measure the voltage on the remote end of the data line. You should see the voltage going high and low each second. If this test works, then it means your wiring scheme is basically sound, you can signal at a 1 Hz rate, it then becomes an issue of speeding things up to whatever frequency the onewire devices use.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16