Bluetooth Module(HC-05) With Raspberry Pi Pico.

by Manodeep in Circuits > Raspberry Pi

21285 Views, 10 Favorites, 0 Comments

Bluetooth Module(HC-05) With Raspberry Pi Pico.

IMG_5281.jpg

Wireless communication is swiftly replacing the wired connection when it comes to electronics and communication. Designed to replace cable connections HC-05 uses serial communication to communicate with the electronics. Usually, it is used to connect small devices like mobile phones using a short-range wireless connection to exchange files. It uses the 2.45GHz frequency band. The transfer rate of the data can vary up to 1Mbps and is in range of 10 meters.The HC-05 module can be operated within 4-6V of power supply. It supports baud rate of 9600, 19200, 38400, 57600, etc. Most importantly it can be operated in Master-Slave mode which means it will neither send or receive data from external sources.

Supplies

1. HC 05 Bluetooth module.

2. Raspberry Pi Pico

3. Jumper wires

Connect HC05 Bluetooth Module With Raspberry Pi Pico As Shown in the Diagram

Bluetooth.png

Download Serial Bluetooth Terminal App

Link - https://play.google.com/store/apps/details?id=de.kai_morich.serial_bluetooth_terminal&hl=en_IN&gl=US

Connect RPi to Your Pc ,save the Code As BT.py and Run It.

from machine import Pin,UART

uart = UART(0,9600)

while True:
# print('checking BT')
if uart.any():
command = uart.readline()
print(command)

Downloads

Open Mobile App and Connect to the Bluetooth Module.

Output

2021-06-02 (7).png
Screenshot_20210602-100051_Serial Bluetooth Terminal.png