i have just discovered that the RX pin on my original UNO Rev. 3 is not functioning 100%
-
when i upload sketches, both RX ad TX LEDs flicker.
-
when i run the Blink sketch on pin 0 (ie. RX) - an external LED will blink accdly, but the RX LED (on the board) does nothing. (not that i know if it should do anything.)
-
when i run the Blink sketch on pin 1 (ie. TX) - an external LED will blink accdly, meanwhile the TX LED (on the board) does flash very briefly when the LED changes from on(HIGH) to off(LOW).
-
i also checked what was going on on the “other pin”; in (2) ie.RX-blinking, i switched the jumper to see what TX was doing - the LED lit very dimly; while, for (3) ie.TX-blinking, switching the jumper to RX - the LED was lit on all the time, at what seems to be the same brightness as when it was connected to the “blinking pin”.
-
i tested multiple-Serial communication with a Bluetooth HC-05 module using this SoftwareSerial code
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3); // RX, TX
void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(9600);
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port
mySerial.begin(9600);
mySerial.println("Hello, world?");
}
void loop() // run over and over
{
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}
nothing appeared on the Serial Monitor after “Goodnight moon!”, but whatever was typed and ‘Sent’, did appear on the Bluetooth Terminal.
meaning “receiving” (ie. the RX pin… or the connection to the 16U2 ?) has an issue.
further info; when testing the blink sketches earlier, the case of (3) - the TX (on board) LED actually blinked in sync with the connected LED - but testing it again, to confirm the situation, it seems to have “gotten worse”(?) - only flashing briefly (on the falling edge ?).
can anybody confirm what has likely happened to the RX pin - is it permanently out of commission as far as Serial communication is required ?
is there a possible remedy to this situation ?
Thanks.