1

I have an ESP32 Joy-it - SBC NodeMCU-ESP32 that should be use with board "ESP32 Dev Module". IDE says : Chip is ESP32-D0WDQ6 (revision v1.0).

Website product: https://joy-it.net/en/products/SBC-NodeMCU-ESP32

When I make a wifi scan, I find my AP, but if I connect with SSID + Password (both WPA (Internet box router - Freebox Crystal France) and WPA2 Personal (Xiaomi A2 Lite)), it doesn't work.

So I tried to make an AP without password on my phone, and ESP32 can connect without problem.

To do that, I used the default sketch "Wifi -> Wifi Client". My SSID and my password contain only letters/numbers (Only ASCII chars).

I tried to burn the bootloader, but nothing change.

I am using :

  • IDE Arduino 2.2.1
  • esp32 by espressif 2.0.14

Does somebody have an idea ?

3
  • I tried to burn the bootloader ... what does that mean?
    – jsotola
    Nov 21, 2023 at 21:47
  • Click on Tools -> Burn bootloader in Arduino IDE GUI :)
    – Servuc
    Nov 21, 2023 at 21:49
  • Have you tried older esp32 core?
    – KIIV
    Nov 22, 2023 at 8:20

1 Answer 1

1

Solution, I'm using an old Freebox, which has only Open or WPA security,

Just add : WiFi.setMinSecurity(WIFI_AUTH_WPA_PSK); to allow connection to my router.

For people with WEP security, just use WIFI_AUTH_WEP

2
  • "which has only Open or WPA security" ... WIFI_AUTH_WEP. You meant "open or WEP" right?
    – timemage
    Nov 22, 2023 at 20:36
  • In fact, I copy paste line before move minmal security to wpa, my bad
    – Servuc
    Nov 23, 2023 at 9:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.