Use the Windows Mobile hotspot when your ESP32 C3 will not connect to any of your WIFI SSIDs
I spent two weeks troubleshooting ESP32 C3 network connectivity issues. They worked a couple of times and then just never connected after that. I changed the firmware, erased nv memory, and tried about 10 different solutions found in the forums.
In the end, the only reliable way to work with those particular ESPs was to create a mobile hotspot on my PC. That works 100% of the time for me. This is essentially Internet connection sharing even if it is only for the local network.
Getting the network working was important because the ES32 C3 doesn't support the file share mount for CircuitPython development. I normally use rshell for MicroPython work but rshell isn't CircuitPython compatible. So I really wanted the Web Workflow which requires a working network connection.
I farted around with a Seeed XIAO ESP32 C3 that wouldn't connect to the mobile hotspot. It turns out that tiny device could only see my desktop if I attached the external wifi antenna.
I've got networks
Windows | Yes |
Macbook | Yes |
Arduino Ethernet | Yes |
ESP8266 MicroPython | Yes |
ESP8266 Arduino | Yes |
Pico W MicroPython | Yes |
Pico W Arduino | Yes |
ESP32 C3 MicroPython | No |
ESP32 C3 Arduino | No |
ESP32 C3 CircuitPython | No |
Different Software
- Arduino: Failed
- MicroPython: Failed
- CircuitPython: Failed
Video coverage of this posting
Think differently
Create a new soft Hotspot / AP just for IoT dev work.
- Windows Key
- Enter "Mobile HotSpot"
- Select the Mobile Hotspot
- Set the network name and password.
- Select 2.4 GHz for the best compatibility. IoT project boards that do 5 GHz Wi-Fi aare rare.
- Put those credentials in your IoT application and restart it.
The Mobile hotspot management panel
Now we see the new Access Point and now we connect
Negatives
- The IoT device gets a different address every time you turn the Mobile hotspot off and then back on
- Sometimes it turns itself off. There is a switch that turns it off when no devices are connected. Disable that if you intend to power cycle devices.
- Not sure how you would do this on a Mac, probably Internet connection sharing.
Video
References
- Got this idea from this Youtube Video ESP-32 | ESP8266 | Nodemcu Installation & WIFI not connecting Issues fixed
Comments
Post a Comment