Scrambled data from ESP32-CAM-MB
Posted: Fri Feb 04, 2022 6:11 pm
I'm using ESP32-CAM, which works fine with an external CP2102 USB/serial adapter, but gives me problems with two different ESP32-CAM-MB boards using these USB/serial chips:
- QinHeng Electronics HL-340
- CH340C
I'm testing with a simple blink script:
It runs as expected with CP2102, but with 340 chips the data coming back from ESP32-CAM is scrambled or listening on USB port with serial monitor on PlatformIO, halts the blinking. Any idea how to fix it? I tried different baud rates with the same result.
- QinHeng Electronics HL-340
- CH340C
I'm testing with a simple blink script:
Code: Select all
#include <Arduino.h>
void setup() {
Serial.begin(9600);
pinMode(33, OUTPUT);
}
void loop() {
digitalWrite(33, LOW);
delay(300);
digitalWrite(33, HIGH);
delay(300);
Serial.println("blink");
Serial.flush();
}