Introduction: Homemade Singing ATMEGA128
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....
After experimenting with 8 octave tone generator,
Now, I'm continuing on creating a singing ATMEGA128
Let's get started, no more delay....
Step 1: Prepare All the Parts Needed...
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 .
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 .
Step 2: Let's Build the Code
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();
}
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();
}
Step 3: Enjoy the Video
The last step,
Let's enjoy the video, ATMEGA128 singing for us....
Let's enjoy the video, ATMEGA128 singing for us....