CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Serial Port Conventions.....

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Guest








Serial Port Conventions.....
PostPosted: Mon Aug 07, 2006 7:41 pm     Reply with quote

Hi All,

I'm designing a project that will be marketed commercially. This product (test equipment interface) will be controlled by a PC. By convention should the serial port on an embedded device like this be a male or female DB-9 connector, and should it connect to the PC using a null-modem, or a straight-thru serial cable? I know it can be made to work in a couple of different ways, but I like to follow conventions on this one because it will be used by many people besides me.

Thanks,

Tom
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Aug 07, 2006 8:02 pm     Reply with quote

It should be a female DB-9, and a straight-through cable should be used.

See the PicDem2-Plus User's Guide for a schematic.
http://ww1.microchip.com/downloads/en/devicedoc/51275b.pdf
It's on page 20 in the acrobat reader.
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: Serial Port Conventions.....
PostPosted: Mon Aug 07, 2006 9:29 pm     Reply with quote

Anonymous wrote:
I'm designing a project that will be marketed commercially. This product (test equipment interface) will be controlled by a PC.


Unfortunately the old serial port is going the way of the dinosaur on the PC. You may want to consider if USB or Ethernet would be a better proposition than serial for a product to be marketed commercially.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group