Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [power]

This tag is for questions regarding powering and/or power consumption of Arduino systems.

45
votes
2answers
50k views

What happens if I power the Arduino with both the USB and external power voltage simultaneously?

I am a new Arduino user. I am not sure whether I can connect both USB and external supply through power adaptor to Arduino simultaneously. Would this burn the controller? Basically, I want to ...
37
votes
4answers
8k views

What are (or how do I use) the power saving options of the Arduino to extend battery life?

For solar & battery powered projects, decreasing power consumption is a necessity. I know a little bit about using a timer and interrupt to put the microcontroller into sleep when it isn't doing ...
28
votes
2answers
10k views

Arduino USB Power vs External Power Supply

Why is the Arduino able to accept ~5V from the USB, but requires a min of 7V when using an external power supply?
26
votes
14answers
42k views

Most compact method of powering Arduino from wall socket

There are a lot of methods to power an Arduino from a large range of voltages: USB cable from PC or from a phone charger or an USB hub step down converters step up converters switching power supply ...
16
votes
1answer
25k views

ATtiny85: Power consumption vs clock speed

Short and simple: What is the power consumption for an ATtiny85 running at 1 MHz and 8 MHz using the internal clock? Not using any sleep modes. I have googled a lot and can't find any info on this. I ...
16
votes
6answers
13k views

Powering Arduino with car batteries

Presumably, one powers an Arduino board with car batteries for long-term operation away from the power grid. How can this be done, and what are the most (1) economic, and (2) reliable ways to do this?...
13
votes
3answers
12k views

Arduino powering from 9V battery

Yesterday afternoon I have left my Arduino running on a fresh Alkaline 9V battery (+ connected to Vin, - connected to GND). Today morning (16 hours later) the LCD display was no longer visible, and ...
13
votes
3answers
59k views

What is the maximum power consumption of the Arduino Nano 3.0?

What is the maximum power consumption (in mW) of the Arduino Nano 3.0, when it is running in its default state (at 16MHz, no LEDs removed) and powered by an external regulated 5V supply so it bypasses ...
12
votes
3answers
6k views

Why is the regulator very hot?

We have an LED strip connected to output 6 and is powered by the Uno board itself. Shouldn't be drawing too much current, only have 10 elements on the LED strip. While this LED strip is connected to ...
11
votes
4answers
3k views

Powering Arduino Uno from 5V pin, what exactly is the voltage range/tolerance?

I want to bypass the onboard regulator and use the 5V pin to feed arduino with external, regulated source. Everybody just keeps saying regulated 5V, but how precise does the regulation need to be ...
10
votes
2answers
8k views

Powering Arduino with Solar Panels

Clearly, an Arduino can be powered with solar panels. What is the most optimal configuration? Can you recharge and discharge at the same time? Is LiPO the best battery cache technology, or is there ...
10
votes
3answers
776 views

Programming many Arduinos simultaneously with a wireless broadcast

I will have many microcontroller-based devices which will be independent from each other, but all will run the same program. I would like to upload a program to all of them at the same time with a ...
9
votes
2answers
2k views

very lightweight low power microcontroller with memory?

I have build a couple of projects using arduino. For a new project I want to log skin surface temperature vs. time (just perhaps a few times per day) and possibly other easy to obtain info such as ...
9
votes
2answers
17k views

3.3V, 5V and 9V pins on Arduino

On my Arduino Uno R3 and Arduino Mega R3, there are 5V and 3.3V pins. However on this page Introduction to the Arduino Board, there is a 5V and 9V pin but no 3.3V pin. The page at Arduino: What ...
8
votes
4answers
1k views

Turn Arduino on with timer every 24h

I'm currently working on an Arduino project that sends the charge of my car battery once a day via an ESP8266 to me. During the winter I don't drive my car, and I would like to get informed when the ...
8
votes
4answers
2k views

Leonardo (32u4): ways to brick it programmatically

When the Leonardo was introduced, I think, I've read some articles about being cautious to do some things, that could cause it to not load any new sketches any more, so one has to rewrite the ...
8
votes
1answer
276 views

Will the arduino power autoselection logic short the regulated 5V and the USB 5V?

From the reference design of the Arduino UNO r3, I find that USBVCC will be connected to +5V via mosfet T1 if Vin is below 6.6V. Doesn't this short the two sources if Vin is just below 6.6V? The ...
7
votes
2answers
6k views

Reading a varying voltage into Arduino

Using an Arduino Nano and a current transformer (CT), I'm trying to sense the current flowing through a 120 V 60 Hz line. Circuit CT outputs 0-1 V according to its specifications....
6
votes
4answers
530 views

Briefly “wake up” Arduino in response to an event

I want to connect a device to a door handle, so whenever someone opens the door I'll be able to send a message via my arduino that is connected to a WIFI shield. I have a simple orientation sensor, ...
6
votes
3answers
3k views

How to stop Arduino from drawing power through USB

I'm working on an embedded project, where I use arduinos as a "sensor shield" for RaspberryPi (I have model B). The problem is, that the RaspberryPi's USB port is not powerfull enough to drive WiFi ...
6
votes
1answer
2k views

I fried the AMS1117 voltage regulator on my Arduino Clone, is this the cause?

I had the 12V DC power jack plugged-in all the time, and "to make things more exciting" I also plugged-in the "data" USB whenever I had a new sketch to upload. Is this combination a big no-no, or is ...
6
votes
1answer
3k views

How to optimise TX power for ESP8266?

I have multiple ESP8266 units programmed using Arduino SDK and I would like each one of them to adjust the transmission power to lower the power requirements. Arduino allows setting the TX power of ...
6
votes
1answer
429 views

Uno with LCD acting strangely - power issue?

I've got a Uno (Elegoo UNO R3) running with - Ethernet shield (Kuman K15), - 4 relay board (Elegoo 4 Channel DC 5V Relay Module with Optocoupler ) - Matrix Orbital 2041 LCD connected via I2C (11mA ...
5
votes
5answers
3k views

Does a delay in a loop save energy?

I've noticed most example snippets always have a delay in the loop even if it's not needed for proper execution of the program. I can only assume this is added because people copy and paste without ...
5
votes
2answers
2k views

Can I force Arduino Not to be powered by USB?

I'm building a 3D printer and I'm using a Atmega2560 + RAMPS board. The whole thing is powered by an ATX PSU (12v for motors and stuff, 5v for the Arduino), but when I plug in my USB cable, I can't ...
5
votes
5answers
24k views

How to remember variable values after rebooting an Arduino Uno R3 board?

Is there any way to store the values of necessary variables somewhere (may be in a file that gets updated by the program at various events), which can be read back when program starts after rebooting ...
5
votes
1answer
6k views

Can I use an external power supply and still communicate with my computer over Serial?

I read the following online: If you plug in both USB power (say from a pc) and external power via the 2.1mm jack, the Arduino chooses power source automatically. If the external 2.1mm DC is providing ...
5
votes
6answers
10k views

If the USB gives 5v, how can the Arduino supply 5v to the 5v pin? (And another question)

I must not of understood something. Online, I've heard that the Arduino uses 9v typically (average), and that USB's in general supply 5v@500mA. If this is true: How can the Arduino even POWER ITSELF ...
5
votes
3answers
789 views

How to power my Arduino mini using wall socket?

I am trying to power my Arduino Mini (which is connected to IR receiver and a relay board). The idea is to hide the entire setup behind the electrical board including the power supply. I have hacked ...
5
votes
2answers
15k views

Why does an Arduino UNO need two GND ports?

I have really bad eyesight, so whenever I plug in the power wire and the GND wire I always double check if I'm actually plugging in to the power port not one of the two GND ports. Why does an ...
5
votes
1answer
1k views

No power from Breadboard Power Supply Module

Components Breadboard Power Supply Module IM120525004 1 kOhm resistor Green LED Arduino Nano LiPo 7.4V battery LED Lights Up Fine with USB power from the Arduino LED Does Not Light Up with power ...
5
votes
2answers
279 views

Controlling mains (230 V) supply up to 5/10 amps using Arduino

I am looking for a simple, low cost solution to control on/off of mains supply to certain equipment. The control will be done using one of the output pin of Arduino Uno. The input trigger and how to ...
5
votes
1answer
79 views

Converting a standard setup/loop sketch to a low power application?

Suppose I have a typical setup/loop style sketch, such as this one which turns on an LED when a button is pressed. How do I modify this so that it enters low power mode, awakes on the button press, ...
5
votes
3answers
101 views

Powering an USB to Serial from USB

I am creating a PCB which is a modification of the Arduino on a breadboard. I am intending to buy an USB to Serial breakout from Adafruit so that I can upload my sketches to the atmega 328 I'll be ...
5
votes
2answers
709 views

How can I get ultra clean dc wall power for my arduino project?

I'm doing an rfid project that requires a read range of at least 5 inches or about 13cm. I'm using a nano with a usb port, a rfid reader from priority 1 design and a large antenna. The problem I'm ...
5
votes
2answers
154 views

a mega 2650 power supply mystery

Something happened to my mega2650 as I was experimenting the other day. It no longer turned on when powering from the 2.1mm jack or from Vin, regardless of the voltage applied. A plastic bubble had ...
5
votes
4answers
398 views

Why/when to use IoT publish/subscribe protocols rather then RESTful HTTP?

I am sending data (GPS coordinates) from Arduino once a minute with HTTP POST request to REST API (in OpenShift PaaS). Data is then stored to MySQL db. Would so called "IoT" publish/subscribe ...
4
votes
4answers
163 views

Send out a short signal every 10 seconds to an arduino

In order to reduce power consumption, I want to resume my Arduino from standby mode every 10 seconds. For this a hardware interrupt is necessary. Is there such a device that can create a quick ...
4
votes
3answers
3k views

How to know positive and negative in breadboard

I have this breadboard, and there is no indication on it about what is positive/negative on it. In comparison, this other breadboard (pic from the internet) DOES have indications: Can anyone give ...
4
votes
4answers
17k views

Power bank turns off spontaneously

I currently have a 50,000 mAH USB power bank powering my Arduino Uno and micro servomotor. Unfortunately, my power bank has an automatic shutoff and shuts off after 2 hrs of runtime (I need 16 hrs for ...
4
votes
2answers
2k views

What happens if we connect GND and +5v?

What will happen if I by mistakenly connect GND and +5v of an Arduino Nano? Is there any protection for it? Or will it get short and fry out something?
4
votes
1answer
2k views

Low Power library messing up serial text

I noticed something unusual using the Low Power library today. When printing text in the loop and using LowPower.powerDown(SLEEP_1S, ADC_OFF, BOD_OFF); to sleep for one second, all the text in the ...
4
votes
3answers
9k views

How to power an Arduino using automated mains/rechargeable battery switching?

I'd like to power my Arduino circuit like a smartphone. That is: When the device is unplugged, power by rechargeable battery When the device is plugged in, power by mains and charge battery at the ...
4
votes
3answers
2k views

Controlling a DC motor with an external power source

I'm trying to use an Arduino to release a single drop of water using a solenoid valve.  This article describes how to create this circuit with a Raspberry Pi using a DC powered solenoid that opens and ...
4
votes
1answer
592 views

Do I use 3,3V or 5V, when device supports both?

I have a general question regarding the power-supply of the electronic components, that are attached to an Arduino. If I have a device that operates at voltages between 3,3V and 5V (e.g. this RS232 ...
4
votes
2answers
1k views

Does Nano not get sufficient power via USB?

I have an Uno, and I can play all I want with it, just using a USB cable. Then I got two Nano clones, and they both show the same behavior: When I connect it to the USB cable (which leads to my PC) ...
4
votes
1answer
5k views

How to switch an external circuit with Arduino?

I have an object with a series of led and I want to turn on and off these leds from my Arduino. The input of the LED circuit is 24v DC 100mA. What I've done is the following: I've cut a wire of this ...
4
votes
4answers
10k views

Can I have backup power for an Arduino device?

I have an arduino project that will work while plugged into a generic outlet. But I want to connect a battery in case the power goes out. I know there are various power sources (coin cell, polymer ...
4
votes
1answer
518 views

Power arduino from 5v rail of pc molex

I'm building a small device using arduino that should be connected to my pc via a usb header to exchange data with the PC. What I'd like to achieve is that arduino turns on when the pc is on, whereas ...
4
votes
1answer
353 views

Measuring voltage from -12 to +12 VDC

I'm making a -12 to +12V DC regulated power supply, on which I want to measure voltage and current with Arduino (through a voltage divider, of course). I'm not sure, how to either detect nor measure ...