New answers tagged esp32
0
votes
To control the relay switching in nextion using esp32 Microcontroller
There is a simpler way to print the temperature to the display and call the BT button without using the Nextion Library. In this example, I am using a TCA9548A because I am using 2 BMP280s.
void TEMP()...
2
votes
Checking size in flash memory Esp32
The file system on the ESP32 is stored in a portion of the flash memory, and managed by the SPIFFS (SPI Flash File System) library. You can use the SPIFFS.info() function to get information about the ...
- 21
0
votes
LVGL v8.2 on ESP32-S3 colour issue ILI9341 TFT LCD Arduino IDE
Turns out, I had to disable LV_COLOR_16_SWAP
I had been trying with different colour depths and everything else, I still cannot see gradients drawn properly, but the colours seem to be correct now.
- 129
2
votes
Accepted
AA alkaline batteries on firebeetle?
The following is based purely on the small amount of information in your question. You haven't described your code or your setup, which would allow this answer to be more specific.
According to the ...
- 1,510
-1
votes
Need ESP32 to use 3 Serial Ports
Welcome Richard, your question is interesting and a common problem in the Arduino arena. I simply use a SPI or I2C board that outputs RS232. I stumbled across them a few years back and used several, ...
- 1,591
1
vote
Accepted
integer overflow in expression of type 'int' results
Change that line to:
esp_sleep_enable_timer_wakeup((uint64_t) TIME_TO_SLEEP * 60 * uS_TO_S_FACTOR);
That forces the compiler to do 64-bit arithmetic on the constant rather than defaulting to "...
- 36k
0
votes
Code works if i define const byte NUM_SAMPLES = 30;, but if i define NUM_SAMPLES as a non-constant variable it does not work
When you use a const, that is the same as a fixed number, your code cannot change it. You need to define it as an int, float, double, etc but without the const part. Simply remove the the const and it ...
- 1,591
1
vote
ESP32 HTTP Request handles Go webserver response, but fails on node JS servers
I've figured out after an unreasonable amount of time that the request fails with a 400 as it doesn't have a slash at the end of the URL (http://192.168.1.208:8090 -> http://192.168.1.208:8090/). ...
- 121
1
vote
Arduino IDE for ESP32: Compilation Error: Exist status 255
I don't have Mac but I am working on Linux and I also had issues with Arduino IDE v2 (in the past). Because of this I'm still using IDE v1 with no issues and that's my suggestion: try older version of ...
- 125
1
vote
ESP32 failing to read from DHT11, MH-Z19C sensors
You did a good job of giving links. You could have improved your question by showing, not just telling us, how you connected the sensors.
How do you "debug" hardware? Is there no way to know ...
- 319
3
votes
ESP32 HTTP Request handles Go webserver response, but fails on node JS servers
Your Arduino code reads like this:
int httpCode = http.GET();
http.addHeader("Content-Type", "application/json");
http.addHeader("Host", "something");
//...
- 1,394
1
vote
Accepted
Wemos C3 Mini (ESP32-C3) does not run firmware unless connected to pc
Your program could be busy, waiting for the com port to open.
- 1,250
0
votes
WS2812b - Interpolate pixels on neopixel matrix with mask
thanks for your advice. I stepped back to a 1D model, simplified, altered and it worked, with complex models (in 1D XD), a hard coded Array. So finally I went on for 2D and extended the code. Now it ...
0
votes
Wemos D1 R32 loses Bluetooth connection
I actually solved this issue by NOT using GPIO12. I read somewhere about 12 being used for something at bootup so I switched over to pins 13 and 14 and it works just fine!
0
votes
Setting float to two decimal places
one can convert to n decimals with the String Class
float num = 3.14159
String str1 = String(num, 1) // 3.1
String str2 = String(num, 2) // 3.14
String str3 = String(num, 3) // 3.141
- 145
Top 50 recent answers are included
Related Tags
esp32 × 773arduino-ide × 111
esp8266 × 72
wifi × 59
arduino-uno × 55
espressif × 41
bluetooth × 37
serial × 34
web-server × 32
i2c × 29
c++ × 27
sensors × 26
spi × 25
http × 22
power × 21
mqtt × 19
adafruit × 16
ble × 16
sd-card × 15
battery × 15
json × 15
interrupt × 13
library × 13
uart × 13
led × 12