WiFi connection problem – NVS corrupted

If you have WiFi connection problems where WiFi.status() always returns WL_NO_SSID_AVAIL even you are sure that the AP is available and working, it might be that the NVS storage has been corrupted. The NVS storage is the place where esp-idf stores the WiFi credentials. See issue wifi connection problem on Arduino-esp32. To check if your NVS storage is corrupted you can use ESP32-Show_nvs_keys provided by stickbreaker. If your NVS storage is corrupted you can use the following code snippet to

Read more

Deep-Sleep needs WiFi and Bluetooth switched OFF for low current consumption

rudi48 made some investigations regarding power saving during deep sleep here. Summary: To achieve maximum power saving during deep sleep it is necessary to switch off Bluetooth and WiFi before calling esp_deep_sleep_start(); Example:


Read more

Missing DNS settings when using static IP


instead of

  A valid DNS will be available only if you started the network connection with default parameters (like Wifi.begin(ssid,sspass)), but will not be available in case you started your network connection with WiFi.config(IP,gateway,subnet) (used to get fix IP) without giving it valid DNS -> WiFi.config(IP,GW,SUB,DNS1,DNS2)!!!

Read more

OneWire alternative library

The OneWire protocol is very timing sensitive. stickbreaker modified the current version maintained by PaulStoffregen/OneWire to work with the ESP32. It is in the Github repo at stickbreaker/OneWire. For manual installation download the stickbreaker/OneWire archive, unzip it and place the OneWire folder into the library directory. In Arduino IDE this is usually <arduinosketchfolder>/libraries/ In PlatformIO this is usually <user>/.platformio/lib

Read more
Free Link Directory