Using A MakerPort To Animate a Valentine's Gnome Tree
Here is a video of my Valentine's Gnome Tree
This Valentine's box is animated by the MakerPort. The MakerPort,https://makerport.fun/shop/makerport-basic-kit/ is a basic kit which provides the capability to bring a paper project alive. I used an additional component of an Adafruit neopixel ring light to illuminate the project.
Valentine's Day is near and I animated my Valentine's Gnome Tree to add to the festivities of the day. My Valentine's tree is surrounded by Gnomes who are handing out their Valentine's wishes with letters and hearts. By pushing one of the colored Valentine's hearts at the base of the tree, different actions are produced by the MakerPort such as wishing you a Happy Valentine's Day, two different Valentine poems a love song, That's Amore and different color configurations of the neopixel ring light based on the touch sensor which was pressed. You can print and cut this design with scissors or use the files for an electronic paper cutter. I used 65 lb. white, pink, pink glitter and pink foil cardstock.
You can print and cut this design with scissors or use the files for an electronic paper cutter. I used 65 lb. white, pink, pink glitter and pink foil cardstock.
Here is the PDF.
Here is the .Studio file for Silhouette users.
Here is the SVG for all other electronic paper cutters. The file extends beyond the scope of the viewing field. Zoom out to see the entire file.
The tree is made up of two sides which slide into one another. Each side of the tree is three ply. The outer two plies have tabs at the bottom. Glue the three plies together to form the one side by aligning the designs. Do not apply glue to the bottom tabs. Repeat for the other side.
Glue on the flowers to each side of the trees. There are three sizes of pink flowers. Three or four big flowers, five medium and five small flowers on each side of the tree. There are also eight or nine hearts on each side of the tree.
Slide the cherry tree pieces together to form a 3D tree.
Make the gnomes by gluing two gnome pieces together. Do not glue the tabs as these tabs will be splayed to form a stand for the gnomes as seen in the photo to the right. Glue on the embellishments to both sides of the gnomes.
Insert the tabs of the gnome into the gear with the set of four small holes.
Splay the tabs and glue them down. Repeat for all of the remaining gnomes.
Insert the tabs of the cherry tree into the gear axle with the four slits.
Splay the tabs and glue them down as shown above. Set this piece aside.
Make the bottom of the box. Crease the bottom of the box as shown above.
Glue the tabs of the sides together and apply glue to the inner tabs of the box. Adhere the bottom of the box to the tabs.
Turn the box over and apply glue to the tabs. Adhere the bottom of the box. The box is two walled to make a sturdy box.
Glue the flowers onto the outer gear casing.
Glue the three gears together to create a sturdy gear that will rotate without warping.
Stack the outer gear casing and the two box tops together. Align the holes for the neopixel ring by threading the posts through all of the holes. The four remaining holes in the center are for the touch sensors. Check to make sure that they are aligned also.
Remove the neopixel and the two box tops. Keep the orientation of all of the items the same. Remove the neopixel.
Place the gear with the gnomes on top of the outer gear casing. Place pink sparkle outer gear casing on top of the stack.
Glue the pink sparkle outer gear casing to the tabs of the outer gear casing. Repeat for all of the tabs. I like to glue the opposite tabs together so that the casing will be aligned properly.
Thread the neopixel through the holes and align them again with the box top.
Apply glue to the tabs of the box tops (as shown above) and adhere one of the box tops.
Apply glue to the tabs in the inside of box top (not shown) and adhere the other box top.
Apply glue to the top of the box as shown on the right.
Adhere the top of the box and align the neopixel. I know...we keep aligning the neopixel and then removing it. It's necessary so that everything remains in alignment.
Bend the round base of the tree so that the neopixel can sit on top of the round base.
Glue the flowers to the hearts. (I changed the sparkle hearts to white ones because the pink sparkle did not show up on the pink sparkle background.) Insert the earring back into the center hole to make a sensor.
Align the hole in the earring back and the hole in the base of the tree. I recommend placing an earring back without anything in the aligned hole. Place a sensor with a heart into the hole and add an earring back to support the sensor. Repeat for the other sensors.
Top view to show location of the flower touch sensors.
Add the connectors for the neopixel as shown above. I wrote down the location of each colored wire for the neopixel and the sensors on the back of the base. Attach the neopixel as shown in the wires above.
Attach the Neopixel to the MakerPort. The neopixel is attached to the "Extra" port with the black wire facing to the left. The black wire is the ground and that will correspond to the letter G (ground) by the word "Extra"
Remove the earring back from the sensors and replace it with a colored wire from the four wire connector. Two of the wires are connected and two more need to be connected in the photo above. Complete connecting all of the wires for the sensors. Make sure to write down a schematic of the location of each of the sensor wires. Here is my schematic.
Sensors
Pin 1 - Yellow wire - White heart with pink foil flower
Pin 3 - White wire - Pink foil heart with white flower
Pin 5 - Red wire - White heart with pink sparkle flower
Pin 7 - Black wire - Pink foil heart with pink sparkle flower
Attach the four wire connector to the Touch pins. The pins on the first row are all odd numbered pins. the pins on the second row are all even number pins. Since I am using only four pins and I placed it on the bottom left, the pins I used are pins 1, 3, 5 and 7.
I recorded my voice by using the online program, https://online-voice-recorder.com/. It was easy to use. Click on the red button to start recording and record whatever you would like to say. Once completed, the sound bite can be appended by moving the blue vertical lines on either side of the sound bite. Save the sound bite to your computer. Change the name of the sound bite to a three digit number, like 001greeting.mp3. Copy this file from your computer to the MakerPort file. The Maker Port file is opened by moving the slider on the side of the MakerPort from "Code" to "File". You can find the Makerport files in the Finder menu. The name of the files is MPFILES. Once in the files, paste the sound bite to a folder, I made a new folder and I named it 003. I then pasted the sound bite to this folder. With each subsequent sound bite, I change the value of the voice recording to the next number and placed all of my sound bites here...for example, 002song...003poem, etc.
Change the slider on the MakerPort from "File" to "Code". The MakerPort needs to be in "Code" mode in order for it to connect to the MicroBlocks software. MicroBlocks, https://microblocks.fun is a block programming language which is dynamic. When your MakerPort is connected to MicroBlocks, the code is automatically updated in the MakerPort. This is a great time saver because it eliminates the step of copying and transferring the code manually from your computer to the MakerPort.
Here is my Microblocks code that I used for my Makerport, https://drive.google.com/file/d/1EJyRzFHkflgJxe68gWfFDtw5aRDX9q2Q/view?usp=sharing You can use my file as an example as to how to animate your Valentine gnome tree.
Once the Microblocks file is coded the Makerport is ready to be in standalone mode. Your program is stored on the Makerport for use with the Valentine Gnome Tree. I used a MakerPort Power Bank to power my MakerPort.
I then placed the MakerPort and the PowerBank in the hexagonal base.
My Valentine Gnome Tree is now ready for Valentine's Day.