I have this 1-Wire issue I have been trying to solve for quite some time...
I'm running 2 or 3 DS18B20 temp sensors over a kitchen into the freezer, less than 20m, a very noisy environment, initially using UTP (unshielded twisted pair), first picture, and later using FTP (foiled twisted pair wrapped) but still cannot solve the problem on having more than one sensors on the same bus.
Laster I found out the wiring guy did not terminate the small conductor wires ( shown in pic4 ) and not using a metal RJ45 socket and therefore I did not get any grounding on both ends ...
The sensor end is stuffed and packed into the freezer near the compressor using a long 2m flat RJ45 cable (unshielded) ....
My circuit diagram is as follow ( last pic ) :-
- 2.2K pullup to 3.3V
- 3.6V zener protection diode
- 1K on the wire
- Jumper is soldered
I'm suspecting a "mismatched impedance" and lots of signal bouncing to and from both ends....
Can anyone please suggest how do I :-
Q1. Remove or reduced the impedance mismatch ?
Q2. How to further troubleshoot this ?
Q3. Reduce the noise or improve the SNR ?
Q4. Do I need to use a higher value resistors on R7 ( currently 2.2K ) ??
Thank you for your time to read this long post...
Stanley
Cable 1 UTP
UTP cable - noise level
Cable 1 FTP
FTP cable - noise level
Cable 1 - compare
Comparing UTP vs FTP noise level