-
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
add gpio 0 in user test module #178
Comments
I'll drop User test in the next release as the Wemos D1 mini has exactly what you want; all GPIOs are user selectable |
Thanks ( vielen dank im voraus ) |
On Sat, 11 Mar 2017, Theo Arends wrote:
I'll drop User test in the next release as the Wemos D1 mini has exactly what you want; all GPIOs are user selectable
Please keep user test (unless all features are now selectable)
|
See the wemos defines. All is user selectable so the user test will be gone in next release. |
4.0.4 20170312 * Add pulse timers for up to 4 relays (#106) * Fix Sonoff Led power state when dimmer or color is 0 (#176) * Add command NtpServer<x> to configure up to three NTP servers (#177) * Delete module User Test as module Wemos D1 mini has same/more user configurable GPIO (#178) * Add more user configurable GPIO to module ElectroDragon (#183)
The Wemos support looks great so far, unless I am mistaken. I loaded the firmware onto my D1 Mini and configured it using GPIO12 as a relay output. The problem I am experiencing, one that I have seen before on other micro-controllers, is that if the unit power cycles so does the relay. In my target application as a remote garage door controller this is bad because if the unit experiences a power failure then the door will open unexpectedly when power is restored. If I am away this could be a huge problem. Is this a problem that can be addressed in a future update to the software? |
not really, the relay click you are seeing is happening before the software is
up and running.
the best that you could do is to setup the relay to be inverted, instead of
going from the pin to ground to drive your relay, try going from 3.3v to the pin
other than that, you need to setup some way to require a longer pulse before
triggering the garage door, you could probably do something with a capacitor on
the output of the relay that would absorb the power for a bit (possibly with a
pull-down resistor to slow it's charging), it depends on how sensitive the
garage door is.
David Lang
|
I came to the same conclusion as you did and with similar solutions.. I was heading down the path of having a re-settable latching circuit that you would latch on first startup of the device. After that, in the even of a power failure, the latch would open interrupting the output of the relay till it is manually reset. This is not a perfect solution but I think it is a workable solution. Thanks for responding so quickly to my post. |
4.0.4 20170312 * Add pulse timers for up to 4 relays (arendst#106) * Fix Sonoff Led power state when dimmer or color is 0 (arendst#176) * Add command NtpServer<x> to configure up to three NTP servers (arendst#177) * Delete module User Test as module Wemos D1 mini has same/more user configurable GPIO (arendst#178) * Add more user configurable GPIO to module ElectroDragon (arendst#183)
No description provided.
The text was updated successfully, but these errors were encountered: