Bigmoose Button is run from two scripts that run the button in the toilet in Bigmoose Cardiff, The button triggers a sound effect and there is also background music running on a loop.
Bigmoose Button uses a number of open source projects to work properly:
- Bash - Used for the background music looping.
- Python - Used in the script to detect button press and triggering sound effect.
- Pygame - Used in the script to detect button press and triggering sound effect.
- Rasberry Pi 3b+ - Used as the Microcontroller/Mini PC.
- Adafruit I2S 3W Stereo Speaker Bonnet - Used as Speakers in the Toilet.
Simply run the install.sh
script and it'll take care of everything for you (make sure it's executable with chmod +x install.sh
!), including making two systemd service files (big-moose-button
and big-moose-forest
), enabling them at startup, creating a python venv and installing the required packages to the venv.
You must run the install script as a user with sudo permissions, but do not run it as sudo - it will ask for sudo elevation during the installation procedure.
Licence MIT
Free Software, Hell Yeah!