Hacking Halloween: Using Arduino and Twilio To Build An Interactive Haunted House


This project is an Interactive Haunted House built upon a cloud service that changes color of a pumpkin when requested with text message.



  • Fog Machine
  • Speakers
  • Bats
  • Other spooky business

Building The Circuit

This is an exact circuit with one change. Instead of a 9V battery I used a 12V AC to DC converter. A 9V battery WILL work it just won’t be as bright.

This circuit is based off of this make guide tutorial and is relatively simple. The only trick here is that we are using MOSFETs (a type of transistor) in order to amplify the voltage going to the LEDs. Because the LEDs require more than the 5V the arduino puts out, we have to use MOSFETs to amplify the power. The way it works is the Arduino sends a digital signal (PWM) to the MOSFET through the (G) gate pin. The signal switches the transistor passing the higher current at 12 V, gathered through the (S) source, out through the (D) drain to the LED strip. This is a smart way of amplifying a small PWM signal to a device that requires a higher source of power.
Safety Warning!!

Remember whenever working with power to be extremely careful. Always build circuits with the power unplugged. The last thing we want is for you to fry your Arduino or yourself, leave the shocking to Dr. Frankenstein.
Once you’ve got the circuit looking like this, we should be ready to go on to Step 2.

The Arduino Software

Now let’s get the Arduino piece working. Before we look at the code let’s make sure you are all setup.

First you need to:

Now that you’re all set to go, let’s set up a sketch to make the Arduino talk to Pusher and trigger some fun LED colors.





Source code


Source: https://www.twilio.com/blog/2013/10/using-arduino-and-twilio-to-build-an-interactive-haunted-house.html


Tags: Arduino, Ethernet shield, LED strip, halloween, pumpkin, hauntedhack, pusher, 201310

Author: Jarod Reyes


Please Login to comment
Notify of