Eyes in a box

So i made myself a pet… box… with eyes.  Named him “Eyes” (already have a pet box named Box). Eyes is a nice pet, lots of fun to play with, but only at night, he’s nocturnal you see…

Eyes has three states, sleeping, awake, and alarmed. A photo sensor on the exterior of the box tells eyes to come out and play, or hide while an infrared sensor tells him if someone gets too close.

sleep – everything off, light sensing only

awake- green leds (eyes) on blinking at a random interval

alarmed – “eyes” open and a blue led to shine a light on the object in range

Arduino Sketch: eyes_in_a_box

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: