Strengths
The is a versatile 2.4GHz wireless serial transceiver module that stands out for its simplicity, long-range capabilities (up to 120 meters), and built-in GPIO control modes . Unlike standard Bluetooth modules (like the HC-05) that typically have a 10m range, the JDY-40 acts more like a wireless serial cable, making it one of the best choices for long-distance Arduino projects. Key Specifications Operating Frequency: 2.4GHz Range: Up to 120 meters (line of sight)
digitalWrite(3, LOW); // LOW = AT Command Mode delay(300); // Short delay to stabilize jdy40 arduino example best
2.2V to 3.6V (strictly 3.3V logic; 5V will damage it).
. It is highly valued for its simplicity, as it uses a standard UART interface that can be controlled with basic serial commands on an Arduino MSS Eletrônica 1. Hardware Setup & Pinout operates on iFuture Technology . Connecting it to a 5V source may damage the module : 2.2V to 3.6V MSS Eletrônica : System ground. : Connect to the Arduino's RX/TX pins (cross-connected) iFuture Technology Strengths The is a versatile 2
Pull LOW for AT Command mode; pull HIGH/Floating for Communication mode Chip Select / Sleep
void setup() Serial.begin(9600); bluetooth.begin(9600); Connecting it to a 5V source may damage the module : 2
Instead of using a PC serial terminal, you can write a simple Arduino sketch to configure your modules. This is especially useful if you need to set the channel and ID on the fly or if you are deploying many modules.
*Using SoftwareSerial is recommended to keep the hardware Serial port free for debugging. 2. Configuration (AT Mode)
| Feature | JDY-40 | nRF24L01 | | :--- | :--- | :--- | | | VCC, GND, TX, RX | 8 pins, complex SPI | | Library | None (Serial) | RF24 (complex) | | Configuration | AT commands over Serial | Registers via SPI | | Reliability | Very stable | Prone to noise/power issues |