Pls HELP!!! PWM using AVR

Status
Not open for further replies.

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
 
pwm using atmega48

Can i use atmega 48 to generate 2 frequencies in a PWM wave?

thank you many thanks

appreciate it
 
The Datasheet has a pwm function on each timer... So I would expect so...

If you want it in the same wave you'll have to do an external add with an opamp
 
Are you bringing then to one signal? or two separate inputs to the CB?
 
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.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…