On 04/03/2014 02:06 AM, John David Duncan wrote:
> Hi,
> 
> My old Net4801 has a 20 pin header for "12 bit general purpose I/O". 
> I'm wondering if I could connect switches and LEDs to this header and
> access them from FreeBSD.  Can anyone point me to some documentation?
> 
> Thanks,
> 
> JD

Yes, at the simplest you can solder some short wires and very small
sockets to an LED and to simulate a switch to use as a jumper another
pair to just a plain wire.  Then you can plug them as needed onto pins
on JP5:

        http://soekris.com/media/manuals/net4801_manual.pdf

Poking the pins with a multimeter was doable but just too awkward and
unpleasant so I used one such LED when working out use of GPIO in
OpenBSD on the 4801 and 5501.  With help, I set up GPIO control of house
current and wrote up both the hardware and the software:

        http://www.bsdly.net/~lars/Distance-Ed-server/des.html

I was pressed for time when I made the page so it is not quite polished 
and now it is also out of date a bit.  Also, that was just output no input 
from GPIO. So it won't help with the FreeBSD side of things but might give 
some ideas on hardware methods.

Regards,
/Lars
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to