-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Disabling Pullup resistor for GPIO #2525
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi, For all your PIR sensors happened this, or for any in particular? |
It happens with all my AM312 based sensors. |
I'm adding a new device that also needs the GPIO_SWT1 to have no pullup. |
Implemented. Closing issue. Please, ask to reopen if needed. Thanks. |
@ascillato2 can you point me to the documentation on how to use the new config? |
Yes, https://github.com/arendst/Sonoff-Tasmota/blob/development/sonoff/_changelog.ino Now, with last develompent version, you have in the webmenu in the module configuration new options from the dropdown selection. |
6.1.1.9 * Allow user override of define MAX_RULE_TIMERS (arendst#3561) * Allow user override of define MAX_RULE_VARS * Add GPIO options ButtonXn, SwitchXn and CounterXn to select INPUT mode instead of INPUT_PULLUP (arendst#2525) * Fix OtaMagic when file path contains a dash (-) (arendst#3563)
I have a PIR sensor that doesn't like the internal pullup on GPIO02 on my Sonoff T1 UK 3CH version. When the PIR goes "off" it is showing about 1.2V and 3.2V when on. The 1.2V is enough voltage for the pin to occasionally consider the input high. I tried adding a pulldown resistor which helped reduce the frequency but it would still happen occasionally.
My solution was to make a code change to switch GPIO02 to INPUT (floating) rather than INPUT_PULLUP. What do you think about adding a user configurable way to do this?
The text was updated successfully, but these errors were encountered: