-
Notifications
You must be signed in to change notification settings - Fork 0
Capacitive touch sensors
Instead of arcade push buttons, you can install capacitive touch sensors type ttp223.
While these work like other buttons, there is one edit you need to do when using GPIO control to change the volume with touch sensors. If you use the script out of the box: after a touch, the volume decreases continuously to 0. If you set the volume to 100 in the web app, this process repeats itself. An ordinary push button makes everything right on the same pin.
Open the file /home/pi/RPi-Jukebox-RFID/settings/gpio_settings.ini
and find the [VolumeUp]
and [VolumeDown]
section. Remove the line with hold_repeat: True
from both sections. The final result may look like this:
[VolumeUp]
enabled: True
Type: Button
Pin: 16
pull_up: True
hold_time: 0.3
functionCall: functionCallVolU
[VolumeDown]
enabled: True
Type: Button
Pin: 19
pull_up: True
hold_time: 0.3
functionCall: functionCallVolD
Old description: https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/456
If you like Phoniebox, consider: buy me a coffee or PayPal
- Code: https://github.com/MiczFlor/RPi-Jukebox-RFID
- Phoniebox home page: English | Deutsch
Phoniebox is a contactless jukebox for the Raspberry Pi, playing audio files, playlists, podcasts, web streams and spotify triggered by RFID cards. All plug and play via USB, no soldering iron needed. Update: if you must, it now also features a howto for adding GPIO buttons controls.
Visit Phoniebox.de
π₯ Version 3
- β Releases
- π΅ Install Jukebox Version 3
- π Report a bug
- π Propose a feature
- βοΈ Feature Status
- π Documentation
- π©βπ» Development
- βοΈ Contributing
- π¦ Code
πΆ Version 2
- β Releases
- π΅ Install Jukebox Version 2
- π Report a bug
- βοΈ Features
- π Documentation
- βοΈ Contributing
- π¦ Code
Version 2 Pages
-
Setup / Upgrades
- Synchronising Phonieboxes in a local network
- Smart Home remote control with MQTT
- Hardware Pinout Overview
- Systemwide Equalizer
- Phoniebox with read-only Filesystem
- HiFiBerry Soundcard Details
- WM8960 Hi-Fi HAT
- PAM8403 Amplifier Power Off
- TPA3118 Amplifier Power Off and EMI improvement
- External Non USB Audio DAC ES9023, PCM5102, etc.
- On-board LEDs with fibre optics
- Setting GPIOs at boot time
- Stop on removal with USB RFID Reader
- Firmware update improves audio out
- Architecture