Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Pls HELP!!! PWM using AVR

simontheng

New Member
Hey people,

i do need help badly. I'm a AVR idiot, i have been looking for pwm guides for 6 hrs but to no avail.

This is the problem: i'm using Atmega48, i want to generate a pwm wave but i want to have 2 different frequencies at the same time.

can it be done?

many thanks,
may god bless you :)
 
To generate 2 different frequencies you have to use 2 Timers of an AVR Controller.
The Output is an rectangular signal that will have many harmonic frequencies.
For an DTMF code i would never use such one, ore you spend a Filter after the Output of the PWM Source.
I think the better way is to use an DTMF Chip that will be steered from the AVR.
Probably such one like the MT8880 from MITEL.
 

Latest threads

New Articles From Microcontroller Tips

Back
Top