Wifi gateway : NodeMCU & NRF24L01 - Radio does not work
-
Hi,
Sorry for my English.
I try to run the wifi gateway with a NodeMCU ESP12-E and a NRF24L01 (not 24L01+).
Arduino ide is 1.6.7.
Library sensors is Arduino-development. I tried before with the master library.
radio power is independent of nodemcu.
The wires are checked and connected as on documentation.
First : in the sketch esp8266, i declare ssid, password, static ip address, everything works well.
Second : I enable #define MY_RADIO_NRF24 and #define MY_RF24_DATARATE RF24_1MBPS. Then I get DHCP address (not static like above) and debug give :tail 0 chksum 0x42 csum 0x42 0;0;3;0;9;Starting gateway (RNNGE-, 1.6.0-beta) write_register(0x04,0x5F) write_register(0x06,0x27) write_register(0x06,0x07) write_register(0x00,0x0E) write_register(0x07,0scandone x70) write_register(0x05,0x4C) write_register(0x00,0x0E) STATUS 0x0E RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0 RX_ADDR_P0-1 0x0E0E0E0E0E 0303030303 RX_ADDR_P2-5 0xC3 C4 C5 C6 TX_ADDR 0x0E0E0E0E0E RX_PW_P0-6 0x00 00 00 00 00 00 EN_AA 0x3Fstate: 0 -> 2 (b0) tate: 2 -> 0 (0) f 0, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 1 cntHave you an idea of the problem?
Thanks for your help. -
Hi,
Sorry for my English.
I try to run the wifi gateway with a NodeMCU ESP12-E and a NRF24L01 (not 24L01+).
Arduino ide is 1.6.7.
Library sensors is Arduino-development. I tried before with the master library.
radio power is independent of nodemcu.
The wires are checked and connected as on documentation.
First : in the sketch esp8266, i declare ssid, password, static ip address, everything works well.
Second : I enable #define MY_RADIO_NRF24 and #define MY_RF24_DATARATE RF24_1MBPS. Then I get DHCP address (not static like above) and debug give :tail 0 chksum 0x42 csum 0x42 0;0;3;0;9;Starting gateway (RNNGE-, 1.6.0-beta) write_register(0x04,0x5F) write_register(0x06,0x27) write_register(0x06,0x07) write_register(0x00,0x0E) write_register(0x07,0scandone x70) write_register(0x05,0x4C) write_register(0x00,0x0E) STATUS 0x0E RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0 RX_ADDR_P0-1 0x0E0E0E0E0E 0303030303 RX_ADDR_P2-5 0xC3 C4 C5 C6 TX_ADDR 0x0E0E0E0E0E RX_PW_P0-6 0x00 00 00 00 00 00 EN_AA 0x3Fstate: 0 -> 2 (b0) tate: 2 -> 0 (0) f 0, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 1 cntHave you an idea of the problem?
Thanks for your help.@miclane said:
Hi,
Sorry for my English.
I try to run the wifi gateway with a NodeMCU ESP12-E and a NRF24L01 (not 24L01+).
Arduino ide is 1.6.7.
Library sensors is Arduino-development. I tried before with the master library.
radio power is independent of nodemcu and grounds are interconnected.
The wires are checked and connected as on documentation.
I also changed several radio components.
First : in the sketch esp8266, i declare ssid, password, static ip address, everything works well. I can successfully ping the ip address.
Second : Now, I enable #define MY_RADIO_NRF24 and #define MY_RF24_DATARATE RF24_1MBPS in addition to the sketch. Then I get DHCP address - and not static like above - and debug give :
Radio init failed - Check wiring.
The radio connection is not working and disrupts the wifi connection.Have you an idea of the problem ?
Thanks for your help.
-
Hi,
Sorry for my English.
I try to run the wifi gateway with a NodeMCU ESP12-E and a NRF24L01 (not 24L01+).
Arduino ide is 1.6.7.
Library sensors is Arduino-development. I tried before with the master library.
radio power is independent of nodemcu.
The wires are checked and connected as on documentation.
First : in the sketch esp8266, i declare ssid, password, static ip address, everything works well.
Second : I enable #define MY_RADIO_NRF24 and #define MY_RF24_DATARATE RF24_1MBPS. Then I get DHCP address (not static like above) and debug give :tail 0 chksum 0x42 csum 0x42 0;0;3;0;9;Starting gateway (RNNGE-, 1.6.0-beta) write_register(0x04,0x5F) write_register(0x06,0x27) write_register(0x06,0x07) write_register(0x00,0x0E) write_register(0x07,0scandone x70) write_register(0x05,0x4C) write_register(0x00,0x0E) STATUS 0x0E RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0 RX_ADDR_P0-1 0x0E0E0E0E0E 0303030303 RX_ADDR_P2-5 0xC3 C4 C5 C6 TX_ADDR 0x0E0E0E0E0E RX_PW_P0-6 0x00 00 00 00 00 00 EN_AA 0x3Fstate: 0 -> 2 (b0) tate: 2 -> 0 (0) f 0, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 1 cntHave you an idea of the problem?
Thanks for your help.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login