Random posts about coding

Mostly blogging about dart.

Netduino Plus With RelayShield as Networked Light Switches

| Comments

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.