2024-05-14 16:11:08 +03:00
..
1
2024-05-14 16:11:08 +03:00
1
2024-05-14 16:11:08 +03:00
1
2024-05-14 16:11:08 +03:00

Ping-Pong Example

Send data from primary to secondary.
In the secondary, sent back received data.

Configuration

config-top

config-app

nRF24L01 Address Register Setting

Primary Secondary
TX_ADDR
"FGHIJ"
RX_ADDR_P0
"FGHIJ"
RX_ADDR_P1
"ABCDE"
TX_ADDR
"ABCDE"
RX_ADDR_P0
"ABCDE"
RX_ADDR_P1
"FGHIJ"
(Send Data) -> -> -> -> -> (Get Data) Data to Secondary
(Get Ack) <- <- <- <- (Send Ack) Ack to Primary
(Get Data) <- (Send Data) Data to Primary
(Send Ack) -> -> (Get Ack) Ack to Secondary

Setting Register

The underlined address match on the sending and receiving sides.

Primary Register

Register-Primary

Secondary Register

Register-Secondary

Communicat with Arduino Environment

Run this sketch.
ArduinoCode/Ping-Pong