Trick or Treat Greeter
by michaeri in Circuits > Microcontrollers
148 Views, 0 Favorites, 0 Comments
Trick or Treat Greeter
![IMG_ED6ACECE6D93-1.jpeg](/proxy/?url=https://content.instructables.com/FV2/3AUE/L9Y80O31/FV23AUEL9Y80O31.jpg&filename=IMG_ED6ACECE6D93-1.jpeg)
![Spooky Pumpkin](/proxy/?url=https://content.instructables.com/FVC/IARE/L9ZNI0Q9/FVCIAREL9ZNI0Q9.jpg&filename=Spooky Pumpkin)
Made a spooky tech pumpkin to sit on your porch and greet kids as they Trick or Treat! Included is a video of the final project.
Supplies
Materials needed:
-access to carved pumpkin or a 3D printer to print shape
-CPB microcontroller
-Servo motor
-Small speaker
-VL53L1X distance sensor
-laser cutter for spooky ghost
-acrylic paint
-hot glue gun
-sand paper
-small drill
Create Shape
![Screen Shot 2022-11-01 at 1.58.19 PM.png](/proxy/?url=https://content.instructables.com/F9C/BZBV/L9Y80F4T/F9CBZBVL9Y80F4T.png&filename=Screen Shot 2022-11-01 at 1.58.19 PM.png)
![Screen Shot 2022-11-01 at 1.57.54 PM.png](/proxy/?url=https://content.instructables.com/F0X/2870/L9Y80F5C/F0X2870L9Y80F5C.png&filename=Screen Shot 2022-11-01 at 1.57.54 PM.png)
Download the pumpkin shape from Thingiverse and format in prusa to get correct size. Make sure it is large enough to fit all the components inside.
Prepare Pumkin
![IMG_7549 3.jpg](/proxy/?url=https://content.instructables.com/FFL/UWAM/L9Y80FMY/FFLUWAML9Y80FMY.jpg&filename=IMG_7549 3.jpg)
![IMG_7551.jpg](/proxy/?url=https://content.instructables.com/FBE/B06J/L9Y80FP2/FBEB06JL9Y80FP2.jpg&filename=IMG_7551.jpg)
This step involved sanding down the pumpkin. The 3D printed shape was quite rough so this was necessary for a nice paint job.
Once this was done, paint the pumpkin desired colors! I went for orange exterior with some fun black eyes and yellow smile to give it more of that Jack-O-lantern feel!
After this (not pictured) I drilled a hole in the back of my pumpkin to fit the servo monitor wires through. Then hot glue the servo to the back of the pumpkin.
Program Your CPB
![Screen Shot 2022-11-02 at 6.43.33 PM.png](/proxy/?url=https://content.instructables.com/FTC/92FM/L9ZNI1CR/FTC92FML9ZNI1CR.png&filename=Screen Shot 2022-11-02 at 6.43.33 PM.png)
![Screen Shot 2022-11-02 at 6.43.20 PM.png](/proxy/?url=https://content.instructables.com/FAK/QC93/L9ZNI1ID/FAKQC93L9ZNI1ID.png&filename=Screen Shot 2022-11-02 at 6.43.20 PM.png)
From knowledge learned in my Physical Computing class I added functionality to my CPB to make this work of art interactive! The file of code is included.
This included:
- programing the VL53L1X distance sensor to resonate when someone walks by the pumpkin
- setting up the servo monto to move when someone walks by the pumpkin
- have the CPB light up red when someone walks by
- play a spooking sound
- Note: For the spooky sound, I downloaded a free file from the internet and converted it in Audacity to be the right size and format for the CPB. A video for how to do this is listen on Professor Gallagher's youtube channel.
Downloads
Laser Cut Ghost
![IMG_7934.jpg](/proxy/?url=https://content.instructables.com/F1I/LRBL/L9Y80G66/F1ILRBLL9Y80G66.jpg&filename=IMG_7934.jpg)
![download-2.jpg](/proxy/?url=https://content.instructables.com/F9O/X9E0/L9Y80NO8/F9OX9E0L9Y80NO8.jpg&filename=download-2.jpg)
For the final touch, I laser cut a ghost shape created in Adobe. I then painted it and glued this to the back of the servo motor by attaching it to a stick!
You can also see here how all the wires and CPB fit into the base of the pumpkin!