|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Parallax and speed controllers
Has anyone use a Parallax basic Stamp/SX/Propeller micro-controller to drive a Jag or Victor? And if not do you think it would work?
|
|
#2
|
|||
|
|||
|
Re: Parallax and speed controllers
Wow, that Propeller thing is... unusual*.
The propeller claims to be able to do 40mA per pin, you can probably do it by just putting a ~330Ohm current limiting resistor in series. If you are having trouble, consider putting a buffer in between. You can see how the digital sidecar buffers its signal on page 3 of http://usfirst.org/uploadedFiles/DSC...matic%20v7.pdf Then it is just a matter of creating your PWM signals, which should be relatively straight forward. * This document was my introduction to it. Wow. |
|
#3
|
||||
|
||||
|
Re: Parallax and speed controllers
thanks for the link to the Digital sidecar, that really helps.
|
|
#4
|
|||
|
|||
|
Re: Parallax and speed controllers
Basic Stamp will drive a Victor, so the propeller chip should also work.
There is huge forum for all things Parallax. Some digging came up with this post http://forums.parallax.com/forums/de...?f=25&m=369650 that has code attached to it. As always Google is your friend! |
|
#5
|
||||
|
||||
|
Re: Parallax and speed controllers
I once used an arduino to test our victors/jaguars once. It was great. It was fast and simple.
All i had to do was use the old <ServoTimer1.h> from ladyada and use the following code. http://www.ladyada.net/make/mshield/use.html Code:
#include <ServoTimer1.h>
ServoTimer1 servo1;
ServoTimer1 servo2;
void setup() {
Serial.begin(9600); // set up Serial library at 9600 bps
Serial.println("Servo test!");
servo1.attach(10);
servo2.attach(9);
}
void loop() {
Serial.print("tick");
servo1.write(180);
servo2.write(0);
delay(1000);
Serial.print("tock");
servo1.write(0);
servo2.write(180);
delay(1000);
}
|
|
#6
|
|||||
|
|||||
|
Re: Parallax and speed controllers
Aaron,
The RC was originally a Basic Stamp in a special box and programmed in PBasic. |
|
#7
|
||||
|
||||
|
Re: Parallax and speed controllers
Though in that case, the Stamp was running the user code, there was still another controller that handled all the PWM signals.
Oh, those were the days. 26 Bytes of RAM. Though there were a few bits here and there that you could use in an emergency. Working on the Stamp based RC got me a job at Parallax for an internship. A note to the OP. I'd recommend getting something like a serial servo controller, which allows you to deal with mutiple Jag/Victors using only one or two pins for serial communication. If you are using something like a stamp to control them directly, you may notice minor delays that can affect steering, since the control signals are not updated exactly simultaneously. Also, without the SSC, you have to constantly refresh the output signals, which makes the code architecture slightly more difficult. It can certainly be done, but the $30 add-on really makes it easy and powerful. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can we use old Relays and Speed Controllers? | thoughtful | Control System | 14 | 17-01-2005 14:55 |
| Can we use old Relays and Speed Controllers? | thoughtful | Electrical | 14 | 17-01-2005 14:55 |
| initialization program and speed controllers | rosebud | Programming | 15 | 05-10-2004 03:35 |
| 1999 Manual, Speed Controllers, and Breakers | Venkatesh | Electrical | 4 | 03-02-2004 21:53 |
| Calibrating speed controllers and joysticks | thedillybar | Technical Discussion | 4 | 11-02-2002 13:24 |