Jdy40 Arduino Example Best Jun 2026
Build the on the second Arduino.
Before sending data, you must configure both modules to share the same channel and address. You need an Arduino running a basic software serial passthrough sketch to send these commands. The Configuration Setup Connect pin to Arduino GND . Connect VCC to 3.3V and GND to GND . Connect TXD to Arduino Pin 2 and RXD to Arduino Pin 3.
(jdySerial.available()) Serial.write(jdySerial.read()); // Read from Serial Monitor and send to JDY-40 jdy40 arduino example best
Pull LOW to enter AT command mode; leave HIGH/Floating for communication. 2. Arduino Code Flash this same code to Arduino boards.
#include <SoftwareSerial.h>
With both modules powered and programmed, any character you type into the Serial Monitor of one Arduino will appear on the Serial Monitor of the other.
This guide covers everything you need to know about the JDY-40. You will learn how it works, how to configure it with AT commands, and how to build a working transmitter and receiver system. Understanding the JDY-40 Module Build the on the second Arduino
Have you used the JDY-40 in a project? Let me know in the comments below!