Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. VaZso
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Zsolt Varga

    @VaZso

    24
    Reputation
    20
    Posts
    419
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location Hungary

    VaZso Follow

    Best posts made by VaZso

    • NRF24L01+ genuine vs. counterfeit - checked some modules

      Hi!

      Today, my colleague and me were checked some modules to find out if they are using counterfeit or genuine NRF24L01+ chips inside.

      We removed the top of the IC and compared the internals with the photos found here:
      https://zeptobars.com/en/read/Nordic-NRF24L01P-SI24R1-real-fake-copy

      In really cheap modules, we found counterfeit IC-s.
      0_1488989846432_hamis.png
      Those modules are similar like the following one (however, they work surprisingly well, but they are counterfeit):
      https://www.aliexpress.com/item/Free-Shipping-Power-enhanced-version-SMD-NRF24L01-Wireless-Module-Mini-module-wireless-data-transmission-module/1885195107.html
      Edit - I have tested these modules (so they are counterfeit):
      https://www.aliexpress.com/item/10-pcs-Free-Shipping-2-4GHz-NRF24l01-Wireless-Module-Mini-Version/32297159921.html

      We also checked the modules bought here:
      https://www.aliexpress.com/item/2PCS-RF2401F20-FCC-Approval-nRF24L01-Chip-Module-RF2401F20-with-126-Channels-20dBm/32520822647.html

      It is an official store of Nicerf, the module can be found at their website here: http://nicerf.com/product_147_88.html

      In RF24L01F20, we found authentic NRF24L01+ IC inside.

      0_1488990049602_jo2.png

      We also found original IC in these modules:
      https://www.aliexpress.com/item/2-pcs-L24L01-D03-1000-Meters-Distance-NRF24L01-PA-LNA-Wireless-Module-Original-NRF24L01P-with-Antenna/32335491233.html

      0_1488990135498_1.png

      RF2401F20 module is better as it also has CE / IC / FCC certifications, so it is a much complete solution.

      0_1488989724763_3.png

      0_1488989733780_4.png

      These photos are not really good and the process was way too destructive, but we were able to clearly identify that RF24L01F20 and L24L01-D03 modules are built with genuine Nordic NRF24L01+ IC.

      Also, these modules produced the best performance of those I have tried. Good to know they both use original chips inside.

      I hope this experiment also helps others as well.

      Edit:
      Here is a photo of RF24L01F20 without metal cap:
      0_1489007946094_2017-03-08-095417.jpg

      Here is the same module with three genuine ICs on the left which have been purchased from Mouser:
      0_1489007791057_2017-03-08-094232.jpg

      This is a photo of the IC in L24L01-D03 module without metal cap:
      0_1489007899058_2017-03-08-094900.jpg

      Above ICs are all genuine.

      Counterfeit ICs had also a bit different printout - for example, the top left square sign was circle on them and text alignment usually was not perfect, but it may not be a good way to identify if they are genuine or counterfeit.

      I hope this may be a good starting point for others who also looking for original products.

      posted in Hardware
      VaZso
      VaZso
    • RE: STM32?

      @gohan Regarding of battery powered system...

      From STM32CubeMX power consumption calculator, it has the following current requirements:

      In RUN mode:

      • at 72MHz bus frequency, it needs 27 mA
      • at 16MHz and HSI PLL, it needs 6.8 mA
      • at 8 MHz and HSI, it needs 4 mA
      • at 1 MHz and HSI, it needs 900 μA
      • at 125 kHz and HSI, it needs 480 μA

      In STANDBY mode with all clocks off, it needs 2 μA


      In SLEEP mode:

      • at 125 kHz bus frequency and HSI, it needs 410 μA
      • at 1 MHz bus freq. and HSI, it needs 440 uA
      • at 8 MHz, it needs 600 μA

      Enabling the following peripherals, additional consumptions are (as for example):

      • GPIOA needs 833.75 nA
      • GPIOD needs 816.25 nA
      • I2C needs 1.25 μA
      • SPI1 needs 590 nA
      • TIMER1 needs 2.92 μA
      • TIMER2 needs 4.06 μA
      • TIMER4 needs 3.99 μA
      • USART1 needs 1.49 μA
      • USART3 needs 1.53 μA
      • USB needs 2.22 μA
      • Window watchdog needs 312.5 nA
      • Independent watchdog needs 1.71 μA
      • ADC1 needs 162.19 μA

      These are just some examples, not all possibilities and frequencies are listed here...

      There are also lower power STM32 series anyway.

      posted in General Discussion
      VaZso
      VaZso
    • RE: NRF24L01+ genuine vs. counterfeit - checked some modules

      @xlibor Today, I have tried to measure current consumption of the modules I have.
      I have powered them up, but they were not initialised - it was the simplest way as only VCC and GND were connected, but it worked.

      There was a significant difference between modules containing genuine or counterfeit ICs.

      Also genuine modules with PA consumed less than 1μA while others consumed more than 4μA.
      As lowering power consumption is not an easy task, I think this is the best way to determine if a module has real or counterfeit IC inside.

      posted in Hardware
      VaZso
      VaZso
    • RE: NRF24L01+ genuine vs. counterfeit - checked some modules

      Earlier, I said we were able to do some tests at an exhibition using really expansive instruments with a help of a professional in that field.

      At that time, we did not know if we have any original modules, but later it has been revealed that most of our modules were genuine, so we tested our modules with authentic IC on board.
      We bought two development boards with us where NRF modules were plugged in to do some tests.
      One of those modules was sending at 256k (and in some tests at 1M and 2M), other one just received the packets and acked it (when it was turned on). Payload was 32 byte, but we also tested in another module of us with 4 byte payload and same results.
      So, after ack has been received (or an about 1ms timeout exceeded), the module sent another message.

      We chose a frequency for our test where no other transmitter was working.
      The transmitter had an antenna attached and the analyzer also had an antenna connected - they were placed close to each other.

      We looked at the spectrum (using a realtime spectrum analyzer / EMI Test Receiver) and saw some strange noise near the chosen frequency which started to fill near frequencies in the spectrum with peak hold activated.

      We looked the frequency deeper and found the signal sometimes not looks to be as narrow as other times.
      The instrument was set to trigger and hold the signal when it has beat the trigger field (reddish rectangle in the top left of the photo). We saw this:
      0_1489180328585_20170223_160233_.jpg

      ...and this:
      0_1489180346688_20170223_163335_.jpg

      ...and so on.

      We took two videos of it.

      In this one, the trigger was on and the instrument was holding the problematic frame a short time:
      Nrf24l01(1) – 00:07
      — Márió Tóth

      In this one it is harder to see the problem, but you may notice some wider signals:
      Nrf24l01(2) – 00:15
      — Márió Tóth

      As we did not know if the module we used was original IC and we did not have NRF24L01+ from authentic source that time, we desoldered the IC from one of our authentic modules (as later revealed) and replaced it with an IC found in a Gigabyte mouse's receiver (so these two ICs were interchanged). It was an NRF24L01 (without "+"), so it did not support 256k mode, but otherwise it worked well... but with the same behaviour in frequency band.

      Also, nothing has changed when we set the transmitter to another channel (other frequency).

      Then we tried to examine the communication of the Gigabyte (and a Logitech) mouse, but it was much harder as they are doing frequency hopping like bluetooth technology does.
      So, we were less sure about what we see, but we noticed they also produced this symptom.

      Back to our modules... so all of the modules we tried had similar behaviour, with or without PA, with external antenna or with PCB antenna, be it a module with authentic or counterfeit IC, did not matter. When we turned the module off, the wider frequency component has also disappeared, so it was not some noise from elsewhere. Also mice seemed to have the same problem.

      We tried to modify our source code, but it has not helped.
      We also examined the receiver board, so when it has transmitted acks - it did the exact same peaks.

      Between two communications, NRF was in standby-II mode.
      Actual library was the same, but in two different boards, one with AVR and other one with STM32, not speaking about mice.

      It made us a bit unsure if we are allowed to use this module (by regulations) or not.
      So, it produces much less noise than a WLAN does, but WLAN is also much higher in bandwidth.

      The following thread seems to describe the same problem:
      https://devzone.nordicsemi.com/question/83443/fccce-rf-certification-fail/

      Also, many manufacturers use the same IC in commercial equipments, so I assume this problem is not as huge as we thought, also the module above could pass the tests of certification.
      Maybe the instrument we used was too high-class (with its price above 200 thousands of USD) or the specific rules allow this behaviour.

      These examinations led us to look what modules have genuine IC and what modules don't, and how to distinguish them... I have created this thread as a result of our findings initiated by these measurements.

      What are your opinions about this?
      I would like to know how others see this problem, or if someone knows more about regulations especially in Europe / EU (as we live here), but it would be interesting to hear about the same also from other parts of the globe.

      Maybe there are professionals here who know much more about it and may share their knowledge.

      Thank you in advance.

      posted in Hardware
      VaZso
      VaZso
    • RE: why mysensors is based on nrf24?

      @Reza I don't know the source of the module you use, but the modules with same outfit did not perform really well for me.
      I have linked some modules in this thread, which work very well for me.
      There are modules with higher power consumption with PA, but other modules (without PA) may also work in higher ranges.

      If there are other transmitter near the frequency you use, it affects the range and packet loss you may see - so, you may also check it.

      I may use a stronger module (with PA) using appropriate antenna for the central transmitter/receiver and another module (maybe without PA) for battery-driven parts. Good antenna is mandatory for both parts.

      Anyway, 433 / 866 / 315 MHz frequency bands have much better wave propagation, but have much more limitations by regulations and not all frequencies can be used in different places of the world...

      posted in General Discussion
      VaZso
      VaZso
    • RE: NRF24L01+ genuine vs. counterfeit - checked some modules

      @Yveaux Thank you for pointing this out.
      I just wanted to share our findings with these modules.

      First it was written to be a reply of an about two months old thread, but the system asked if I really want to post in a new thread and finally I did not post there.

      I have read about counterfeit chips in some other threads/forums anyway, but I thought it is a good idea to share and name trustable modules with others, that is why I have finally put our findings in a new thread.

      Anyway, my collegue has created two gifs with the photos matched on the images found at the site above.
      Here they are:
      Counterfeit
      Genuine

      .

      posted in Hardware
      VaZso
      VaZso
    • RE: why mysensors is based on nrf24?

      @Reza Internal walls and special circumstances may affect range very badly in 2.4 GHz band.
      Even fake modules may allow relatively high ranges, but the quality of the antenna also highly affects the range.

      We have not really tried two modules without PA...
      I had communication for about 50-70 meters in one of my very first tests using the worse modules I had, in open field...

      Otherwise, we could achieve ~1.2km in open field one module using PA and other module without PA.
      There was a straight open field between modules and ~1.2km was the maximal range where they could communicate (with packet loss).
      That case when something was inside them, the communication stopped. Till about 1km, the communication was very well in the same setup while it was completely open field.
      One module had a relatively good antenna (and PA) with authentic IC inside, other one had a PCB antenna with counterfeit IC...

      The 2000 meter for that module is sure to be in open field using two modules with PA and good antenna.
      Walls are lowering the coverage.

      posted in General Discussion
      VaZso
      VaZso
    • RE: NRF24L01+ genuine vs. counterfeit - checked some modules

      @Fabien Maybe it is, but it would be good to see what is inside. 🙂
      Anyway, I hope Itead sells genuine products as they have higher reputation in my mind...

      @gohan L24L01-D03 used to run before, but this particular RF24L01F20 module was never soldered to any mainboard.
      However, I have modules from the same source/branch of both.

      We ran tests using both module types and we could achieve impressive range with appropriate antennas attached.
      L24L01-D03 modules (linked above) came with relatively good antennas and the same seller sells RF24L01F20 with antenna included, which was also able to produce similar range.

      We had an opportunity to check the antenna which arrived with L24L01-D03 module at an exhibition (other antennas were still on their way that time) with an expensive Rohde&Schwartz equipment. The man who measured it was not really impressed with the result of measurement as its characteristic was not really good and it had higher gain outside of the specified frequency range than in the range we need. However, it was still usable as antenna in the frequency range we need. After also checked all other antennas which we currently had (they arrived with other modules from China), it has been revealed this type was the only usable antenna we had at that time - others looked like they were attenuators...

      We did not have a chance to also test the antenna came with RF24L01F20, but it is also usable in the same distance, albeit it is much smaller than the other.

      We also bought some antennas from TME, which were also able to communicate in the same range.

      We tried to communicate using two RF24L01F20 modules, one end with the two similar antennas and the other end with a PCB antenna ordered from TME.
      They were able to communicate inside a two-story building with one end upstairs and the other one downstairs between several walls, maybe till about 40 meters in distance at 256 kbit/s.
      Also tried them with the same modules when one end was upstairs and the other end was outside (so, through a roof and other buildings), we could walk some hundreds of meters with stable communication while it was relatively free way between them.

      Range was better than the range of a good WiFi in 2.4G band.

      Earlier, we could go close to 1km with open field using L24L01-D03 modules.

      Also, we tried lowering RF gain to ensure we are in the allowed power range and it was also good in the house (we could achieve similar range inside).

      Currently we don't need high bandwidth, so we only tried 256k extensively to achieve the best possible range.
      Reliability and range seem to be really good, but we did not tried high communication speeds yet.

      CE / FCC markings seem to be also really important for us in top of other parameters and that is why RF24L01F20 seems to be perfect for us, as it has also good parameters, original IC and these certifications.

      posted in Hardware
      VaZso
      VaZso
    • RE: why mysensors is based on nrf24?

      @Reza It really depends on the special circumstances in your house, the quality of the antenna, the quality of the module and so on.

      In a building we tested, it could communicate in the two far end of it (upstairs to downstairs), however, there was a place where the communication was not perfect (using two authentic modules with PA).
      In my house, I was able to communicate upstairs to downstairs through an about 80cm of "wall" (Godet?) in between, but I haven't done extensive testing with our best modules there yet - however, I have places there where also my WLAN devices fails because of too many walls and concrete... so I think there should be places there where it would fail...

      Otherwise, I found generally internal range is also very good using these modules.

      posted in General Discussion
      VaZso
      VaZso
    • RE: why mysensors is based on nrf24?

      @Reza Don't forget it is only true if there are no other noises in that frequency like any WLAN radios at a nearby channel or microwave oven, etc.

      Even a bluetooth connection can cause some loss as it is hopping from frequency to frequency.
      Bluetooth works somewhat like in the tale - it does not interfere with other equipments but it interferes with all of them a bit...

      So, if data integrity is really important, one should handle re-sending missing informations by software especially in wider ranges of distance. However, internal retry also helps.
      (I don't know what mysensor's library do about this question.)

      posted in General Discussion
      VaZso
      VaZso

    Latest posts made by VaZso

    • RE: NRF24L01+ genuine vs. counterfeit - checked some modules

      @Nca78 Yes, it is true - if 240 mAh is the battery capacity, it would last for ~15 days.
      However, I have measured my modules uninitialized, so it may be better if one sends it to sleep mode by software... I have not measured them in other modes.

      posted in Hardware
      VaZso
      VaZso
    • RE: NRF24L01+ genuine vs. counterfeit - checked some modules

      @Tmaster Not necessarily. Marking is one thing, Nordic may used both square and solid circle (as far as I know they used both).
      However, for 80 cent, I assume they are fake for sure. 🙂

      posted in Hardware
      VaZso
      VaZso
    • RE: NRF24L01+ genuine vs. counterfeit - checked some modules

      @NeverDie No. I don't want to depend on other equipments and for better range, I may use other transmitters in the 866 / 433 MHz bands. However, in our projects, range was not really a limit, but sometimes delay had to be minimized.

      posted in Hardware
      VaZso
      VaZso
    • RE: NRF24L01+ genuine vs. counterfeit - checked some modules

      @gohan External size is one thing, internals are more important - there are better (properly tuned) antennas in small size.
      The RF24L01F20 module seems to be really good. Albeit it has PA, you may lowering the outside power a bit if necessary.

      posted in Hardware
      VaZso
      VaZso
    • RE: NRF24L01+ genuine vs. counterfeit - checked some modules

      @Nca78 I have measured less than 1μA for real modules and about 660μA for counterfeit ones.
      However, multimeter may also give invalid result...

      posted in Hardware
      VaZso
      VaZso
    • RE: NRF24L01+ genuine vs. counterfeit - checked some modules

      @gohan They seem to be connected to GND.

      Range depends on the specific ennvironment (walls, used materials like metals, etc), the channel used (if there are other noises like WLAN and so), reflections and such things.
      You may also try better antennas or to reduce TX power to see if it runs better.

      posted in Hardware
      VaZso
      VaZso
    • RE: STM32?

      @gohan Regarding of battery powered system...

      From STM32CubeMX power consumption calculator, it has the following current requirements:

      In RUN mode:

      • at 72MHz bus frequency, it needs 27 mA
      • at 16MHz and HSI PLL, it needs 6.8 mA
      • at 8 MHz and HSI, it needs 4 mA
      • at 1 MHz and HSI, it needs 900 μA
      • at 125 kHz and HSI, it needs 480 μA

      In STANDBY mode with all clocks off, it needs 2 μA


      In SLEEP mode:

      • at 125 kHz bus frequency and HSI, it needs 410 μA
      • at 1 MHz bus freq. and HSI, it needs 440 uA
      • at 8 MHz, it needs 600 μA

      Enabling the following peripherals, additional consumptions are (as for example):

      • GPIOA needs 833.75 nA
      • GPIOD needs 816.25 nA
      • I2C needs 1.25 μA
      • SPI1 needs 590 nA
      • TIMER1 needs 2.92 μA
      • TIMER2 needs 4.06 μA
      • TIMER4 needs 3.99 μA
      • USART1 needs 1.49 μA
      • USART3 needs 1.53 μA
      • USB needs 2.22 μA
      • Window watchdog needs 312.5 nA
      • Independent watchdog needs 1.71 μA
      • ADC1 needs 162.19 μA

      These are just some examples, not all possibilities and frequencies are listed here...

      There are also lower power STM32 series anyway.

      posted in General Discussion
      VaZso
      VaZso
    • RE: STM32?

      @alowhum I use the same board as dev board and it works well, I had no problems with it using STM32's own libraries.
      It has I2C, SPI, UART, even USB and 5V-tolerant inputs and so on.
      I like it. 🙂

      posted in General Discussion
      VaZso
      VaZso
    • RE: why mysensors is based on nrf24?

      @Reza What are you mean about "all channel was never busy"?
      (I assume you tried free channels.)

      Anyway, a simple wlan-scan only shows occupied wlan channels but not other communications (or noises) in the same frequency range.
      Anyway, some modifications of the antenna may highly affects signal strength.

      posted in General Discussion
      VaZso
      VaZso
    • RE: why mysensors is based on nrf24?

      @Reza Don't forget it is only true if there are no other noises in that frequency like any WLAN radios at a nearby channel or microwave oven, etc.

      Even a bluetooth connection can cause some loss as it is hopping from frequency to frequency.
      Bluetooth works somewhat like in the tale - it does not interfere with other equipments but it interferes with all of them a bit...

      So, if data integrity is really important, one should handle re-sending missing informations by software especially in wider ranges of distance. However, internal retry also helps.
      (I don't know what mysensor's library do about this question.)

      posted in General Discussion
      VaZso
      VaZso