It’s from DFRobot and it’s called the MiniQ. Here it is assembled.
Created a simple circuit on a donut board with a L293 H-Bridge and Arduino Nano.
It is powered by a 2 cell Lithium Polymer battery. Typically each cell provides 3.7V so that amounts to 2 x 3.7V = 7.4V. You would normally find these in RC shops. I believe this battery is used in small RC helicopters and wireless controllers.
The circuit is shown below.
The circuit is just a typical H bridge connection with two motors. It’s relatively simple to build and easy to program because it’s an Arduino.
For the bluetooth connection, I’m using a cheap bluetooth module I got from ebay.
It works on a serial connection and it connects to pins TX/RX on the Arduino. I’ve programmed the Arduino to perform certain actions upon receiving a byte of data from the bluetooth module.
The bluetooth protocol used here is called the SPP (Serial Port Profile) and only one mobile platform supports it, Android. Both iOS and Windows Phone doesn’t allow the developer to access the SPP protocol although the hardware is capable in doing so. I would have loved to develop it on iOS but too bad I can’t. So Android it is!
I’m using MIT’s App Inventor to develop the Android app because it’s easy to learn and use. I was up and running in just less than 10 minutes. There are no learning curves because there’s absolutely no coding at all, just connecting blocks together.
Click on Invent, and create a new project.
You can drag desired items from the Palette to the screen. There are no logic involved yet, it will be done in the Blocks Editor.
There are already libraries such as Timer, Bluetooth, Accelerometer, Gyroscope and Twitter. It’s quite sufficient to build a useful app.
Launch Blocks Editor to establish the logic in the app.
Drag, drop and connect relevant blocks together to create the logic in the app. Absolutely no coding required.
Make sure to turn on USB debugging mode in your android device so that App Inventor can upload the app into your phone.
Click on Connect to Device and select your phone. The app should now be running in your phone.
Here’s a video demonstration of the robot being controlled by the Android device.
Download link for both the Arduino and Android code.