rooneyl has asked for the wisdom of the Perl Monks concerning the following question:

Hello all,
I would like to have a go at writing a program that could control household items (like lights, coffee machine) via the parallel or the USB port. Any guidance on how to set about this would be grateful. Any help on what other stuff I would need would also be appreciated (like relays, resistors, etc). How cool would it be to live in a Perl house!!
Thanks in advance.

Replies are listed 'Best First'.
Re: Parallel/USB interface
by marto (Cardinal) on Jun 09, 2009 at 15:21 UTC
      Thanks for the links. The Mister House looks great (and complicated). However, I would like to try coding myself, starting very basic (eg turn light on/off). I have read some articles that show wiring LEDs to the parallel port, then controlling them by issuing commands to the port. What I suppose I am asking is if there is a method to issue commands straight to the parallel port (a bit like the outportb function in c).
Re: Parallel/USB interface
by Anonymous Monk on Jun 09, 2009 at 15:23 UTC
Re: Parallel/USB interface
by wjw (Priest) on Jun 09, 2009 at 18:37 UTC
    Edited for future reference (old link is now defunct - removed)

    My staring points for Perl doing neat stuff around the farm and home...

    Arduino and RPi

    • ...the majority is always wrong, and always the last to know about it...
    • The Spice must flow...
    • ..by my will, and by will alone.. I set my mind in motion