Basic Bluetooth communication with Arduino & HC-05

Establish a BT connection, send command to turn LED on and off and check the status of the LED.

Jul 3, 2021

9379 views

1 respects

Devices & Components

1

Arduino Uno Rev3

1

HC-05 Bluetooth Module

1

LED (generic)

1

Jumper wires (generic)

2

Through Hole Resistor, 1 kohm

1

Through Hole Resistor, 2 kohm

Software & Tools

Arduino IDE

1

Bluetooth terminal (Android)

Project description

Code

Code

arduino

This code will allow to set an output (pin 13) to either high or low using the commands "on" and "off". In addition to that, we can check the status of the pin with the command "status".

Code

arduino

This code will allow to set an output (pin 13) to either high or low using the commands "on" and "off". In addition to that, we can check the status of the pin with the command "status".

Downloadable files

Terminal

Terminal

Image

Wiring

Wiring

Image

Terminal

Terminal

Image

Wiring

Wiring

Image

Prototype

Prototype

Image

Comments

Only logged in users can leave comments

superturis

0 Followers

0 Projects

0