This is the 1st of a 3 part series where I will describe how to build a basic ATmega8 circuit and program it with a simple program. This tutorial is ideal for first timers, so read on…
Breadboards usually have a break or two in the bus strips, so the first thing we will do is put jumpers on them, so you have connectivity through the whole strip. The exact position of these jumpers will depend on the model of breadboard you use, so use the continuity tester on your multimeter to determine where these jumpers should go. The breadboard we are using can be found here but any full size breadboard should work.
- Steps the voltage down from 9V to 5V
- Smooths out any unevenness in the power source
Since we are using a battery as a power source, we expect it to be pretty smooth, but you could just as easily use this circuit with a wall wort.
The wires on the 9V battery clip are multi-core so they are nice and supple, but unfortunately this makes it harder to insert into a breadboard. The solution is to cut off 2 pins from a header strip, then solder them to the wires. I finished mine off with some heat shrink tubing to make it a bit neater.
The next 3 photos show the power supply components being added to the breadboard.
All there is left now is to plug it in and test it. The LED should come on (mine did, but it didn’t photograph well) and the voltage should read about 5V on your multimeter.
In ATmega8 Breadboard Circuit Part 2 we will add the microcontroller.