In this tutorial a serial Bluetooth module is used to create a connection between Arduino Uno and an Android app. You can use any android app to create a serial link between your MCU and Bluetooth.
Arduino listens for commands to light some LED’s or show its status. In addition, a timer interrupt makes it check for temperature via a TMP36 sensor: if temperature is greater than a threshold a LED is lit; every n seconds (where n is a parameter set through the app) a status report is sent to the app. A simple command structure enables the app to send parameters and values to Arduino and the other way round.
- Arduino Uno
- Bluetooth Module HC-05 or HC-06
- Resistors-100R or 330R
- Android Phone
- Arduino IDE
- Blynk App (I am using Blynk app for my tutorial but you can use any which perform the same operation as my app does.)
Let’s Start Building
There is only few connection to be made.
Arduino Pins Bluetooth Pins
RX (Pin 0) ———-> TX
TX (Pin 1) ———-> RX
5V ———-> VCC
GND ———-> GND
Connect a LED negative to GND of arduino and positive to pin 13 with a resistance valued between 220Ω – 1KΩ. And your done with the circuit