Main > Main Forum
Q*Bert Knocker writeup, correct me on parts
SirPoonga:
--- Quote ---Hmmm...I didn't realize NT/2K/XP let you directly access the serial port, unlike the parallel port. Might be a better way to go than the parallel port if that is the case. (And that leaves the parallel port open for my home built Dragon's Lair scoreboard and DAPHNE.
--- End quote ---
kf0yn:
NT/2000/XP *don't* let you access the serial port directly, but you do get a lot more control over the serial port than you do the parallel port. You can manipulate any of the modem control signals, for example.
You can use the giveio.sys driver to enable direct port access for the parallel port, though. It's just a bit of a hassle to install.
Dav:
--- Quote ---
My solution is simple.
--- End quote ---
JMDickson:
You will probably need to leave the parallel port energized long enough for the mechanical parts to react. A pair of port writes would be much too quick for the relay to close.
You should setup a timer with a callback function to turn off the port after a delay.
Serial is more fun, using it in serial mode, if you set the port to the slowest speed and wrote a 255, you might get a fast relay to close. You could try to bit-bang the lines, but again NT/200/XP may make that a hassle.
Or you could program a microcontroller to respond to rs232 commands. A cheap Atmel AVR with hardware rs232 port could give you 10-20 outputs and handle the hold time itself. That would leave you a bunch of other pins to play with also! (lights, LED displays, other feedback ;D)
SirPoonga:
--- Quote ---
Your solution
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version