Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Introducing MySensors on nRF24LE1

Introducing MySensors on nRF24LE1

Scheduled Pinned Locked Moved My Project
myscontrollernrf24le1soc
37 Posts 18 Posters 29.2k Views 18 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J jobarjo

    Thanks a lot for this, that's exactly what I was looking for.
    This is very cheap, small, and low power.
    I'm still waiting to receive one to try.

    Please note the existance of existing libraries including a wiring library which looks great:
    https://hackaday.io/project/5794-nrf24le1-wiring-library
    It is written by Justin who just posted above.
    There is also a rf24.h there, I don't know if it is compatible with arduino's lib?

    It seems you have made your own digitalRead/Write?

    I'm still very new to all this.
    I will start to setup a dev environment (ubuntu) and try to compile your stuff.

    Do you plan something else?
    Create a library? Is MySensor only C++? Is there a plan to create a C MySensor library?
    Too bad that most MySensor examples are in C++...
    Would you like to create a github repo?

    J Offline
    J Offline
    Justin Decker
    wrote on last edited by
    #25

    @jobarjo thanks for taking a look. The Wiring library isn't much more than a bunch of macros for the SDK. I chose to do it that way because SDCC will keep unused code in the output it generates. So yes, there is most everything you would expect if you are coming from arduino. digitalRead etc are all there.

    There is also a very alpha version of the RF24 library. It is in C of course, so a small amount of porting is needed.

    Let me know if you run into any problems. I am busy with another project at the moment with the nrf51822 SoC which is actually similarly priced and much more capable, although much more cumbersome to work with at the moment.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jobarjo
      wrote on last edited by
      #26

      @Justin-Decker said:

      nrf51822

      module costs 6.18 euro on ebay, 32 bit arm 16k sram, 256k flash!!
      compatible with nrf24 radio and bluetooth smart.
      I'm impressed!
      Seems compatible with arm mbed, and there even exists arduino add-on ? (looks like commercial...)
      I will look at existence of linux tools, will order one, and see if porting mysensor on this is easy...

      J 1 Reply Last reply
      0
      • J jobarjo

        @Justin-Decker said:

        nrf51822

        module costs 6.18 euro on ebay, 32 bit arm 16k sram, 256k flash!!
        compatible with nrf24 radio and bluetooth smart.
        I'm impressed!
        Seems compatible with arm mbed, and there even exists arduino add-on ? (looks like commercial...)
        I will look at existence of linux tools, will order one, and see if porting mysensor on this is easy...

        J Offline
        J Offline
        Justin Decker
        wrote on last edited by
        #27

        @jobarjo Yes, there are implementations using mbed. If you go that route, you also get a nice BLE API to work with as well as all the standard mbed stuff. I haven't looked too closely at the Arduino board (Red Bear), but their source is on github so you can pull that and work with it without having the actual board.

        https://hackaday.io/project/8512-nrf51822-development is my project for this chip. It includes a working project skeleton and instructions on setting up debugging. It uses a custom board that I made, but I suspect the one you linked to on ebay will work.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Diogo Salazar
          wrote on last edited by
          #28

          Quick question on the topic of using the nRF24LE1 as a platform.
          Can the AES accelerator be used in order to sign messages?

          Thanks.

          1 Reply Last reply
          0
          • AnticimexA Offline
            AnticimexA Offline
            Anticimex
            Contest Winner
            wrote on last edited by
            #29

            No, AES is used for encryption. The HMAC/SHA256 signing format MySensors use, has no benefit of AES.

            Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

            1 Reply Last reply
            0
            • D Offline
              D Offline
              Diogo Salazar
              wrote on last edited by
              #30

              @Anticimex : Thanks for the quick response. I have got my terms mixed there, thanks for clarifying.

              AnticimexA 1 Reply Last reply
              0
              • D Diogo Salazar

                @Anticimex : Thanks for the quick response. I have got my terms mixed there, thanks for clarifying.

                AnticimexA Offline
                AnticimexA Offline
                Anticimex
                Contest Winner
                wrote on last edited by
                #31

                @Diogo-Salazar You are welcome :)

                Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                1 Reply Last reply
                0
                • tekkaT tekka

                  First impression of MySensors running on nRF24LE1. Reporting temperature / humidity from DHT22, VCC voltage and millis() timer.

                  This SoC has many interesting features (SPI, 2-Wire, Serial, GPIO, ADC, RNG, AES accelerator, etc. ) and sub uA sleeping modes - without the need to solder a RF module. However, flash size limited to 16kB - still more than enough for many (peripheral) sensors... :)

                  20150810_nRF24LE1_DHT22.jpg

                  Readings in MYSController:

                  20150810_nRF24LE1.png

                  Compiling with SDCC and nRF24LE1 SDK.
                  Source (Proof of concept/POC, non-optimized) here.

                  Y Offline
                  Y Offline
                  ykhokhlov
                  wrote on last edited by
                  #32

                  @tekka Hi! I'm trying to assemble this setup :-)
                  Could you provide the wiring diagram (humidity sensor and NRF).
                  Do you have an updated code?

                  C 1 Reply Last reply
                  0
                  • Y ykhokhlov

                    @tekka Hi! I'm trying to assemble this setup :-)
                    Could you provide the wiring diagram (humidity sensor and NRF).
                    Do you have an updated code?

                    C Offline
                    C Offline
                    chickey
                    wrote on last edited by
                    #33

                    @ykhokhlov would like to get it going as well, have a requirement for a tiny form factor, have had one of these in the drawer forever.

                    tekkaT 1 Reply Last reply
                    0
                    • C chickey

                      @ykhokhlov would like to get it going as well, have a requirement for a tiny form factor, have had one of these in the drawer forever.

                      tekkaT Offline
                      tekkaT Offline
                      tekka
                      Admin
                      wrote on last edited by tekka
                      #34

                      @chickey @ykhokhlov This was a POC I did a few years ago and never updated the code nor did I do further development on the library due to limited interest. There are way better alternatives available nowadays, i.e. nrf51/nrf52.

                      Y 1 Reply Last reply
                      0
                      • tekkaT tekka

                        @chickey @ykhokhlov This was a POC I did a few years ago and never updated the code nor did I do further development on the library due to limited interest. There are way better alternatives available nowadays, i.e. nrf51/nrf52.

                        Y Offline
                        Y Offline
                        ykhokhlov
                        wrote on last edited by
                        #35

                        @tekka Thanks for the answer and suggestion. Did you develop a POC of a MySensors node for the nrf51/nrf52?

                        NeverDieN 1 Reply Last reply
                        0
                        • Y ykhokhlov

                          @tekka Thanks for the answer and suggestion. Did you develop a POC of a MySensors node for the nrf51/nrf52?

                          NeverDieN Offline
                          NeverDieN Offline
                          NeverDie
                          Hero Member
                          wrote on last edited by
                          #36

                          @ykhokhlov There are a ton of not just POCs but also fully functioning mysensors nrf51/nrf52 nodes on openhardware.io Just click and have a look for yourself.

                          Y 1 Reply Last reply
                          3
                          • NeverDieN NeverDie

                            @ykhokhlov There are a ton of not just POCs but also fully functioning mysensors nrf51/nrf52 nodes on openhardware.io Just click and have a look for yourself.

                            Y Offline
                            Y Offline
                            ykhokhlov
                            wrote on last edited by
                            #37

                            @neverdie Thank you!

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            9

                            Online

                            11.7k

                            Users

                            11.2k

                            Topics

                            113.1k

                            Posts


                            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • MySensors
                            • OpenHardware.io
                            • Categories
                            • Recent
                            • Tags
                            • Popular