DIY Buck/Boost Converter (Flyback)
by GreatScottLab in Circuits > Arduino
106882 Views, 387 Favorites, 0 Comments
DIY Buck/Boost Converter (Flyback)
In this project I will show you how a buck/boost converter (flyback) works and how you can easily build one that can step up and step down DC voltage efficiently. Let's get started!
Watch the Video!
After watching the video you should have the basic knowledge to create your own buck/boost converter. The next steps though will contain additional information to make your life easier.
Order the Components!
Here you can find a parts list with example seller (affiliate links):
Aliexpress:
1x ATtiny85: https://s.click.aliexpress.com/e/_d6SPsKP
1x MCP602: https://s.click.aliexpress.com/e/_dZIAwSP
1x 7805 5V regulator: https://s.click.aliexpress.com/e/_d8kqX6x
1x IRLZ44N: https://s.click.aliexpress.com/e/_dWhSrDl
1x 100kΩ Potentiometer: https://s.click.aliexpress.com/e/_dX83GAF
1x 0.03mH Inductor: https://s.click.aliexpress.com/e/_dYct48b
1x 1N5819 Schottky Diode: https://s.click.aliexpress.com/e/_dYR45Bh
2x Screw Terminals: https://s.click.aliexpress.com/e/_dYbstfZ
2x 100nF Capacitor: https://s.click.aliexpress.com/e/_dU4FEsB
1x 100µF, 1x 220µF Capacitor: https://s.click.aliexpress.com/e/_d7dOwRz
2x 10kΩ, 2x 5.1kΩ, 2x 20kΩ, 1x10Ω Resistor: https://s.click.aliexpress.com/e/_dTPpXjt
Ebay:
1x ATtiny85: http://rover.ebay.com/rover/1/711-53200-19255-0/1..
1x MCP602: http://rover.ebay.com/rover/1/711-53200-19255-0/1...
1x 7805 5V regulator: http://rover.ebay.com/rover/1/711-53200-19255-0/1...
1x IRLZ44N: http://rover.ebay.com/rover/1/711-53200-19255-0/1...
1x 100kΩ Potentiometer: http://rover.ebay.com/rover/1/711-53200-19255-0/1...
1x 0.03mH Inductor: http://rover.ebay.com/rover/1/711-53200-19255-0/1...
1x 1N5819 Schottky Diode: http://rover.ebay.com/rover/1/711-53200-19255-0/1...
2x Screw Terminals: http://rover.ebay.com/rover/1/711-53200-19255-0/1...
2x 100nF Capacitor: http://rover.ebay.com/rover/1/711-53200-19255-0/1...
1x 100µF, 1x 220µF Capacitor: http://rover.ebay.com/rover/1/711-53200-19255-0/1...
2x 10kΩ, 2x 5.1kΩ, 2x 20kΩ, 1x10Ω Resistor: http://rover.ebay.com/rover/1/711-53200-19255-0/1...
Amazon.de:
1x ATtiny85: http://amzn.to/2dWIc4j
1x MCP602:http://amzn.to/2dLaboV
1x 7805 5V regulator: http://amzn.to/2dWHC6K
1x IRLZ44N: http://amzn.to/2dL9WKB
1x 100kΩ Potentiometer: http://amzn.to/2dLaikl
1x 0.03mH Inductor: http://amzn.to/2dWIojS
1x 1N5819 Schottky Diode: http://amzn.to/2dLapwo
2x Screw Terminals: http://amzn.to/2aTTLNW
2x 100nF Capacitor: http://amzn.to/2dWJaNW
1x 100µF, 1x 220µF Capacitor: http://amzn.to/2dL9dsO
2x 10kΩ, 2x 5.1kΩ, 2x 20kΩ, 1x10Ω Resistor: http://amzn.to/2aAsWdV
Create the Circuit!
Here you can find the schematic and pictures of the circuit that I created. Feel free to use them as a reference. You can also find the schematic on EasyEDA: https://easyeda.com/GreatScott/ATtiny_Buck_Boost_C...
Upload the Code!
Here you can find the code that you need to upload to the ATtiny85 before plugging it in the circuit. If you don't know how to upload the sketch then make sure to watch this video of mine:
Downloads
Success!
Awesome! You did it! You just created your own buck/boost converter!
Feel free to check out my YouTube channel for more awesome projects:
http://www.youtube.com/user/greatscottlab
You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information: