Go to Post No Firsting way! - Tytus Gerrish [more]
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-16-2005, 12:15 PM
foobert foobert is offline
Registered User
no team
Join Date: May 2005
Location: oakland, ca
Posts: 87
foobert is a jewel in the roughfoobert is a jewel in the roughfoobert is a jewel in the rough
vex radio

i've been trying to figure out the signals from the vex radio.

i am proceeding from the assumption that the signal is pulse position modulated. this would mean that for six channels seven pulses of equal length are transmitted with the time from the falling edge of one pulse to the falling edge of the next being the pwm pulse width for one channel on the radio. the seventh, long, pulse fills out the 18.5 ms of the pwm period.

unfortunately the sole instrument in my possession is a volt meter, so i'm not going to be able to get a very clear picture of what's going on, but i did notice a difference of 1.586 volts in the potential between two wires on the tether cable from the radio.

i figure this must be the average dc voltage. that's how pwm works, right?

so i divide 1.586 volts by the number of pulses, 7, and get about 0.266 volts to and divide that by 5 volts then multiply by 18.5 ms giving me about 0.838 ms for each of the seven pulses.

okay, so now that i think i know what's going on maybe i could take a micocontroller and output seven 0.838 ms pulses separated by 0.662 ms pauses and follow the whole thing with a nice wide 8.662 ms pause, feed this to rx1 on the vex controller and have the thing stand still.

ok, big deal. but if i were to mess with the lengths of those pauses, i should be able to control the robot, right?

now, what i'd like to do is dump data out the serial port of my computer, into my little microcontroller and have it feed a ppm signal to the vex. maybe even do this over bluetooth.

have i lost my mind? is there, perhaps, someone out there with an oscilloscope who could verify or even disprove my surmise?

in the meantime, i'll try to program my little mega128 to make my squarebot do nothing.


Reply With Quote
  #2   Spotlight this post!  
Unread 11-05-2005, 07:10 AM
foobert foobert is offline
Registered User
no team
Join Date: May 2005
Location: oakland, ca
Posts: 87
foobert is a jewel in the roughfoobert is a jewel in the roughfoobert is a jewel in the rough
Re: vex radio

invested $80 in a basic stamp logic analyzer, (wonderful device for the price, 16 inputs, 2Ms/sec, asynch serial, i2c and spi protocol analyzers...), and actually got to see the signal coming out of the radio. imagine my delight when it turned out to be pretty much as i guessed it would be. why, my little heart was all aflutter.

they're killing me at work right now, but i'll have some time off at thanksgiving and figure i'll try to replace the brain on my squarebot with my board of education. even with that poky little thing i figure i should be able to decode the signal, output two channels of pwm and read the bumper switches, with maybe a little time left over to flash an led.

if that works, i'll try it with a atmega8.

Last edited by foobert : 11-05-2005 at 07:14 AM. Reason: lousy spelling
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
First Time Here & Vex Robotics Kit jeffmorris General Forum 11 09-11-2005 07:38 PM
FIRST Vex in Radio Shack Ad Fran General Forum 13 04-28-2005 11:11 PM
Vex Robotics Vex FIRST Tech Challenge 0 04-14-2005 12:48 PM
VEX Kits for Sale from Radio Shack fowlerm FIRST Tech Challenge 8 04-12-2005 01:07 PM
VEX Robotics vexrobotics FIRST Tech Challenge 8 03-30-2005 10:25 PM

All times are GMT -5. The time now is 11:58 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi