Tx/Rx pins has inputs issue

Hi there,

I set up a hardware in the way that I have two push buttons allocated to pin 0 (Rx) and pin 1 (Tx). Those pins are connected to pull down resistor for the appropriate behavior of the buttons.

The problem is when I try to upload the program through the IDE it fails and I lose the communication between Genuino Uno and Windows 10. In the Device Manager it says it failed to request the device description. Uninstalling the drives, in the Device Manager, and reinstall by specifying the folder does not work. Restarting the PC or start the IDE with the Arduino already connected/disconnected didn't work as well.

The only think that worked was the reinstallation of the IDE but I wonder if there's another way to solve it when this happens.

Thank you for your time.

Pins 0 and 1 are internally wired to the USB/Serial circuits in the Arduino. If you have your buttons connected to them, Serial and USB can misbehave.

Put your pushbuttons on some other pins, or disconnect them while you're uploading your sketch.

An idle serial line is held high. There's a resistor between the serial adapter and the board, but it's probably lower resistance than the pulldown you're using.

If you wire your buttons the normal way (pulled up, with a button press connecting the line to ground) they will work fine (as long as you don't hold the button while trying to upload)

DrAzzy that's some good information you've given me!

In the end I just switched the pin to be an output but in the future I'll now what happens if is an input.

Thank you both for the replies.