View Single Post
  #9   Spotlight this post!  
Unread 20-04-2005, 14:29
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,357
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Electronic Speed Controllers for DC Motor

If you can do a little breadboard wiring and reprogram the pwm port you might want to take a look at the SN754410 DC motor drive chip. It can control 2 motors. 2 inputs control the direction and the enable line can control speed by driving it with a fixed frequency PWM. Vary the duty to control power. You'll have to modify the default code to change the hardware PWM for the frequency and then add code to change the duty.
This app note is for basic but gives an example.http://kronosrobotics.com/an101/DAN101.shtml The same chip can controll stepper motors too. It could also drive Fets for higher power.There are also chips that can generate the PWM and monitor current for curent limiting. They are harder to implement. Note the warning about the 10000K resisters inline on the inputs. This chip is not isolated and if it fails there could be drive voltage on the inputs. The resistors povide some protection.