Jump to content

Linking parallel port with electronic equipments??


TheBigDino

Recommended Posts

Is it possible to link up electronic equipments -eg : a simple light bulb with the parallel port to switch circuits on and off? I know how to program in vb as well so will that help? I am hoping to use my computer to control some circuits... please help :D

Link to comment
Share on other sites

yes, theoretically, this should work, practically, yes, why not? but it will not be easy.

 

firstly; you will have to get the correct lead, with suitable ends, then, the port which you are connecting your equipment into, will be connected to the motherboard, so make sure, no electrical in, as they are likely to ruin your whole computer.

 

so you have to use your port as the output. a rare few ports actually dont have a power output, only a connection, although the majority to produce some kind of output power,

 

however, most hardware ports dont emit an actual electric current, they produce soley the correct signal;

 

e.g. a speaker ports produces sound electronic patterns, not a voltage and the data seperately, your USB digital camera, gets power from the computer, but only when there is an input of digital images, so you couldnt trick the computer into forcing an output current that way.

 

more powerful outputs, such as the screen, powerful speaker systems, printers, scanner etc etc, all have their own voltage input systems, via the mains, NOT via the hardware ports on the computer.

 

you cannot power high voltage circuits from your computer.

 

i dont know how you are going to 'trick' your computer into producing a voltage current output, opposed to a data output

Link to comment
Share on other sites

There is a book out there, Easy Robot builders, or something, which teaches you all you need to know, diagrams and all the info for running things from the parallel port.

 

I'll get ya an exact name of the book later, not handy right now.

Link to comment
Share on other sites

damn, stupid me, i didnt really register when you said "parallel port", sorry, yes you can 'trick' the parallel port, you cannot draw high voltages outta it, but enough to run a circuit, try searching this on google, there are normally diagrams and stuff, if i find a good site, i'll post it, but it will have to wait till lata

Link to comment
Share on other sites

Is it possible to link up electronic equipments -eg : a simple light bulb with the parallel port to switch circuits on and off? I know how to program in vb as well so will that help? I am hoping to use my computer to control some circuits... please help :D
yes of course you can, and quite easily :)

 

you`ll need a buffer chip 1`stly though, I personaly reccomend the 74245 as that will work both ways too, so you can use the 8 data line as inputs as well, depending on the control state, it`ll be more than happy using the +5v supply rail too :)

 

there are Open Chathode varieties too, for direct relay drivers, but I prefer the regular 74245 and transistor drive my relays (it`s your choice).

 

hope that helps :)

Link to comment
Share on other sites

it is simple, it`s almost pin for pin, as thwe 74244 and 245 were designed for the centrionics par port.

and you don`t "trick" it, you acces the chip registers using the mem map, set the correct flags (input/output) then present your binary code of which pins you`de like as a 1 or a 0 (a +5volts or a 0volts).

there`s nothing complicated :)

Link to comment
Share on other sites

I've got a similar question:

For a serial cable, can the computer detect when two of the pins are connected? In my case, I want to connect two wires to a spst mometary switch so that a program can detect when it is depressed.

Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.