FREE DIY Pumpkin scarer (it drops something scary on trickortreater's hand as they get candy)
We calculate the final price from your selected file. You review and accept it before payment.
Saved on this device.
(Motion detected) This design drops a scary thing of your choice(in my case it is a hand or 3d printed spiders)
- Rating
- 0 / 5
- Likes
- 3
- Downloads
- 6
- Makes
- 0
- Views
- 208
- Reviews
- 0
Updated at source:
Model information
- Source
- Printables
- Category
- Electronics
- License
- Creative Commons — Attribution — Noncommercial
bdw you can put this anywhere to scare someone
READ WHOLE DESCRIPTION!
Connections to Arduino Uno are down below.
Video for people who do not know how to wire Arduino or set up electronics on the pumpkin : https://youtu.be/M4WuB30qgcw
WHAT IT DOES:
These files drop something scary when it detect your hand going inside the pumpkin, leading to tricktreaters getting SPOOKED
i made this because this year i am not going trick-treating, so i decided to make a design that will "hopefully" scare everyone who comes to our door so i can eat all our leftover candy lol
FILES TO PRINT: Choose what you want to drop and print accordingly. The files saying spider are for many small stuff; the files saying hand are for one big thing. ALL FILES SAYING NEEDED ARE NEEDED REGARDLESS
TIME:
The NEEDED take about 5 hours to print on Ender 3 Pro, but you can save half that time if you print the main big box in vase mode by checking the "spiralize outer contour" box in cura. ONLY THE MAIN ELECTRONIC BOX CAN BE PRINTED IN VASE MODE; however, there will be some irregularities and it will be weaker but if you are doing this for only one year, then it should be fine.
Arduino: i know i am using an arduino Uno, and it is bigger but that is all i had If you want to edit it for an Arduino, I can give the fusion 360 files :)
Connections: servo GND TO GND, servo Positive to 5v, servo signal to port 9 on arduino, signal pin of Pir sensor to port 2 on arduino,
Sensor gnd to GND, Sensor positive to Arduino 5v
Part list, their are cheaper ones online. This is just for refrence (i am using a smraza arduino kit)
Sensor : https://a.co/d/15jF96J
Servo : https://a.co/d/0YDQVT7
Arduino uno : https://a.co/d/0qqMdYq
Jumper wires : https://a.co/d/aGqkviH
and usb for uploading code usually comes with the arduino
CODE :
#include <Servo.h>
Servo myServo; // Create a servo object
int servoPin = 9; // Servo connected to pin 9
int pirPin = 2; // PIR sensor connected to pin 2
int pirState = LOW; // Variable to store PIR state
int motionDetected = 0; // Variable for motion status
void setup() {
myServo.attach(servoPin); // Attach the servo to the pin
pinMode(pirPin, INPUT); // Set PIR pin as input
myServo.write(0); // Set initial servo position to 0 degrees
Serial.begin(9600); // Start serial communication for debugging
}
void loop() {
motionDetected = digitalRead(pirPin); // Read PIR sensor
if (motionDetected == HIGH) { // If motion is detected
if (pirState == LOW) {
Serial.println("Motion detected!");
myServo.write(90); // Move servo to 90 degrees
pirState = HIGH;
}
} else {
if (pirState == HIGH) {
Serial.println("Motion ended!");
myServo.write(0); // Move servo back to 0 degrees
pirState = LOW;
}
}
}
SETTINGS
i printed with 20% infill
no vase mode and prints with 0.2 mm quality
You can print ONLY the main electronics box in vase mode (checking the "spirilize outer contour" in cura); however, it will be much weaker.
ASSEMBLY
Put your Arduino in the main electronic box and make sure that your power plug is line up with the circular hole.
glue your servo in to the rectangular hole on the main electronic box and wire your electronic according to the diagram.
Then wire your sensor and then put it in to the sensor box and glue it on the outside plastic part a little Glue some of the wires too a little to secure them MAKE SURE TO EXTEND THEM FIRST THOUGH.
Then wire your sensor to Arduino, taking the wires in from the small gap in the bottom of the servo hole making sure you do not interfere with the servo horn.
Then you put the sensor where ever you eant but i put it over the top of the mouth and covered areas where i do not want it to see with tape.
Then tape or glue the main box on top of your pumpkin stock, where you probably cut to take out the inside stuff.
then make a hole through the top to let the string pass through the stock easy and tie your string to the file "ring for the string."
this is for hooking your string to the servo for release mechanism.
and tape the end of your extra string to the electronics box so it is easy to reset your trap lol
Share your prints! :)
(ps i would love to see somone put real bugs in )