Skip to content
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

Power the ESP directly from the NC reed switch #7

Open
zorro1011 opened this issue Dec 27, 2024 · 3 comments
Open

Power the ESP directly from the NC reed switch #7

zorro1011 opened this issue Dec 27, 2024 · 3 comments

Comments

@zorro1011
Copy link

zorro1011 commented Dec 27, 2024

Hi
power the ESP directly reed NC

I would like to know if there is a way to power the ESP directly using the reed NC as a simple switch.
in this way the consumption would be zero and the wear of the ESP would also

I'm trying but it seems that the reed, once turned on (moving the magnet away), can no longer be turned off by moving the magnet closer.

I apologize if I'm OT

thanks
best regards

@salvatoreraccardi
Copy link
Member

Hi @zorro1011,
usually, it is not recommended to do this; the reed switch is not meant to have the current flowing through it to power the ESP. The idea is to use the reed switch to activate a circuit that handles the power supply to the load. I recommend you take a look at our ELPM-S3LW, you could directly connect the reed switch to the master pin. Here is a prototype we developed recently that I will show on a youtube video soon:
Screenshot_1

@zorro1011
Copy link
Author

thanks for answering me
the thing I don't understand is that I tried successfully to power LEDs with reed with a load greater than 200mA, but my esp32c3 that only consumes 90mA, creates problems for me with the reed

I've been fighting for days and I've tried more reeds (of the same batch and with more magnets) but without success! :-(

I thank you and I think that in the end I will have to give up and do as you say.
I was hoping that someone had succeeded

best regards

@zorro1011
Copy link
Author

Hi
for those interested, I found the problem

the esp has an electrolytic capacitor that discharges when it is not powered.
it is like a short circuit for the Reed Switch that makes the platinum points "stick".
I put a 10k resistor in parallel with the Reed that keeps the esp electrolytic charged (I measured 2V) and makes sure that when turned on the points no longer stick.

thanks to everyone and I apologize again for the OT

best regards
happy new year to everyone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants