Arduino UNO Bluetooth LED Controls

How to Build a Bluetooth controlled LED light Setup Using Arduino UNO board:

Let's build an IoT project using Arduino UNO and the Bluetooth module HC-05 to control an LED. In this project, we will use an android Smartphone to send a Bluetooth signal to the Bluetooth module.

Requirements of hardware in this Project:

  1. Arduino UNO board
  2. A USB cable for connector Arduino UNO board
  3. Bluetooth Module HC-05
  4. Jumper wires male to female
  5. LED light
  6. Android Phone

Requirements of software in this Project:

  1. Arduino software (To program the Arduino board, we need to download the Arduino software.)
  2. Android Studio

The Working principle of this Project:

There are three main components used:

  1. Android Smartphone
  2. Bluetooth transceiver 
  3. Arduino UNO board

The Android application is designed to send serial data to the Bluetooth Module HC-05 by pressing the ON button as the Bluetooth Module HC-05 works on serial communication. Receive the application data and send it through the TX pin of the Bluetooth module to the Arduino board RX pin. The code downloaded within the Arduino board verifies the data received. If the received data is 1, the LED lights turn ON, and if the received data is 0, the LED Lights turn OFF.

Write the following program in Arduino IDE:

IoT Project

Save the program and compile it.

2

Connect your Arduino UNO board to your laptop or desktop computer via Arduino UNO USB cable. Remove all other connections with the Arduino UNO board, such as the Bluetooth module and LEDs, then upload the program to the Arduino UNO board.

3
4

Before uploading the code to the Arduino UNO board, make sure that Arduino serial port is selected. Otherwise, an error message Serial port not selected is displayed on the screen.

Select your serial port in your laptop or desktop:

Open Device Manager -> Ports -> Arduino Uno, and then upload your program.

5

After uploading the program in the Arduino UNO board, connect all modules with the Arduino UNO board, such as the Bluetooth module and LEDs. The Digital circuit diagram image is shown below:

IoT Project6
IoT Project7

After connecting all the modules with the Arduino board, connect Bluetooth modules HC-05 with the smartphone. Consider the screenshots below:

IoT Project8

When you click on the "ON" button, the Android application sends data 1 to the Bluetooth module. This data is transmitted from the Bluetooth module HC-05 to the Arduino UNO board, and the LED is on.

9

When you click OFF, the Android application sends the 0 data to the Bluetooth module. This data is transmitted from the Bluetooth module HC-05 to Arduino UNO board. The light turns off.

IoT Project10

Related Topics

Arduino UNO Bluetooth LED Controls

How to Build a Bluetooth controlled LED light Setup Using Arduino UNO board: Let's build an IoT project using Arduino UNO and the Bluetooth module HC-05 to control an LED. In this project,...

2 minutes read.

Arduino UNO Home Automation

Build a Bluetooth controlled Home Automation Setup Using Arduino UNO board and Relay module Do you want to automate your home? Have you ever wanted to control your home appliances by swipe the screen...

4 minutes read.

5G

The next generation of mobile networks is a new global wireless standard after 1G, 2G, 3G, and 4G networks. It enables a new network to connect virtually everyone, including machines,...

5 minutes read.

What is an IoT Device?

A device in which a sensor is connected and able to transfer data from one device to another over the internet is called an IoT device. IoT devices consist of software, wireless sensors, actuators,...

1 minute read.

IoT Tutorial

IoT stands for the Internet of Things. The term "Things" refers to objects (home appliances and devices) that we use in our daily life. These objects are accessible or connected...

4 minutes read.

IoT GE Predix

The GE Predix stands for the General Electric Predix. GE Predix is a software platform that collects data from industrial instruments. It provides a cloud-based PaaS (platform as a service)...

1 minute read.

Challenges of IoT

Challenges of IoT There are two categories of challenges to overcome for the IoT organization to grow. It is accepted by all the technologies not only for IoT. Two significant challenges in IoT: Technological...

3 minutes read.

Arduino UNO Distance Project

Ultrasonic Sensor HC-SR04 and Arduino to distance calculation using Processing App: Let's build an IoT project using Ultrasonic HC-SR04 Sensor and Arduino UNO to calculate the distance between the Ultra Sonic HC-SR04 device and...

2 minutes read.

Arduino UNO Board with PIR Motion Sensor

Arduino UNO Board with PIR Motion Sensor In this project, we will create a simple circuit with an Arduino UNO and PIR motion sensor detects movement. An LED light up when the movement...

2 minutes read.

Salesforce IoT Cloud

Salesforce IoT Cloud IoT Cloud is a platform from Salesforce. Salesforce is designed to store and process IoT data. It is powered by Thunder. Thunder is an event processing engine designed to capture, filter, and...

2 minutes read.

Components of IoT

There are the following components used in IoT: Devices and sensorsCloud ComputingUser interfaceNetworking connectionGateway Devices and sensors Devices and sensors are the components of the connectivity layer. These smart sensors continuously collect data from the...

2 minutes read.

IoT - Platform

IoT Platform: As in IoT, all IoT devices are connected to other IoT devices and applications to transmit and receive information through protocols. There is a difference between the IoT...

2 minutes read.

IoT Protocols

IoT Protocols A protocol is a set of basic rules that allow electronic devices to communicate with each other. These instructions include the types of data that can be sent, the...

1 minute read.

IoT Hardware

IoT hardware includes a wide range of devices, such as routing devices, bridges, sensors, etc. These IoT devices support key tasks and functions such as system activation, security, action specifications, communication, and detection...

2 minutes read.

IoT Architecture

Our approach to the IoT architecture is reflected in the IoT architecture diagram that presents the diagram of an IoT system and explains how it is connected to store, collect,...

2 minutes read.

Skills required for an IoT Developer

"Internet of Things" is about communication between software and devices. An IoT development team should be essentially large, and developers are divided into different areas according to their respective work. Some of these...

1 minute read.

Arduino UNO Radar Project

Arduino Radar Project In this project, we will explain how to create a simple radar system using Arduino and Processing IDE. The Arduino radar project is implemented using Processing Applications. Radar is a long-range object detection...

9 minutes read.

IoT Technologies

The IoT is based on three main technologies: Hardware (includes chips and sensors)Communication (includes wireless network)  Software (includes data storage, analytics, front-end applications) The reason the Internet of Things is emerging so rapidly today...

1 minute read.

Major Boards of IoT

Major Boards of IoT Arduino:  Arduino UNO is the popular open-source electronics platform based on easy-to-use software and hardware. It is intended for artists, hobbyists, designers, and anyone interested in building interactive objects. It...

2 minutes read.

Internet of Things

The Internet of Things is a network of objects embedded with sensors, software, and other technologies for connecting and exchanging data with other devices and systems over the internet. These devices...

5 minutes read.