Welcome, Guest
Username: Password: Remember me
General topics about hardware.

TOPIC: nRF24L01+ 250kbps problem

nRF24L01+ 250kbps problem 3 months 3 weeks ago #3508

  • jgrolik
  • jgrolik's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
Hi,

Some time ago I bought nRF24L01+ from Nettigo.eu and connected it to low power hacked Arduino Pro Mini.
After few complications with older versions Arduino and bootloader finally I programmed it via "external programmer".
I set 250 kbps as the default speed in the MyConfig.h library, and flashed it with door_window_sensor.
Unfortunately there was no communication between Raspberry Pi and sensor.
I changed channels, added capacitors to power supply of nRF24L01+ and nothing (timeout when adding node)
Finally I changed the speed to 1MBPS and it started to communicate with server.

They are marked as + so they should work with 250 kbps modulation.

Any suggestions ?

PS: Unfortunately I have problems with debugging with Arduino via RS.

PS: On Raspberry I get that status :
2016-09-27T20:39:51.2535250+02:00       INFO    System                          System started
wrz 27 20:39:56  Web service started
wrz 27 20:39:57  Listening on port(s):80, 1301
================ SPI Configuration ================
CSN Pin          = CE0 (PI Hardware Driven)
CE Pin           = Custom GPIO25
Clock Speed      = 8 Mhz
================ NRF Configuration ================
STATUS           = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1     = 0xe7e7e7e7e7 0xc2c2c2c2c2
RX_ADDR_P2-5     = 0xff 0xc4 0xc5 0xc6
TX_ADDR          = 0xe7e7e7e7e7
RX_PW_P0-6       = 0x00 0x00 0x20 0x00 0x00 0x00
EN_AA            = 0x3b
EN_RXADDR        = 0x07
RF_CH            = 0x64
RF_SETUP         = 0x07
CONFIG           = 0x0e
DYNPD/FEATURE    = 0x3f 0x06
Data Rate        = 1MBPS
Model            = nRF24L01+
CRC Length       = 16 bits
PA Power         = PA_MAX
2016-09-27T20:39:58.0126650+02:00       INFO    RPiGPIO Pin_P1_07       Sensor.DigitalValue     0       -
2016-09-27T20:39:58.1565400+02:00       DEBUG   Esp8266                         ESP8266 Connect
2016-09-27T20:39:58.2054710+02:00       DEBUG   Esp8266                         Server Started

So it looks like it is nRF24L01+
Last Edit: 3 months 3 weeks ago by jgrolik.
The administrator has disabled public write access.

nRF24L01+ 250kbps problem 3 months 3 weeks ago #3509

  • jgrolik
  • jgrolik's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
I have finally succeed with serial debugging :-)

And this is what I get:
send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,st=fail:
                                                     req node id
                                                                send: 255-255-255-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
                                   sensor started, id 255
                                                         req node id
                                                                    send: 255-255-255-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
                                       req node id
                                                  send: 255-255-255-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
                     req node id
                                send: 255-255-255-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
   req node id
              send: 255-255-255-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
                                                                 req node id
                                                                            send: 255-255-255-0 s=255,c=3,t=3,pt=0,l=0,st=fail:
The administrator has disabled public write access.

nRF24L01+ 250kbps problem 3 months 2 weeks ago #3524

  • EasyIoT
  • EasyIoT's Avatar
  • Offline
  • Administrator
  • Posts: 773
  • Thank you received: 248
  • Karma: 23
jgrolik wrote:
Hi,

Some time ago I bought nRF24L01+ from Nettigo.eu and connected it to low power hacked Arduino Pro Mini.
After few complications with older versions Arduino and bootloader finally I programmed it via "external programmer".
I set 250 kbps as the default speed in the MyConfig.h library, and flashed it with door_window_sensor.
Unfortunately there was no communication between Raspberry Pi and sensor.
I changed channels, added capacitors to power supply of nRF24L01+ and nothing (timeout when adding node)
Finally I changed the speed to 1MBPS and it started to communicate with server.

They are marked as + so they should work with 250 kbps modulation.

Any suggestions ?

PS: Unfortunately I have problems with debugging with Arduino via RS.

PS: On Raspberry I get that status :
2016-09-27T20:39:51.2535250+02:00       INFO    System                          System started
wrz 27 20:39:56  Web service started
wrz 27 20:39:57  Listening on port(s):80, 1301
================ SPI Configuration ================
CSN Pin          = CE0 (PI Hardware Driven)
CE Pin           = Custom GPIO25
Clock Speed      = 8 Mhz
================ NRF Configuration ================
STATUS           = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1     = 0xe7e7e7e7e7 0xc2c2c2c2c2
RX_ADDR_P2-5     = 0xff 0xc4 0xc5 0xc6
TX_ADDR          = 0xe7e7e7e7e7
RX_PW_P0-6       = 0x00 0x00 0x20 0x00 0x00 0x00
EN_AA            = 0x3b
EN_RXADDR        = 0x07
RF_CH            = 0x64
RF_SETUP         = 0x07
CONFIG           = 0x0e
DYNPD/FEATURE    = 0x3f 0x06
Data Rate        = 1MBPS
Model            = nRF24L01+
CRC Length       = 16 bits
PA Power         = PA_MAX
2016-09-27T20:39:58.0126650+02:00       INFO    RPiGPIO Pin_P1_07       Sensor.DigitalValue     0       -
2016-09-27T20:39:58.1565400+02:00       DEBUG   Esp8266                         ESP8266 Connect
2016-09-27T20:39:58.2054710+02:00       DEBUG   Esp8266                         Server Started

So it looks like it is nRF24L01+


Did you change baudrate also on RP? I see 1MBPS in debug output.
The administrator has disabled public write access.

nRF24L01+ 250kbps problem 3 months 2 weeks ago #3525

  • jgrolik
  • jgrolik's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
Thanks for reply.

Yes I changed on RPi . The status I included was from working node.
Last night I solved the problem. I changed the RF channel to 110 :-) so probably it was noise from WiFi frequency or some wireless device. RF channel 110 is outside the WiFi frequencies. It is quite strange because I doubly check on what WiFi frequencies I have signals using WiFi scanner. I thought that if there is 3 WiFi channel free space between nRF24L01+ freq. it will be enough.
But why it was working on 1MBPs (on limited distance ca. 3-4m) ?
Last Edit: 3 months 2 weeks ago by jgrolik.
The administrator has disabled public write access.
Time to create page: 0.130 seconds
Powered by Kunena Forum