Search found 4 matches

by soleyj
Thu Dec 28, 2023 5:10 pm
Forum: ESP32 Arduino
Topic: Esp32 using EEPROM or preference, UART stops working after a while.
Replies: 1
Views: 1376

Esp32 using EEPROM or preference, UART stops working after a while.

Hello,  I have an esp32 working with 3 UARTS, one that just prints over the serial port, and the other 2 connected to another esp32.  The problem is that just by declaring the EEPROM library or preference, the UART stops working after some random time. The UART stops printing over the serial port an...
by soleyj
Thu Dec 21, 2023 6:47 pm
Forum: ESP32 Arduino
Topic: Esp32 Stop working after a random time with a new code .
Replies: 3
Views: 2742

Re: Esp32 Stop working after a random time with a new code .

The serial writer is wired into the main loop trigger by a variable from the main timer. This may not be the error because the code remains the same as the code that is working. Maybe the error is related to the EEPROM? I have this code to update the EEPROM. void WriteEEPROM(int direction, int value...
by soleyj
Thu Dec 21, 2023 9:51 am
Forum: ESP32 Arduino
Topic: Esp32 Stop working after a random time with a new code .
Replies: 3
Views: 2742

Esp32 Stop working after a random time with a new code .

Hi, I have servals esp32 connected between them with 2 uarts, one for input and the other for output, like ws2812b communication. Also each esp32 has 3 hx711 attached. The total esp32 in serial that I have is 10. The esp32 needs to detect if there is a human on the load cell. I have one code that is...
by soleyj
Mon May 08, 2023 11:25 am
Forum: ESP32 Arduino
Topic: Read Uart Speed
Replies: 0
Views: 884

Read Uart Speed

Hello, I am not able to read at 2.5mbits speed for the uart. Here is the code: Serial2.begin(2500000); Serial2.setRxBufferSize(40000); void read_uart() { uint8_t buffer[4096]; int n = Serial2.readBytes(buffer, sizeof(buffer)); if (n > 0) { Serial.println(buffer[0]); } } 12900kb, last 100-300 milisec...