libretiny-eu / libretiny

PlatformIO development platform for IoT modules
http://docs.libretiny.eu/
MIT License
383 stars 55 forks source link

WiFi connection error after running function WiFi.begin(ssid,password) #182

Closed TuanAIoT closed 9 months ago

TuanAIoT commented 9 months ago

WiFi connection error after running function WiFi.begin(ssid,password), I use CBU module. Does anyone have a sample example of connecting to wifi, then connecting to mqtt?

image

kuba2k2 commented 9 months ago

The reset reason says "power on", which means that the chip just received power to boot up. This is likely caused by loose (or too thin) wires, or a weak power supply. Connecting to wifi draws too much current, and the chip reboots.

TuanAIoT commented 9 months ago

Thank you, initially I used VCC = 3.3V but when I re-measured the voltage it was only 3.2V, that's why the chip rebooted. I repaired it using a 3.6V power source and the machine works normally, thank you very much