Build yourself a talking halloween pumpkin with a Raspberry Pi, speakers, a few LEDs and of course a caved pumpkin. https://www.sabolli.de/linux/pumpkin/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Mal cba3dd96d6 Init 4 years ago
Makefile Init 4 years ago
README Init 4 years ago
__main__.py Init 4 years ago
config.py Init 4 years ago
configure Init 4 years ago
installer Init 4 years ago
pumpkin.conf Init 4 years ago
pumpkin.py Init 4 years ago
pumpkin.service Init 4 years ago
rgb.py Init 4 years ago
waveloader.py Init 4 years ago

README

RUN THE INSTALLER BY TYPING IN:
./installer

IF SOME DEPENDENCIES ARE MISSING PLEASE INSTALL THEM WITH YOUR PACKAGE MANAGER.

IF THE INSTALLER WAS SUCCESSFULL YOU HAVE TO START IT ONCE TO GET A DEFAULT CONFIG FILE:
sudo systemctl start pumpkin

IT WILL CRASH BUT NOW YOU WILL HAVE A CUSTOMIZABLE CONFIG FILE. OPEN IT:
sudo nano /etc/pumpkin.conf

TO MAKE IT START SUCCESSFULLY YOU HAVE TO GIVE THE ABSOLUTE PATH TO YOUR WAVE FOLDER:
AUDIO_PATH=/your/wave/folder

THEN SPECIFY YOUR GPIOS FOR EVERY COLOR. IF THERE ARE MULTIPLE LEDS FOR ONE COLOR SEPARATE THEM WITH , LIKE THAT:
GPIOS_RED=11,12,13

NOW YOU HAVE A BASIC CONFIGURATION AND IT SHOULD RUN. START THE PUMPKIN AGAIN BY TYPING IN
sudo systemctl start pumpkin

TO STOP IT TYPE
sudo systemctl stop pumpkin

IF YOU WANT TO MAKE IT START AUTOMATICALLY AFTER BOOT WITHOUT LOGIN TYPE
sudo systemctl enable pumpkin

TO DELETE THE AUTOSTART TYPE
sudo systemctl disable pumpkin

IF YOU HAVE A FOG MACHINE YOU CAN ALSO SPECIFY ONE GPIO FOR THE EVAPORATOR AND ONE FOR THE PUMP:
GPIO_EVAPORATOR=
GPIO_PUMP=

AND NOW HAVE FUN!