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

7879 views

1 respects

Components and supplies

1

HC-05 Bluetooth Module

1

LED (generic)

1

Jumper wires (generic)

2

Through Hole Resistor, 1 kohm

1

Through Hole Resistor, 2 kohm

1

Arduino UNO

Apps and platforms

1

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