Netduino Plus with RelayShield as networked light switches

Picked up a fun relay shield from the seeedstudio people. My goal was to be able to control lights over the network. After grabbing some webserver code from this post, I was able to get a simple basic web server and light controller up in no time. One stumbling block I had was the MAC configuration with MFDeploy. If you don’t use the proper MAC that was assigned to the Ethernet controller you could have potential DHCP or router ARP table issues. When setting up the netduino network I was lazy and put in a bogus MAC, that caused a few hours of debugging. Once deployed and networking is configured hit the root address from the network and a simple page with links get displayed

Quick photo and diagram of the setup





Pick up the code hack around and have fun. Suggestions and comments welcome.

About these ads

About financecoding
I enjoy coding in dart.

One Response to Netduino Plus with RelayShield as networked light switches

  1. Wagner Oedis says:

    Excellent, great job, I tried here at home and it worked perfectly

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: