Controlling The Brightness of LED Using Arduino An

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

instructables

Controlling the Brightness of LED Using Arduino and Bluetooth Module(HC-


05)

by mohitmehlawat

Introduction
In this tutorial, we are going to control the brightness of LED using Arduino UNO, Bluetooth Module(HC-05) and
Android application for Bluetooth(Bluetooth Terminal)

Step 1: Components

1. Arduino Uno
2. Bluetooth Module(HC-05)
3. Light Emitting Diode(Red)
4. Resistor(1Kohm)
5. Jumper wires
6. Android Application:- Bluetooth Terminal(https://play.google.com/store/apps/details?
id=com.menthoven.arduinoandroid)

Controlling the Brightness of LED Using Arduino and Bluetooth Module(HC-05): Page 1
Step 2: Schematics

Step 3: Program

Controlling the Brightness of LED Using Arduino and Bluetooth Module(HC-05): Page 2
Step 4: Working

The circuit is assembled and the Bluetooth communication is established.

1. In Bluetooth communication, one character is transferred at a time.


2. Numerical digits (0 - 9) is transferred as a character from the Android application, one at a time.
3. Data received by Bluetooth Module(HC-05) is automatically converted to ASCII values with "0"
representing 48(integer) and "9" representing 57(integer).
4. The mapping of the values is done to control the brightness of LED, with "0" representing OFF
state(0V) and "9" representing Brightest state(i.e 5V)

Controlling the Brightness of LED Using Arduino and Bluetooth Module(HC-05): Page 3
Good tutorial. Detailed and well written.

Controlling the Brightness of LED Using Arduino and Bluetooth Module(HC-05): Page 4

You might also like