For my project, I used the Hummingbird board and CreateLab Visual programmer to create a light up Christmas tree that spins around. My concept was to hook LED lights, a spinning motor, and a light sensor to the board. When the light sensor detected darkness, the lights would come on an the tree would spin. I made sequences so that some of my lights would blink, and the tricolored LEDs would switch between colors. Here are pictures of my LEDs, motor, light sensor, and an example of my expressions and an LED sequence in the programmer.
After doing this and beginning to think about the construction of my tree, I realized that having a motor that spun the whole tree around would cause the LED wires to tangle up. For this reason, I chose to switch to a servo motor that only spun the tree halfway. I had some problems figuring out how to build the tree and put all the LED’s in the right place, while making it able to connect to the servo and be stable enough to spin. I ended up using a paper towel roll, green construction paper, and a cardboard box for the base that held the hummingbird and motor. I used a hole punch to string some of the lights through the ‘trunk,’ while wrapping others around and hiding the wires under the construction paper ‘branches.’ Here are pictures of my tree, my light sensor sequence, and the servo motor. My project turned out fairly successful, however I would have liked to find a way to make it spin more gracefully.
(Update: I decided to add an audio element after I presented my project to the class, in which the program plays ‘O Christmas Tree’ when the sensor detects darkness).