top of page

Jdy40 Arduino Example Best «Premium · SERIES»

The Go to product viewer dialog for this item. is a versatile 2.4GHz wireless serial transceiver module popular for Arduino projects due to its low power consumption ( 40mA40 m cap A

Why choose JDY-40 over nRF24L01?

Because the JDY-40 is a 3.3V logic device, you must use a level shifter or a simple voltage divider when connecting it to a 5V Arduino (like the Uno). JDY-40 Pin Arduino Pin (5V Uno) VCC DO NOT connect to 5V. GND Common ground. RXD 7 (SoftSerial TX) Use voltage divider for safety. TXD 6 (SoftSerial RX) Direct connection is fine. SET GND / 3.3V GND for AT mode; 3.3V/Floating for Transmit mode. CS Ground this to "Wake" the module. Arduino Example Code (Transmitter & Receiver) jdy40 arduino example best

void loop() if (Serial.available()) String data = Serial.readStringUntil('\n'); Serial.println(data); // Send to Serial Plotter

#include <SoftwareSerial.h>

JDY-40 & Arduino: The Ultimate Guide to Simple, Low-Power Wireless

If you need a cheap, simple, and low-power way to send data wirelessly between two Arduinos, you have probably stumbled upon the JDY-40. Unlike the famous (but finicky) nRF24L01, the JDY-40 is dead simple to use. It acts like a wireless serial cable. The Go to product viewer dialog for this item

*Using SoftwareSerial is recommended to keep the hardware Serial port free for debugging. 2. Configuration (AT Mode)

to enter AT command mode for configuration; leave floating or pull for transparent communication Robokits India : Chip Select. Pull to wake the module; pull for low-power sleep mode Robokits India 2. Best Configuration: AT Commands JDY-40 Pin Arduino Pin (5V Uno) VCC DO NOT connect to 5V

| JDY-40 Pin | Arduino Uno Pin | Notes | | :--- | :--- | :--- | | VCC | 3.3V | Do not connect to 5V unless board has a regulator. | | GND | GND | Common ground is required. | | TX | Digital Pin 2 | (Uses SoftwareSerial) | | RX | Digital Pin 3 | (Use 1K-2K Resistor Divider for safety) | | EN | 3.3V | Must be HIGH for the module to run. |

bottom of page