Wemos D1: Unable to use RX/TX pins (for hardware serial)
Posted: Sun Feb 25, 2024 3:27 pm
I'm unable to use the RX and TX pins on my Wemos D1 Mini (marked "MIN132") dev board for serial communications with a PC. I've configured standard hardware serial communications in the sketch, as shown below, which works perfectly if I connect the Wemos to the PC via the USB plug. However, I can't use the RX/TX pins, and I've tried
1) with a USB connection plugged in (for power),
2) no USB connected, and 5V power through the VCC pin
Nothing happens on the PC, in the terminal software, unless serial is taken through the USB port. Since the RX/TX pins are broken out I would expect the idea is that it should be possible to use them as an alternative to serial through the USB port?
1) with a USB connection plugged in (for power),
2) no USB connected, and 5V power through the VCC pin
Nothing happens on the PC, in the terminal software, unless serial is taken through the USB port. Since the RX/TX pins are broken out I would expect the idea is that it should be possible to use them as an alternative to serial through the USB port?
Code: Select all
void setup() {
Serial.begin(115200);
Serial.println("Hello world");
}
void loop() {
}