|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
PC control of a Victor884/883
I'm working on a project that will require me to control several Victors with a PC parrellel port. I was thinking that this will be easy to do but I have a few questions. What is the purpose of all three connectors on a PWM cable, are only the ground and postive connectors used? Aslo, what is the range of duty cycles the Victor 883 and 884 can handle? And finally how much time does one cycle take?
Thanks in advance. |
|
#2
|
|||
|
|||
|
Re: PC control of a Victor884/883
I don't have experience with a victor but other similar speed controls I've used like to take pulses between 1.0 and 2.0 milliseconds in length with a 1.5 ms pulse being the neutral throttle posititon. These pulses should occur every 20 ms.
|
|
#3
|
|||||
|
|||||
|
Re: PC control of a Victor884/883
I have an osciliscope at my displosal, could I use it to find the length of the pulses the RC sends to a Victor? However, I have never used an osciliscope other than just playing around. How can I use it to measure length of the pulses?
|
|
#4
|
|||||
|
|||||
|
Re: PC control of a Victor884/883
The red and black wires on the PWM cables are +7.2 volts and ground respectively. The white wire is what you use to vary the pulse length.
|
|
#5
|
||||||
|
||||||
|
Rolling your own...
This Kit shows how to access a printer port via the various languages. I can vouch for the I/O box too. Very impressed. Using this box and the example code, you should be able to control a Victor tolerably well. I would not do anything safety critical because I would guess it could freak out when the PC gets too busy or Windows gets flakey.
If you REALLY want to control a Victor using a PC, I would recommend either THIS from Scott Edwards which uses an RS-232 port and controls up 16 servos (8 per board, 2 boards per USB) or even better THIS from Parrallax Inc. which uses USB to control 16 servos on one board. I have used the Scott Edwards board and vouch for it. Old FIRSTer may know that FIRST used Scott's SSC code to run a PIC that was inside the old Stamp2 based controllers (why this explains the 127=OFF set up by the way it is a legacy from Scotts boards). I have the Parallax board on order (it hopefully ships Friday). I have high hopes for it. By the way, do not be fooled, the Parrallax Serial Servo Controller is not the same as the Scott Edwards board. The Parallax Serial board is essential made to interface to a STAMP2. It requires other glue to interface to a PC RS-232 port. Good luck. Joe J. |
|
#6
|
|||
|
|||
|
Re: Rolling your own...
Quote:
You could make a really walking robot with that. What do you plan to do with it? |
|
#7
|
||||||
|
||||||
|
Re: Rolling your own...
Quote:
I THINK that the USB will make a virtual COM port that you can access via whatever you want. BUT... ...I too am not clear on this. I am inferring much from THIS page (and so experience I have with USB Bluetooth Dongles). Look at this picture that shows and USB to COM port chip and then look at this picture of the USB Servo Controller. Suspicious no? Stay tuned... Joe J. Last edited by Joe Johnson : 16-03-2005 at 20:02. |
|
#8
|
|||||
|
|||||
|
Re: PC control of a Victor884/883
Quote:
Quote:
100 degree Virginia days are not exactly the best operating conditions for a PC, although the water cooling system should take care of this.Quote:
-Scitobor |
|
#9
|
|||
|
|||
|
Re: PC control of a Victor884/883
Quote:
-Andy A. |
|
#10
|
||||||
|
||||||
|
Re: PC control of a Victor884/883
Quote:
The control lines are STROBE, AUTOFD, SLCTIN,PE & SLCT, but looking at the data sheet, PE, SLCT & ACK are inputs. SO... I think you are limited to 11 Servos max just based on hardware. With a stable OS and some flexibility to set priorities of tasks you should be in good shape controlling 11 servos. The timing is really not that critical compared to other tasks. Oh yeah, I would not be so sure about the lack of a Linux driver. See the quote below from here: Quote:
If I am right, then the FTDI just makes the USB port generate a virtual COM port. AND FTDI claims (above) that they have FREE (as in "free beer" for you Open Source folks reading this) drivers for "multiple operating systems" including Linux. Look at these two boards: ![]() ![]() The only difference really is that the one on the right (the USB one) has the FDTI chip on it. I am pretty sure the the differnence is that one gets it's serial data directly an the other gets it from the FDTI chip. In that case, a Linux driver that gets you a "virtual COM" essentially IS a Linux driver for the whole kit and kaboodle. But... ...as usual, I could be wrong. Wrong or no, Good luck. Let us know how it turns out. Joe J. Last edited by Joe Johnson : 16-03-2005 at 23:16. |
|
#11
|
|||||
|
|||||
|
Re: PC control of a Victor884/883
I think I will buy one of the Pallax boards, they seem like a good solution. Thanx for the help, I will keep you all posted when I start getting parts in.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2005 RadioShack® Innovation in Control Award! | dez250 | General Forum | 10 | 10-03-2005 21:29 |
| Invacare control system, UI? | Jacob Morgan | Control System | 0 | 24-10-2004 16:54 |
| What do you wish you knew about the new control system? | Joe Ross | Control System | 2 | 09-01-2004 21:47 |
| Need a FIRST Robotics control system | kershawrobotics | General Forum | 3 | 07-07-2003 09:49 |
| more control options | smokescreen | Technical Discussion | 17 | 05-03-2002 15:41 |