Skip to content

Pibooth plugin to add a flash with warm white and cold white

License

Notifications You must be signed in to change notification settings

grenagit/pibooth-flashled

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pibooth-flashled

Python 3.6+ PyPi package PyPi downloads

pibooth-flashled is a plugin for the pibooth application.

It adds a flash with warm white and cold white when the capture is taken.

Install

pip3 install pibooth-flashled
    
sudo systemctl enable pigpiod
sudo systemctl start pigpiod 

Configuration

Below are the new configuration options available in the pibooth configuration. The keys and their default values are automatically added to your configuration after first pibooth restart.

[FLASH]

# Physical GPIO OUT pin to light a warm white LED strip
warmwhite_pin = 12
    
# Physical GPIO OUT pin to light a cool white LED strip
coolwhite_pin = 13
		
# The white balance (warm white, cool white) in percent
white_balance = (50, 50)

# The brightness in percent
brightness = 50
		
# How long is the fade light in milliseconds (0 to skip it)
fade_delay = 1000

Edit the configuration by running the command pibooth --config.

Circuit diagram

Here is the diagram for hardware connections.

Electronic sketch

About

Pibooth plugin to add a flash with warm white and cold white

Resources

License

Stars

Watchers

Forks

Languages