Go to Post The competition is about MUCH more than just the robot. If kids are glued to the robot all of the time, then they miss the rest of it... the other fun stuff, what makes FIRST, FIRST. - Kims Robot [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-01-2005, 14:54
roboticsguy1988's Avatar
roboticsguy1988 roboticsguy1988 is offline
Larry Johnston
AKA: Larry Boy
FRC #1501 (Team THRUST)
Team Role: Electrical
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Huntington, IN
Posts: 290
roboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud of
Send a message via ICQ to roboticsguy1988 Send a message via AIM to roboticsguy1988 Send a message via MSN to roboticsguy1988 Send a message via Yahoo to roboticsguy1988
Camera DB9 / Calibration Port

Ok, i may be wrong, but if i am not mistaking according to the document about the camera, you can make your own "custom cable" to go to the DB9 port on the camera board. By hooking three wires to the specified pins (shown on the diagram below) and then of course hooking the apporpriote DB9 connector on the other end, i should be able to plug that into the computer and calibrate it that way...........without the hasle of taking over the cover off the camera box every time. Does that sound right?? Or does the calibration program require the use of more pins??

Sorry if you need me to explain more i can try......i am not good at explaining things........i am much better at showing someone what i mean.
Attached Thumbnails
Click image for larger version

Name:	Cam.gif
Views:	81
Size:	49.2 KB
ID:	2829  
__________________
Larry Johnston, Team THRUST, Team #1501, Team THRUST webpage

2005 IRI - Imagery and Design Award
2005 - 2006 BMR - Professional Grade Award
2006 BMR - Delphi Driving Tomorrow's Technology Award

"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~ RogerR
~Da team that uses all tha rivets, Team #1501~


The FIRST Software Repository ~ Chief Admin
openFIRST ~ Project Supporter (Former editor)
DMOZ.org - FIRST - US Teams Section ~ Chief Editor
  #2   Spotlight this post!  
Unread 22-01-2005, 14:57
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Camera DB9 / Calibration Port

Quote:
Originally Posted by roboticsguy1988
Ok, i may be wrong, but if i am not mistaking according to the document about the camera, you can make your own "custom cable" to go to the DB9 port on the camera board. By hooking three wires to the specified pins (shown on the diagram below) and then of course hooking the apporpriote DB9 connector on the other end, i should be able to plug that into the computer and calibrate it that way...........without the hasle of taking over the cover off the camera box every time. Does that sound right?? Or does the calibration program require the use of more pins??

Sorry if you need me to explain more i can try......i am not good at explaining things........i am much better at showing someone what i mean.
Yes, you can do that. And then you can wire up the power in and ttl serial lines to un used pins on the db-9 connector. Then splice a serial cable, and solder on PWM cables to the other end to connect to PWM out, and the ttl serial converter.
  #3   Spotlight this post!  
Unread 22-01-2005, 15:02
roboticsguy1988's Avatar
roboticsguy1988 roboticsguy1988 is offline
Larry Johnston
AKA: Larry Boy
FRC #1501 (Team THRUST)
Team Role: Electrical
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Huntington, IN
Posts: 290
roboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud of
Send a message via ICQ to roboticsguy1988 Send a message via AIM to roboticsguy1988 Send a message via MSN to roboticsguy1988 Send a message via Yahoo to roboticsguy1988
Re: Camera DB9 / Calibration Port

Quote:
Originally Posted by Tom Bottiglieri
Yes, you can do that. And then you can wire up the power in and ttl serial lines to un used pins on the db-9 connector. Then splice a serial cable, and solder on PWM cables to the other end to connect to PWM out, and the ttl serial converter.
Yes in fact thats what we did we have everything going through a DB15 connector..........However the calibration part does not work when connected to the computer through the "custom cable". We have triple checked the wiring. And we have also unplugged the ttl serial converter from the robot controller when trying to calibrate through that. Yet it still doesn't work........everything else works fine. Also, it works when we use the DB9 cable that came in the kit.
__________________
Larry Johnston, Team THRUST, Team #1501, Team THRUST webpage

2005 IRI - Imagery and Design Award
2005 - 2006 BMR - Professional Grade Award
2006 BMR - Delphi Driving Tomorrow's Technology Award

"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~ RogerR
~Da team that uses all tha rivets, Team #1501~


The FIRST Software Repository ~ Chief Admin
openFIRST ~ Project Supporter (Former editor)
DMOZ.org - FIRST - US Teams Section ~ Chief Editor
  #4   Spotlight this post!  
Unread 22-01-2005, 15:07
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 750
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Re: Camera DB9 / Calibration Port

Quote:
Originally Posted by roboticsguy1988
Ok, i may be wrong, but if i am not mistaking according to the document about the camera, you can make your own "custom cable" to go to the DB9 port on the camera board. By hooking three wires to the specified pins (shown on the diagram below) and then of course hooking the apporpriote DB9 connector on the other end, i should be able to plug that into the computer and calibrate it that way...........without the hasle of taking over the cover off the camera box every time. Does that sound right?? Or does the calibration program require the use of more pins??

Sorry if you need me to explain more i can try......i am not good at explaining things........i am much better at showing someone what i mean.

Let me help Larry explain more. The attached thumbnail only shows three connections. RX,TX and GND. Standard RS-232 protocol connection with no hardware handshaking. Seems simple.

With the programing cable (black one) connected direct to the DB-9 port on the camera and direct to a DB-9 COM port on your computer. The calibration software communicated just find with the camera.

All we want to do is "EXTEND" the DB-9 port outside the camera box. We connected RX,TX, and GND as shown in the thumbnail with a straight through connection, we did not cross TX,RX or pin 2 or 3 anytime. We also double checked the connection with a ring tone.

When we connect the same programming cable to our newly modified "extention cable", the calibration software does not communicate. Our extension cable is ONLY 3 wires. What we believe are the only required according to the thumbnail attached. RX, TX and GND. However there is no connection somewhere. We do not have enough room to connect all 9 pins up to our extention cable. We prefer only to let 3 wires pass through.

The problem is that I don't feel that RX,TX, and GND are the correct connection required to program the camera using the Java software. But what confuses me more, is that it should be a standard RS-232 connection...pin 2 and pin 3 (RX and TX)....

Has anyone figured out the fact that we need more than just 3 connections to extend the programming port? If so, what pins do we need to extend if we only got three conductors to spare to get the signals we need to the outside world?

Are just stuck extending NINE WIRES? (All nine pins????)...Seems dumb for RS-232...where are those connection!

Hope that makes sense...
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
  #5   Spotlight this post!  
Unread 23-01-2005, 00:57
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 750
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Re: Camera DB9 / Calibration Port

Well it doesn't get any more black and white than this, but we just can't get it to work...weirdest thing I ever saw...Anyone else tried to extend the DB-9 port so you don't have to take the cover off your camera to calibrate? I wonder if it's a noise problem in our extension cable...
Attached Thumbnails
Click image for larger version

Name:	CMU_serial.jpg
Views:	63
Size:	58.4 KB
ID:	2832  
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
  #6   Spotlight this post!  
Unread 23-01-2005, 01:02
Sscamatt's Avatar
Sscamatt Sscamatt is offline
Registered User
AKA: Matt Syska
FRC #0195 (Cyber Knights)
Team Role: Electrical
 
Join Date: Mar 2003
Rookie Year: 2003
Location: Southington, CT
Posts: 265
Sscamatt has much to be proud ofSscamatt has much to be proud ofSscamatt has much to be proud ofSscamatt has much to be proud ofSscamatt has much to be proud ofSscamatt has much to be proud ofSscamatt has much to be proud ofSscamatt has much to be proud ofSscamatt has much to be proud ofSscamatt has much to be proud of
Send a message via AIM to Sscamatt
Re: Camera DB9 / Calibration Port

Make sure you are hooking them up to the right pins, if your looking at the back of the port the pins will be mirrored, so it could get a little tricky.
__________________
2006 Championship Finalist, Thanks 25 + 968!
2006 Newton Division Winner
2006 International Innovation In Control Award
2006 Radio Shack Innovation in Control Award, UTC Regional

RIT Class of 2011
  #7   Spotlight this post!  
Unread 23-01-2005, 08:40
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,830
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Camera DB9 / Calibration Port

Quote:
Originally Posted by chakorules
Anyone else tried to extend the DB-9 port so you don't have to take the cover off your camera to calibrate?
We extended the port, but used a 1.5" piece of ribbon cable and two snap-on DB9 connectors, rather than soldering individual pins.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #8   Spotlight this post!  
Unread 26-01-2005, 13:45
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,830
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Camera DB9 / Calibration Port

Just for fun I tried a connector with just the three wires listed, and I got the same result you did, no communication. The PC/camera requires more than they're telling.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #9   Spotlight this post!  
Unread 26-01-2005, 14:05
roboticsguy1988's Avatar
roboticsguy1988 roboticsguy1988 is offline
Larry Johnston
AKA: Larry Boy
FRC #1501 (Team THRUST)
Team Role: Electrical
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Huntington, IN
Posts: 290
roboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud of
Send a message via ICQ to roboticsguy1988 Send a message via AIM to roboticsguy1988 Send a message via MSN to roboticsguy1988 Send a message via Yahoo to roboticsguy1988
Re: Camera DB9 / Calibration Port

Quote:
Originally Posted by Mark McLeod
Just for fun I tried a connector with just the three wires listed, and I got the same result you did, no communication. The PC/camera requires more than they're telling.
NO, it will work, we just checked our wiring, we accidently reversed the wires on the DB9 connector. It was just flipped opposite of what it should have been. Once we actually got them THE WAY THEY ARE SUPPOSE TO BE, it worked great.
__________________
Larry Johnston, Team THRUST, Team #1501, Team THRUST webpage

2005 IRI - Imagery and Design Award
2005 - 2006 BMR - Professional Grade Award
2006 BMR - Delphi Driving Tomorrow's Technology Award

"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~ RogerR
~Da team that uses all tha rivets, Team #1501~


The FIRST Software Repository ~ Chief Admin
openFIRST ~ Project Supporter (Former editor)
DMOZ.org - FIRST - US Teams Section ~ Chief Editor
  #10   Spotlight this post!  
Unread 26-01-2005, 14:07
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,830
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Camera DB9 / Calibration Port

Quote:
Originally Posted by roboticsguy1988
NO, it will work, we just checked our wiring, we accidently reversed the wires on the DB9 connector. It was just flipped opposite of what it should have been. Once we actually got them THE WAY THEY ARE SUPPOSE TO BE, it worked great.
I probably did something similar then, or just had a bad connection.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #11   Spotlight this post!  
Unread 26-01-2005, 14:15
roboticsguy1988's Avatar
roboticsguy1988 roboticsguy1988 is offline
Larry Johnston
AKA: Larry Boy
FRC #1501 (Team THRUST)
Team Role: Electrical
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Huntington, IN
Posts: 290
roboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud ofroboticsguy1988 has much to be proud of
Send a message via ICQ to roboticsguy1988 Send a message via AIM to roboticsguy1988 Send a message via MSN to roboticsguy1988 Send a message via Yahoo to roboticsguy1988
Re: Camera DB9 / Calibration Port

Quote:
Originally Posted by Mark McLeod
I probably did something similar then, or just had a bad connection.
Yeah, we thought that we had it correct to, until we actually looked at the wiring closer and realized that we had the wires flipped opposite of what they should have been.
__________________
Larry Johnston, Team THRUST, Team #1501, Team THRUST webpage

2005 IRI - Imagery and Design Award
2005 - 2006 BMR - Professional Grade Award
2006 BMR - Delphi Driving Tomorrow's Technology Award

"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~ RogerR
~Da team that uses all tha rivets, Team #1501~


The FIRST Software Repository ~ Chief Admin
openFIRST ~ Project Supporter (Former editor)
DMOZ.org - FIRST - US Teams Section ~ Chief Editor
Closed Thread


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
Scripting Setup and the Camera + Serial Port Drivers CJO Programming 22 11-01-2006 17:42
Kevin Watson's Kick-off Demo Code! Mr. Lim Programming 27 22-01-2005 03:38
Game Field Camera Calibration Matthew_H Regional Competitions 2 15-01-2005 23:09
CMUCam2 Camera Code - Are important parts commented out? Mr. Lim Programming 4 14-01-2005 12:11
New Serial Port Driver Kevin Watson Programming 16 09-01-2005 01:56


All times are GMT -5. The time now is 06:01.

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