lektor January & February 2021 61
================ NRF Configuration ================
STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7
TX_FULL=0
RX_ADDR_P0-1 = 0xccccccccc3 0xcccccccc3c
RX_ADDR_P2-5 = 0x33 0xce 0x3e 0xe3
TX_ADDR = 0xe7e7e7e7e7
RX_PW_P0-6 = 0x20 0x20 0x20 0x20 0x20 0x20
EN_AA = 0x3e
EN_RXADDR = 0x3f
RF_CH = 0x5a
RF_SETUP = 0x07
CONFIG = 0x0f
DYNPD/FEATURE = 0x3f 0x04
Data Rate = 1MBPS
Model = nRF24L01+
CRC Length = 16 bits
PA Power = PA_MAX
Notice the output contains statistics from the RF24 module as it is
starting up. It contains valid values for the RX, an address (that is,
non-zero values) as well as the rest of the NRF configuration. If the
RF24 and RF24Network modules were not installed properly, or if
the Raspberry Pi could not communicate with the nRF24 module
via SPI, you would either get an error message from the example
program (it would not start at all), or the configuration values would
be blank. Now the RF24 modules are installed, the Python script
you installed will be able to work.
200517-01
About the Author
Dr. Peter Dalmaris is an
educator, an electrical
engineer, and a maker, as well
as the creator of online video
courses on DIY electronics and
the author of several technical
books. As a Chief Tech
Explorer since 2013 at Tech
Explorations, the company he
founded in Sydney, Australia,
Peter’s mission is to explore
technology and to help educate the world.
Questions or Comments?
Do you have questions or comments about the book? Email
the author at [email protected].
Contributors
Author: Dr. Peter Dalmaris
Illustrations: Dr. Peter Dalmaris
Editor: Jan Buiting
Layout: Giel Dols
1515
16
17
7
88
1
3
5
7
9
VCC
VCC
AVCC
AREF
PB0(ICP1)PB0(ICP1)
PB1(OC1A)
PB2(SS/OC1B)
PB3(MOSI)PB3(MOSI)
PB4(MISO)
PB5(SCK)PB5(SCK)
PB6(XTAL1)PB6(XTAL1)
PB7(XTAL2)
GND
GND
GND
4
6
18
20
1212
13
14
2121
5
3
2
GND
C3 C4 C5
100n 100n 100n
100100 C6
100n
C7
1μ
C1
22p
C2
22p
X1
8MHz
200136-007 KD
MOSIMOSI
MISOMISO
SCK
Post your ideas and
electronics projects
all sizes / all levels / all sorts
at http://www.elektor-labs.com
and become famous!
Create a project now at:
http://www.elektor-labs.com
design > share > sell
29
1 2 3 4 5 6 7
DATA 8
16
15
14
13
12
11
10
9
1-WIRE
RXD
TXD
(RXD)PD0
(TXD)PD1
(INT1)PD3
(T1)PD5
(XCK/T0)PD4
(RESET)PC6
(AIN0)PD6
(AIN1)PD7
(ADC0)PC0
(ADC1)PC1
(ADC2)PC2
(ADC3)PC3
(ADC4/SDA)PC4
(ADC5/SCL)PC5
ADC6
ADC7
MOD1
RXM-433-LR
IC2
LD39015M33R
NC
NC
NC
GND
VCC
PDN
RSSI
DATA
K2
ANT
GND
NC
NC
NC
NC
NC
NC
(^15)
(^34)
IN
EN
GND
NC
OUT
R3 R7
22
0
R1
10
T1
BSN20
LED1
C9
22μ
S1
L1
FERRITE BEAD
L2
FERRITE BEAD
R6
10
k
C6 C7
+5V +3V3
+3V3 +3V3
+3V3
2
3
3
2
1
30
31
9
1
2
10
11
23
24
25
26
27
28
19
22
10
k
(INT0)PD2
LEARN
Post your ideas and
(TXD)PD1
Post your ideas and
(TXD)PD1
Post your ideas and (AIN0)PD6(AIN0)PD6
electronics projects
(AIN1)PD7
electronics projects
(AIN1)PD7
electronics projects(ADC0)PC0(ADC0)PC0
(ADC1)PC1
electronics projects
(ADC1)PC1
all sizes / all levels / all sorts
(ADC3)PC3
all sizes / all levels / all sorts
(ADC3)PC3
all sizes / all levels / all sorts(ADC4/SDA)PC4(ADC4/SDA)PC4
http://www.elektor-labs.com
(INT1)PD3
http://www.elektor-labs.com
(INT1)PD3
http://www.elektor-labs.com(T1)PD5(T1)PD5
Create a project Create a project nownownownownownow at:
http://www.elektor-labs.com http://www.elektor-labs.com http://www.elektor-labs.com http://www.elektor-labs.com
share share > sell sell sellR2R2