The Bluetooth LC-06 Module was used to communicate between an Android phone and the mBed device.

Since the XBee controller was difficult to use and we were unable to understand its setup, we decided to use this module to create a temporary form of communication to the backhoe construction toy robot.

We used this tutorial from the mBed library to help us in our process: https://developer.mbed.org/users/edodm85/notebook/HC-05-bluetooth/.

The basic set up is to wire the corresponding RX of the Bluetooth module, to the corresponding TX of the mBed. Similarly, the TX of the Bluetooth module will be paired with the RX of the mBed.

Next we used a Android phone application that allows us to send specific characters to the Bluetooth module which is then received by the mBed. The Android application that we used can we be found at this follow link: https://play.google.com/store/apps/details?id=braulio.calle.bluetoothRCcontroller&hl=en

Once these characters from the application, we can define what that they mean through the mBed. So, on the mBed, we programmed a swtich-case statement that created a case for possible character the mBed could receive. For example, when the forward button is clicked, an 'F' is sent to the mBed. In our switch-case statement, we set the motors to go forward when the the received character is an 'F'.