I have just embarked on my first Arduino project for an artwork.
I want to build a pair of robot eyes that will pan left-right and back again continuously. When a 'person' is sighted the eyes should pause in their tracking and another process be triggered to indicate aquisition, i.e. to flash some Leds, before resuming panning to look for other 'people'.
I'm trying to keep this as simple as possible for now however would eventually like to build it up to track an object so that if it moves the eyes move to keep it in sight.
I have a Diecimila to use for the time being (though could get a different board if necessary), a couple of servos and a single IR proximity sensor which I plan to have between the eyes and panning at the same rate (as the eyes).
I can get the servo panning, and I can get the input from the sensor, however I'm a little stuck on how to implement the 'interrupt' operation.
Any advice would be much appreciated!