Sniffing nrf24l01 traffic with wireshark [DEBUG] and possible FAKES

597 views
Skip to first unread message

Juan Pinto

unread,
Feb 24, 2015, 10:15:00 AM2/24/15
to sou...@googlegroups.com
Hi, I don't tested yet, but this could be useful to Debug errors on nRF
 
 
There is another post on hackaday, maybe most of the problems with nRF modules are caused because this modules are funtional fakes maded with 350nm technology and with more power consumption and worst signal
 
 
Regards

Di Maio, Dario

unread,
Feb 24, 2015, 10:24:41 AM2/24/15
to sou...@googlegroups.com
Good to read.

--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/a042e4eb-98f3-48f9-a8d0-c4751ee69bed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Juan Pinto

unread,
Mar 3, 2015, 5:33:36 PM3/3/15
to sou...@googlegroups.com
The second one is totally real I tested Si24R1 modules and I have more problems with this modules. Take care about.

Regards

Di Maio, Dario

unread,
Mar 3, 2015, 6:04:23 PM3/3/15
to sou...@googlegroups.com

But on the IC the label is nrf24? Unfortunately sometimes cheap boards are bad designed or use low quality products.

Even Arduino clones may give problems for bad power supply design.

Dario.

From Mobile.

Juan Pinto

unread,
Mar 3, 2015, 6:15:56 PM3/3/15
to sou...@googlegroups.com

Isn't,  are labeled as sr24r1

You received this message because you are subscribed to a topic in the Google Groups "souliss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/souliss/DBLLa1XOOkY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to souliss+u...@googlegroups.com.

To post to this group, send email to sou...@googlegroups.com.

Juan Pinto

unread,
Mar 3, 2015, 8:33:59 PM3/3/15
to sou...@googlegroups.com

Can you take a look to this?
http://www.wayengineer.com/mk-nrf24l01-si24r01-power-enhanced-version-24g-wireless-module-p-3442.html#.VPZgOJ-0rqA

I've problems on emission,  maybe this can solve my problems.

Regards

Juan Pinto

unread,
Mar 3, 2015, 8:35:14 PM3/3/15
to sou...@googlegroups.com

Here is the text on the link:
NRF24L01+ SI24R01 power enhanced version 2.4G wireless module
SI24R1 and NRF24L01 are completely compatible (SPI register, definition timing, the state diagram), which can communicate with each other, support NRF24L01+ all communication functions 
1: 7dBm output power
SI24R1 default mode output power is 2~3dBm, if you want to output 7dBm, the register address 0x06 (RF_SETUP) the lowest register write 1 (NRF24L01+ without the use of the bit, the default is 0), namely 0x06 register a minimum of four to 1111 
2: SI24R1 emission problem
Launch operation mode of SI24R1 and NRF24L01+ exactly the same, cause problems: if the register is powerdown mode operation, higher CE to at least 2ms, because the powerdown model of crystal does not work, crystal is from close to emission data need about 2ms. If the standbyI mode to drop-down CE high, that is not problem, CE only needs a pulse of 10us, because under the mode of standbyI crystal is the work (current is very small, only dozen microamperes)

Juan Pinto

unread,
Mar 3, 2015, 8:43:48 PM3/3/15
to sou...@googlegroups.com

Sorry by the multiple posts,  I'm on mobile. Here is a last link, it says that with a low payload (8b instead 12) the range has increased from 50m to 80m on an open area.

http://hallard.me/nrf24l01-real-life-range-test/

Good night :)

Di Maio, Dario

unread,
Mar 4, 2015, 1:17:45 AM3/4/15
to sou...@googlegroups.com

We use larger payloads (32 bytes).

Dario.

From Mobile.

Juan Pinto

unread,
Mar 4, 2015, 7:44:00 AM3/4/15
to sou...@googlegroups.com

And this?  I don't know how to set output to 7db and maybe we need to add a 2ms delay somewhere. I'll investigate tonight but any help is appreciated.

Regards

El 04/03/2015 02:35, "Juan Pinto" <juanp...@gmail.com> escribió:

Juan Pinto

unread,
Mar 4, 2015, 12:18:02 PM3/4/15
to sou...@googlegroups.com
Hi again, Im looking how to set bit 0 in RF_SETUP to 1 but I don't know how, and I need to put a delay of 2ms on the transition from power-down to standby. Source:
 
And another topic related, I found a library that handles nRF 485, RF69 and others.
 
Regards

Di Maio, Dario

unread,
Mar 4, 2015, 12:35:43 PM3/4/15
to sou...@googlegroups.com
Hi Juan,

have a try in this way:

uint8_t regval = radio.read_register(RF_SETUP);
regval |= 0x01;
radio.write_register(RF_SETUP, regval);

This should work even in the setup() of your sketch. You can try with a Serial.print to ensure that a proper setting has been applied.

Let me know,
Dario.

































Juan Pinto

unread,
Mar 4, 2015, 1:00:09 PM3/4/15
to sou...@googlegroups.com
Ok, I'll put this on setup() this night when am in home. Ty for your help.
 
Regards

Juan Pinto

unread,
Mar 4, 2015, 4:51:53 PM3/4/15
to sou...@googlegroups.com
I added this lines at the start of void setup() and get this compilation error:

F:\Mis Documentos\Arduino\libraries\souliss/frame/vNet/drivers/nRF24/src/RF24.cpp: In function 'void setup()':
F:\Mis Documentos\Arduino\libraries\souliss/frame/vNet/drivers/nRF24/src/RF24.cpp:70: error: 'uint8_t RF24::read_register(uint8_t)' is protected
Souliss_ex15_WirelessLux_wrl_UNOv101:146: error: within this context
F:\Mis Documentos\Arduino\libraries\souliss/frame/vNet/drivers/nRF24/src/RF24.cpp:98: error: 'uint8_t RF24::write_register(uint8_t, uint8_t)' is protected
Souliss_ex15_WirelessLux_wrl_UNOv101:148: error: within this context

Sorry I don't know how to solve this compilation error :(

Any help?

Regards

Di Maio, Dario

unread,
Mar 5, 2015, 3:33:47 AM3/5/15
to sou...@googlegroups.com
Is protected from use from outsite, you should apply those changes in:

inside void RF24::begin(void)

Let me know,
Dario.

php

unread,
Mar 5, 2015, 4:20:15 AM3/5/15
to sou...@googlegroups.com
Hi Juan and Dario
I also found this RadioHead library, but I don't know how it could be embedded into Souliss, I have not enough skill.
A universal radio lib into Souliss will be a must.
What do you think about this idea?
Best,
Php

Di Maio, Dario

unread,
Mar 5, 2015, 6:05:15 AM3/5/15
to sou...@googlegroups.com
That library does mostly what vNet does for us, is just a metter to attach drivers into vNet to support multiple radios.

Dario.

Juan Pinto

unread,
Mar 5, 2015, 5:10:30 PM3/5/15
to sou...@googlegroups.com
Ok I added this lines:
  uint8_t regval = read_register(RF_SETUP);
  regval |= 0x01;
  write_register(RF_SETUP, regval)

Before this one: write_register(SETUP_RETR,(B0100 << ARD) | (B1111 << ARC));

Take care I've modified the call to the read_register and write_register, I deleted the "radio." before, because it causes error on compilation.

Now compiles and node works ok, but I need to do more deep tests before.

Am looking where to add a 2ms delay between power-down and standby, standard nrf modules takes about 1,5ms to do this, and SR modules takes 2ms.

Ty Dario! Ill share my results

Regards

Di Maio, Dario

unread,
Mar 5, 2015, 5:14:53 PM3/5/15
to sou...@googlegroups.com

If you are not using sleeping functions, the node will never put in sleep.

Dario.

From Mobile.

Juan Pinto

unread,
Mar 6, 2015, 9:54:18 AM3/6/15
to sou...@googlegroups.com
Yes you're right, I want to make one wireless battery powered weather station, but I'll use a "Real" (not fake) NRF module.
 
Regards.

Reply all
Reply to author
Forward
0 new messages