has anyone tried to use EspSoftwareSerial (https://github.com/plerup/espsoftwareserial) with ESP32-CAM?
I tried with simple tests to connect it with Arduino Uno and it works well, but as soon as I use it with the CamerWebServer sketch, ESP32-Cam can no longer identify the camera!
I tried with all the free pins, but the result is always the same.
For pin connection i used a Bi-Directional Logic Level Converter (3.3V<->5V)
I'm not using the SD card.
Code: Select all
//... omissis
#include <SoftwareSerial.h>
#define RX_PIN 2
#define TX_PIN 4
#define BAUD_RATE 57600
SoftwareSerial sSerial;
#define CAMERA_MODEL_AI_THINKER
//... omissis
void startCameraServer();
void setup() {
Serial.begin(115200);
Serial.setDebugOutput(true);
Serial.println();
sSerial.begin(BAUD_RATE, RX_PIN, TX_PIN, SWSERIAL_8N1, false, 95, 11);
//... omissis
sSerial.write(WiFi.localIP());
}
//... omissis
TIA
Federico
PS
Sorry for my english