Arduino connected to an Android phone via Bluetooth (JY-MCU module)

A basic example of establishing a connection between an Arduino Uno and an Android phone via Bluetooth. A widely available and relatively inexpensive JY-MCU Bluetooth module (like this one: http://amzn.to/2hrVnAn) is used. Code and wiring diagram available on:

How to connect an Arduino Uno to an Android phone via Bluetooth

Bluetooth module link: http://amzn.to/2hrVnAn

source