User Tools

Site Tools


tutorials:learn:powersupply:transformeracdc.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorials:learn:powersupply:transformeracdc.html [2010/10/26 16:04]
ladyada
tutorials:learn:powersupply:transformeracdc.html [2010/10/26 16:07]
ladyada
Line 145: Line 145:
  
 For example, lets say you have a microcontroller project and it requires 5V power as many DIY projects do. You shouldn'​t go out and buy a 5V transformer supply like the one above and just stick the power output into your microcontroller - you'll destroy it! Instead, you will need to build a 5V regulator like the common LM7805 that will take the somewhere-around-9V from the transformer and convert it to a nice steady 5V with almost no ripple. ​ For example, lets say you have a microcontroller project and it requires 5V power as many DIY projects do. You shouldn'​t go out and buy a 5V transformer supply like the one above and just stick the power output into your microcontroller - you'll destroy it! Instead, you will need to build a 5V regulator like the common LM7805 that will take the somewhere-around-9V from the transformer and convert it to a nice steady 5V with almost no ripple. ​
 +
 +So here is what you should always do:
 +
 +  - Always check your power supply brick with a multimeter to see what the maximum voltage is
 +  - Assume that the voltage can be twice as high as you expect
 +  - Assume that the voltage will droop as you draw more and more current
 +  - If you're using a brick for low-power usage, say your circuit draws 100mA max, find one that has a very similar current rating.
  
 You might be wondering well why on earth doesn'​t someone make a power plug that takes a transformer and some diodes and a LM7805 and that will give you a nice 5V output instead of having everyone build it into the project circuit? While its an interesting idea there are a few reasons they don't do that. One is that the enclosed wall adapter would overheat. Another is that some projects need more than one voltage, say 5V and 3.3V both. But in the end, its probably for manufacturing simplicity. The factory that makes the wall plugs makes 100's of thousands in predictable sizes and rates, each country has plenty of factories to makes the right plug packs for the wall voltage and plug style. The designers of, say, the DVD player have an easier time of it when they can just say "​anything above 7V and below 20V input will work for us" and the plug-pack maker matches them up with the closest thing they already make.  You might be wondering well why on earth doesn'​t someone make a power plug that takes a transformer and some diodes and a LM7805 and that will give you a nice 5V output instead of having everyone build it into the project circuit? While its an interesting idea there are a few reasons they don't do that. One is that the enclosed wall adapter would overheat. Another is that some projects need more than one voltage, say 5V and 3.3V both. But in the end, its probably for manufacturing simplicity. The factory that makes the wall plugs makes 100's of thousands in predictable sizes and rates, each country has plenty of factories to makes the right plug packs for the wall voltage and plug style. The designers of, say, the DVD player have an easier time of it when they can just say "​anything above 7V and below 20V input will work for us" and the plug-pack maker matches them up with the closest thing they already make. 
/home/ladyada/public_html/wiki/data/pages/tutorials/learn/powersupply/transformeracdc.html.txt · Last modified: 2016/01/28 18:05 (external edit)