It may be outside your budget, but you can get computer interfaces for X10 devices.
http://www.smarthome.com/x10comp.html
There are also computer controlled switched for stage lighting
applications, such as
http://www.pulsarlight.com/Universal%20Interface.htm (UK site)
This is a controller that can work with computers RS232 and converts
those signals into 0-10V that is used with stage dimmer packs. You
could also use a MIDI port on your computer.
Theatrical/disco lighting places are probably the place to go if you
want a ready-made solution, but might be expensive, eg
http://www.prolightingsupplies.com/
might be able to help.
You can also get interface boards for computers with opto-isolators
for mains switching, such as www.maplin.co.uk and search for product
codes PF99H or VF54J:
RP99H - DMX512 Controller & Protocol Convertor
This unique module will allow you to run professional
lighting/disco equipment fitted with the 250kB DMX512 control
interface from your own PC (RS232 @ 9600 baud), a BASIC Stamp or
simply from analogue potentiometers. The board can also be configured
as a DMX receiver and take out either RS232 commands, 4 x 0-5 V
Analogue channels or even control four standard hobby servos! The
module is supplied complete with some simple Visual Basic software to
allow you to control your DMX equipment using the standard RS232
serial port on your PC. With this application, the user can control
devices that receive a range of values (like a dimmer) or a number of
discrete values (like a colour wheel). Full source code is included. A
programmer may like to add controls for altering a lamp?s position on
an X- or Y-axis, or specific devices for custom made special effects.
The application uses an MDI interface to allow the user to have as
many controls open at any time. A full datasheet is available from our
technical services department.
VF54J - K8000 Computer Interface Board
This Computer Interface Board excels in its simplicity of use and
installation. The connection to the computer is optically isolated, so
that damage to the computer is not possible. The interface is
controlled using TURBO PASCALTM procedures. The interface itself has
16 optically isolated digital connections, which can be freely chosen
as either inputs or outputs (e.g. 6 inputs and 10 outputs) according
to how they are set up by the user. Up to four interface boards can be
connected together (one master and three slaves).
- Simply connects to the printer port
- Printer by-pass connector on board
- 16 opto-isolated inputs or outputs
(I don't think this switches mains directly - would need relays or triacs)
Owain |