Hi, I’m having trouble getting the SKR 1.4 Turbo and ESP32 to communicate with each other. I was thinking of building a Bluetooth remote control using two ESP32s. However, after testing the connection by hooking up the ESP32 to the SKR’s Wi-Fi UART port, it seems that I can’t establish any connection.
As far as I know the only working combo for Web UI with Marlin is using an ESP-01S, not an ESP-32.
What instructions are you following to try and add an ESP to your SKR 1.4 Turbo?
I couldn’t find any instructions anywhere and have been trying to write the code for the ESP myself.
#include <HardwareSerial.h>
HardwareSerial mySerial(2); //(TX=GPIO17, RX=GPIO16)
void setup() {
Serial.begin(115200);
mySerial.begin(115200, SERIAL_8N1, 16, 17); // UART2 ESP32: RX=16, TX=17
Serial.println("ESP32 yhdistetty SKR 1.4 Turbon UART3:een!");
}
void loop() {
if (mySerial.available()) {
String received = mySerial.readString();
Serial.print("Vastaanotettu SKR:stä: ");
Serial.println(received);
}
if (Serial.available()) {
String command = Serial.readString();
mySerial.print(command); // Lähetetään komento SKR:lle
}
}
This thread helped me learn how to flash an ESP-01S, it may be very informative for you: