Jdy40 Arduino Example Best =link= -

Posted by

Published:

Sep 03, 2024

Reviewed by

Updated:

Apr 02, 2026

min. read

Jdy40 Arduino Example Best =link= -

Mastering the JDY-40 Wireless Module with Arduino: A Complete Guide

Chip Select / Sleep Pin (Pull LOW for normal operation/AT mode, pull HIGH for sleep mode)

Power supply (Supports 2.2V to 3.6V. Note: Use a 3.3V pin on Arduino, or an external regulator ). GND: Ground connection. TXD: Serial transmit pin (connects to Arduino RX). jdy40 arduino example best

Before sending data, you must ensure that both your transmitting and receiving modules are configured to the same channel, wireless ID, and baud rate.

The JDY-40 is a . While its serial pins (RX/TX) are often tolerant to 5V Arduino logic, you must power it with 3.3V. JDY-40 Pin Arduino Pin Description VCC Power Supply (2.2V - 3.6V) GND RXD Pin 11 (SoftSerial TX) Serial input to module TXD Pin 10 (SoftSerial RX) Serial output from module SET Pin 9 (or GND for AT) Low (GND): AT Command mode; High: Data mode CS Low: Awake; High: Sleep mode 2. Best Code Example: Transparent Serial Mastering the JDY-40 Wireless Module with Arduino: A

Upload this configuration sketch to both Arduinos individually. Open your Serial Monitor at (set to Both NL & CR ).

Operating on the 2.4GHz band with a range of up to 120 meters, this versatile transceiver uses simple AT commands for configuration and communicates via standard Serial (UART). TXD: Serial transmit pin (connects to Arduino RX)

AT+RFCH5 AT+ADDR1234 AT+DEFAULT (if something breaks)

The JDY-40 turns a complex wireless link into a simple serial connection. Use 3.3V, match baud rates, and you’ll have two Arduinos talking in under 5 minutes.

Featured Insights & Articles