Category : esp

I want to code my esp32 using espressif idf. i am new to espressif idf. i installed the offline esp idf in my laptop from https://docs.espressif.com/projects/esp-idf/en/v4.3-beta1/esp32s2/get-started/windows-setup.html#get-started-windows-tools-installer. next i reffered this video https://www.youtube.com/watch?v=byVPAfodTyY to start my work. but while building the code, i got one failed message as below: FAILED: esp-idf/mbedtls/x509_crt_bundle ninja: build stopped: subcommand failed. ..

Read more

I Need to write float or Strings value into the SDVolume Cache in SDFAT library, I’m using ESP32 with SdCard module. uint8_t* pCache = (uint8_t*)sd.vol()->cacheClear(); memset(pCache, ‘ ‘, 512); for (uint16_t i = 0; i < 512; i += 4) { pCache[i + 0] = ‘r’; // I Need to write a Float value or ..

Read more

I’m getting this error, when trying to use Wifi + DallasTemperature on my esp32. Temperature sensor is Gravity DS18B20. When I comment this line connectToWiFi(); it works fine. here is my code #include <OneWire.h> #include <DallasTemperature.h> #include <WiFi.h> // Wifi Settings #define WIFI_NETWORK "name" #define WIFI_PASSWORD "pass" #define WIFI_TIMOUT_MS 20000 const int oneWireBus = 32; ..

Read more

I am a newbie to programming. I have made an HTML code and prepared a JavaScript code to write a JSON string. this is my page code: <!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" href="style.css"> </head> <script> var button_1_status = 0; var button_2_status = 0; var button_3_status = 0; var button_4_status ..

Read more