Go to Post FIRST is an organization that teaches students that smart is cool. - Warren Boudreau [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 30-12-2007, 11:25
Leav's Avatar
Leav Leav is offline
Spud Gun Division
AKA: Leav Oz-Ari
FRC #3316 (D-Bug)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Technion, Haifa, Israel
Posts: 774
Leav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond repute
Send a message via ICQ to Leav Send a message via AIM to Leav Send a message via MSN to Leav
Question 3pin RS232 port doesnt work on camera. can't debug while connecting through the DB9.

Hi Everyone,
I have used Kevin's (thanks Kevin!) serial port diagnostic utility to find the problem with our camera. it seems that the 3pin connector on the camera is faulty and thus I can't use the TTL port to connect to the camera.

On the other hand I can't make sure it's all working while connecting the camera to the programming port through the DB9 cable, because the programming port is taken up....

Any Ideas on how I can debug the camera with the terminal while connecting it through the DB9 cable?

Thanks!
-Leav
__________________
"We choose to build robots this season and do the other things; Not because they are easy, but because they are hard."
-Paraphrasing JFK

Participated in FIRST as a student: 2005-2006 (But still learning every season!)
Mentor: 2008 - ? (Team 2630 2008-2011, and Team 3316 since 2013)
Engineer: 2011 - ? (B.Sc. and M.Sc. in Mech. Eng. from the Technion IIT)
FIRST Volunteer - 2007 - ? (MC, FTA, FIRST Aid etc.)
  #2   Spotlight this post!  
Unread 30-12-2007, 11:43
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,622
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: 3pin RS232 port doesnt work on camera. can't debug while connecting through the D

Leav,

Have you tried wiring up a 9 pin to PWM-style connector to go through your RS232-TTL adapter? The pinout should be:
Code:
PWM     RS232
1 Blk   5
2 Red   3
3 Wht   2
I'm 95% positive that's correct. If not, you'd have to swap red and white. Also, can you be certain the problem is your 3 pin header and not your RS232-TTL adapter? You could use a similar PWM to 9-pin adapter to connect your computer to the camera's 3-pin connector to check that. You'd need to change the gender of the connectors, but the pinout stays the same.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter

Last edited by Kevin Sevcik : 30-12-2007 at 11:48.
  #3   Spotlight this post!  
Unread 30-12-2007, 11:44
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,352
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: 3pin RS232 port doesnt work on camera. can't debug while connecting through the D

Leav,
It sounds from your message that you are on the right track, but I can't tell for sure.
The most common problem I have seen when there is no communications on that port is because two serial connections are made to the board at the same time. The camera will only support one connection at a time. The other issue I have seen with the 3 pin RS232 port is that the TTL adapter board keeps coming loose from the RC.
That's my $.02.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
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
No RS232 port alternative Demothesis Programming 7 21-03-2007 18:25
DB9 Port problem Guy_E Programming 4 29-01-2007 17:19
Looking for Borrowed RS232 Camera Port Card from BAE Granite State Event psycho7 Regional Competitions 0 12-03-2006 13:55
Db9 port GOshin Programming 1 02-02-2006 21:39
Camera DB9 / Calibration Port roboticsguy1988 Programming 10 26-01-2005 14:15


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

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