I need this program quickly
Discussion in "AVR Discussion Forum" started by bebo May 9, 2013.
Thu May 09 2013, 02:10 am
I want help to make a program using atmega 16 (c language) to operate dc motor 5 volt at 61 hz frequency 50% pulse width using timer 1 after 1 min using pulse generator to generate a pulses in Proteus simulation that will effect motor speed to slow down when a change happen in frequency input(pulse generator) but micro-controller will automatically change frequency to operate motor at the same required volt and speed (61 hz 50%)
pulse generator will be as a feed back from encoder that we put it on motor shaft and change in pulses mean that more load on motor to slow down speed
please if any one write code and circuit simulation or diagram.
thank you
pulse generator will be as a feed back from encoder that we put it on motor shaft and change in pulses mean that more load on motor to slow down speed
please if any one write code and circuit simulation or diagram.
thank you
Fri May 10 2013, 10:51 am
here is PWM example on AVR. Change it as per your requirement..
http://www.8051projects.net/pulse-width-modulation/avr-pwm-example.php
http://www.8051projects.net/pulse-width-modulation/avr-pwm-example.php
Powered by e107 Forum System