Arduino disconecting secons after plugging in on USB port

I have an arduino Leonardo that I've been using for a while. It has always worked perfectly, but today when I turned on my PC the IDE said the port wasn't plugged in. So I did what everybody would do and plugged it out and in again. That's when something curious happend.
The IDE showed the arduino as conected for about 3-5 seconds then it disconected again. The boards On-led keept inicating it was on.
so I tried another port
and anothe cable
restarting my pc
restarting IDE
nothing.

WHat do I do? is my board dead? (I use windows btw)

Maybe not dead, but maybe damaged in some way.

Disconnect everything from the Leonardo and test again.

Try another Leonardo.

Try another USB port.

Try another USB cable.

Try another PC/laptop.

@J-M-L thanks for fixing my strike through marks. What did I do wrong there?

EDIT: Oh, I see. Got it.

Pinless test = Fail
other Board = don't have one :C
Other Laptop = Fail

:slight_smile:

the [s] looked weird otherwise

1 Like

one, two

one,
two

[s]one,

two[/s]

Looks like you can have a line break between the tags, but not a 2x line breaks/paragraph break.

Awsome text feature! your tests failed. do I have to buy another Board?...

Only way to know for sure, I suspect.

But I wouldn't recommend buying another Leonardo. Not a good form factor unless you plan to plug shields on top. Consider Arduino Micro or Pro Micro, which have far more sensible form factor for most projects.

Micro ok... how would a Nano/Uno work
Is Micro better?

I wouldn't recommend Uno for the same reason.

As for Nano:

  • There are many types of boards called Nano these days, with different features and capabilities, so please clarify which type you are asking about
  • Leonardo, Micro and Pro Micro all have the "native USB" feature which enables them to appear as a mouse/keyboard/joystick/MIDI device to a PC. Not all types of Nano can do that.

I see, what about the Arduino Nano Every

I've no experience with Nano Every. It's relatively new and the only type of Arduino that uses that particular chip. That may make it problematic for beginners in some way, I don't know. I don't think it has Native USB feature, if that's important to you.

Why not describe the type of projects you like or want to try, and the forum can suggest some models that would be suitable for a beginner.

Sounds good! Thanks for all your help!

I FIXED THE BOARD!! Turns out my code had somehow messed up the usb connection, so i uploaded an example program during the seconds it remained conected, and everything was fine again!

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