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: