Go to Post My grades were horrid when I started, but thanks to the mentors and other students, I'm now a straight-A student. - Bax2996 [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 09-03-2008, 14:56
Jake M Jake M is offline
void* Jake;
FRC #1178 (DURT)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Missouri
Posts: 118
Jake M has a spectacular aura aboutJake M has a spectacular aura about
USB to 9-Pin Serial Conversion

No, I'm not talking about the USB Dongle.

I spent a week in Rolla over last summer for an Intro to Engineering Camp and in the Computer Engineering presentation, I got a small 3''x3'' circuit board with a cheap little microprocessor built in. The IO consists simply of four switches, four LEDs and a basic speaker. I'm going to replicate it a few times so each of our prospective programmers for next year can play around with them and get a feel for how microcontrollers work. The board utilizes a 9-pin serial port for program loading, much like the FIRST RC. Our school provides laptops for every student (except our Senior class. We were the last class to not get them), but none of them have a 9-pin serial port.

I know the basic background of how the 9-pin serial port works (RS232, I believe. Correct me if I'm wrong), but USB is very sketchy. I figured someone around here knows enough to help me. Am I correct in saying that USB is basically a 4 pin serial port that uses a +5V pin, a Tx pin, an Rx pin, and a Ground pin? If so, could I make a custom cable that wires the USB's Tx to the 9-Pin's Rx (In addition to using 9-pin serial, the board is designed so that you have to use a Null-Modem cable), and so forth?

Code:
RS232        USB
-----        ---
1:DCD        +5V
2:RxD--------Data-
3:TxD--------Data+
4:DTR      |-Gnd
5:Gnd------|
6:DSR
7:RTS
8:CTS
9:RI
I'm just hoping I don't have to actually go out and buy USB to 9-Pin Serial converters for everyone. I bought one for myself a while back, before I knew a whole lot about this stuff (though I still don't), and if I remember correctly, buying one for every member might get expensive.
__________________
Code:
void function(void)
 {
  function();
 }

Last edited by Jake M : 09-03-2008 at 14:58.
 


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
USB To Serial Devo1098 Programming 3 30-06-2007 19:51
Using a USB to 15 pin converter gillejr Control System 7 29-01-2007 20:44
BAFO USB to 9 Pin Adapter Skiguy523 Programming 2 29-01-2005 01:49
USB to 9-pin serial port (HELP!!) n00b Technical Discussion 10 01-02-2004 21:25
USB to Serial Jack Programming 24 23-12-2002 14:21


All times are GMT -5. The time now is 09:45.

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