I am interested in adding Bluetooth connectivity to my Zumo 32u4. With Bluetooth, it would be fun to build a toy mobile app that supports pressing the A, B, and C buttons remotely.
Does anyone have advice on how to do this?
One forum post (https://forum.pololu.com/t/hc-06-bluetooth-with-zumo-32u4/8242/1) suggests that adding an HC-06 chip might be the way to go, although it seems like some people had trouble with that. Also, I assume that involves soldering, which I would prefer to avoid, although it might be unavoidable.
Do you think using a standard USB Bluetooth adapter would work (assuming I connected it to the Zumo via an intermediate USB A to USB B adapter)?
The ATmega32U4 microcontroller on the Zumo 32U4 does not have the functionality to serve as a USB host that would be necessary for USB peripherals like a USB to Bluetooth adapter to work.
The last step, and the most crucial one, is to rewrite your code as if you would be working with a Leonardo. When your code uses serial connection to send commands, you need to change the Serial class to Serial1 (note the extra 1 at the end).
It took me a lot of time to figure that one out, but once I had changed the Serial to Serial1, everything worked as expected. I am now using an App made via the MIT AppInventor and an Android Tablet to control the Zumo 32u4 + HC-05 via Bluetooth.