Arduino UNO R3 turning off immediately when plugged in?

Hi, new to Arduino boards and stuff similar to that, so please explain anything as easily as possible, but I've been having trouble with getting my board to work. I've been plugging it into my computer using a USB to USB 2.0 cable, but when it's plugged in, it'll just turn off immediately, and very rarely work as if nothing happened. Does anyone know a fix to prevent accidental damage, or a permanent fix altogether? Thanks.

Edit; Tyvm for the help!

How is it powered when the USB cable is not plugged in to a computer? Post a close up picture of your setup.

1 Like

The USB is connected to the computer. forgot to mention that.

Do you have anything connected to the Uno? Anything at all, aside from the USB cable?

+1 for, please, post clear photos.

Please clearly explain what happens when you plug the Arduino cable into the computer.

Here's what it looks like. I moved the board on top of my pc for the image.

Yes, only a small servo motor plugged into a ground slot, the digital input 3 slot, and the 5volt power slot. I'm trying to add one more and a sensor later.

I've been plugging the cable from my computer to the arduino, if that does not matter, than what happens is that the "ON" light turns on for about a second, before fading away.

The Arduino is not a power supply, and the 5V output cannot be used for powering servos, motors, etc. Neither can the computer USB port. Ignore any tutorials that suggest otherwise.

Power the servo using a 4xAA battery pack, and don't forget to connect the grounds.

Oh, ok. So i should use batteries to power everything. Got it, thank you.

Just connecting the Ground to the GND slot on the arduino, right?

Connect the battery and servo negative power leads to Arduino GND. If you don't, there is no ground reference for the servo control signal and the servo will misbehave.

1 Like

Yes, the extenal power supply must share a ground with the Arduino. Here is how to power the servo. Other devices are the same, conceptually.

image

A sensor or other device that draws little current (like less than 20mA) can be powered by the 5V or USB. Anything else, like relay coils, motors of any kind, etc. need external power with the required voltage and current capabilities.

1 Like

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