Jan 28th Workshop: Interfacing a website and an Arduino
Saturday, January 14 2012 @ 11:00 PM EST
Contributed by: Derrick Bommarito
This next workshop will teach you how to control an Arduino from a webpage, as well as read data from the Arduino to display in the page. The topics in this workshop will be the basis for the following workshop, which will be to create a new pan/tilt webcam for the robotics lab that can be controlled from our website!
The following examples will be covered in this workshop to demonstrate these topics:
- Create a webpage that allows a user to send text back to the server to be output as Text-To-Speech locally. This introduces the concepts needed for doing more with a webpage than just displaying information.
- Create a webpage that enables the user to turn on/off a relay hooked up via an Arduino. A rotating party light will be hooked up to the relay that the web page will be able to control.
- Setup a light sensing circuit to read from the Arduino and output to the webpage. This will show how information can go both ways and will serve as the basis for a widget on the MDRC website to show whether the lab is open or not.
After the information overload of the previous workshop this one will be run differently by teaching the ideas through the above examples.