-
Notifications
You must be signed in to change notification settings - Fork 393
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
Cannot use ESP32 S3 GPIO 43, 44 for OneWire Dallas DS18B20 due to setting in util file #131
Comments
Imho a new release should include the needed changes for the upcoming espressif32 Arduino 3.0 too. We use a modified forked version and did the changes. Since it is not based on the current version, the changes done needs to be ported to the version here. |
@teastainGit, what exactly did you edit? Line 200 set to 44 does not work...?!? help please |
Martin: |
Thanks. meanwhile I used the patched version from Tasmota https://github.com/arendst/Tasmota/tree/development/lib/lib_basic/OneWire-Stickbreaker PS: and it works with only internal pullup ( pinMode(43,INPUT_PULLUP);) |
Have tried everything in this thread and also this: No luck yet. Is there any other library that might allow me to read PIN 43?. I need to use the JST connector. |
@patofoto this one supports pins >32 https://github.com/pstolarz/OneWireNg |
Arduino IDE 2.2.1 all libraries updated to current available.
Attempting to run a DS18B20 Dallas Semiconductor temp sensor on the "I2C" JST connector of a LilyGO T-Display S3.
The reading was -127 when I tried either pin 43 or pin 44.
Pins 1, 2, 18 or 17 worked fine.
Sensor would not work on 43, 44 on a M5StampS3, but would on any other.
Contributors to the Espressif Arduino repository
espressif/arduino-esp32#8324 (comment)
finally after 4 months hit on the possibility of the library's Util file OneWire_direct_gpio.h line 200; limiting the pin count to 33, the remainders would be "inputs".
I edited the util header and it worked.
Should I make a Pull Request?
-Terry
The text was updated successfully, but these errors were encountered: