Arduino Power Supply v18.08: Difference between revisions
(8 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
* 120 V ac input | * 120 V ac input | ||
* Stable voltage reference of less than 5V | * Stable voltage reference of less than 5V (not needed if Arduino's internal reference is accurate enough, TBD) | ||
==Research== | ==Research== | ||
Non-isolated design could waste more power if Arduino is drawing less than the designed maximum output current. Isolated could lose a small amount of efficiency to transformer but would waste less power when the Arduino is drawing less than the designed maximum output current. For this application, isolated seems to be the way to go. | |||
Power requirements for Arduino Mega ([https://forum.arduino.cc/index.php?topic=5536.0 usually <70 mA], [https://www.open-electronics.org/the-power-of-arduino-this-unknown/ 200 mA max]) and RepRap Discount Smart Controller ([https://reprap.org/forum/read.php?219,545103 40-100 mA?]). 300 mA max to power control and display circuits. | Power requirements for Arduino Mega ([https://forum.arduino.cc/index.php?topic=5536.0 usually <70 mA], [https://www.open-electronics.org/the-power-of-arduino-this-unknown/ 200 mA max]) and RepRap Discount Smart Controller ([https://reprap.org/forum/read.php?219,545103 40-100 mA?]). 300 mA max to power control and display circuits. | ||
Line 25: | Line 27: | ||
==Calculations== | ==Calculations== | ||
<html><img src=https://wiki.opensourceecology.org/images/2/2e/Ardpwrcalc.jpg width=500 height=300></html>[https://wiki.opensourceecology.org/ | <html><a href=https://wiki.opensourceecology.org/images/2/2e/Ardpwrcalc.jpg><img src=https://wiki.opensourceecology.org/images/2/2e/Ardpwrcalc.jpg width=500 height=300></a></html> | ||
==[https://wiki.opensourceecology.org/wiki/Qucs QUCS-S] Simulation== | |||
[https://drive.google.com/drive/folders/1c9mJFP0FCcYF59Hx3DD-oRPK5-yKZYoQ?usp=sharing Simulation providing 9V at >250mA] | |||
==Electronics Design== | ==Electronics Design== | ||
Line 31: | Line 37: | ||
<html><img src=https://wiki.opensourceecology.org/images/e/ef/ADMegaPS.jpg width=800 height=180></html>[https://drive.google.com/drive/folders/1nSoQKoB6kUletZxrF3-T2b903gAzudLK?usp=sharing] | <html><img src=https://wiki.opensourceecology.org/images/e/ef/ADMegaPS.jpg width=800 height=180></html>[https://drive.google.com/drive/folders/1nSoQKoB6kUletZxrF3-T2b903gAzudLK?usp=sharing] | ||
==Prototyping== | |||
[https://drive.google.com/drive/folders/1ValAQK43lAvbbH2W0Xcj7rAfjkYlltT0?usp=sharing Successfully converted 120Vac to 10V at 380mA] | |||
=Bill of Materials= | =Bill of Materials= | ||
Fuse: [https://www.digikey.com/short/ | ==Isolated== | ||
Fuse: [https://www.digikey.com/short/jf281b FUSE GLASS 500MA 250VAC 5X20MM] | |||
Transformer: [https://www.digikey.com/short/jf28d2 XFRMR LAMINATED 6VA THRU HOLE] | |||
Bridge rectifier: [https://www.digikey.com/short/jf9jh2 RECT BRIDGE 2A 40V 4SMDIP] | |||
Filter capacitor: [https://www.digikey.com/short/jfhvmt CAP ALUM 680UF 10% 10V RADIAL] | |||
Output zener: [https://www.digikey.com/short/jf0q13 DIODE ZENER 12V 5W AXIAL] | |||
Total cost of components ~$10 | |||
==Non-isolated== | |||
Fuse: [https://www.digikey.com/short/jf281b FUSE GLASS 500MA 250VAC 5X20MM] | |||
Cac: [https://www.digikey.com/short/jfhbz2 CAP FILM 10UF 5% 400VDC RADIAL] | Cac: [https://www.digikey.com/short/jfhbz2 CAP FILM 10UF 5% 400VDC RADIAL] | ||
Line 39: | Line 62: | ||
Cac discharge resistor: [https://www.digikey.com/short/qcz4jr UPL1.064 RES SMD 1M OHM 1% 1/4W 1206] | Cac discharge resistor: [https://www.digikey.com/short/qcz4jr UPL1.064 RES SMD 1M OHM 1% 1/4W 1206] | ||
Bridge rectifier: [https://www.digikey.com/short/jf9jh2 RECT BRIDGE 2A 40V 4SMDIP] or [https://www.digikey.com/short/q75w83 UPL4.004 DIODE SCHOTTKY 40V 1A SOD123] | Bridge rectifier: [https://www.digikey.com/short/jf9jh2 RECT BRIDGE 2A 40V 4SMDIP] or 4x[https://www.digikey.com/short/q75w83 UPL4.004 DIODE SCHOTTKY 40V 1A SOD123] | ||
Filter capacitor: [https://www.digikey.com/short/jfhvmt CAP ALUM 680UF 10% 10V RADIAL] | Filter capacitor: [https://www.digikey.com/short/jfhvmt CAP ALUM 680UF 10% 10V RADIAL] | ||
Output zener: [https://www.digikey.com/short/ | Output zener: [https://www.digikey.com/short/jf0q13 DIODE ZENER 12V 5W AXIAL] | ||
Total cost of components ~$7 | |||
Total cost of components ~$ |
Latest revision as of 15:45, 6 September 2018
Design
Requirements
- Up to 300 mA supply (200 mA would likely be enough)
- 7-12 V DC output
- 120 V ac input
- Stable voltage reference of less than 5V (not needed if Arduino's internal reference is accurate enough, TBD)
Research
Non-isolated design could waste more power if Arduino is drawing less than the designed maximum output current. Isolated could lose a small amount of efficiency to transformer but would waste less power when the Arduino is drawing less than the designed maximum output current. For this application, isolated seems to be the way to go.
Power requirements for Arduino Mega (usually <70 mA, 200 mA max) and RepRap Discount Smart Controller (40-100 mA?). 300 mA max to power control and display circuits.
Drawing Power from Grid without Transformer for *Low Power* Applications
Precise voltage measurement with the Arduino
High Efficiency 400W AC/DC Power Supply Reference Design
Calculations
QUCS-S Simulation
Simulation providing 9V at >250mA
Electronics Design
These designs are not guaranteed to be safe or functional. Use at your own risk.
Prototyping
Successfully converted 120Vac to 10V at 380mA
Bill of Materials
Isolated
Fuse: FUSE GLASS 500MA 250VAC 5X20MM
Transformer: XFRMR LAMINATED 6VA THRU HOLE
Bridge rectifier: RECT BRIDGE 2A 40V 4SMDIP
Filter capacitor: CAP ALUM 680UF 10% 10V RADIAL
Output zener: DIODE ZENER 12V 5W AXIAL
Total cost of components ~$10
Non-isolated
Fuse: FUSE GLASS 500MA 250VAC 5X20MM
Cac: CAP FILM 10UF 5% 400VDC RADIAL
Cac discharge resistor: UPL1.064 RES SMD 1M OHM 1% 1/4W 1206
Bridge rectifier: RECT BRIDGE 2A 40V 4SMDIP or 4xUPL4.004 DIODE SCHOTTKY 40V 1A SOD123
Filter capacitor: CAP ALUM 680UF 10% 10V RADIAL
Output zener: DIODE ZENER 12V 5W AXIAL
Total cost of components ~$7