May there is simpler solution...
You can take advantage of the fact of the unlikelyness
of two remotes being used in two different rooms at
the same time.
You build your receivers to pull the the receive line
low (an open collector output), you can then add as
many receivers as you like this this "bus". You only
need one serial input.
Hope you get the point, but if you need more details I
--- Jim Paris <jim@...> wrote:
> > I'm planning on putting together a remote control
> system that I'd like to
> > span multiple rooms. My plan is to put one
> receiver in each room and run
> > the wires all to a central computer. (I'd run
> them to multiple computers
> > and send the signals over the network, but that
> gets out of my budget.)
> > I'd like to be able to differentiate the source of
> the signals (i. e.,
> > know that a given command for "power on" came from
> the bedroom and send it
> > to bedroom equipment).
> > The best idea I can come up with is to attach each
> one to a separate
> > serial port (I have a few dual-serial port
> expansion cards) and have an
> > instance of WinLIRC tasked to each serial port and
> opening up a distinct
> > TCP port.
> Interesting problem.. I'm not sure the best way to
> do it. The
> multiple serial card thing should work, although
> yeah, you'll have to
> modify WinLIRC for that. You may run into issues
> with cable length,
> though; might have to add amplifiers or something.
> Having junk
> computers would certainly be an easy way to do it..
> maybe you could
> find an old 486 and, say, put Linux and LIRC on it.
> At one point I wrote some code so that you could use
> an IPC@...
> (basically a tiny embedded x86 system with ethernet
> and a few I/O
> lines) to send IR over a network to a listening LIRC
> server, although
> that was a bit rough and you'd have to get a bunch
> of the modules,
> and still run the network.
> > I haven't looked at the source yet, but I'm hoping
> it's a
> > simple matter of altering it so that subsequent
> instances of the program
> > go to alternate ports and alternate config files.
> Changing the port is easy (just search for 8765),
> although the config
> is mostly stored in the registry, so you'll probably
> have to change it
> to use a unique registry key for each one (eg.
> change LIRC to LIRC1).
> This SF.net email is sponsored by: Etnus, makers of
> TotalView, The debugger
> for complex code. Debugging C/C++ programs can leave
> you feeling lost and
> disoriented. TotalView can help you find your way.
> Available on major UNIX
> and Linux platforms. Try it free. http://www.etnus.com
> This message was sent to the WinLIRC mailing list
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more