Please excuse me. Hi, I am new to programming with arduino, but I have a problem with my arduino, which is that the transmitter light on pin 13 is always transmitting or on, which does not allow me to upload any new program, and I don't know if it is a hardware problem or Software. Please someone help me because I need an arduino
Hello, Can you explain better please?
the led on pin 13 is not the sae as the Tx Led, at least not on a UNO if this is what you are referring to
Oh okay so you have to upload a new program with anything to erase the othere one.
Try this...
- prepare to upload a new sketch
- press and release the RESET button
- upload the new sketch immediately
Steps to Recover Your Arduino Board from Serial Flood:
- Power Off the Board: Completely turn off your Arduino board by removing the power source.
- Disconnect the USB Cable: Unplug the USB cable from the board.
- Hold the Reset Button: Press and hold down the Reset button on the board.
- Alternatively, you can run a jumper wire from the RESET pin to the GND pin.
- Reconnect the USB Cable: While still holding the Reset button, reconnect the USB cable to the board.
- Start Uploading a New Sketch: Begin uploading a sketch that does not produce the same problem (e.g., the Blink sketch).
- Release the Reset Button: When you see the Receive light blink, release the Reset button.
- Modify Your Code: To prevent the issue from recurring, add a
delay(3000);
or a longer delay in thesetup()
function of your sketch. This delay allows you to recover easily from a serial flood.
Note: This problem often occurs when the serial output is flooded, indicated by the TX light being stuck on.
@jfsc - You did not read the original question.
If it is indeed the Tx LED, the serial-to-usb converter is malfunctioning.
If it's the L LED, the behaviour can be normal and does not have a direct relation with your problem. I have an original Mega where that L LED is always on (unless I program it in the sketch to be off); I have a SparkFun Redboard where that does not happen. So you need to find the schematic of your exact board (good luck if it's a clone) or measure with a ohm meter and check how that L LED is connected to the main processor.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.