Hello, guys. I`ve been doing my project and found a problem.
The problem:
Im using W5500 ethernet module which is connected in the same line with relay switch. When the relay pin is set to LOW after it was HIGH Ethernet loses it connection. Im using Ethernet2 library and Ethernet.begin(mac) helps but it is slow, so it isn`t very effective.
The problem is updateLock function there relay pin changes its state
This is the project of lock so there is a wiegand card reader which takes data and sends it to local backend
To post images etc. you need trust level 1, you can get there by:
Entering at least 5 topics
Reading at least 30 posts
Spend a total of 10 minutes reading posts
Users at trust level 1 can...
Use all core Discourse functions; all new user restrictions are removed
Send PMs
Upload images and attachments
I would think your problem is related to the power supply or a wiring problem. Please post a schematic and some photos clearly showing the wiring, along with code in code tags
7.5volt for the ESP sounds high. The regulator/cooling is designed for 5volt-in.
It's 3.3volt regulator could already be overheating.
You can't draw an extra 75mA for the relay and 140mA for the W5500 from the 3.3volt pin of the ESP32. The 3.3volt regulator will certainly protest and periodically shut down (if you're lucky).