I have an Arduino Uno R3 and I was working on a project that involves using a pot and a 9V battery and it was working well, but then after I was done with the project, and wanted to connect the Arduino to the PC through the USB cable, the PC couldn't read it as it didn't appear anyway in Device manager or in tools tab.
What is weird to me that the board is working well because of the following:
- The "L" and "On" LEDs are on even when it is powered through the USB cable
- the Last sketch I uploaded is working well and as expected.
- All PINs are working
- I used another Arduino board as ISP to upload a new sketch to the broken board and it worked.
5)I tested the USB cable with the other Arduino to upload a new sketch and it is working with no problem
I tried uploading a new clean sketch, reset, burn bootloader but nothing fixed the issue
The TX and RX light didn't work when I tried all of that.
What are the possible reasons for this issue and how to fix it?