From: "PCS Electronics"
Subject: Re: RS232 newbie - in need of assistance!
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
Date: Fri, 3 Jan 2003 00:44:07 +0100
NNTP-Posting-Date: Fri, 03 Jan 2003 00:44:05 MET
Organization: Slovenija OnLine - SiOL
I think he is having more problem with the hardware
since he is having problems with just attaching switches
to the printer port.
It sounds as if he knows VB well (he said he was a pro).
Hey, Matt, can you solder?
Do you think you could get the printer port connector,
solder a couple wires to it and attach some switches
to them in series with a couple resistors?
How many switches do you need?
Marko - PCS Electronics
Turn your PC into a FM radio station
tel +386 31 318 236
"John Fields" wrote in message news:email@example.com...
> On Thu, 2 Jan 2003 19:00:52 -0000, "Matt Foster"
> >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.
> >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.
> If you're interested in doing it in hardware (CMOS or TTL, no µC)
> post a request here and I'll work something up for you and post it
> to alt.binaries.schematics.electronic. sometime this weekend. I'm
> thinking two HC165's and a single TTL-to-RS-232 converter to send
> the data into the PC's serial port, an HC191 to frame the word, a
> 7555 clock and maybe a little glue logic to hold it all together.
> Prob'ly 6 chips by the time it's all done, but it'll be standalone
> and you won't have to write any code to run it.
> John Fields
> Professional circuit designer