Basic Stamp and Vex motor modules?
Cruchy
Posts: 4
Ok guys I have a question. Im using (required by my class) a parallax processor that comes with a BoeBot kit. I am attempting to control VEX kit motor modules with this processor, however the VEX kit runs on C language. Is there anything I can do to fix this?
Comments
Do you have a link to the specific motor controller?
Is it just a motor? Or does it have a controller along with it?
If a controller, does it have a serial connection? Or some way of communicating with it?
I also have Servo Motors to use with it as well.
Here is a link to the motor Im referring to, it has a power, ground and PWM wire.
http://www.vexrobotics.com/products/accessories/motion/276-2163.html
I searched google.com for the words (including quotes)...
"Vex Motor" pbasic
...and found some information which should be helpful. Here is the link...
http://www.google.com/#hl=en&safe=off&q=%22Vex+Motor%22+pbasic&aq=f&aqi=&aql=&oq=%22Vex+Motor%22+pbasic&fp=91fa8dc8225f38ce
It could all just be in my pulseouts, because i read on there that the servo's didnt respond at 850 only at 1200 or 300.
Apparently people are able to use the two together so it would almost have to be a problem with the program itself.
P.S. Im controlling the entire set-up with a universal remote that I have incorporated into the program via infrared sensor. This wouldnt effect the motors at all would it?
And you can write a small PBasic program to just make the motors move - for testing.
Then incorporate the two into one program.
The trick is to "isolate" problems with testing. And "see" what values are being sent or stored. Be sure they are what they should be.
Sometimes the problem with something not working··is quite simple. Sending a code in HEX rather than decimal (or other way around). Sending wrong pulse, etc.
I first wrote the program for the BoeBot and used the debug statements at that point to program the IR.
Maybe its what you suggested who knows, when I get a chance to test your theories (most likely tomorrow), I'll get back to you.