Comments for Random Nerd Tutorials https://randomnerdtutorials.com Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 30 Jul 2025 01:34:58 +0000 hourly 1 https://wordpress.org/?v=6.8.2 Comment on ESP32 Web Server with MPU-6050 Accelerometer and Gyroscope (3D object representation) by Jessica https://randomnerdtutorials.com/esp32-mpu-6050-web-server/#comment-1076137 Wed, 30 Jul 2025 01:34:58 +0000 https://randomnerdtutorials.com/?p=101046#comment-1076137 In reply to Jessica.

hey! So i got it fixing if anyone has the same problem uh its just scyning and takes time thank you Sara Santos for the libraries help good day

]]>
Comment on ESP32 CYD with ESP-NOW: Receive and Display Data From Multiple Boards by Bryan Staines https://randomnerdtutorials.com/esp32-cyd-esp-now-receive-data/#comment-1075996 Tue, 29 Jul 2025 16:43:30 +0000 https://randomnerdtutorials.com/?p=171725#comment-1075996 Hi Sara
I’m fairly new to this game so might need a bit of hand holding!
I get the following when compiling the code:

C:\Users\44784\AppData\Local\Temp.arduinoIDE-unsaved2025629-20436-411cb1.v10f6\sketch_jul29a\sketch_jul29a.ino: In function ‘void setup()’:
C:\Users\44784\AppData\Local\Temp.arduinoIDE-unsaved2025629-20436-411cb1.v10f6\sketch_jul29a\sketch_jul29a.ino:78:29: error: invalid conversion from ‘void ()(const uint8_t, esp_now_send_status_t)’ {aka ‘void ()(const unsigned char, esp_now_send_status_t)’} to ‘esp_now_send_cb_t’ {aka ‘void ()(const wifi_tx_info_t, esp_now_send_status_t)’} [-fpermissive]
78 | esp_now_register_send_cb (OnDataSent);
| ^~~~~~~~~~
| |
| void ()(const uint8_t, esp_now_send_status_t) {aka void ()(const unsigned char, esp_now_send_status_t)}
In file included from C:\Users\44784\AppData\Local\Temp.arduinoIDE-unsaved2025629-20436-411cb1.v10f6\sketch_jul29a\sketch_jul29a.ino:7:
C:\Users\44784\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.5-b66b5448-v1\esp32/include/esp_wifi/include/esp_now.h:185:54: note: initializing argument 1 of ‘esp_err_t esp_now_register_send_cb(esp_now_send_cb_t)’
185 | esp_err_t esp_now_register_send_cb(esp_now_send_cb_t cb);
| ~~~~~~~~~~~~~~~~~~^~
exit status 1

Compilation error: invalid conversion from ‘void ()(const uint8_t, esp_now_send_status_t)’ {aka ‘void ()(const unsigned char, esp_now_send_status_t)’} to ‘esp_now_send_cb_t’ {aka ‘void ()(const wifi_tx_info_t, esp_now_send_status_t)’} [-fpermissive]

I have installed:
ARDUINO ESP32 BOARDS by ARDUINO v 2.0.18-arduino .5
esp32 by Espressif Systems v 3.3.0

Any help would be greatly appreciated, thank you
Bryan

]]>
Comment on ESP32-CAM Remote Controlled Car Robot Web Server by Ramon https://randomnerdtutorials.com/esp32-cam-car-robot-web-server/#comment-1075986 Tue, 29 Jul 2025 15:43:08 +0000 https://randomnerdtutorials.com/?p=101469#comment-1075986 In reply to eric coller.

Good afternoon, I’m trying to do the same thing as you. Can you share your setup?
Thanks.

]]>
Comment on ESP32 Web Server with MPU-6050 Accelerometer and Gyroscope (3D object representation) by Jessica https://randomnerdtutorials.com/esp32-mpu-6050-web-server/#comment-1075685 Mon, 28 Jul 2025 17:21:22 +0000 https://randomnerdtutorials.com/?p=101046#comment-1075685 In reply to Sara Santos.

Oops, yah your right. I messed up.
I have another question idk if you could answer or not.

So basically, I wanted to tweak the website, but whenever I do, littleFS no longer works and I get an error message. Is there a reason for this? I use VS Code to edit the HTML files. Do I need to use PlatformIO for that then?

]]>
Comment on ESP32 HTTP GET and HTTP POST with Arduino IDE (JSON, URL Encoded, Text) by Peter https://randomnerdtutorials.com/esp32-http-get-post-arduino/#comment-1075672 Mon, 28 Jul 2025 16:45:35 +0000 https://randomnerdtutorials.com/?p=95443#comment-1075672 for newest library this line of code is obselute:
http.begin(serverPath.c_str());
so i used:
http.begin(wifiClient, serverPath); // Initialize with full URL
where serverpath is http://192.168.1.107/get-esp-data.php?apikey….
i also used some debug lines in code bellow which helped for solving the -1,404 code.
Lot of issues in php code, xampp server , code in arduino from my changes. One more problem is that you need to be connected to the same wifi network ( xampp, lampp + esp).
i did used another way of a code but maybe it helps somebody.
void upload() {
if (WiFi.status() != WL_CONNECTED) {
Serial.println(“WiFi Disconnected”);
return;
}
//ip address of a server
Serial.println(“Connecting to: ” + String(serverName));
//ip adress of a esp
Serial.println(“STA IP: ” + WiFi.localIP().toString());

// Create the server path
String serverPath = String(“http://”) + serverName +
“?api_key=” + apiKeyValue +
“&data=” + data +
“&data2=” + data2 +
“&teplota=” + temp;

HTTPClient http;

int httpResponseCode = http.GET();
Serial.println(“HTTP Response code: ” + String(httpResponseCode));

if (httpResponseCode > 0) {
String payload = http.getString();
Serial.println(“Payload: ” + payload);
} else {
Serial.println(“Error: ” + http.errorToString(httpResponseCode));
}

http.end(); // Free resources
}

firstly use get method for test and then go to post. It will help you. Also some easy code from start – test it step by step. othervise you will be lost – as me 🙂

great tutorial. Helped me 2-3 years ago. Helped me now

]]>
Comment on ESP32 HTTP GET and HTTP POST with Arduino IDE (JSON, URL Encoded, Text) by Peter https://randomnerdtutorials.com/esp32-http-get-post-arduino/#comment-1075666 Mon, 28 Jul 2025 16:35:05 +0000 https://randomnerdtutorials.com/?p=95443#comment-1075666 In reply to Uziel.

there could be a very wide range of a issues. ai helped me. generally you need to check everything.

]]>
Comment on ESP32 CYD with LVGL: Weather Station (Description, Temperature, Humidity) by Lukasz https://randomnerdtutorials.com/esp32-cyd-lvgl-weather-station/#comment-1075665 Mon, 28 Jul 2025 16:31:27 +0000 https://randomnerdtutorials.com/?p=161726#comment-1075665 Is it possible to add a second screen with the weather forecast for 3 days ahead so that the screens change every 5 minutes?

]]>
Comment on Node-RED with Raspberry Pi Camera (Take Photos) by Dusan https://randomnerdtutorials.com/node-red-with-raspberry-pi-camera-take-photos/#comment-1075651 Mon, 28 Jul 2025 15:28:16 +0000 http://randomnerdtutorials.com/?p=43720#comment-1075651 No longer valid in 2025

]]>
Comment on Getting Started with the ESP32-C3 Super Mini by Sara Santos https://randomnerdtutorials.com/getting-started-esp32-c3-super-mini/#comment-1075594 Mon, 28 Jul 2025 10:24:35 +0000 https://randomnerdtutorials.com/?p=170189#comment-1075594 In reply to Reini44.

Hi.
Thanks for pointing that out.
I’m sorry for the mistake in the code. It is fixed now.
Regards,
Sara

]]>
Comment on Getting Started with the ESP32-C3 Super Mini by Sara Santos https://randomnerdtutorials.com/getting-started-esp32-c3-super-mini/#comment-1075593 Mon, 28 Jul 2025 10:19:30 +0000 https://randomnerdtutorials.com/?p=170189#comment-1075593 In reply to Ed.

Thanks for sharing.
Regards,
Sara

]]>