Hello World,
I use an ESP-01 with mega-20181220.
I have two switch between GND and GPIOs directly connected without other component resistor or capacitor
One Doorbell between GND and GPIO 0
One Door Contact between GND and GPIO 2
The Door Contact don't work every time, in case of the door is too quickly opened. I don't receive anything with MQTT.
Is it possible to correct this by computer code ?
Or do I have to correct this electronically ?
Thanks in advance
Olivier
Help switching time too short
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Help switching time too short
It's hard to tell if it's a mechanical issue or if the signal is too short. Could you measure the signal? Denounce time would maybe be possible to use, if you lower this value, you could even try the pulse counter?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Who is online
Users browsing this forum: No registered users and 21 guests