Go to Post Cue all the jokes about natural selection in the Darwin division - TDav540 [more]
Home
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
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 21-06-2005, 13:33
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 Programming

well, I got my programming kit and i had a little fun turning on leds. i've been working on controlling them with a joystick on the remote using the hardware pwm available on the first four motor connectors. and i've just ordered a couple of sharp gp2d12 ir distance sensors so maybe i can get it to stop before it runs into the cat.

i was wondering if anyone else has been doing any coding for the vex. anyone have any observations, questions, secrets to share?

the sample code at vexlabs seems to be pretty clear. i've managed to dope out where most everything connects from the header files and have made a little table which can be seen at theEntropyWorks.com. motors 1-4 as i mentioned are connected to 4 of the 5 hardware pwm modules on the 18f8520 in case anyone wants to try to control a real dc motor through an h-bridge.

the vex motors run at a very low frequency with a period of 18ms and a duty cycle of 1-2ms, like hobby servos. this is too slow for the hardware pwm.

better hit send, here, before my session times out and i have to type everything over, again.
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
how to build a VEX programming module bblack7489 FIRST Tech Challenge 78 09-06-2011 16:03
VEX programming Gene F Programming 14 08-08-2006 22:21
Programming for Vex robots Jeff K. Programming 4 13-11-2005 16:40
Vex bot programming Q's BaldwinNYRookie Programming 6 09-10-2005 17:45
White Paper Discuss: VEX / intelitek easyC programming document dez250 Extra Discussion 3 15-09-2005 15:20


All times are GMT -5. The time now is 16:59.

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


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