Change The spotify Music With ARDUİNO

Hello everyone ,

I want to change or pause/start the music with arduino . I have arduino uno and nano also HC05 BLE module .
I search some project on the internet but still i can't found anything. I think I can change it with the right and left arrow keys, for example, like on a computer, by using a library called blekeyboard. So, for example, if I press the right arrow key on the laptop, the song changes while the application is open, so if I send the ascii character corresponding to the right arrow key via Bluetooth, I think it will change, but I could be wrong. Does anyone have any ideas or have worked on this before? Should I buy Leonardo?

HC05 is not BLE. it's just classic BT and it's using the SPP profile. You would need something capable of using the AVRCP profile (see List of Bluetooth profiles - Wikipedia) if you want to go Bluetooth way.

Sending keys would mean the audio player is always the main app on your PC so that it would receive the keys....

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.