Pages: [1]   Go Down
 Author Topic: voltage divider help  (Read 1010 times) 0 Members and 1 Guest are viewing this topic.
Offline
Newbie
Karma: 0
Posts: 38
 « on: October 03, 2011, 08:54:18 am » Bigger Smaller Reset

Hey guys,

I am going to be using a 6V battery for my project and need to step it down to other voltage for different components (i.e. 5V for arduino mega and my controller, 4.8V for servos, 3V for some other components). I am thinking of using a simple 2 resistor voltage divider since I dont know other ways minus a transformer. I know the basic equations (i.e Vout = (R2/R1+R2)Vin) but the thing I am stumped on is choosing the resistors. I know I can calculate the resistor values using the basic equations but I am not sure on if it will be better to use a combination of lower resistance resistors vs. higher resistance assume I can find a high reistance and low resistance pair that will do the same step down. Also, If I can find the right resistor pairs how do I choose the right wattage for the resistors as I have seen they typically come in 1/8, 1/4, 1/2, etc watt resistors. Thanks for any help also any suggestions on better ways to step down the voltage are greatly appreciated.

Just ran a quick calculation and wanted to throw in a example of the different resistor combos i.e. to step down 6V to 5V you could use R1=100 ohms R2=500 ohms or R1 = 1k R2 = 5k
 « Last Edit: October 03, 2011, 08:57:27 am by mblackwolf » Logged

Manchester (England England)
Offline
Brattain Member
Karma: 277
Posts: 25519
Solder is electric glue
 « Reply #1 on: October 03, 2011, 08:59:46 am » Bigger Smaller Reset

Do not use a potential divider for generating voltages for powering stuff. It is the totally wrong thing to do. Use voltage regulators.
 Logged

Norway
Offline
Full Member
Karma: 0
Posts: 104
Have you thought it over before asking?
 « Reply #2 on: October 03, 2011, 09:02:13 am » Bigger Smaller Reset

You do not have to step down the voltage for the arduino to 5V there is a regulator on board.
The Arduino itself has a pin that can provide 50mA at a voltage of 3.3, so no need there as well.

Basically you do not need to step down a lot, check the specs for the servo, they tend to operate at a voltage of 6V.

Btw, using resistors for this purpose is not a good idea because of the power loss in the resistors.

Use voltage regulators instead, they are made for that purpose (78xx series).

Cheers, Peter
 Logged

2B || !2B

... bonding electrons and bits!

Offline
Newbie
Karma: 0
Posts: 38
 « Reply #3 on: October 03, 2011, 09:03:29 am » Bigger Smaller Reset

OK. Sorry I have a very limited electrical background do you typically build voltage regulator circuits or buy themm for specific voltages?
 Logged

Manchester (England England)
Offline
Brattain Member
Karma: 277
Posts: 25519
Solder is electric glue
 « Reply #4 on: October 03, 2011, 09:04:50 am » Bigger Smaller Reset

You normally buy them for a specific voltage. You only need to add two capacitors for a compleat circuit.
 Logged

0
Offline
Tesla Member
Karma: 71
Posts: 6625
Arduino rocks
 « Reply #5 on: October 03, 2011, 09:05:35 am » Bigger Smaller Reset

No, you need a voltage regulator chip.  A resistive divider is only used for signal levels as it wastes lots of power and is hopeless at "regulation" - this means as the load changes it cannot keep the voltage constant.

A voltage regulator (checkout 7805, LM1117-50 and LM1117-33 for examples) keeps the voltage extremely constant as the load current changes, this is what you need.

Regulators come in various voltage and current ratings, and various packages.  If powering a 5V regulator from just 6V you need a "low dropout" or "LDO" regulator.  You may find your servos tolerate 6V anyway.  Don't share a regulator for the Arduino and the servos, BTW, servo motors are liable to produce a lot of noise and spikes on the power line which can disrupt (or even damage) sensitive electronics.
 Logged

Offline
Newbie
Karma: 0
Posts: 38
 « Reply #6 on: October 03, 2011, 09:13:27 am » Bigger Smaller Reset

Thanks alot for all of the help. I will definately look into the regulators then. Hopefully I can find them for what I need. I have to look intot he servos because I know some of the smaller ones only run off 4.8V but some of the larger ones run up to 6V. So for the arduino I shouldn't need to step down the voltage as there is an onboard regulator? So I can just attach the 6V battery directly to it? If not that is fine as I still need a 5V reg for the controller I am going to build.

Also, I was planning on tearing apart a couple of old laser pointers I had to do something with. I dont have specs but they run off 2 AAA batteries which in series is about 3V so would the pin that operates at 3.3V from the arduino work for these or would I need a 3V reg from the battery directly too them with a electronic relay connected to the arduino to control any on/off commands.
 Logged

Global Moderator
UK
Offline
Brattain Member
Karma: 138
Posts: 19067
I don't think you connected the grounds, Dave.
 « Reply #7 on: October 03, 2011, 09:15:20 am » Bigger Smaller Reset

I don't have one, so I can't check it, but does the Mega's on-board reg work down to 6V?
 Logged

Pete, it's a fool looks for logic in the chambers of the human heart.

Offline
Newbie
Karma: 0
Posts: 38
 « Reply #8 on: October 03, 2011, 09:21:49 am » Bigger Smaller Reset

I believe 6V is the bottom limit of the input voltage on the mega. I just realized this so I may need to step up my battery. I just choose a 6V because I already had one available so it would save me buying a new one but the recommended voltage is 7V to 12V. Anyone got any idea on using the 3.3V to power the laser pointers? Also, could someone point me to a good place to get the LDO regulators from?
 Logged

Manchester (England England)
Offline
Brattain Member
Karma: 277
Posts: 25519
Solder is electric glue
 « Reply #9 on: October 03, 2011, 09:40:53 am » Bigger Smaller Reset

Quote
Anyone got any idea on using the 3.3V to power the laser pointers?
http://www.repairfaq.org/sam/laserdps.htm
 Logged

Offline
Newbie
Karma: 0
Posts: 38
 « Reply #10 on: October 03, 2011, 09:52:05 am » Bigger Smaller Reset

Well reading through that really quick he recommends maybe taking the button cells of the off-the-shelf laser pointer and finding the current and making a circuit where the current can't go over this. Do you guys think I could just put electrical relays between the batteries and the laser pointer and switch them on and off with the arduino. The  laser pointners I have are pen laser pointers and actually run off of 2 AAA's and not button cells. So I could easily make/buy a 2AAA battery pack so that I am not changing anything in the pointer other then replacing the on/off push botton with a relay switch that allows the arduino to press it.
 Logged

Manchester (England England)
Offline
Brattain Member
Karma: 277
Posts: 25519
Solder is electric glue
 « Reply #11 on: October 03, 2011, 10:25:36 am » Bigger Smaller Reset

Yes that would work, providing you don't want to turn it on and off too fast.
 Logged

Offline
Newbie
Karma: 0
Posts: 38
 « Reply #12 on: October 03, 2011, 10:41:39 am » Bigger Smaller Reset

no it wont be fast on off switches. More of a button press to initiate a loop that will turn it on until a button press ends the loop to turn it off. Any suggestions on good relays that could be used?
 « Last Edit: October 03, 2011, 10:47:13 am by mblackwolf » Logged

 Pages: [1]   Go Up