Making a 5V DC Power Supply for Microcontroller: Possible Damage?

Click For Summary

Discussion Overview

The discussion revolves around designing a 5V DC power supply for a microcontroller using a transformer, rectifier, and voltage regulator. Participants explore the implications of current increase due to voltage reduction in transformers, as well as safety considerations in the design of the power supply.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Conceptual clarification

Main Points Raised

  • One participant outlines a method for creating a 5V power supply using a 220V to 15V transformer, a capacitor, and a 7805 regulator, questioning whether increased secondary current could damage the microcontroller.
  • Another participant points out the omission of a bridge rectifier in the initial explanation.
  • A later reply clarifies that the secondary current is determined by the secondary voltage and load resistance, not solely by the transformer turns ratio.
  • Concerns are raised about safety features necessary for the design, emphasizing the importance of including safety measures to prevent shock and fire hazards.
  • Participants discuss the implications of resistance losses in real transformers affecting maximum output current compared to ideal transformers.
  • Questions are posed about mandatory safety features and design considerations required for equipment connected to AC mains.

Areas of Agreement / Disagreement

Participants express differing views on the implications of transformer design and safety requirements, indicating that there is no consensus on the best practices for safety in this context.

Contextual Notes

Participants have not resolved the specifics of safety features necessary for the design, nor have they agreed on the implications of current increase due to transformer operation.

asad1111
Messages
51
Reaction score
0
i want to make a 5v dc power supply for microcontroller i know how to make it i am going to use a 220v to 15v transformer and then by using capacitor and 7805 regulator ic i will convert it to 5v my question is as in transformer pout=pinput (ideally) by decresing the voltage from 220 to 15 the secondary current will increase can it damage the circuit(microcontroller[/SIZE])?
 
Engineering news on Phys.org
Did you just neglect to mention the rectifer you will need between the transformer and the regulator?
 
Yes i forgot ofcouurse a bridge rectifier
 
asad1111 said:
i want to make a 5v dc power supply for microcontroller i know how to make it i am going to use a 220v to 15v transformer and then by using capacitor and 7805 regulator ic i will convert it to 5v my question is as in transformer pout=pinput (ideally) by decresing the voltage from 220 to 15 the secondary current will increase can it damage the circuit(microcontroller[/SIZE])?


The secondary current is defined by the secondary voltage and the secondary load resistance, not by the transformer turns ratio. The max secondary current that can be drawn is defined partially by the turns ratio.

BTW, you also did not mention the safety circuitry that you have included in the design and construction of your power supply. Without very specific safety measures and circuits, your power supply presents a shock and fire hazard.

Can you tell us what mandatory safety features you have included in your design?
 
berkeman said:
The max secondary current that can be drawn is defined partially by the turns ratio.
can you elaborate what partially means here and also what kind of safety equipment do you recommend?
 
asad1111 said:
can you elaborate what partially means here and also what kind of safety equipment do you recommend?

For an ideal transformer, the turns ratio and the max input primary current would dictate the max secondary current that could be drawn. For a real transformer, however, there are resistance losses in the windings and core losses that lower the potential max output current from that ideal number.

I'm not asking about safety "equipment", I'm asking about what design features are necessary in any equipment that connects to the AC mains, in order to help safeguard agains shock and fire hazards. What kinds of things would UL (in the United States) look for in your design if you submitted it for a safety approval? You need to include those things even in a hobby design, or you put yourself and other users of the power supply at risk...
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
Replies
22
Views
3K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 63 ·
3
Replies
63
Views
8K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
7
Views
3K
Replies
6
Views
5K