HARDWARE DESIGN:
13. Now, The setup is almost complete. To indicate that the there is power supply running through out the breadboard, we will place an indicator i.e. LED bulb which will show that there is power supply in both the lines. The cathode of led on -ve lines and positive on the breadboard main line.
Components used:
1. P89V51RD2 Microcontroller
2. switch
3. 7805 Power Regulator
4. 11.0592 Mhz Crystal Oscillator
5. 22pf capacitor – 2
6. 10uf capacitor – 3
7. 100uf capacitor
9. Led
10. 270 Ohm Resistor
11. Single Core wire
12. Breadboard
13. Wire stripper
14. 9V battery
15. Battery connector
A.Power stage on bread board
A beginner almost starts with the breadboard while learning electronic circuit. When I started, I came across a lot of tutorials and content but I could not find the basic tutorial for setting up a power stage on bread board. So I somehow learned from various references and also made a quick tutorial. So, lets start of with the tutorial. For this tutorial you will need some components:
1.keep your breadboard straight no matter which is pointing in which direction. Just make sure that once you have decided the side, you should not change it as it will be hectic for you to operate. We will use red wire for positive lines and black wire for ground lines.
2. Now next step is to pin up ground wires.
3. Now lets finish off with the third line which will be output line from where +5v will be regulated all over the breadboard.
4. The breadboard is divided into two regions. Now lets supply GND in both the regions.
5. Complete the setup with also connecting red lines in both the regions
6. Join the middle part for both ground and +5v lines which will complete the power supply into the breadboard.
7. Connect the ground lines to complete the wiring setup on the breadboard.
8. Now place the 7805 regulator in the following manner. Be careful while placing and don’t place it wrongly as it would heat the 7805 regulator IC and would damage it.
9. Place the 100uf Capacitor between the +ve and -ve lines i.e just between the +5v Output voltage and the ground of the regulator.
10. Now similarly place a 1000uf capacitor in between the input voltage and the ground. This will act as a global storage for power supply i.e when the battery is removed it will make sure that power is not gone instantly.
11. Now Place the 10uf capacitor on the left part of breadboard between -ve and +ve lines.
12. Do same on right side also
14. Now, we will use a 270 Ohm resistor to limit the power supply for the LED bulb. Since, it would get damage if the voltage is more. Connect the anode of LED to +ve side of breadboard.
15. Do the same thing on the other side of the breadboard.
*Now lets check whether the circuit is working or not. Put on the +ve wire of the battery snapper in the Input of 7805 Regulator IC.
*Now put the Black wire in the gnd of 7805 regulator as following image.
*Now connect a 9v battery and if your connections are OK then the LED at both the ends will glow up
SOFTWARE DESIGN:
INPUTING HEX FILE INTO PROTEUS 8 SIMULATION SOFTWARE:
DOWNLOADING HEX CODE TO PLD USING FLASH MAGIC :