Led Eyes for an Arduino based Robot
LED Eyes is a sketch for the Arduino UNO that uses two 8x8 LED Matrixs to display animated eyes.
If it is dark the Robot goes to sleep, otherwise if someone is close then he goes cross-eyed, otherwise randomly display shifty, surprised, happy, sad, crying or mad eyes.
Details can be found at http://gaz77a.github.io/LedEyes/
Video of my box-o-lantern https://youtu.be/Hgco6gBZpvw
White LED with timer to simulate candle for use inside a halloween pumpkin. Uses Arduino TimerOne library to update LED intensity. LED requires PWM output, like pin 5 in this current example.