Discussion in "AVR Discussion Forum" started by    bebo    May 9, 2013.
Thu May 09 2013, 02:10 am
#1
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
Fri May 10 2013, 10:51 am
#2
here is PWM example on AVR. Change it as per your requirement..
http://www.8051projects.net/pulse-width-modulation/avr-pwm-example.php
Fri May 10 2013, 10:52 am
#3
[Topic moved to AVR Discussion Forum]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

ArktiTic
Sun May 05 2024, 07:06 pm
CesslasyNear
Sun May 05 2024, 02:58 pm
chimichmedic1204
Sun May 05 2024, 11:06 am
Jamiegob
Sun May 05 2024, 10:11 am
Gregoryjed
Sun May 05 2024, 10:02 am
Mariocax
Sun May 05 2024, 08:51 am
WilliamErync
Sun May 05 2024, 02:35 am
Danielnof
Sat May 04 2024, 11:12 pm