Files
buttonctl/1og/README.md
T
2026-06-25 23:52:18 +02:00

2.9 KiB

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
  • SPI
    Enable SPI in raspi bootloader for GPIO10

Install

cd buttonctl/1og
./service.sh # create systemd .service file
sudo systemctl enable --now buttond # start and autostart at boot

Wiring

  • pin 23: left/aerie button input (pull-down)
  • pin 24: center button input (pull-down)
  • pin 22: right/cellar button input (pull-down)
  • pin 12: neopixel data
  • pin 4: (pull-down)

6-pin socket

GPIO

Notch
23 24 12
3.3V GND 22

KiCAD

Notch
5 3 1
6 4 2

UV Klemme

Notch
grün braun blau
rot schwarz gelb

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

 (counter-clockwise, top is first)

Usage

Open Door

→ Left Button

→ Middle Button

→ Short Delay

Abort

→ Left Button

→ Left Button

No-Op

→ Middle Button