Controlling Arduino with an Android Phone

For this project I created on app on an Android phone and used it to control the outputs of an Arduino Uno.
The app was created with MIT’s App Inventor and an HC-06 module was used for bluetooth connectivity.
An LED can be turned on/off remotely using the buttons on the Android app.
The code and app programming was taken from this tutorial:
Controlling Arduino with an Android Phone Layout
Controlling Arduino with an Android Phone Photo

Arduino: Bluetooth and Relay Circuit

In previous Ardunio projects I’ve experimented with Bluetooth modules and Relay shields.
In this project I combined the two features, creating a circuit that can control a high voltage solenoid using Bluetooth inputs from a PC.

The circuit consists of: an Arudino UNO, a Breadboard shield, an HC-06 Bluetooth module, a 5V Relay shield, a 24VDC solenoid, and a variable DC power supply.

The solenoid is connected to the variable DC power supply and Relay shield. The Relay shield is then controlled by the Arudino Uno, which gets its commands from the HC-06 Bluetooth module.

This Instructable was used to help with the code:

The HC-06 was set up with a voltage divider following this tutorial:
Note that the HC-06 needs to be disconnected when uploading the code. Also it will only be detectable as a bluetooth device once the Arduino has been disconnected from the computer and is running on external power.
Arduino, Bluetooth and Relay-001
Arduino, Bluetooth and Relay-Circuit-002

Arduino Bluetooth Communication

The aim of this mini-project was establish Bluetooth communication between a Macbook and an Arudino UNO.

The project was completed with the help of this useful tutorial.


The key stages of the project were:

  1. Upload code to the Arduino to establish serial communication
  2. Connect up the HC-06 Bluetooth module with voltage divider
  3. Run the Code with the Bluetooth module as the serial input
  4. Connect to the Device with the Macbook
  5. Install and run ZTerm Terminal Emulation software to provide inputs

Several tutorials I looked at were using the Arduino Micro which may be useful for future projects.

Arduino to HC-06 Code-001

Arduino to HC-06-002