Well, it's progressing a little, with this code, I get a return, but I don't know how to interpret it?
from machine import UART, Pin
from time import *
uart1 = UART(1, baudrate=9600, tx=Pin(4), rx=Pin(5))
uart1.init(bits=8, parity=None, stop=1)
# Play
uart1.write(b'\xaa\x02\x00\xac')
# query play status
uart1.write(b'\xAA\x01\x00\xAB')
# query current song
uart1.write(b'\xAA\x0D\x00\xB7')
print(uart1.read())
sleep_ms(10000)
# query current song
uart1.write(b'\xAA\x0D\x00\xB7')
#uart1.write(b'\xAA\x01\x00\xAB')
print(uart1.read())
# Stop
uart1.write(b'\xAA\x04\x00\xAE')
# query play status
uart1.write(b'\xAA\x01\x00\xAB')
print(uart1.read())
And I have this as an answer:
None
b'\xaa\x01\x01\x01\xad\xaa\r\x02\x00\x01\xba'
None