View Single Post
  #2   Spotlight this post!  
Unread 22-11-2005, 22:32
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: manual control of a victor?

Quote:
Originally Posted by Don Rotolo
That is correct for an R/C servo, but incorrect for a Victor or similar PWM motor control.

For a PWM motor control, the duty cycle of the signal varies from 0% to 100%, corresponding to full reverse and full forward, respectively, with 50% being neutral.
You're thinking of the output of said motor controller. The original poster was looking for a device to connect to the Victor input. This uses the same signal as R/C servos.

However, I recently finished a PIC based motor controller (for true motor control PWM). If anyone wants it, I'll send them the code. As for hardware, you just need a 12F683 (or similar) and the appropriate "glue" components to connect it to an h-bridge. I've got code to read a pot and the R/C PWM signal.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------