Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TonUINO Aio_plus (Chip JL...): all commands send 3 times to the DFPlayer #139

Closed
boerge1 opened this issue Aug 24, 2023 · 0 comments
Closed

Comments

@boerge1
Copy link

boerge1 commented Aug 24, 2023

In the TonUINO software we are using this library (version 1.1.0) without an error so far.
Now we tried the version 1.2.1

With most chips it works fine but with the chip JL AB21BPOE481-82A2 on the AiOplus board we have problems. All commands seem to be sent 3 times. So, if starting a Track from the mp3 folder, it starts 3 times (0.5 seconds in between).

The AiOplus has following configuration:
platform = atmelmegaavr
board = ATmega4809
We use HardwareSerial (Serial3) for communication.

Here is the log. You can see calls into the library and the corresponding serial debug logs.

mp3.setvol()
OUT 7e ff 06 43 00 00 00 fe b8 ef
IN 7e ff 06 43 00 00 02 fe b6 ef

mp3.seteq()
OUT 7e ff 06 07 01 00 00 fe f3 ef
OUT 7e ff 06 07 01 00 00 fe f3 ef
OUT 7e ff 06 07 01 00 00 fe f3 ef

mp3.playMp3FolderTrack(262)
OUT 7e ff 06 12 01 01 06 fe e1 ef
OUT 7e ff 06 12 01 01 06 fe e1 ef
IN 7e ff 06 3d 00 01 56 fe 67 ef
OUT 7e ff 06 12 01 01 06 fe e1 ef
IN 7e ff 06 3d 00 01 56 fe 67 ef
OnPlayFinished: 342
OnPlayFinished: 342

mp3.playMp3FolderTrack(262)
OUT 7e ff 06 12 01 01 06 fe e1 ef
IN 7e ff 06 3d 00 01 56 fe 67 ef
OUT 7e ff 06 12 01 01 06 fe e1 ef
IN 7e ff 06 3d 00 01 56 fe 67 ef
OUT 7e ff 06 12 01 01 06 fe e1 ef
IN 7e ff 06 3d 00 01 56 fe 67 ef
OnPlayFinished: 342
OnPlayFinished: 342
OnPlayFinished: 342

mp3.getFolderTrackCount(1)
OUT 7e ff 06 4e 00 00 01 fe ac ef
IN 7e ff 06 4e 00 00 0e fe 9f ef
mp3.getFolderTrackCount return: 14

mp3.playFolderTrack(1, 14)
OUT 7e ff 06 0f 01 01 01 fe e9 ef
OUT 7e ff 06 0f 01 01 01 fe e9 ef
OUT 7e ff 06 0f 01 01 01 fe e9 ef

mp3.pause()
OUT 7e ff 06 0e 01 00 00 fe ec ef
OUT 7e ff 06 0e 01 00 00 fe ec ef
OUT 7e ff 06 0e 01 00 00 fe ec ef

mp3.play()
OUT 7e ff 06 0d 01 00 00 fe ed ef
OUT 7e ff 06 0d 01 00 00 fe ed ef
OUT 7e ff 06 0d 01 00 00 fe ed ef

Repository owner locked and limited conversation to collaborators Aug 24, 2023
@Makuna Makuna converted this issue into discussion #140 Aug 24, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant