element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Raspberry Pi Projects
  • Products
  • Raspberry Pi
  • Raspberry Pi Projects
  • More
  • Cancel
Raspberry Pi Projects
Blog The Scary Porch - How to Startle Halloween Trick-or-Treaters with the Raspberry Pi B+
  • Blog
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Raspberry Pi Projects requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Catwell
  • Date Created: 30 Oct 2014 12:07 PM Date Created
  • Views 1039 views
  • Likes 2 likes
  • Comments 2 comments
  • tutorial
  • raspberry_pi_b+
  • halloween
  • rpiintermediate
  • project
  • lighting
  • complete
  • effects
  • raspberry_pi
  • cabeatwell
  • sound
  • halloween_2014
  • raspberry_pi_projects
  • innovation
Related
Recommended

The Scary Porch - How to Startle Halloween Trick-or-Treaters with the Raspberry Pi B+

Catwell
Catwell
30 Oct 2014

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Disclaimer: I’m an engineer, not a pro film maker. Be advised.

 

My goal... haunted house level effects for the front door, again! If you didn't see the "Scary Door" from 2013, go see it now!

 

I wanted to create the sense of stifling... to overwhelm the visitor with light and rumbling sound. I figured red light would give the most horror feel with the matched sounds.

 

I used a Raspberry Pi B+Raspberry Pi B+, not on purpose, but I am glad I did. The B+ has more IO, which I took advantage of. In fact, I used almost every single free IO on the board! I will admit, four of the pins I intended as additional outputs and effects, but never did use them. Technically, as many light as can be afforded could be used on those additional outputs with external relays.

 

Let's break it down...

 

Here were my requirements of the Scary Porch

  • Slowly brighten a series of red lights
  • Dim the porch light in opposite the red lights
  • Start a slow creepy sound at the start of the approach
  • When the visitor reaches the door, switch sounds to a more shocking track
  • When the visitor leaves, cut the sound, dim the lights as they leave
  • Have a big button for resetting the whole system at any point

 

 

Project by sections

 

- Lights

All the light I used are AC... So, if you build this yourself, be safe.

I bought an innocuous porch light from home depot... which still sells incandescent bulbs. I was shock, but happy I didn't have to amazon prime them to me. This is connected to a Sunrom 1298 AC dimmer circuit.

I did amazon prime some "sunlite" red flood lights. Six of them to be exact. the overwhelming effect of the light is really only present directly under the lights. These are connected to another Sunrom 1298 AC dimmer board. Don't worry, the dimmer board can handle 12A of 120VAC... so, no issue. But, touch the Sunrom boards and die...

Personally, I found that more scary than the entire project.

 

- Sensors for approach

Like in the Scary Door project last year, I used an Enforcer Retro-Reflective Sensor.. In fact, I used four. I figures like approximating a curve, I could approximate the visitors approach. Four sensor points I thought would be good enough.

 

- sound

The sound was probably the most difficult part. I had to mix two tracks that would accomplish ambient creepy and a total shock. So, I sampled a lot of different sources for this. I played everything on a stereo that I found in the garbage a long time ago. It seems to have worked out well.

 

- Relay output (Not used)

I actually put in four additional outputs for either more lights or effects, but I never used them. However, I was planning on creating a sense of people/things behind the visitor using cutouts in front of additional lights... perhaps for next year.

 

The difficulties

- Mounting the system and long camera cable

 

- Fire/Death

When working with AC and circuits that use AC, you never know what may happen.

 

Pics and system

image

Smack dab on a boardganizer, I placed the Pi B+ and the Sunrom dimmer circuits close to the edge. I had to drape the AC lines down the side. I took the GPIO on the Pi and spread the leads liberally around the breadboard. Most going to the 16 digital lines of the dimmer boards. See the four in the middle? They were meant for the four extra outputs I never used.

 

image

This is the full setup from a distance. The sensors would typically be placed out of sight on a porch. For me, I didn't have that luxury. See the black squares on the left side? Those are the reflectors for the sensors placed on the other side.

 

imageimage

The effect on, and the effect off. Could be redder... if you ask me.

Block Diagram and Design

image

image

 

Code

 

This portion was fairly straight forward. Count up and down a 256bit number for the Sunrom dimmer circuits. Play sound with OMXPlayer call outs. And constantly look for the reset/EStop button push.

 

BOM

 

QuantityPriceVendorPart #Description
1$40$40element1468X0156Raspberry Pi model B+
1$16.40$16.40element1488W3963BUD Boardganizer
1$7.35$7.35element1456T0249BREADBOARD, SOLDERLESS, 400 TIE POINTS
1$49.95$49.95element1444W3511BUDGET PACK, RASPBERRY PI (Mostly unused, only for parts)
1$5.45$5.45element1488W3962Bud Wire Kit
2$7.95$15.90Sunrom1289Sunrom 1289
2$4.95$9.90HomeDepotAC power strip
6$7.95$47.70HomeDepotWorklight
6$11.6970.14AmazonBR38 RED OUTDOOR FLOODLIGHT BULB 100 WATTS
TOTAL$262.79

 

Other uses of the system

- Lighting and sound displays.

- Parties... play fun songs with colorful lights.

 

If I had more time and money

- I wanted to add a vibrating mat that vistors would stand on in front of the door. The idea is to give them a jolt they would feel through their shoes matched with the sound.

- The sounds can get annoying after a while... randomizing the tracks would be a good idea.

- More lights, of course.

- Better sound.

 

Happy Halloween 2014!!!

 

C

See more news at:

http://twitter.com/Cabe_Atwell

Attachments:
Scary Porch.zip
  • Sign in to reply
  • Catwell
    Catwell over 8 years ago in reply to DAB

    I didn't want to add props this time. Light and sounds is the only thing needed to scare with this one...

     

    However, imagine this working in conjunction with the Scary Door from last year!

     

    C

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 8 years ago

    Great sound, but I think you need some animatronic like a flying ghost or moving casket lid.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube