The HC-05 Bluetooth module is a high performance and consumes very little energy. Also, its dimensions are small. The product can be used in your innovative projects where you need to transmit data very easily but not by cable at reasonable distances of up to 10 m.
See Description for more details about the product.
Add to cart now!
25 Item Items
Warning: Last items in stock!
A very common example is the communication between the laptop and a robot from which you want to collect real-time data. For example, you can see how a line follower robot behaves as you go along the path and fix some problems.
The procedure to enter the AT mode is the following:
- Feed the module
- Press the small button (no need to hold the push), the LED should start to blink rapidly about 5 times per second
- The module enters AT mode with baud rates of 9600 (which can be modified later)
In order to configure it with Arduino, the Arduino program is uploaded and the "Both NL & CR" serial number is set from the Arduino serial monitor.
The program uses the SoftwareSerial.h library to create a UART-based communication channel through the digital pins 2 and 3 (any digital pins can be used). Power up the module (supports power supply voltages between 3.6 V and 6 V) and go into AT mode (Module control module). You can communicate with the module via the serial monitor.
Here are some commands:
• AT - check the connection - return OK
• AT + ROLE = 1 - device e master = 0 - device e slave
• AT + RESET - reset the device (will enter data)
• AT + PSWD = the access password is changed (default: 1234)
• AT + ADDR - returns the device address
To communicate with the Bluetooth module on your laptop (if it has this capability), use a serial communication program such as Putty, Terra Term or Real Term. They can be downloaded very easily and free of charge from the internet. To communicate with the Bluetooth module it must be in slave mode. Use your master device and send your 1234 password to your device (use the AT commands to find out this address - this will be in the format xxxx: x: xxxxxx).
There are numerous apps on Android (like S2 Terminal for Bluetooth), but also for other mobile operating systems. They offer graphical interfaces that make connection and communication very simple. To control a robot using these modules, you need to use laptop or phone Bluetooth or connect an identical module to your laptop with a USB-Serial converter such as the FTDI chip module.
The HC-05 card will read information from the laptop and send it to the robot that will retrieve the information and send it to Arduino and it will interpret the data and give the robot the necessary commands.
H34A 433 MHz Miniature Transmitter Module, 4.2...
M2 White Plastic Hexagonal Pilar (7 mm)
Infrared (IR) break-beam sensors are a simple...
Self-Locking Nylon Cable Ties,100 mm x 2.5 mm,...
Soldering copper Silver Zinc and nickel...
This Metric Titanium Coated High Speed Steel...
W25Q32 32 MBit Non Volatile Memory Module with...
Plastic Hexagonal Nuts, White, M3
Separated Female-Male Wire- 20 cm
This is a highly integrated mini Wi-Fi module...