Total Pageviews

Showing posts with label Chtristmas tree. Show all posts
Showing posts with label Chtristmas tree. Show all posts

Tuesday, December 13, 2016

Christmas tree with Arduino


   Inspirred by Doz' Blog and article An Arduino Project: How To Make Flashy Christmas Lights Ornaments I made a Chistmas tree with 9 + 1 leds (9 in tree and one in Arduino nano board).
   Test schematic is
and real test assembly is
   I write 2 sketches, first (christmas_lights_1.ino) chose random the led for power on, wait 50ms, chose random the led for power off, second sketch (christmas_lights_1a.ino) is like first, just change time wirtting as be random from 10 to 100ms.
   I made 3 movie:
- with first sketch and all red leds - Arduino Christmas lights
- second sketch with all red leds - Arduino Christmas lights (2)
- second sketch with various leds - luminite pentru bradul de Craciun (3)