Halloween Project: Spooky Eyes in the Bushes
The intent of this simple project is to create random glowing eyes in the bushes.· When triggered, the program will select a random ouput and ramp up the brightness of the eyes (LEDs) connected to that pin using the PWM instruction.· The schematic shows an active-low input, but this can be easily adjusted in the program for an active-high input -- this would allow the project to be triggered with a small PIR motion sensor.
Applicable PIR sensor: http://www.hvwtech.com/pages/products_view.asp?ProductID=95
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Post Edited (Jon Williams) : 1/16/2005 9:53:28 PM GMT
Applicable PIR sensor: http://www.hvwtech.com/pages/products_view.asp?ProductID=95
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Post Edited (Jon Williams) : 1/16/2005 9:53:28 PM GMT
Comments
Do you have the program in PBASIC 2.5?
bugg
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
So many projects, so little time.
Okay ... it took all of two minutes to update the program for the BS2.· I've attached it to the original post.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Post Edited (Jon Williams) : 1/16/2005 9:51:17 PM GMT
bugg
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
So many projects, so little time.
Get some 1" clear acrylic spheres from your local plastics house or www.craftics.com.
Sand the surface of the spheres to eliminate internal reflection.
Drill a hole in each sphere - .199 dia by .30 deep - and epoxy the LEDs in the holes with clear epoxy. (hole size is for standard 5mm LED)
Mask off the outline of the eyes and iris with tape or opaque paint allowing light to emit only from the pupil and cornea.
Fabricate a mounting bracket. (acrylic is easily drilled and tapped)
Chris Isaacson
bugg
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
So many projects, so little time.
What is the V and mA ratings of the LED's?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
thanks for the information.