Toggle relays from webserver

26 May 2010 . Edited: 26 May 2010

I am hoping somone can help me. i thought what i was doing was simple but i am having trouble getting started.

What im looking to do is basically this:

1. I want to be able to assign pins to the mbed that will control relays

2. I want to create a http server that will be able to turn on and off the relays remotely

my goal is to use the mbed for some simple home automation tasks ie.turning on and off A/C, ceiling fans, etc...

Can someone point me in the right direction as I certainly am lost

27 May 2010

Hi Gabriel,

You can have a look at my other post here.

27 May 2010

Gabriel,

You may want to consider looking at some of the commercially available systems such as Insteon (smarthome.com).  The devices (light switches, relays, sensors, thermostats, ...) are controlled through a combination of meshed wireless and powerline modulation.   These devices can then be controlled by a serial "modem".  There are commercially available controllers (ISY99) but the mbed is at least as good as that device.  If I I didn't already have the ISY, I would use the mbed platform to put together a web interfaced controller to make all of the home automation work.  Actually, that sounds like a fun project - I may do it anyway....