3

I have bought 2 ESP32-C3 from Waveshare and tried many tutorials on how to connect them to the home router.

None of the code I used worked including the micropython example, Arduino example and not even the the ones from the ESP-IDF example folder.

I know the boards do work as all of the code examples from Arduino did work the moment I switched to the updated 3.0.0 alpha SDK. The problem with using that version is it is not compatible with the HomeSnap lib to connect to HomeKit, it only supports the ESP 2.14.0 lib.

I was hoping the official Espressif SDK would work at the bare minimum, but this is not working and leaving me puzzled as to why it is not working when I keep seeing YouTube tutorials that do and I did follow the installation process for the SDK.

The router I am trying to connect to is a dual-band 2.4/5g, run-of-the-mill cable isp cable modem router. And the code used is the one from the Espressif GitHub

Hope someone can find something in the logs below from the serial monitor attached the the IDF toolchain.

To see the max verbose logs, view these files on github

I also ran the scan example project to make certain my wifi was visible.

this is the one I am trying to connect to.

I (3067) scan: Total APs scanned = 11
I (3067) scan: SSID             FIZZ3211$
I (3067) scan: RSSI             -40
I (3067) scan: Authmode         WIFI_AUTH_WPA2_PSK
I (3067) scan: Pairwise Cipher  WIFI_CIPHER_TYPE_CCMP
I (3077) scan: Group Cipher     WIFI_CIPHER_TYPE_CCMP
I (3077) scan: Channel          6

Small Update: I tried the softAp example today and well I did not see the SSID on my iPhone, so I starting to wonder if the modules I bought from Waveshare are only able to receive wifi data and are unable to transmit. I do need to find a way to get the ISP router to log some info, that or buy a real router.

12
  • 3
    The ESP32-C3 only supports 2.4GHz wifi. Are you sure that you're trying to connect to an SSID on a 2.4GHz radio? Can you see the network you're trying to connect to when you run a wifi scanner on the ESP32-C3?
    – romkey
    Feb 7 at 23:23
  • Yes the router is a dual band 2.4 / 5 . will add the info in the question.
    – Nissaba
    Feb 8 at 0:38
  • Can you run a WiFi scan to check it actually sees your network? Also have you double checked the password and the authentication method?
    – jcaron
    Feb 8 at 13:27
  • I took the wifi login direct from my keychain/pasword store the ssid and paswd as been giga-checked ;) . As for scans, yes under Micropython and arduino I was able to scan the networks and my router was visible.
    – Nissaba
    Feb 8 at 15:24
  • Do you by any chance have any form of MAC address filtering set up on the router which would prevent unknown devices from associating?
    – jcaron
    Feb 10 at 9:22

0

Your Answer

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

Browse other questions tagged or ask your own question.