brandon102696 said:
i am beginner in electrical engineering and am doing it has more of a hobby, therefore i have no books to study from. but i am trying to power a 5 Volt USB Hub and a 12 Volt Cigarette Lighter from a car, with an 18 Volt Battery. Can anyone show me an example of how to set this circuit up, including the resistors, or volt regulators i need?
Hey Brandon,
Glad to see you have an interest in EE, Cars are especially tough to work with they can fry your electronics if not done properly such as when you start the car with sensitive electronics plugged in all sorts of voltage spikes and such.
There are really two main power regulators one is Switching and one is Linear. There are thousands of different ones out there for many different applications and as cjameshuff pointed out Linear regulators get freaking HOT with a load (For example I was messing with one just for fun running from 12v to about 5v with an LM317 and I was able to get it up to 200F without a heat-sink (TO-3 Package). This is because they waste the voltage difference as heat, Linear regulators typically are not very efficient with efficiencies topping about 50%. Linear regulator can give less noise than switching regulators and can be better in some applications but I won't overwhelm you with all of that. I encourage you to look at switching regulators such as the "Jellybean" MC34063 or the LT1302 used in the Mintyboost (5volt 500ma).
Perhaps if you tell us more about what you need we can better assist you in building your project. When you look for a regulator you look at your needs such as:
1. What voltage do I need?
2. How much ripple is allowed? (In other words am I driving things that need low ripple such as expensive electronics or am I just driving a small hobby motor?)
3. How much current will be used? (Standard USB devices are limited to 500ma and some can pull more check out the Mintyboost project for more about that
http://www.ladyada.net/make/mintyboost/)
4. How will the regulator be powered? Wall socket? Car? Battery pack?
For your first regulator you can use a Linear one to get the concept down however you won't be able to put much current through one without a large heat-sink, If possible look for a TO-3 Package, The 7805 is a 5v regulator, LM317 is a variable linear regulator controlled with two resistors. Aka Voltage Divider
If you'd like to learn more about regulators check out the Wikipedia page
http://en.wikipedia.org/wiki/Switched-mode_power_supply and if you want a fantastic tutorial on the MC34063 (Switching Regulator) Dave Jones at the EEVBlog has a great video tutorial on it explaining everything you can check out his other videos where he explains a lot of stuff you may be interested in.
http://www.eevblog.com/2010/09/10/eevblog-110-lets-design-a-dc-to-dc-switchmode-converter/
Hope this helps, and again glad to see you have some interest in Electronics.
Oh, and before I forget don't try to measure current off a car battery and make sure if your doing any measuring that you have your leads in the voltage jack and not the current.