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

Screen Shot 2023-05-01 at 9.22.48 PM.png

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

Screen Shot 2023-05-01 at 11.38.34 AM.png

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

Screen Shot 2023-05-01 at 11.41.53 AM.png

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

Screen Shot 2023-05-01 at 11.43.48 AM.png

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

Screen Shot 2023-05-01 at 11.44.57 AM.png
Screen Shot 2023-05-01 at 11.45.36 AM.png

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

Screen Shot 2023-05-01 at 11.47.00 AM.png

I attached the LED light strip using double-sided tape around the perimeter of the platform that the treehouse rested on.

Wiring

Screen Shot 2023-05-01 at 8.45.13 PM.png
Screen Shot 2023-05-01 at 8.49.55 PM.png
Screen Shot 2023-05-01 at 8.50.10 PM.png

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

Screen Shot 2023-05-01 at 8.53.07 PM.png

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!

Screen Shot 2023-05-01 at 8.48.45 PM.png

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

Screen Shot 2023-05-01 at 8.47.11 PM.png

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

Screen Shot 2023-05-01 at 8.59.59 PM.png
IMG_8312

And you are done!