I'm making a wireless controller and I'd like to do two things over bluetooth without the use of additional software on the host (PC/phone):
[1] use an arduino as a mouse (this looks doable), and
[2] send "basic” commands (play/pause/prev/next, volume up/down) to my phone and/or laptop. Just like any other BT device out there. (linkup la remotes)
I couldn’t find a lot of info on sending specific BT commands from the arduino to devices. So how do I send standard commands like play/pause/etc, seeing that they are not normal keys or mouse gestures?
And second, are these ‘duinos able to easily pair with phones&PCs to send basic commands, and with PCs to act as a mouse?
solidox:
I couldn’t find a lot of info on sending specific BT commands from the arduino to devices.
So how do I send standard commands like play/pause/etc,
I'm surprised you found any. This because the common practice is to send commands to Arduino. I think the first arena for exploration is at the other end - what apps are available that receive via bluetooth control commands from Arduino? In the unlikely event that you find one, sending the command from Arduino should be easy enough.
I imagine your best chance is to have Arduino replicate a phone with a bluetooth mouse app. The mouse app I have includes software to go on the PC, so that fixes that end, and all you need to do is get Arduino to look like a phone.
I'm just not sure if all bluetooth modules are able to send "consumer HID reports" (play/pause, volume up/down, etc), and how exactly do I send these reports.
Yes, it occurred to me that it may be possible with modules like the bluesmirf and some other one that is quite expensive. I believe they might have more capabilities than the plain-vanilla HC-05.
Hey solidox, did you ever figure this out? I'm trying to do the same thing, send a volume up command from arduino to my android, any help would be appreciated!