MiketheChap / Halloween

Halloween decorations from a number of sources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Halloween

Halloween decorations from a number of sources. Basically this repository has code for:

  • Evil Working Skull3 - An Arduino-controlled skull with a working, servo-controlled, jaw and neck. I had red LEDs in the eye sockets but have since removed those. They may come back next year!
  • An Arduino-controlled WAV player that plays through a bunch of wavs. It seems to play them pretty randomly, perhaps not
  • A demon rat on an OpenBuilds V-rail gantry that is belt-driven, stepper-motor powered.
  • The Demon Rat itself has Neopixel eyes and mouth inserted into it's interior. They eyes glow brightly and alternate colors.
  • A Lightning Cloud. - Essentially, I used two Arduino Uno,s powered with a single power pck. It lasted the whole night and had power to spare. I used while school project board to hang from the ceiling, wrapped with NeoPixel srtips. I made two levels of project poster board with cheap aluminum baking tins between them and all glued together. The NeoPixels intertwined between them. It doens't take a ton of NeoPixels. I used about 50. SO I used 1 Arduino Uno to measure the sound and trigger the NeoPixels. I used the other Uno to trigger the Thunder WAVs / MP3s to trigger. You'll find all the files in a separete lighting/thunder folder. I'm truthfully not certain which files I ended up using. I'll have to figure out later and add it here. You can get lots of ideas and some code here: https://www.instructables.com/id/Sound-Reactive-Lightning-Cloud/ Also, from here: https://www.makeuseof.com/tag/build-cloud-lamp-sound-reactive-lightning/ IF you use with Light Show Pi, they actually dovetai together beautifully: Any HAlloween noise in the music you're playing triggerst the Sound sensor in turn triggering the Neopixels firing in random order + the thunder mp3s or wavs triggering the thunder. Which sometimes triggers MORE lightning. Lots and lots of fun! Even the adults were coming up on the porch to see the show!

Evil Working Skull3 - Skully (the Skull), the timing seems to work better on this 10/27/2017 update. Essentially the process is this:

  • Adapted from essential original work by BARRAGAN and Scott Fitzgerald
  • Include servo driver
  • Name your servos
    • myservo is the jaw
    • myservo1 is the neck
  • Set the servo starting positions = 0 on both: might be interesting to tweak later?
  • Void Setup = Declare and initialize the pins that drive the servos
    • Pin 9 = jaw
    • Pin 10 = neck
  • Void Loop
    • Rotate the neck (servo1) 75 degrees and pause
    • Rotate the jaw (servo) 30 degrees
    • Rotate the jaw (servo) back to initial position 0 degrees and pause
    • Rotate the neck (servo1) back to 0 degrees and pause
  • Delay for 10000 ms
  • Restart the Void Loop

halloween_wav

  • Based entirely on the work of Lady Ada at Adafruit, complete instructions and code can be found at the [Adafruit web site] (https://learn.adafruit.com/halloween-pumpkin/overview).
  • While there are many extensive collections of Halloween WAVs, Lady Ada curated a fun little zip file that's perfect. It can be found here.

About

Halloween decorations from a number of sources


Languages

Language:C++ 100.0%