-
Notifications
You must be signed in to change notification settings - Fork 123
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
ESP8266-EVB EMI noise #24
Comments
I think the problem is not hardware . but you will tell you what your consumer touch with relay? |
One day ago , I had the same problem, I upload simple sketch to switch relay over mqtt . And after five toggles of relay state, the esp module, block and restarting self |
Is there really a chance that this is a hardware problem or memmory leak |
Hey guys, We have tested the relays numerous times in different scenarios. They also get tested during and after the assembly of each board. I just tested to switch the relays a hundrded times and the behavior described by you does not occur here. What I recommend you to do:
The whole thing might be the typical problem with all electromechanical relays. Inductive AC and DC loads are hard for electomechanical relays where welding contacts cause problems. Normal way to solve this problem is to use clamp diodes or zener diodes in the poles of the load. However, this lengthens the off delay and it does not totally eliminate the sparking in relay contacts. Switching the high DC voltages is also difficult for the electromechanical relays. I am sure there is a lot of solutions that might be suggested online. There are a number of workarounds or partial solutions but they depend on your exact design and setup. There is no solution that I can recommend 100% - you will have to try different things. I have few ideas if the problem is related to the load (point 2):
Best regards, |
Thank you @DanKoloff for those recommendations. I do not know if this issue comes from hardware or software , but in any case it seems that both @toome123 and me are experiencing some odd behaviors with that board. |
Can you test with our IoT firmware (in this repository)? This would show if it is software-related issue. There is a category called "Relay" in the web form. Search for "relay" here: https://github.com/OLIMEX/ESP8266/tree/master/IoT%20Firmware Also check this video (despite that it doesn't show the usage of the on-board relay; you can see the "Relay" category in the web form): https://www.youtube.com/watch?v=4zRq85791vo |
The problem I had I think was the supply is not enough. @yerpj I use Olimex IoT firmware. I think this issue can be closed. |
I encountered some odd behaviour with the EVB. I mounted an http server on the ESP8266 ( javascript thanks to Espruino), and I tried to switch the relay state everytime a client connects to the server (thus, giving me a audible debug info). The case happened, where the ESP reseted by itself after the relay state changed. I experienced this many times.
I think it may come from the electro-magnetic field created by the relay inductor, which may be important enough to cause electrical errors on the ESP side.
Does anyone experienced the same behaviour?
The text was updated successfully, but these errors were encountered: