Description
What it is
The HJ-580 module is a Bluetooth UART Serial transceiver based on the DA14580 technology, designed for wireless serial communication between electronic devices such as Arduino.
Features
- Technology: DA14580
- Dimensions: 5 x 6.2mm
- SKU: ARD009172
What it is for
Bluetooth UART modules are useful for IoT projects, remote monitoring, and mobile interfaces. The HJ-580 module can be used to wirelessly connect devices to an Arduino microcontroller or ESP.
Tutorial: How to use HJ-580 Bluetooth UART Module
The HJ-580 Bluetooth UART module is ideal for wirelessly connecting devices to an Arduino microcontroller. Useful for IoT projects, remote monitoring, and mobile interfaces.
What you need
- Arduino Uno or compatible
- 5V power cable
- Micro USB for loading
- Computer for code loading
- Mass termination connector
- Datasheet data
Steps
- 1. Assemble the module on a protoboard or printed circuit board.
- 2. Connect VCC to the 5V of the Arduino.
- 3. Connect GND to the ground of the Arduino.
- 4. Connect RX of the module to TX of the Arduino.
- 5. Connect TX of the module to RX of the Arduino.
- 6. Install a ground aggregator at the module connector.
- 7. Load the provided Arduino code.
- 8. Configure Bluetooth on the remote device.
Example code
```
#include <SoftwareSerial.h>
SoftwareSerial bluetooth(2, 3); // RX, TX
void setup() {
Serial.begin(9600);
bluetooth.begin(9600);
}
void loop() {
if (Serial.available()) {
bluetooth.write(Serial.read());
}
if (bluetooth.available()) {
Serial.write(bluetooth.read());
}
}
```
Mini project
Create a remote device that controls an LED with your smartphone using Bluetooth.
Common mistakes
- Connect the module incorrectly.
- Omit the installation of the ground aggregator.
- Set the baud rate incorrectly.
- Forget to load the Arduino code.
Recommended accessories
- Arduino Uno
- Ground Aggregator
- USB Cable
- Mobile with Bluetooth
Frequently asked questions
Can I use a different power supply than 5V?
Check the datasheet. Other voltages could damage the module.
Does the module work with Arduino Nano?
Yes, but check pin compatibility.
How long does the batter last?
Check the datasheet. It depends on usage intensity.
Can I use the module with an STM32 microcontroller?
Check pin and baud rate compatibility.








Reviews
There are no reviews yet.