Hello,
I am making a standalone weather station and running into an issue. On startup, when I have a air quality sensor connected to the 5V VIN output, the wifi on the ESP 32 wont connect. If i disconnect the sensor, startup the ESP 32, then connect the 5V everything works fine.
The problem is I keep the ESP32 outside at the edge of range of wifi, so when I get it all going using the method described above it works fine. But it eventually momentarily disconnects from the wifi and when it tries to reconnect, it cannot since the 5V is now outputting to the peripherals. When I tested the weather station close to the wifi for a few days it had no issues, so I know its an issue of Wifi connection. Any ideas on how to solve the issue?
Hardware:
ESP-WROOM-32 ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi
ESP32 will not connect to wifi when 5v output connected to peripherals
-
- Posts: 2
- Joined: Sun Oct 09, 2022 9:27 pm
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 will not connect to wifi when 5v output connected to peripherals
Sounds like the sensor is somehow either using too much current or is inducing some kind of EMF into the power supply... you could either fix that, or take the easy way out and switch the power supply of that sensor using a mosfet or relay or something after you've connected.
Who is online
Users browsing this forum: Baidu [Spider] and 59 guests