Tuesday, June 20, 2006

Sun



Class: UI Technology Spring 2004, Scott Hudson

Purpose: Try out basicstamps

Device used: 2 Servo motors, 3 photo resistors, 17 LEDs

Code:
Retrieve the ambient light of the room, keep comparing them with the current light amount that’s reaching the photo resistor. If the amount difference is big, move the servo motors to a certain degree.

Story:

Move the hand over the plate in front of the sun, (it’s the sun’s foot) sun will roll its eyes toward the guest’s hand (seeing if the guest is doing anything to him), and brighten up its cheeks.

0 Comments:

Post a Comment

<< Home