Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

PWM for motor DC

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Robotics
View previous topic :: View next topic  
Author Message
mhs

Bascom Member



Joined: 05 Dec 2008
Posts: 10

iran.gif
PostPosted: Fri Dec 05, 2008 8:03 am    Post subject: PWM for motor DC Reply with quote

hello guy im new user i want to build a robot and i want to use PWM for control my DC motor ? PLZ help me

i use ATmega32 and i use 2 DC motor for move my robot i want to use timer1 as PWM but im BEGINNER and i cant

plz help me i want to read my sensors from portA (i use 5 sensors) i use lm324 for comparator and then use pwm for move my robot ??
who can help me?

any one have sample for this code?
Back to top
View user's profile Yahoo Messenger
glena

Bascom Member



Joined: 25 Jul 2007
Posts: 284
Location: PA near Philly

usa.gif
PostPosted: Sun Jan 04, 2009 5:47 am    Post subject: Reply with quote

This may be over kill but shows some examples of controlling motors via PWM.

http://mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=6157&sid=17952159f40b742968ae4b814249df54

Note you will need an H-Bridge driver (SN754410NE) for this to work.

_________________
http://bahbots.com
Back to top
View user's profile AIM Address
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Robotics All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum