Go to Post Take it from a team that mastered tank treads and still hasn't built them in over a decade - it's not worth it. - Isaac501 [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

 
Reply
Thread Tools Rating: Thread Rating: 11 votes, 4.64 average. Display Modes
  #31   Spotlight this post!  
Unread 12-06-2005, 20:27
davefowler davefowler is offline
Registered User
no team
 
Join Date: May 2005
Location: Hastings
Posts: 6
davefowler is an unknown quantity at this point
Re: how to build a VEX programming module

Where are you ordering your modules from? I can't find it online.
Reply With Quote
  #32   Spotlight this post!  
Unread 12-06-2005, 22:10
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: how to build a VEX programming module

send an email to info@vexlabs.com with your address and a daytime telephone number and tell them you wish to buy a prototype programmer. i did this last week on monday morning, received a call a couple of hours later, gave them my credit card info and had the board in my hot little hands friday afternoon. what you will receive is a small board with an rs232 level converter and an 8 pin pic microcontroller, an rj-11 connector at one end and a db9 connector at the other. they include an rs-232 cable, a 6 conductor phone cord and the c-bot disk, (mplab, mcc18 and ifloader), that is apparently used in first programming. what you don't get is a pretty plastic cover for the programmer and the visual programming environment.

alas, i'm still trying to locate a driver for my usb to serial converter.

oh, yeah, $99.00 plus about $8.00 for the ups guy.

Last edited by foobert : 12-06-2005 at 22:12.
Reply With Quote
  #33   Spotlight this post!  
Unread 15-06-2005, 19:48
lynca's Avatar
lynca lynca is offline
Andrew Lynch
FRC #2587 (DiscoBots)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Houston, TX
Posts: 1,614
lynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond repute
Send a message via AIM to lynca
Re: how to build a VEX programming module

The work done to make a programmer is not wasted, Think about having multiple vex controllers or a laptop commanding the vex controller (similar to the botball GameBoy Xport)

Therefore a converter from Db9 -12V to +12V (CMOS) with a max232 converting to 0-5V TTL Phone Jack to the Serial Port is very useful.

According to the Vex people (IFI) , everything with Kevin Watson's serial driver should work similar to the FIRST controller. Therefore, if someone could establish basic serial communication with the controller, new inventions are bound to come.

~Andrew Lynch
Reply With Quote
  #34   Spotlight this post!  
Unread 15-06-2005, 20:37
Vex Vex is offline
Registered User
no team
 
Join Date: Apr 2005
Location: Austin
Posts: 7
Vex is a jewel in the roughVex is a jewel in the roughVex is a jewel in the rough
Re: how to build a VEX programming module

The VEX programming module will be available in August 2005. You can check out other VEX products or connect with other VEX users at www.vexrobotics.com
Reply With Quote
  #35   Spotlight this post!  
Unread 19-06-2005, 13:05
CyberTroniX CyberTroniX is offline
Registered User
no team
 
Join Date: Jun 2005
Location: Egypt
Posts: 12
CyberTroniX is an unknown quantity at this point
Re: how to build a VEX programming module

Quote:
Originally Posted by fowlerm
Pinout for the Vex serial port is as follows:

1 - Tx for UART 1 on the user uP - White
2 - Rx for UART 1 on the user uP - Black
3 - Gnd - Red
4 - RB0 on the master uP - Green
5 - +5v - Yellow
6 - RJ3 on the master uP - Blue


thanks for the pinout , but still i don't know which is RTC and which is CTS ?

another thing is i will connect a bluetooth module to the microcontroller and i will connect it to the serial of the microcontroller , so i know which pins to connect on both except for the +5v on the microcontroller , does it mean that i will get external voltage source ( 5v ) and connect it to pin 5 and not connecting the batteries to the microcontroller ?

thx fowlerm for the useful info .

if anyone wants to take a look at the bluetooth module i'm connecting ,, here it is BlueTooth v1.2 Stamp Module Data Sheet

Last edited by CyberTroniX : 20-06-2005 at 08:59.
Reply With Quote
  #36   Spotlight this post!  
Unread 19-06-2005, 14:13
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: how to build a VEX programming module

rtc and cts are not connected. the serial interface is three wires only, tx, rx and ground. you'll need the +5v to power the bluetooth. if you're trying to build a programmer, you may not have much luck. i tried using a max232, a handful of capacitors and a push button and couldn't get anything going. the programmer that vexlabs is selling has an 8 pin pic on it. if you just want bluetooth for serial coms between a pc and the robot you ought to be okay. probably just need to remember to cross rx and tx.

good luck.
Reply With Quote
  #37   Spotlight this post!  
Unread 20-06-2005, 08:55
CyberTroniX CyberTroniX is offline
Registered User
no team
 
Join Date: Jun 2005
Location: Egypt
Posts: 12
CyberTroniX is an unknown quantity at this point
Question Re: how to build a VEX programming module

u mean get external voltage source and connect it to pin 5 of the serial input to power the bluetooth module ? Or this pin is an output 5v pin which must be connected to the VDD pin of the bluetooth module ?
this is strange , because the bluetooth has it's voltage input pin which takes 3.3v so i don't think this 5v pin is for the module .

something else about RTS and CTS ... fowlerm posted : " The other pins on the Vex's serial port are control lines RTS and CTS "
so if pin 4 and pin 6 are not rts and cts , then what are they ? and where should i connect the rts and cts of my module ?

Note : i just want bluetooth for serial coms between a pc and the robot

Last edited by CyberTroniX : 20-06-2005 at 09:31.
Reply With Quote
  #38   Spotlight this post!  
Unread 20-06-2005, 11:22
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: how to build a VEX programming module

Quote:
Originally Posted by CyberTroniX
u mean get external voltage source and connect it to pin 5 of the serial input to power the bluetooth module ? Or this pin is an output 5v pin which must be connected to the VDD pin of the bluetooth module ?
this is strange , because the bluetooth has it's voltage input pin which takes 3.3v so i don't think this 5v pin is for the module...
I've been using this Bluetooth module with success.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
Reply With Quote
  #39   Spotlight this post!  
Unread 20-06-2005, 11:40
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: how to build a VEX programming module

Quote:
Originally Posted by CyberTroniX
something else about RTS and CTS ... fowlerm posted : " The other pins on the Vex's serial port are control lines RTS and CTS "
so if pin 4 and pin 6 are not rts and cts , then what are they ? and where should i connect the rts and cts of my module ?
That was my initial thought, I now know that the following pinout is correct:

1 - RJ3 on the master uP
2 - +5v
3 - RB0 the master uP
4 - Gnd
5 - Rx for UART 1 on the user uP
6 - Tx for UART 1 on the user uP

The numbers correspond to the numbers printed on the Vex Controller's PCB.

As far as RTS and CTS for your module, they are only used for hardware flow control. If you don't want hardware flow control I believe you can simply connect the RTS pin to the CTS pin to have the module operate without flow control. I know this is true for the module Kevin Watson posted.
Reply With Quote
  #40   Spotlight this post!  
Unread 20-06-2005, 17:57
CyberTroniX CyberTroniX is offline
Registered User
no team
 
Join Date: Jun 2005
Location: Egypt
Posts: 12
CyberTroniX is an unknown quantity at this point
Question Re: how to build a VEX programming module

ok thx fowlerm for the useful info again .

so now i will not use cts and rts , and i will ignore the rb0 and rj3 pins on the serial of the microcontroller .
one last thing remaining is the +5v pin on the serial of the microcontroller , shall i connect this pin to the voltage input pin of the bluetooth module ? or shall i connect external voltage source ( 5v ) to this pin ?
Reply With Quote
  #41   Spotlight this post!  
Unread 05-07-2005, 04:04
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: how to build a VEX programming module

Has anyone figured out what the PIC on the programming module does? If it's in a socket, maybe someone can put it in a standalone programmer and find out if the code is read protected. If it's not read protected, then we should be able to figure out what it is very quickly.

Or maybe someone can put up a schematic of the module and we can make an educated guess about what it does.

I'd do it myself, but I don't have access to one. Actually...someone on our team was assigned to figure out how to program the thing, so maybe we do have one...
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
Reply With Quote
  #42   Spotlight this post!  
Unread 05-07-2005, 08:54
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: how to build a VEX programming module

it's a wee little surface mount thingy so small that i needed a magnifying glass and had to hold it just so to the light in order to be able to tell that it was a pic at all. this puppy will never be socketed.

if one had enough serial ports one could watch what goes in and compare it to what goes out. i figure the button just causes the master controller on the vex to reset the user controller and kick it into a bootloader. can't imagine what goes on that would require another pic in the middle unless it's just a form of obfuscation to confuse things enough so radio shack can sell us programmers.
Reply With Quote
  #43   Spotlight this post!  
Unread 08-07-2005, 19:49
davefowler davefowler is offline
Registered User
no team
 
Join Date: May 2005
Location: Hastings
Posts: 6
davefowler is an unknown quantity at this point
Re: how to build a VEX programming module

aaaaaaaaaa! I tried to order a prototype module, but 1, they don't have any for usb, and 2 they don't work with macs. I have a powerbook that i bought with the robot to hook up to control the robot. Now I feel like I wasted 300 bucks on a fancy modifiable remote controlled car. They should really consider the possibility of people wanting to control the robot with laptops or linux boards. This i think would produce an even greater market for radioshack. I thought it was a handy device that would take care of all the motor and sensor controls easily for me. Help me out. Is there a way i can get this to work without the programming module? Does anyone really have a working module that they made? And do you think it would work for mac osx?
Reply With Quote
  #44   Spotlight this post!  
Unread 08-07-2005, 20:21
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: how to build a VEX programming module

you're really going to need a windows system, or a linux box running wine, because the compiler is windows only. i run linux most of the time, but have a windows partition on my laptop where i've installed mplab, mcc18 and the ifiloader. i run the programmer through a usb to serial converter that cost around 20 bucks. tried to build a programmer myself, but gave up and got the prototype from vexlabs. there's a little pic on the programmer in addition to the rs232 level converter you'd expect. like i said, works great, except for the $99 hole in my wallet and that i have to boot windows to run the compiler.
Reply With Quote
  #45   Spotlight this post!  
Unread 09-07-2005, 18:51
davefowler davefowler is offline
Registered User
no team
 
Join Date: May 2005
Location: Hastings
Posts: 6
davefowler is an unknown quantity at this point
Re: how to build a VEX programming module

Well i also have a desctop PC. Perhapse I can program the robot with the PC and control it with my powerbook later? I have a usb to serial converter that works for both PC and mac. I think that's what i'll end up doing. I have an m232 converter, so i think i could send signals to the serial port with the powerbook if I program the the controller to read from the serial port. Otherwise I was wondering if I could change the rx1 and 2 ports to read a serial signal instead of the PWM signal it is currently programmed to read. Anyone done anything with this or have any comments?
Reply With Quote
Reply


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
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37
Programming for Vex robots Jeff K. Programming 4 13-11-2005 16:40
VEX Robotics vexrobotics FIRST Tech Challenge 8 30-03-2005 23:25
OCCRA Teams - where do you build? Phil 33 OCCRA 7 28-10-2004 21:41
build new programming (st.louis regional) nick_champ_2 Programming 21 23-02-2004 20:55


All times are GMT -5. The time now is 13:57.

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