Hallo ich bin gerade dabei eine Phoniebox für meinen Sohn zum Geburtstag zu bauen.
Ich arbeite mit der Phoniebox Version 2.1.1 (develop)
Neuftech RFID Reader
Raspberry Zero HW
HifiBerry Mini Amp
ON/Off Shim
GPIO Erweiterungsboard
1,3 Zoll OLED Display
2x 3W Einbaulautsprecher
Buttons 5x mini Push Buttons (ohne LED)
Ich bin gerade dabei die Hardware in die Box einzubauen.
Ich habe folgenden Fehler wenn ich den next Button drücke.
PhonieboxGPIOControl[825]: INFO:GPIODevices.simple_button:NextSong: executre callback
PhonieboxGPIOControl[825]: INFO:GPIODevices.simple_button:NextSong: action
mpd[827]: player: played "Musik/lied.mp3"
PhonieboxGPIOControl[825]: volume: 35% repeat: off random: off single: on consume: off
mpd[827]: exception: Not playing
python3[826]: mpd error: Not playing
Ich habe mir für den Einbau eine neue Lochplatine zusammen gelötet.
Da ich die erst unter verdacht hatte habe ich den Button noch mal direkt an den Pi angeschlossen. Leider bleibt der Fehler...
Die GPIO PIN habe ich auch schon gewechselt von 5 auf 10.
Die anderen Taster funkionieren bereits. Der Drehregler zickt allerdings auch noch etwas rum.
Hat jemand eine Idee...wenn ich das script simple_button.py ausführe, gibt er mir eine Bestätigung beim drücken des Tasters...?
sudo python RPi-Jukebox-RFID/components/gpio_control/GPIODevices/simple_button.py
please enter pin no to test
10
FunctionCall with (10,)
FunctionCall with (10,)
FunctionCall with (10,)
FunctionCall with (10,)
FunctionCall with (10,)
FunctionCall with (10,)
FunctionCall with (10,)
FunctionCall with (10,)
FunctionCall with (10,)
FunctionCall with (10,)
Meine PIN Belegung sieht zurzeit so aus...
|
| 3,3V
| 1
| 2
| 5V
| OOS
|
| OLED SCK
| GPIO 2
| 3
| 4
| 5V
| OLED
|
| OLED SDA
| GPIO 3
| 5
| 6
| GND
| OOS
|
| OOS
| GPIO 4
| 7
| 8
| GPIO 14
|
|
| OLED
| GND
| 9
| 10
| GPIO 15
|
|
| OOS
| GPIO 17
| 11
| 12
| GPIO 18
| HMA
|
| BT prev
| GPIO 27
| 13
| 14
| GND
|
|
| BT volU/DT
| GPIO 22
| 15
| 16
| GPIO 23
| LED volU
|
|
| 3,3V
| 17
| 18
| GPIO 24
| LED halt
|
| Test(BT next)
| GPIO 10
| 19
| 20
| GND
| HMA
|
| HMA
| GPIO 9
| 21
| 22
| GPIO 25
|
|
| BT VolMute
| GPIO 11
| 23
| 24
| GPIO 8
| LED volD/CLK
|
|
| GND
| 25
| 26
| GPIO 7
|
|
|
| ID_SD
| 27
| 28
| ID_SC
|
|
| BT next
| GPIO 5
| 29
| 30
| GND
|
|
| LED next
| GPIO 6
| 31
| 32
| GPIO 12
| BT halt
|
| BT volD
| GPIO 13
| 33
| 34
| GND
|
|
| HMA
| GPIO 19
| 35
| 36
| GPIO 16
| HMA
|
| HMA
| GPIO 26
| 37
| 38
| GPIO 20
| HMA
|
|
| GND
| 39
| 40
| GPIO 21
|
|
Vielen Dank im Voraus...