Danke für deine/eure Antworten!
Die neuen MP3-Player sind da, aber das Verhalten hat sich nicht geändert. Ich habe auch 3 verschiedene Arduino Nano getestet. SD-Karte (2 verschiedene) komplett formatiert und behutsam in der richtigen Reihenfolge bespielt.
Jetzt ist es so: Wenn ich den blauen Dongle-RFID-Tag aus dem Paket dran halte, startet automatisch der Partymodus (laut Serial Monitor). Er gibt den Song 001 aus Ordner 01 wieder. Das Sprachmenü bleibt stumm. Ich kann lauter und leiser machen, aber nicht einen Track weiter oder vorher wiedergeben.
_____ _____ _____ _____ _____
|_ _|___ ___| | | | | | |
| | | . | | | |- -| | | | | |
|_| |___|_|_|_____|_____|_|___|_____|
TonUINO Version 2.1
created by Thorsten Voß and licensed under GNU/GPL.
Information and contribution at https://tonuino.de.
=== loadSettingsFromFlash()
Version: 2
Maximal Volume: 25
Minimal Volume: 5
Initial Volume: 15
EQ: 1
Locked: 0
Sleep Timer: 0
Inverted Volume Buttons: 1
Admin Menu locked: 0
Admin Menu Pin: 1111
=== setstandbyTimer()
0
Firmware Version: 0x92 = v2.0
=== playShortCut()
3
Shortcut not configured!
Card UID: F9 F8 CD B1
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
13 37 B3 47 02 03 03 18 F9 00 00 00 00 00 00 00
3
3
== playFolder()
=== disablestandby()
Com Error 6
0 Dateien in Ordner 3
Party Modus -> Ordner in zufälliger Reihenfolge wiedergeben
=== volumeDown()
14
=== volumeUp()
15
=== volumeDown()
14
=== volumeDown()
13
=== volumeDown()
12
=== setstandbyTimer()
0
=== disablestandby()
=== previousTrack()
Anfang der Queue -> springe ans Ende 1
Com Error 6
=== volumeUp()
13
=== setstandbyTimer()
0
=== disablestandby()
56393
=== nextTrack()
Ende der Queue -> beginne von vorne
0
Com Error 6
=== setstandbyTimer()
0
Wenn ich eine weiß Karte dran halte, dann liest er nur 0en. Dann spielt der Song 001 aus dem Ordner 01 wieder. Dann bricht die Verbindung ab und ich kann mit den Tastern nichts mehr ausrichten.
_____ _____ _____ _____ _____
|_ _|___ ___| | | | | | |
| | | . | | | |- -| | | | | |
|_| |___|_|_|_____|_____|_|___|_____|
TonUINO Version 2.1
created by Thorsten Voß and licensed under GNU/GPL.
Information and contribution at https://tonuino.de.
=== loadSettingsFromFlash()
Version: 2
Maximal Volume: 25
Minimal Volume: 5
Initial Volume: 15
EQ: 1
Locked: 0
Sleep Timer: 0
Inverted Volume Buttons: 1
Admin Menu locked: 0
Admin Menu Pin: 1111
=== setstandbyTimer()
0
Firmware Version: 0x92 = v2.0
=== playShortCut()
3
Shortcut not configured!
Card UID: 29 D8 05 E8
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Com Error 6
Ich finde das so merkwürdig, weil ich mir das alles einfach nicht erklären kann…
In den Anleitungen steht immer, dass „Fehlermeldungen“ beim Überspielen auf den Arduino normal sind. Vielleicht helfen sie trotzdem weiter? Hier das, was immer nach dem überspielen im Fenster steht:
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino: In function 'void setup()':
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:758:27: warning: invalid conversion from 'int' to 'DfMp3_Eq' [-fpermissive]
mp3.setEq(mySettings.eq - 1);
~~~~~~~~~~~~~~^~~
In file included from C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:1:0:
C:\Users\user\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:245:10: note: initializing argument 1 of 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD>::setEq(DfMp3_Eq) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify]'
void setEq(DfMp3_Eq eq)
^~~~~
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino: In function 'void adminMenu(bool)':
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:1117:37: warning: default argument given for parameter 1 of 'void adminMenu(bool)' [-fpermissive]
void adminMenu(bool fromCard = false) {
^
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:80:6: note: previous specification in 'void adminMenu(bool)' here
void adminMenu(bool fromCard = false);
^~~~~~~~~
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino: In function 'void adminMenu(bool)':
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:1192:29: warning: invalid conversion from 'int' to 'DfMp3_Eq' [-fpermissive]
mp3.setEq(mySettings.eq - 1);
~~~~~~~~~~~~~~^~~
In file included from C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:1:0:
C:\Users\user\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:245:10: note: initializing argument 1 of 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD>::setEq(DfMp3_Eq) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify]'
void setEq(DfMp3_Eq eq)
^~~~~
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:1318:22: warning: invalid conversion from 'int8_t* {aka signed char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
if (askCode(pin)) {
^
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:1332:6: note: initializing argument 1 of 'bool askCode(uint8_t*)'
bool askCode(uint8_t *code) {
^~~~~~~
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino: In function 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)':
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:1349:120: warning: default argument given for parameter 4 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]
bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {
^
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:74:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here
uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,
^~~~~~~~~
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:1349:120: warning: default argument given for parameter 5 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]
bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {
^
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:74:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here
uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,
^~~~~~~~~
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:1349:120: warning: default argument given for parameter 6 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]
bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {
^
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:74:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here
uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,
^~~~~~~~~
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:1349:120: warning: default argument given for parameter 7 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]
bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {
^
C:\Users\user\Desktop\TonUINO-DEV\Tonuino\Tonuino.ino:74:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here
uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,
^~~~~~~~~
Danke für eure Hilfe! Habt ihr eine Idee?