-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sonoff TH 16 Elite cannot detect temp sensor #437
Comments
I don't think GPIO would give enough power to OneWire Device. According to my limited experience, even 3.3V from ESP32 didn't work well. I am NO hardware expert, though. |
18B20 works well from 3 to 5v. It depends on the wire length. No problem
with 2m and a 3k3 pullup. They stuck from time to time, so is a good option
power from gpio and be aple to remote reset the sensor.
El El lun, 21 oct. 2024 a la(s) 02:45, vitotai ***@***.***>
escribió:
… I don't think GPIO would give enough power to OneWire Device. According to
my limited experience, even 3.3V from ESP32 didn't work well. I am NO
hardware expert, though.
—
Reply to this email directly, view it on GitHub
<#437 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXBW4JAAGQVGACOR3FSCTLZ4SIHFAVCNFSM6AAAAABQHXRQNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRVGY2DEMJUGM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
This is standard 1.5m cable that came with the sonoff th16 elite device. i didn't check if it worked with the original firmware.. @lalo-uy the sonoff sensor has pullup built in. I updated the one-wire lib to 2.3.8 and added the line
|
I have a Sonoff TH Origin that I'm trying to get to work at the moment. The sensor I received isn't just a DS18B20. There is another microcontroller installed in the cable and I believe from there on it's not OneWire anymore. Does your temp sensor cable also have a little box in it? |
Ohh I didn't know that.. Yes it does... I was already thinking of buying a RJ11 to TRS adapter that Sonoff sells so that I can test with sensor that I know works. I was using Sonoff TH16 before. I have sensors from that. |
Bingo! I spliced the old device and everything is working... Big thanks @jonathanschneider I will receive oled-lcd tomorrow... I will create a PR once I get that working |
So, technically the Sonoff AL010 2.5mm Audio Jack to RJ9 Adapter could work with old sensor which are still easy to find. Or remove the in-line micro controller in newer sensor which involves splicing wires. |
Nice job! I'm looking forward to that PR! |
@jonathanschneider Here is the PR #438 it would be nice if you can confirm if it works in origin as well |
@zandegran I realized that the pinout between the TH Elite 16/TH Origin 16 and TH Elite 20/TH Origin 20 is different. Looking at your PR I believe you have a TH Elite 16 whereas I have a TH Origin 20. I will create a PR to make the distinction. |
@jonathanschneider I should have checked.. Only the Relays are different not the leds, data, soderpads for 20A elite and sensorpower though.. It takes some minutes before the cooling begins so the LED might be working already.. |
I had checked for differences between Elite and Origin but not between 16 and 20. The LED does work! |
@jonathanschneider This PR should fix your problem #440 |
The temp probe data should be at GPIO25. I changed the config to reflect this. Changed
oneWirePin
from 23 to 25 inConfig.h
. GPIO27 gives power to the sensor so added the following tovoid brewpi_setup()
inBrewPiLess.cpp
The LED is turning on but the temperature sensor is not detected.
My changes: master...zandegran:BrewPiLess:wip-sonoff-th-16-elite
The text was updated successfully, but these errors were encountered: