Page 1 of 1
GPO only board?
Posted: Tue Oct 08, 2002 6:46 am
by knoj
Does any one know of where I might find a GPO only board? I am looking for a board that does exactly what the GPO's on the MO displays do, but I do not have need for an expensive display.
Does any one know if I can just use a serial port? how would I program that? I have heard of this being done, but know nothing about it. Please help.
Thank you.
Knoj[/b]
Posted: Tue Oct 08, 2002 9:00 am
by linear
Well, a parallel port would be so much simpler.
You can look at a parallel port as 8 GPOs if you want, and probelm solved. It would be cleaner to use a driver IC, like an octal buffer, as the interface, so you don't damage the motherboard's port circuitry.
I don't know how you could do it on a serial port without some microcontroller in the mix.
Anyway, in parallel, if you can figure out a way in software to write a word to the parallel port, you have your GPO control software. In *NIX it's easy as falling over, in Windoze it will take a little more effort.
Posted: Tue Oct 08, 2002 9:01 am
by linear
Here's sort of the canonical example of what I was just talking about:
http://casemods.pointofnoreturn.org/cpumeter/
Posted: Tue Oct 08, 2002 9:16 am
by Mat-Moo
For more info try
http://www.angelfire.com/mb/lalim/images/parallel.htm but as to doing this via RS232 would require a lot more work.
Posted: Tue Oct 08, 2002 9:39 am
by linear
FWIW, that guy specs 1kohm resistors, I have serious doubts about whether that would light anything up at all.
(5 - 2) / 0.02 = 150 ohms (typical for red LEDs)
(5 - 3.7) / 0.02 = 65 ohms (typical for blue LEDs)
Posted: Tue Oct 08, 2002 10:09 am
by Mat-Moo
Works fine on mine - I made that exact circuit for testing stuff on LCDC.
Posted: Tue Oct 08, 2002 10:55 am
by linear
I guess the strategy is "current limiting with a vengeance" with the goal of not frying the port.
Thanks guys!
Posted: Tue Oct 08, 2002 7:08 pm
by knoj
Wow, help from the both of you guys! Who could have asked for anything better? Thank you so much. I am in luck, as I was planning on using some relays to actually controll what I needed, as some of the devices will be run off of wall power, I just needed a small voltage to switch with. In addition to that, I was concidering giving up one of my serial devices to have this function, but I have a spare parrallel port!
Thank you guys again!
Knoj.
Posted: Tue Oct 08, 2002 8:38 pm
by knoj
Damn,
After looking at the link that Linear posted more, I have realized that I wan that too! Crap, now what do I do? Now I have to decide which is more important, or I have to write my own program... Well, it looks like I will have to make the choice now, because writing my own will take a large bit of my time, expecially since I am not an expert programmer by any means! Thank you both again! I am very excited about both ideas!
Knoj.
Posted: Wed Oct 09, 2002 2:38 am
by Mat-Moo
No problme, althoguh if you get yourself a LK204-PC it has 8 highpower (12v) GPO's on it which can be controlled via LCDC to flash / strobe etc. and it can use a plugin to control the printer port!! Go on make it even better!!!