Jdy40 Arduino Example Best (2025)

The JDY-40 is a compact 2.4GHz wireless transceiver that functions like a wireless serial cable. It is widely used for Arduino projects due to its simplicity, low power consumption (5uA in sleep), and a range of up to 120 meters in open areas. 1. Essential Wiring

The Ideal Wiring (Arduino Uno / Nano)

| JDY-40 Pin | Arduino Pin | Notes | | :--- | :--- | :--- | | VCC | 3.3V (Not 5V!) | Using 5V will eventually kill the module. | | GND | GND | Common ground is mandatory. | | TX | Pin 2 (SoftwareSerial) | Do not use hardware Serial (Pins 0/1) for data. | | RX | Pin 3 (SoftwareSerial) | Use a voltage divider (3.3V logic is safer). | | SET | Pin 4 (Optional) | Pull LOW to enter AT command mode. | jdy40 arduino example best

AT+BAUD: Set the baud rate. Default is 4 (9600). Options range from 1 (1200) to 6 (19200). The JDY-40 is a compact 2

Example Use Cases:

Why choose JDY-40 over nRF24L01?

The JDY-40 is a Bluetooth 4.0 module based on the CSR8510 chipset. It supports a wide range of Bluetooth protocols, including SPP (Serial Port Protocol), HID (Human Interface Device), and more. The module operates at a frequency of 2.4 GHz and has a maximum data transfer rate of 1 Mbps. Essential Wiring The Ideal Wiring (Arduino Uno /

SoftwareSerial jdy40(2, 3); String buffer = "";