Adelaide, Australia
Offline
Newbie
Karma: 0
Posts: 32
Arduino rocks
|
 |
« on: October 03, 2012, 10:18:35 pm » |
Hi All, A project I'm working on I need to measure the charge of a 9V battery. Essentially it's a voltmeter. Using the analogue inputs on a Uno (the end project will just be a stand alone ATmega328), I need to scale back the 9V to under 5V. I was told to use a voltage divider as per this site: http://www.raltron.com/cust/tools/voltage_divider.aspI used the values 6.8 and 4.7 ohm for the resistor. According to the calculator on the website this would scale back 12V to 4.9V hence allowing for a way overcharged battery to be connected without damaging the input pins. However, upon connecting the battery to the resistors (arduino not connected), the 6.8ohm resistor started to smoke and burn. I'm at work right now and don't want to set off the fire alarms (I'm right next to our major data centre!). Can anyone advise what I have done wrong? Or what I should be doing? Thanks, Ross.
|
|
|
|
|
Logged
|
|
|
|
|
SE USA
Offline
Faraday Member
Karma: 33
Posts: 3617
@ssh0le
|
 |
« Reply #1 on: October 03, 2012, 11:07:56 pm » |
your going to need higher resistance than that
try like 6.8k and 4.7k or 680k and 470k, you just dumping a ton of current and power to ground, which creates heat, which creates fire (like 1 amp and 12 watts)
analog readings dont need much current to function, I wouldn't be surprised if you didnt insta-drain a battery doing that
and when you get some down time look up ohms law, and a online calulator, it will help you avoid those types of issues (like dropping 12 watts into a 0.25 watt resistor hehe)
and dont worry, everyone smokes something here and there... just part of it
|
|
|
|
« Last Edit: October 03, 2012, 11:14:04 pm by Osgeld »
|
Logged
|
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL
|
|
|
|
Adelaide, Australia
Offline
Newbie
Karma: 0
Posts: 32
Arduino rocks
|
 |
« Reply #2 on: October 03, 2012, 11:14:33 pm » |
Thank you! Didn't even think about power/current.... that's my brain freeze moment of the week.
|
|
|
|
|
Logged
|
|
|
|
|
Adelaide, Australia
Offline
Newbie
Karma: 0
Posts: 32
Arduino rocks
|
 |
« Reply #3 on: October 03, 2012, 11:37:50 pm » |
Used a 47k and 67k - works great. No heat whatsoever.
|
|
|
|
|
Logged
|
|
|
|
|
SE USA
Offline
Faraday Member
Karma: 33
Posts: 3617
@ssh0le
|
 |
« Reply #4 on: October 04, 2012, 09:11:12 am » |
super
|
|
|
|
|
Logged
|
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL
|
|
|
|
0
Offline
Tesla Member
Karma: 71
Posts: 6596
Arduino rocks
|
 |
« Reply #5 on: October 04, 2012, 09:24:34 am » |
Used a 47k and 67k - works great. No heat whatsoever.
Actually 10000 times less heat, not no heat 
|
|
|
|
|
Logged
|
|
|
|
|
|