You Are Here: Home » AVR ATmega Projects » Sound - Audio Projects » Create yourself ATMEGA128 a simple tone generator

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!!

Create yourself ATMEGA128 a simple tone generator

Step 1: 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

Step 2: 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,

 

For more detail: Create yourself ATMEGA128 a simple tone generator

Leave a Comment

You must be logged in to post a comment.

Read previous post:
1clickBOM, a browser extension to quickly add components to shopping carts

1clickBOM 1clickBOM is purchasing tool that let's you keep one bill of materials (BOM) for items from multiple retailers. It's...

Close
Scroll to top