Create Yourself ATMEGA128 a Simple Tone Generator
by arick in Circuits > Microcontrollers
4711 Views, 2 Favorites, 0 Comments
Create Yourself ATMEGA128 a Simple Tone Generator
Hello guys,
In this project I want to share my experiment on ATMEGA128 generating a simple tone,
I have created 8 tones ( 1 octave )
Let's get started!!
In this project I want to share my experiment on ATMEGA128 generating a simple tone,
I have created 8 tones ( 1 octave )
Let's get started!!
Prepare the Components
Let's prepare the components,
We need :
1. Speaker, just buy the cheap one.
2. ATMEGA128
3. LM386
3. Blue LCD
4. ATMEGA8 debugger
And let's do the code
We need :
1. Speaker, just buy the cheap one.
2. ATMEGA128
3. LM386
3. Blue LCD
4. ATMEGA8 debugger
And let's do the code
Now, Let's Do the Code
For this experiment,
We'll use Timer1 on ATMEGA128 for the main tone generator,
I used CTC mode for this purpose.
I'm using Atmel Studio for developing the code,
We'll use Timer1 on ATMEGA128 for the main tone generator,
I used CTC mode for this purpose.
I'm using Atmel Studio for developing the code,
Let's Watch the Video....
That's it guys,
Let's watch the video for it.
ATMEGA128 is doing one octave
Let's watch the video for it.
ATMEGA128 is doing one octave