4. Setup a server on my computer to host example code to control the Ardunio remotely
This
didn’t work at first so I had to do a little troubleshooting to figure
out why the web server wasn’t working properly. I used the following
guide and realized that PHP was not enabled.
Once
PHP was enabled I was able to bring up the page hosted on my computer
from my phone and turn the LEDs on and off.
5. Add a relay via breadboard and connect to an outlet, plug, and switch AC power. The 5V relay they happened to have at Radio Shack is a bit wimpy current wise so I'm sticking to a string of LED lights for now. I ordered 2 of these relay boards http://www.amazon.com/gp/product/B0057OC5O8/
Some issues: - the Arduino wifi connection seems to be flaky. I'm using Adafruit's sample code so I'm not sure if there is a check there to reconnect if the connection is lost. - the pins are not
automatically setup to output so I have to figure out how to do that ahead with the arduino startup or build that setup into the webpage
Next up: - get a image map going that will toggle the Arduino pins - waiting room?