The Cyber-Spy.Com Usenet Archive Feeds Directly
From The Open And Publicly Available Newsgroup
This Group And Thousands Of Others Are Available
On Most IS NNTP News Servers On Port 119.
Cyber-Spy.Com Is NOT Responsible For Any Topic,
Opinions Or Content Posted To This Or Any Other
Newsgroup. This Web Archive Of The Newsgroup And
Posts Are For Informational Purposes Only.
From: firstname.lastname@example.org (Radir)
Subject: Re: RS232 newbie - in need of assistance!
Date: 2 Jan 2003 17:54:20 -0800
NNTP-Posting-Date: 3 Jan 2003 01:54:21 GMT
"Matt Foster" wrote in message news:...
> I am an A-Level student looking to read computer science at university in
> the coming years.
> As a project I am trying to design a circuit that transmits data to the 9
> pin serial port (RS232) of a standard PC.
> As a basic start I am trying to make a circuit with 4 ptm switches, when I
> press switch 1 I would like to display "switch 1" or somesuch on the
> computer screen. The same for switch 2,3 and 4.
It is not easy to build this circuit from discrete components, because
you should transmitt a least 10 bit in series (usually: 1 start bit, 1
stop bit and 8 data bit) to COM port every time you push the buttons.
I think you could do it simply with uC (8051, PIC or others) that have
USART build in. If you know how to use COM port in PC, there is no
matter to program it in uC. You can find a lot of this uC program on
the net. Then you will need MAX 232 that convert TTL/CMOS logic level
to RS 232 that go to PC COM port.
> I will be using VB and the MSCOMM control to access the serial port, and I
> forsee no problems with doing this. My hurdle, however, is sending the
> 'data' from the PCB to the serial port.
> I would be extremely appreciative of any help you could give me.
> Thank you very much for your time.
> Matt Foster
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.434 / Virus Database: 243 - Release Date: 25/12/2002
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup