Homemade Singing ATMEGA128

by arick in Circuits > Microcontrollers

1932 Views, 6 Favorites, 0 Comments

Homemade Singing ATMEGA128

IMG_20130929_114123.jpg
Hello guys,

After experimenting with 8 octave tone generator,
Now, I'm continuing on creating a singing ATMEGA128

Let's get started, no more delay....

Prepare All the Parts Needed...

IMG_20130929_114129.jpg
IMG_20130929_114123.jpg
IMG_20130929_114117.jpg
IMG_20130929_114110.jpg
Let's prepare the part we need,
1. ATMEGA128
2. The board itself, I created my own PCB for it
3. Speaker,
4. LM386
5 ATMEGA8 debugger

after the part is ready, let's build the code .

Let's Build the Code

atmel studio2.jpg
atmel studio.jpg
Let's build the code for the singing atmega 128

I used this function to make it singing :
void fourth_line()
{
   re_note();
   re_note();
   re_note();
   re_note();
   mi_note();
   fa_note();
}

void fifth_line()
{
mi_note();
mi_note();
mi_note();
mi_note();
fa_note();
sol_note();
}

Enjoy the Video

IMG_20130929_114123.jpg
The last step,
Let's enjoy the video, ATMEGA128 singing for us....