The JDY-62 is a Bluetooth module designed for wireless communication, offering a compact design and low power consumption. It supports serial communication (UART) and operates on the Bluetooth 4.2 protocol, making it ideal for short-range wireless data transmission. This module is widely used in IoT applications, enabling devices to connect seamlessly to smartphones, tablets, or other Bluetooth-enabled devices. Its ease of integration and reliable performance make it a popular choice for smart home devices, wearable technology, and industrial automation.
Below are the key technical details of the JDY-62 module:
Parameter | Value |
---|---|
Bluetooth Version | Bluetooth 4.2 |
Communication Interface | UART (Serial) |
Operating Voltage | 3.3V to 6V |
Operating Current | 8mA (typical) |
Transmission Distance | Up to 30 meters (open space) |
Baud Rate | Default: 9600 bps (configurable) |
Operating Temperature | -40°C to +85°C |
Dimensions | 26mm x 13mm x 2.2mm |
The JDY-62 module has 6 pins, as described in the table below:
Pin | Name | Description |
---|---|---|
1 | VCC | Power supply input (3.3V to 6V). |
2 | GND | Ground connection. |
3 | TXD | UART Transmit pin. Sends serial data to the connected device. |
4 | RXD | UART Receive pin. Receives serial data from the connected device. |
5 | STATE | Indicates the connection status (HIGH when connected, LOW when disconnected). |
6 | EN | Enable pin. Used to enable or disable the module (active HIGH). |
Below is an example of how to connect and use the JDY-62 module with an Arduino UNO:
#include <SoftwareSerial.h>
// Define RX and TX pins for SoftwareSerial
SoftwareSerial BTSerial(10, 11); // RX = Pin 10, TX = Pin 11
void setup() {
Serial.begin(9600); // Start Serial Monitor at 9600 bps
BTSerial.begin(9600); // Start Bluetooth communication at 9600 bps
Serial.println("JDY-62 Bluetooth Module Test");
Serial.println("Send data via Serial Monitor to transmit via Bluetooth.");
}
void loop() {
// Check if data is available from Bluetooth
if (BTSerial.available()) {
char c = BTSerial.read();
Serial.print("Received from Bluetooth: ");
Serial.println(c);
}
// Check if data is available from Serial Monitor
if (Serial.available()) {
char c = Serial.read();
BTSerial.print(c); // Send data to Bluetooth
Serial.print("Sent to Bluetooth: ");
Serial.println(c);
}
}
SoftwareSerial
to avoid conflicts with the Arduino's hardware serial pins (0 and 1).Module Not Powering On:
No Bluetooth Device Found:
Data Transmission Issues:
Unstable Connection:
Q: Can I change the module's name and PIN?
A: Yes, you can use AT commands to configure the module's name, PIN, and other settings. Refer to the JDY-62 AT command set for details.
Q: What is the maximum data rate supported by the JDY-62?
A: The JDY-62 supports a maximum baud rate of 115200 bps.
Q: Can the JDY-62 work with 5V logic levels?
A: The JDY-62 operates at 3.3V logic levels. If your microcontroller uses 5V logic, use a level shifter to avoid damaging the module.
Q: How do I reset the module to factory settings?
A: Send the AT command AT+RESET
to restore the module to its default configuration.
By following this documentation, you can effectively integrate the JDY-62 Bluetooth module into your projects and troubleshoot common issues with ease.