Page:
Dungeon
Pages
Audio Input und Speech Recognition
Cocoon man
Coffin ghost
Crazy Witch
Deploying flask with uwsgi and nginx
Dungeon
Eyes in the dark
Grave riser
Halloween Control Center
Hanging ghost
Home
How to get the NodeMCU up and running
How to install py neopixel spidev
How to install pylibftdi for DMX
Ideas 2018
Ideas 2019
Ideas for 2021 (hopefully)
Ideas for 2022
Ideas for 2023
Ideas for 2024
Ideas for refactoring 2021
Installations
LEGO
Monster in a box
Open a reverse shell
Prisoner
Raspberry Pi Overview
Setting up a new scary RPi
Setup Remote Software Update
Spider
Swaying Zombie
USB Audio on Raspberry Pi Zero
Web API
Weremonkey
Zombie Fence
No results
6
Dungeon
mattzz edited this page 2019-10-28 20:49:50 +01:00
Dungeon 🆕
Description
The dungeon is the trap door to the haunted house's dungeon with zombie hands reaching up through the gaps. Eerie sounds can heard, occasionally a roar, red light and fog rises out of the cracks in the trap door. Oh, and there is an undead cat giving of terrible screeches.
The trap door is a wood pallet. There's a fog machine place underneath, red LED light, a speaker and there's an animatronics skeleton cat placed on top of the pallet.
In addition to the occasional roaring, the controlling RPi plays a continous loop of ambience sounds. This does not have to be enabled/disabled remotely - but it would be nice.
The LED light is always on (let's check that again).
Network location
- Hostname: dungeon
- URL: http://dungeon
- URL for DEBUG: http://dungeon:5000
Workflows
- roar fog on, random roar mp3, fog off
- meow fog on, cat meowing, fog off
Raspberry Pi pinout:
| RPi Pin | RPi Name | Destination | Wire | Function |
|---|---|---|---|---|
| 2 | 5V | Relay JDVCC | red | |
| 6 | Ground | Relay Gnd | orange | |
| 12 | GPIO18 | Relay In1 | yellow | Enable fog machine |
| 16 | GPIO23 | Relay In2 | gren | trigger cat |
| 17 | 3V3 | Relay VCC | grey | |
| 18 | GPIO24 | Relay In3 | blue | |
| 22 | GPIO25 | Relay In4 | purple |
start playing ambience sound after booting
Add the mpg321 line to /etc/rc.local :
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
# loop ambience sound forever...
/usr/bin/mpg321 -l 0 -q /home/pi/halloween/static/sounds/Ambience.mp3 > /dev/null 2>&1
exit 0