Thread: driving a motor
View Single Post
  #1   Spotlight this post!  
Unread 21-08-2007, 18:05
3dude_2231's Avatar
3dude_2231 3dude_2231 is offline
no one messes with a Thingy =|
AKA: Menscher,Ran Menscher =]
FRC #2231 (Onyxtronix)
Team Role: Leadership
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Shoham, Israel
Posts: 233
3dude_2231 is a jewel in the rough3dude_2231 is a jewel in the rough3dude_2231 is a jewel in the rough
Send a message via MSN to 3dude_2231
driving motors using A PIC microcontroller

Hi there,

building a robot, and need help:
a PIC gets PWM signal from an R/C Rx,
I'm not sure what is the best option for processing the signal,
for controlling a small DC motor.

option 1: simplifying it to something like:
if(channel_X > 127)
{
motor1 = 1;
motor2 = 0;
}
else
...
(you get the point)

plus using a motor driver.
************************************************** ****
option 2:another option is to keep it as PWM,
calculating the values for both engines,
the problem is later interpreting that PWM signal for the motors.
**
I know you can get that result using a transistor,
but I have no experience with that.

and I cant afford "Victor 884"s
**
any other suggestions?



thanks,
Ran.
__________________
Redefining the word "Rookie". (for 2 years now..)


Israeli Off Season Games: WINNERS!
check out this cool project I'm into..


Last edited by 3dude_2231 : 21-08-2007 at 19:13.