BTduino is an Android app that lets you add a custom bluetooth interface to your Arduino project without any programming on the Android side.
“Everything is better with bluetooth.” – Here are some examples:
- Android APK file (QR code on the right) Android 4.0 or higher is required.
- Arduino example sketch
- Arduino sketch without examples
- Source code
The BTduino app sends data using the serial interface of a microcontroller and a bluetooth connection. The concept of the protocol is to send all data in text form. Each set of data consists of the name and the value, seperated by a colon. This way of communication is not the most efficient one, but it is easy to use and human readable. Continue reading
This tutorial will show you how to connect your Arduino project to an Android device using the BTduino app. You don’t need an extra Arduino library and you don’t need to code anything on the Android side.
Here is what you need:
- an Android device running Android 4.0 or higher that supports bluetooth (most phones do)
- an Arduino or any microcontroller that has a Serial connection
- a bluetooth module for the Arduino (get one for about €10, for example from ebay)
- the parts for your project
Connect the bluetooth module to your Arduino like this:
If your bluetooth module runs at 3.3V, you need an additional voltage divider. In this case, use three resistors with an equal value between 1kΩ and 10kΩ as shown above.
Then, set up your Arduino project. For this tutorial I will be using a potentiometer and an LED. Here is the setup: