Light hide and seeker


"I want to hack a moving toy so that if you shine a light on it it tries to move out of the light, but then if no light is shone on it for a while I want it to move towards the brightest light source, until its hide reflex is triggered again.

Or something similar with sound, if it detects a loud noise it tries to go away from the noise, yet if its somewhere quiet it will eventually start making a noise which gets louder until it triggers itself to hide again."

 

I think Thom has worked a bit with a car that follows a laser pointer, so that's probably a good place to start for the light-seeking part of it. I'm guessing Light Dependent Resistors hooked up via the arduino to control the motors, and then some sort of max level at which point it flips into moving away from the light? - nikki