Dylan Göpel 7b89530fbe add pins.png
2023-04-05 15:28:14 +02:00
2020-01-14 16:37:26 +01:00
2019-12-07 17:27:23 +01:00
2023-04-05 15:28:14 +02:00
2023-04-05 15:27:23 +02:00

ButtonCtl

dependencies

  • RPi python3-rpi.gpio
sudo apt install python3-rpi-gpio
  • OpenSSH client
sudo apt install openssh
  • circuitpython libraries for neopixel
pip3 install adafruit-circuitpython-neopixel

install

git clone https://github.com/dylangoepel/buttonctl.git
cd buttonctl
./service.sh # create systemd .service file
sudo systemctl enable buttond # autostart at boot
sudo systemctl start buttond # start as daemon

wiring

  • pin 23: left button input (pull-down)
  • pin 24: center button input (pull-down)
  • pin 22: right button input (pull-down)
  • pin 18: neopixel data
  • pin 4: (pull-down)

  • led strip:
(25-36)  (13-24)  (1-12)
 AERIE            KELLER

 (counter-clockwise)

usage

Rot Schwarz Rot → Linker Button

Schwarz Grün Rot → Mittlerer Button

Rot Schwarz Rot → Kurze Wartezeit

Grün Schwarz Rot


Rot Schwarz Rot → Linker Button

Schwarz Grün Rot → Linker Button

Rot Schwarz Rot


Rot Schwarz Rot → Mittlerer Button

Rot Schwarz Rot

Description
No description provided
Readme 199 KiB
Languages
Python 97.7%
Shell 2.3%