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

oriminna
Sat May 04 2024, 08:28 pm
scaneraNom
Sat May 04 2024, 02:21 am
gtaletrzua
Fri May 03 2024, 10:55 am
Clydehet
Wed May 01 2024, 06:44 pm
Davidoried
Wed May 01 2024, 06:11 pm
KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm