Hobby Electronics Basics How to send a signal from PC to a circuit board?

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
How to send a signal from PC to a circuit board? lichxx 01-11-07
Posted by on January 11, 2007, 2:31 pm
Please log in for more thread options


Hi

I am working on a project where I have to send signals from a PC (RS232
or USB?) to a 4-to-16 decoder. Basically, I need a way to send signals
from a PC to drive the 4 inputs of the decoder. Anybody knows an easy
way to do that?

I am looking for the hardware and IC components necessary that will
convert the signals from the PC. Then, what software or programs will I
need to code?


Posted by James Beck on January 11, 2007, 2:47 pm
Please log in for more thread options


lichxx@gmail.com says...
> Hi
>
> I am working on a project where I have to send signals from a PC (RS232
> or USB?) to a 4-to-16 decoder. Basically, I need a way to send signals
> from a PC to drive the 4 inputs of the decoder. Anybody knows an easy
> way to do that?
>
> I am looking for the hardware and IC components necessary that will
> convert the signals from the PC. Then, what software or programs will I
> need to code?
>
>
How about using the parallel port?
At least 8 easy to use data lines.
Real easy if you are using Win98 or less or DOS.
Win2K and XP are a little tougher.

Jim

Posted by on January 11, 2007, 2:54 pm
Please log in for more thread options



James Beck wrote:
> lichxx@gmail.com says...
> > Hi
> >
> > I am working on a project where I have to send signals from a PC (RS232
> > or USB?) to a 4-to-16 decoder. Basically, I need a way to send signals
> > from a PC to drive the 4 inputs of the decoder. Anybody knows an easy
> > way to do that?
> >
> > I am looking for the hardware and IC components necessary that will
> > convert the signals from the PC. Then, what software or programs will I
> > need to code?
> >
> >
> How about using the parallel port?
> At least 8 easy to use data lines.
> Real easy if you are using Win98 or less or DOS.
> Win2K and XP are a little tougher.
>
> Jim


I am using Win XP. How hard would that be?


Posted by James Beck on January 11, 2007, 4:15 pm
Please log in for more thread options


lichxx@gmail.com says...
>
> James Beck wrote:
> > lichxx@gmail.com says...
> > > Hi
> > >
> > > I am working on a project where I have to send signals from a PC (RS232
> > > or USB?) to a 4-to-16 decoder. Basically, I need a way to send signals
> > > from a PC to drive the 4 inputs of the decoder. Anybody knows an easy
> > > way to do that?
> > >
> > > I am looking for the hardware and IC components necessary that will
> > > convert the signals from the PC. Then, what software or programs will I
> > > need to code?
> > >
> > >
> > How about using the parallel port?
> > At least 8 easy to use data lines.
> > Real easy if you are using Win98 or less or DOS.
> > Win2K and XP are a little tougher.
> >
> > Jim
>
>
> I am using Win XP. How hard would that be?
>
>
You will need one of the VXD's that allow you to access the parallel
port hardware. XP blocks applications from doing that.

See:
http://www.beyondlogic.org/porttalk/porttalk.htm

Among others.
I'm sure others here know of more drivers.

Jim

Posted by Matthew Hicks on January 12, 2007, 1:44 pm
Please log in for more thread options


I used a parallel port to drive an lcd for an old school project. You need
to look-up what address the port is located at, how you can get the port to
automatically latch the data and a way to get access to the I/O pins
directly. For the last part I use a c compiler called djgpp that makes a
dos executable that can have direct access to the I/O pins. I think I used
simple in(address) and out(data, address) commands to communicat but you'll
have to look those up to be sure. Note that these functions are in a
special library.

---Matthew Hicks


> lichxx@gmail.com says...
>>
>> James Beck wrote:
>> > lichxx@gmail.com says...
>> > > Hi
>> > >
>> > > I am working on a project where I have to send signals from a PC
>> > > (RS232
>> > > or USB?) to a 4-to-16 decoder. Basically, I need a way to send
>> > > signals
>> > > from a PC to drive the 4 inputs of the decoder. Anybody knows an easy
>> > > way to do that?
>> > >
>> > > I am looking for the hardware and IC components necessary that will
>> > > convert the signals from the PC. Then, what software or programs will
>> > > I
>> > > need to code?
>> > >
>> > >
>> > How about using the parallel port?
>> > At least 8 easy to use data lines.
>> > Real easy if you are using Win98 or less or DOS.
>> > Win2K and XP are a little tougher.
>> >
>> > Jim
>>
>>
>> I am using Win XP. How hard would that be?
>>
>>
> You will need one of the VXD's that allow you to access the parallel
> port hardware. XP blocks applications from doing that.
>
> See:
> http://www.beyondlogic.org/porttalk/porttalk.htm
>
> Among others.
> I'm sure others here know of more drivers.
>
> Jim



Similar ThreadsPosted
How to send a signal from PC to a circuit board? January 11, 2007, 2:31 pm
Any problem parallel traces on both sides of board carrying same signal? May 31, 2005, 6:51 pm
Odd Question About Circuit Board May 22, 2005, 10:30 pm
circuit board programs February 11, 2006, 8:12 am
Cleaning Old Soda Off Of A Circuit Board? March 15, 2007, 10:34 pm
help diagnose old circuit board, fault September 9, 2007, 10:01 am
quality circuit board components March 10, 2008, 11:59 pm
Contract circuit board maker source? March 13, 2005, 9:15 pm
Sell Print Circuit Board -----(CHINA) December 9, 2005, 12:17 am
Circuit board and Lead Free Directory April 7, 2006, 5:13 pm
How do you stop someone reverse engineering a circuit board ??? April 30, 2007, 1:20 am
anyone make a custom sound effect circuit board January 3, 2007, 5:38 pm
could alkaline battery leak onto circuit board cause problems ? September 12, 2007, 1:07 pm
signal generator circuit February 5, 2007, 1:05 am
Separation of RF board and microcontroller board caused problems September 1, 2004, 6:37 am