hell_son
Newbie level 2
- Joined
- Oct 14, 2014
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 16
Hello to everyone, i'm a student from greece and i need some help for my project.
My project is to make (with atmega16) a pulse generator based on spwm method not only for 50hz but with variable frequency 0-200Hz.
I am thinking to use ADC converter and a potensiometer to change the frequency and then
with timer0 making the SPWM just writing : pulse width = sine (time) * MaxPulseWidth
My problem is that i am confused with connecting all these informations together.
I would appreciate any help or guidance,
nick
My project is to make (with atmega16) a pulse generator based on spwm method not only for 50hz but with variable frequency 0-200Hz.
I am thinking to use ADC converter and a potensiometer to change the frequency and then
with timer0 making the SPWM just writing : pulse width = sine (time) * MaxPulseWidth
My problem is that i am confused with connecting all these informations together.
I would appreciate any help or guidance,
nick