Home > Ideas > Game – Entertainment Project Ideas > Arduino powered Haunted Pumpkin using arduino

Arduino powered Haunted Pumpkin using arduino

Summary of Arduino powered Haunted Pumpkin using arduino


This article details a DIY Arduino-powered haunted pumpkin project sponsored by Radio Shack. It outlines the necessary electronic components, wiring connections for LEDs and sensors, and techniques for integrating a voice module using a transistor. The guide emphasizes using PWM pins for fading effects and soldering resistors in-line for simplicity.

Parts used in theArduino powered Haunted Pumpkin:

  • Arduino Uno
  • 9V Recording Module
  • MPS2222A Transistor
  • 150 ohm resistors (5 pack)
  • 10MM high brightness red LED two-packs
  • 10mm High-Brightness White LED
  • PIR Sensor Module
  • Heat shrink tube
  • Digital multimeter
  • 22 ga. solid hookup wires
  • Zip ties
  • Solder and soldering iron
  • Hot Glue

This is a cute little project that takes a pumpkin, motion sensor, and some parts from Radio Shack. It was fun to create and build. This project was sponsored by the Radio Shack Great Create and I was able to make the whole thing with parts available from Radio Shack. Thanks for the gift card, Radio Shack!

Arduino powered Haunted Pumpkin

Step 1: Parts

Arduino Uno

9V Recording Module
http://www.radioshack.com/product/index.jsp?productId=2102855
$10.99

MPS2222A Transistor
http://www.radioshack.com/product/index.jsp?productId=2062608
$1.19

150 ohm resistors (5 pack)
http://www.radioshack.com/product/index.jsp?productId=2994582
$1.19

(2) 10MM high brightness red LED two-packs (total of 4)
http://www.radioshack.com/product/index.jsp?productId=3096133
(2*$2.19) $4.38

10mm High-Brightness White LED
http://www.radioshack.com/product/index.jsp?productId=3125355
$3.19

PIR Sensor Module
http://www.radioshack.com/product/index.jsp?productId=2906724
$10.19

Total cost of Radio Shack parts: $31.13

These other parts are good to have handy:
Heat shrink tube: http://www.radioshack.com/product/index.jsp?productId=2102875
Digital multimeter: http://www.radioshack.com/product/index.jsp?productId=2103176
22 ga. solid hookup wires: http://www.radioshack.com/product/index.jsp?productId=2049745
Zip ties: http://www.radioshack.com/product/index.jsp?productId=2103326

Solder and soldering iron.
Hot Glue

Step 2: The Circuit

This circuit is relatively simple. The red LEDs are attached to digital pins on the Arduino through the resistors. The white LED goes to Pin 13 (no resistor needed given the voltage and duty cycle of the LED) and the motion sensor and voice module are given their own digital lines as well.

It is important that the two “glowing eyes” LEDs are attached to PWM pins on the Arduino so they can properly fade. I used Pin 3 and Pin 5.

Arduino powered Haunted Pumpkin

Step 3: LED tips

To keep this project simple, I soldered the resistors for the LEDs “in line” with the wire, shown in this photo. Heat-shrink tube adds both stability and insulation to the circuit.

Step 4: Hacking the Voice module

The voice module required a transistor to trigger the button. The video and photo attached show how to use the transistor in the parts list to trigger the button from an Arduino pin.

 

For more detail: Arduino powered Haunted Pumpkin

Quick Solutions to Questions related toArduino powered Haunted Pumpkin:

  • What is the main component used to control the circuit?
    The Arduino Uno is the main component used to control the circuit.
  • How are the glowing eyes LEDs connected to the Arduino?
    The glowing eyes LEDs are attached to PWM pins 3 and 5 so they can properly fade.
  • Does the white LED require a resistor?
    No, the white LED goes to Pin 13 without a resistor given its voltage and duty cycle.
  • How is the voice module triggered?
    A transistor is used to trigger the button on the voice module from an Arduino pin.
  • What is the total cost of the Radio Shack parts?
    The total cost of the Radio Shack parts is $31.13.
  • How are the resistors for the LEDs installed?
    The resistors are soldered in line with the wire for the LEDs.
  • What material adds stability and insulation to the circuit?
    Heat-shrink tube adds both stability and insulation to the circuit.
  • Which digital pin does the white LED connect to?
    The white LED connects to Pin 13.
  • Can this project be built entirely with Radio Shack parts?
    Yes, the whole thing was made with parts available from Radio Shack.
  • What tool is needed to attach the resistors to the wires?
    Solder and a soldering iron are needed to attach the resistors.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top