Controlling Devices with Relays

This was a simple exercise that illustrated
the use of controlling devices using a relay
over a serial interface. The low-cost relay used
in this example is capable of controlling
any number of electrical devices. Also available
are relay boards that can be expanded to up to 128
relays per serial port, not to mention analog
and digital input cards.