/biab-paparazzi

Let Blog in a Box take pictures based on sensors or actions

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Blog in a Box Paparazzi

Let Blog in a Box take pictures based on sensors or actions.

Parts

Wiring

Check out the Fritzing or reference the screenshot below.

Blog in a Box Paparazzi Fritzing

Instructions

There are 2 versions:

  • paparazzi.py - A lot of code to control the sensors and hack all you want
  • paparazzi-gpiozero.py - uses gpiozero to handle all of the heavy lifting

If you use the gpiozero version you'll need to install the library...

sudo apt-get update
sudo apt-get install python3-gpiozero python-gpiozero

For both versions you'll want to update the GPIO PIN values at the top of the file to match your wiring. You may also need to adjust the TEST CONSTANT values. Then either run the program manually python paparazzy[-gpiozero].py or run as a service.