Design principles

Use a different wireless channel, well out of the way of Wifi:

2400MHz + <channel 110> = 2510MHz

#define MY_RF24_CHANNEL 110

Used components

Wiring

How to connect the NodeMCU

NodeMCU

How to connect the NRF24L01+

NRF24L01+

Note: The IRQ is currently not used by the MySensors library so it can be left un-connected.

Component Pin Wire Pin Component
NRF24L01+ VCC red 3V3 NodeMCU
NRF24L01+ GND black GND NodeMCU
NRF24L01+ CE orange -> gray D2 NodeMCU
NRF24L01+ CSN/CS yellow -> white D8 NodeMCU
NRF24L01+ SCK green D5 NodeMCU
NRF24L01+ M0 (MOSI) blue D7 NodeMCU
NRF24L01+ M1 (MISO) violet/purple D6 NodeMCU
PowerSupply 9-12V red Vin NodeMCU
PowerSupply GND black GND NodeMCU

First sign of life

Here:

60 MCO:BGN:INIT GW,CP=RNNGE---,FQ=80,REL=255,VER=2.3.2
117 TSF:LRT:OK
133 TSM:INIT
147 TSF:WUR:MS=0
170 TSM:INIT:TSP OK
191 TSM:INIT:GW MODE
213 TSM:READY:ID=0,PAR=0,DIS=0
245 MCO:REG:NOT NEEDED
scandone
1338 GWT:TIN:CONNECTING...
2367 GWT:TIN:CONNECTING...
scandone
state: 0 -> 2 (b0)
4129 GWT:TIN:CONNECTING...
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 4
cnt

connected with FRITZ7340, channel 1
dhcp client start...
ip:10.0.3.79,mask:255.255.0.0,gw:10.0.3.1
4337 GWT:TIN:IP: 10.0.3.79
4366 MCO:BGN:STP
4384 MCO:BGN:INIT OK,TSP=1
4412 TSM:READY:NWD REQ
4439 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
Tags: domotica nodes
Comments: