logo elektroda
logo elektroda
X
logo elektroda

How do I connect the DS18B20 to the Sonoff TH Elite THR316D controller?

malpitrzon 1539 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20325134
    malpitrzon
    Level 8  
    Hi, I have been interested in the Sonoff TH Elite THR316D controller. I plan to buy it but would like to save money and use a DS18B20 sensor in a waterproof housing that I already have. The original sensor is connected to the controller with an RJ9 4P4C connector. If anyone knows how to connect this I would appreciate help. There are 3 wires coming out of my sensor: yellow, red, blue.

    On the AVT website where I bought this sensor there is this information about the leads:
    VCC - red - I have,
    GND - black (or blue - depending on the supplier) - I have blue,
    DATA - white - white I don't have so it will probably be yellow with me.

    I also found a sensor like this:
    https://allegro.pl/oferta/czujnik-ds18b20-termometr-sonda-15m-15-metrow-rj9-10454440687
    it's on an Rj9 plug just like I need however there it's yellow/green/black and in the picture it's still red so I don't know what it's about but maybe this will be helpful in answering.
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #3 20325668
    malpitrzon
    Level 8  
    @ducker1 thanks for the reply but I didn't understand anything. How can I not look at the colours when I have the sensor built in and don't know what is connected to what?
    How do I connect the DS18B20 to the Sonoff TH Elite THR316D controller? .
  • ADVERTISEMENT
  • #4 20325733
    ducker1
    Level 26  
    Don't look at the colours in the auction on eBay, but at the markings, from the photo you can deduce which pin of the plug goes to the power supply and which to the date.

    Now match it to your sensor, according to the colours
  • #5 20332816
    malpitrzon
    Level 8  
    Hi, thanks for your time but unfortunately the idea burned up when I realised the Sonoff didn't have hysteresis. I then started looking for something else and found a soldered kit on AVT for £106. I decided that this was too expensive :D I searched through the electronics box and found goldpins, a contact board, and a 2 relay module. I decided to buy the missing parts and build a fancy thermostat on a Raspberry Pico W. I paid £94 for the missing parts so it worked out cheaper than a ready made one and should generally be better. I have never had a Pico in my hands but after the descriptions on the internet building a thermostat seems trivial.
ADVERTISEMENT