Customer:
I purchased a DS18B20 temperature sensor and I’m interested in what the maximum possible distance is for data transmission from the temperature sensor to the Croduino.
Original message (Croatian)
naručio sam od vas senzor temperature D18B20 pa me zanima kolika je maksimalna moguća udaljenost prijenosa podataka od temperaturne sonde do Croduina.
Originally submitted via Facebook on 8 March 2017. Migrated to the forum for community visibility.
Soldered Support:
We’ve used it with quite long cables - around 30 meters. What are your requirements?
Original message (Croatian)
hvala na narudžbi i povjerenju.
Koristili smo ga s poprilično dugački kablovima, 30ak metara. Ne znam kolike su tvoje potrebe?
Customer:
Which type of cable did you use? I need approximately 25 m maximum.
Original message (Croatian)
Aha. Koji tip kabela ste koristili? Trebam nekih 25 m max.
Customer:
I’ve read online that some people are using a smaller pull-up resistor. Did you also connect a resistor smaller than 4k7?
Original message (Croatian)
Malo sam citao po netu i negdje pisu da su koristili manji pull-up otpornik. Jeste li i vi spojili otpornik manji od 4k7?
Soldered Support:
I started to write about this in my previous message but didn’t want to complicate things. The reason for using a smaller resistor would be the resistance of the wire. You probably read about 2k instead of 4k7 somewhere, but for a 25m cable that doesn’t make sense, does it? We used 4k7. I don’t remember which cable we used, but bare copper stranded would be a good choice. If you’re able to experiment with different resistors over some time, it’s worth doing. The relationship between theory and practice often surprises, so it’s not bad to do a mini “calibration”.
Original message (Croatian)
Krenio sam ti u prijašnjoj poruci pisati o tome, ali nisam htio komplicirati.
Razlog manjeg otpornika bio bi otpor vodiča. Vjerovatno si negdje pročitao 2k umjesto 4k7, za kabel od 25m nema smisla zar ne? Mi smo koristili 4k7.
Ne sječam se koji smo koristili, bakreni licnasti bi bio dobar izbor. Ako si u mogućnosti isprobar s različitim otpornicima kroz neko vrijeme. Odnos prakse i teorije često zna iznenaditi pa nije loše napraviti mini “kalibraciju”.
Customer:
I’m thinking of using CAT5 LAN cable.
Original message (Croatian)
Aha, u redu. Razmisljam uzeti CAT5 Lan kabel.
Customer:
One more question: is it better to have each sensor with its own data wire and then combine them into one later, or to connect multiple sensors to one wire right away?
Original message (Croatian)
Jos samo jedno pitanje. Je li bolje da svaki senzor ima svoj data vodič pa ih poslije skupim u jedan ili da odmah spojis vise komada na jedan vodic