Pages: [1]   Go Down
Author Topic: How do you power arduino with a 9V battery?  (Read 2100 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 213
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can I use LM7805 voltage regulator with 9V battery to power arduino Uno board? Can someone point me to how I can connect it with frying up arduino board. 9V input into voltage regulator and 5V output from voltage regulator is the requirements. I need to use 9V because the little project I do require 9V, so someone let me know how I can do this? A simple circuit to connect it would be greatly appreciated.

Thanks
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16548
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You simple wire the 9 volt battery to a power plug and insert it into the arduino's external power socket connector. There is already a 5vdc regulator on board to convert that voltage to what the board needs.

That being said, those small 9 vdc batteries are a very poor choice to power an arduino board because of their very high cost per mah capacity and their limited max current draw avalible. Building a battery pack from AA alkaline cells is a much better solution, or better yet a rechargeable battery pack of adequate capacity. And unless one really needs the portability of battery power an external wall wart DC power pack is better yet.

Lefty
Logged

Belgium
Offline Offline
Sr. Member
****
Karma: 1
Posts: 278
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Very simple, have a look at this -> http://www.bajdi.com/powering-arduino/battery-to-arduino/
Logged


Offline Offline
Full Member
***
Karma: 0
Posts: 213
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@ Bajdi:

How do you connect the jack? What is the -ve and +ve terminal in the jack?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 47
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Case is ground and tip is positive lead.
Quote
2.1mm barrel plug, positive tip
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 213
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Attached is the photo of the plug. Is the marking correct?


* Untitle.png (77.46 KB, 340x152 - viewed 43 times.)
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 240
Posts: 24450
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is the marking correct?
Exactly wrong.
« Last Edit: January 26, 2012, 07:32:01 am by AWOL » Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Full Member
***
Karma: 0
Posts: 213
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Then, shud it be the other way around? :S
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 240
Posts: 24450
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Then, shud it be the other way around?
There are normally only two different ways of wiring a plug like this; you described the wrong way.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Full Member
***
Karma: 0
Posts: 213
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@AWOL,

You are making it complicated. If what I marked is wrong, then the correct way should be the other way, isn't it?
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 240
Posts: 24450
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's a binary, right/wrong choice.
What's complicated?
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

London
Offline Offline
Full Member
***
Karma: 0
Posts: 168
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You are making it complicated. If what I marked is wrong, then the correct way should be the other way, isn't it?
Yes, that's why his answer was not overly complicated, it was exactly correct.  Incidentally, it's quite easy to see what part of the barrel is connected to which tag by using even a cheap'n'nasty multimeter.
Logged

Current Projects: Rodentometer - Hamster Endurance Moni

Pages: [1]   Go Up
Jump to: