Wifi ony working with serial monitor connected
Posted: Sun Dec 19, 2021 8:50 pm
Hello,
i have designed a custom board, which doesn't have much.
The key "features" are CH340C to upload a sketch and 4 connections to connect a temperature sensor with I2C.
I'm able to upload the program and i'm able to execute it WITH a serial monitor connected to monitor debug output.
But once i connect it to a power only power supply the device starts but seems not to be able to connect to to wifi.
I tested that by adding a flashing led to every WiFi connect attempt.
It also doesn't work, when i use the PC USB cable to power it when i don't open a serial connection to it. It can be reproduced, that is works fine with a serial connection, an does not connect to WiFi once i only use a USB cable to power it.
I was wondering if it is my sketch so i tested it on a WEMOS EPS32. In that board the sketch runs without an issue in the same power supply. ==> Therefore my sketch seems not to be the issue, as it only doesn't work on my custom board.
Unfortunately i have no idea what might be the issue. I have searched in Google with ever possible combination of "ESP32" "no WiFi" "Serial monitor"
For the auto-program-circuit i used the 818-40 transistors, but i don't think so as upload works without an issue.
I upload the schematic here:
https://ibb.co/Gsw6YTh
i have designed a custom board, which doesn't have much.
The key "features" are CH340C to upload a sketch and 4 connections to connect a temperature sensor with I2C.
I'm able to upload the program and i'm able to execute it WITH a serial monitor connected to monitor debug output.
But once i connect it to a power only power supply the device starts but seems not to be able to connect to to wifi.
I tested that by adding a flashing led to every WiFi connect attempt.
It also doesn't work, when i use the PC USB cable to power it when i don't open a serial connection to it. It can be reproduced, that is works fine with a serial connection, an does not connect to WiFi once i only use a USB cable to power it.
I was wondering if it is my sketch so i tested it on a WEMOS EPS32. In that board the sketch runs without an issue in the same power supply. ==> Therefore my sketch seems not to be the issue, as it only doesn't work on my custom board.
Unfortunately i have no idea what might be the issue. I have searched in Google with ever possible combination of "ESP32" "no WiFi" "Serial monitor"
For the auto-program-circuit i used the 818-40 transistors, but i don't think so as upload works without an issue.
I upload the schematic here:
https://ibb.co/Gsw6YTh