7805 linear voltage regulator is an inexpensive solution. But the ic doesnt include any form of protection. So, the voltage and current protection should be externally added.
There is high chance of reversing the polarity if you dont keep which wire is what. I did the same mistake and blown the aluminium electrolytic capacitors with 7805 ic.
Below is the revised circuit from
5V voltage regulator using 7805 | Complete Process.
schematic of 7805 based power supply with Voltage and current protection
While making circuit a power source is the essential component. Power source can be made by different circuit. Here i used the most popular integrated circuit 7805. Which is a 5v voltage regulator.
I made this schematic in KiCAD software.
PCB layout in Kicad pcbnew
3d rendering of pcb
After this i made some print out. Drilled a few holes. As i do not have a laser printer i am unable to make a photoresist mask. So i use old school permanent marker for masking wire trace.
7805 PCB in ferric chloride solution
7805 pcb final output
Component Placement on board
It is not the best job of solder that i have done. But it is not worst i did and definitely not the best.
Nail Paint as Solder Mask
I did not have paint or the PCB lacquer. But in my home i found this used nail paint. It barely works.
Testing of PCB
This two axis stepper motor control system uses attiny2313 microcontroller. And it utilities the l298 dual h bridge power ic in multiwatt 15 package. The code is easy to write. Dual power supply for the microcontroller and l298 allows for increased isolation. The circuit must use a transformer for the proper galvanic isolation. This is a crude circuit as it needs some filter capacitors to reduce the voltage and current spikes.