Open Book Consulting is now accepting new clients!
 
Rotate-o-matic Version 2.0
Coffeetopia Kiosk Project Version 2: Now with Arduino-based light-sensitive interactivity, AJAX, and Javascript.

Source files coming soon...

Summary: The rotate-o-matic program rotates a set of web pages through a web browser. By default, the web pages rotate through every 30 seconds EXECPT when your hand passes over the photoresistor. When such an event occurs, the next page in the rotation loads in. Possible applications include a kiosk-type display for customers or any situation where you want web pages to automatically rotate on a screen.
Requirements: Mysql database, php4 or php5, arduino microcontroller, photocell, and 10K Ohm resistor.

Inspiration: http://www.markroland.com/physical-DOM/
This project is based on Mark Roland's concept and code. I made two changes:
1. Instead of the arduino taking a voltage read and updating the database every 1/10 of a second or so, I only have the arduino update the database when there is a change between the current and previous values. Otherwise, the MySQL database gets overwhelmed with connection requests and tells you to take a hike.
2. The more obvious change: Mark's code changes the background of the web page according to the reading of the photocell. My code changes the current page in the iFrame.

Step by step instructions:

Coming soon...
 
Comments (1)
1 Saturday, 23 May 2009 06:15
Dave
Hi Miles
One of the cons about the 30-second rotation is that depending on content there is sometimes not enough time to read or digest the presented information. How about a second(?) photocell which would allow a visitor the added option of either extending the 30-second timer (less likely I imagine) or re-loading ("back" function?) the page to allow review? Just a thought--look forward to seeing you next visit!

Dave

Add your comment

Your name:
Subject:
Comment:
Open Book Consulting. Located in a small city old timers call San Francisco, CA