Magic Tree House Book Series Tree House
by AnishaKundu123 in Circuits > Art
288 Views, 2 Favorites, 0 Comments
Magic Tree House Book Series Tree House
As part of my assistive technology project for Physical computing, we worked with the Boston College Campus School. This project was made for the Campus School as an interactive tree house for a student to play with. On a button press, it will rotate, light up, and Jack and Annie will speak. I hope the student I made it for enjoys it!
Supplies
Prototype Tree House
After playing around with some pre-existing treehouse fabrication files, I made my own by modifying one that I got from boxes.py. Attached below is the birdhouse that I based this treehouse on.
Downloads
Laser Cut and Paint Actual Tree House
I used 1/8th inch Baltic Birch to laser cut the house. I then painted it with a rust brown color and added thick brown fabric on top for the roofing.
Laser Cut Rings for Tree Trunk
I stacked and glued the rings together to be similar to a tree trunk. I then painted it green to contrast with the dark-colored house.
Laser Cut Bricks and Stands for Tree House
I laser-cut small rectangles to glue to the tree house. I also laser cut an image of Jack and Annie for inside the treehouse.
Attach Led Light Strip
I attached the LED light strip using double-sided tape around the perimeter of the platform that the treehouse rested on.
Wiring
Follow the wiring diagrams above.
I wired the button to GP15, the servo to GP14, the sound to GP13, and the lights to GP16.
Jack and Annie's Audio
I used a text-to-sound website to have Jack and Annie say "I want to go there," so they can be transported to a foreign location and time period. I then used Audacity to compress and make the sound fit the Raspberry Pi.
Code!
Above is my code. I coded it so that the servo would rotate in one direction when the button is clicked the first time and another direction when the button is clicked the next time to prevent tangling.
Attach Servo to Base of Tree House
I hot-glued a servo onto the treetrunk after I created a half-elevated ring. Then, I screwed a wheel into the servo. Lastly, I hot-glued the wheel onto the platform of the tree house.
Assemble All the Parts
And you are done!