Is my Arduino Uno Dead?

Hi there,
I have tested few examples on my board and suddenly my board wasn't showing up.
Then after pressing the reset button tried different USB ports it showed up as "Unknown".
The green led is on and the orange/yellow one is blinking.
I have plugged it over USB all the time.
Also when i unplug the board it still shows up in the IDE as Unknown /dev/ttyS0

How can i test if the board is okay?

That sounds like you are using Linux, is that correct?

Is the last sketch you had on the board a blink sketch?

What are the LEDs labeled? My boards are not all the same. If the Tx LED is lit in a steady state, it’s likely you’re experiencing a serial flood.

On my Linux machines, /dev/ttyS0 is not connected to anything—it exists even when nothing is plugged into the USB ports. Arduino devices typically appear as /dev/ttyUSBx, where x is a number like 0 or higher, /dev/tty/USB1. Here is a link that explains it: Working with the serial console - ArchWiki What else is connected to the Arduino. If there is post an annotated schematic showing what the circuit is.

/dev/ttyS0 shows up by default on a Linux system. You should be seeing /dev/ttyUSB0 or /dev/ttyACM0 depending on which board you are using (Genuine Arduino or clone) and more specifically, which chip (16u2 or CH340) it has.

Possibly your USB cable has failed? Have you tried another one?

Do you have anything else connected to pins 0 and 1 (Rx/Tx)?

No, I've unplugged all cables.
Apparently me using the TX pin caused this issue.
The way Arduinos brick themselves so easily is insane to me.

USB cable works
Board is 99% not dead but bricked

Someone advised me to use another Arduino and flash the Uno over SPI.

If there is a simpler way I would raher try that.

Which OS? Linux or...?

NixOS

What is the output of lsusb without the board connected?
What is the output of lsusb with the board connected?

Run dmesg -w without the board connected; the program will not close.
Press <enter> a few times so you can clearly identify the output of the next step.
Next connect the board and observe the output. Post the additional output that you got (please use code tags).
Close the program.

Apparently so.
What did you have connected to the TX pin

I'm using a TMC2209 with the Arduino Uno, I either set the pin1 as DIR or STEP.

About the logs, I will provide them when I'm home, currently at work.

But as far as I know lsusb didn't show any new board, only my peripherals.

You cannot have anything connected to pins 0 or 1 while uploading code, it will interfere with the upload

The 328P MCU on the Uno has only one serial port which is exposed on pins 0 and 1 (marked Rx and Tx). However, this port is also used by the UART chip to provide the serial over USB connection. Generally, serial can only be used by two devices at a time, which while uploading a program would be the USB UART and the MCU. Anything else connected to the pins can potentially interfere with the transmission of data.

Moreover, if the pins used for serial Tx/Rx are re-configured to be used as a GPIO input or output (which they can be) this will override the function of the serial port. For this reason, re-configuring pins 0 and 1 for GPIO is generally to be avoided. If a sketch that re-configures these pins has been uploaded (apparently so because you "either set the pin1 as DIR or STEP"), then you might have to restore the board to normal operation using the 6-pin ICSP header using a suitable programmer, for example a USBASP programmer or another Arduino board set up as an ISP programmer. Once you have set up the programmer, you would need to burn the bootloader using the Tools->Burn Bootloader option in the IDE. After you have done that, you should be able to program the board again over USB, but you will need to assign a different pin for DIR or STEP!

Arduino didn't brick themselves, you did.

2 Likes

No clue what happen but I had it unplugged yesterday and when I came home and plugged it in, it was showing up as /dev/ttyACM0 and I flashed an empty project on it.

Are the TX RX (0,1) pins the only ones to avoid?

When uploading or using the serial monitor yes, otherwise you can use them as you wish.

You need to be careful when using motors and motor drivers with the Arduino. Making a wrong connection for just a fraction of a second can damage the uno

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.