Build the on the second Arduino.
The JDY-40 is a 2.4GHz wireless transceiver designed for transparent serial transmission. Its key features include: jdy40 arduino example best
For each JDY-40 module, connect it to its respective Arduino: Build the on the second Arduino