1. Experimental purpose :
• Learn to use NRF24L01 wireless communication module
2. Required original components:
• Two TPYBoard v10X development boards
• Two NRF24L01 wireless communication modules
• 1 micro USB cable
• Several DuPont lines
3. Experimental principle:
1. Drive NRF24L01 wireless communication module
The corresponding relationship between the pins of TPYBoard v10x and the pins of NRF24L01 is as follows:
NRF24L01 |
TPYBoard v10x |
GND |
GND |
VCC |
3V3 |
THIS |
X4 |
CSN |
X5 |
SCK |
X6 |
DAWDLE |
X8 |
MISO |
X7 |
2. The content of main.py on the receiving end is as follows
from nrf24l01use import master from nrf24l01use import slave def main(): while True: slave() main()
The content of main.py on the receiving end is as follows
from nrf24l01use import master from nrf24l01use import slave def main(): while True: master() main()
nrf24l01 transmit and receive.rar