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.
  • Z Zeph

    Great work indeed!

    However, the source link (at this time) fails...

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

    @Zeph goo.gl changed the ToS. link updated. thanks

    1 Reply Last reply
    0
    • scalzS Offline
      scalzS Offline
      scalz
      Hardware Contributor
      wrote on last edited by
      #6

      impressive work. very good idea!

      1 Reply Last reply
      0
      • Ivan ZI Offline
        Ivan ZI Offline
        Ivan Z
        Hardware Contributor
        wrote on last edited by
        #7

        What is the current in transmition and idle mode?
        Did you realize sleep?

        tekkaT 1 Reply Last reply
        0
        • tbowmoT Offline
          tbowmoT Offline
          tbowmo
          Admin
          wrote on last edited by
          #8

          hmm 8051 instruction set.. Now that's an old mcu then.. Remember them from back in the beginning of the 90's

          Thought they where long forgotten, and dead, now that there are newer (and probably more efficient) mcu cores available.

          Actually, just found my final exam project I made 20 years ago based on an 80535. An EPROM burner, that could program up to 27c512 :) And one had to use UV lamps to erase the chips again (Getting all nostalgic here :))

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gbfromhb
            wrote on last edited by
            #9

            This looks very cool. I understand the concept, and I'm more of a software guy then an electronics guy, but I have not done anything like this. Would you be able to provide a step by step or point me to something that could get me from code to getting it onto the chip. Thanks great idea.

            tekkaT 1 Reply Last reply
            0
            • Ivan ZI Ivan Z

              What is the current in transmition and idle mode?
              Did you realize sleep?

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

              @Ivan-Z said:

              What is the current in transmition and idle mode?

              You may find the information in the product specs.

              Did you realize sleep?

              No, not yet.

              1 Reply Last reply
              0
              • G gbfromhb

                This looks very cool. I understand the concept, and I'm more of a software guy then an electronics guy, but I have not done anything like this. Would you be able to provide a step by step or point me to something that could get me from code to getting it onto the chip. Thanks great idea.

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

                @gbfromhb said:

                This looks very cool. I understand the concept, and I'm more of a software guy then an electronics guy, but I have not done anything like this. Would you be able to provide a step by step or point me to something that could get me from code to getting it onto the chip. Thanks great idea.

                Since everything is pretty much POC at the moment, no time so far to compile a doc. However, uVision Keil is the official IDE supporting those MCUs (compiler, simulator, flashing, and debugging). You will also find some information (e.g. SDK, open-source programmer, etc.) by simply searching for "nRF24LE1" ...

                More to follow...

                1 Reply Last reply
                0
                • Z Offline
                  Z Offline
                  Zeph
                  Hero Member
                  wrote on last edited by Zeph
                  #12

                  Checking aliexpress:

                  http://www.aliexpress.com/item/NRF24LE1-NRF24L01-MCU-Wireless-Transceiver-DIP-Wireless-Communication-Module-nE/32230173245.html

                  At those sizes and prices, this could be a very interesting option. Looking forward to hearing about your progress.

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    gbfromhb
                    wrote on last edited by gbfromhb
                    #13

                    Thank you tekka. I suspect you given me the clues I need.

                    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.

                      A Offline
                      A Offline
                      alexSV
                      wrote on last edited by
                      #14

                      @tekkaYou can follow any responses to publish libraries (MyMessage.h MyMessage.cpp, ...) adapt to the SDCC compiler?

                      tekkaT 1 Reply Last reply
                      0
                      • A alexSV

                        @tekkaYou can follow any responses to publish libraries (MyMessage.h MyMessage.cpp, ...) adapt to the SDCC compiler?

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

                        @alexSV said:

                        @tekkaYou can follow any responses to publish libraries (MyMessage.h MyMessage.cpp, ...) adapt to the SDCC compiler?

                        For the example above the standard MyMessage.h library was used. All other dependencies can be found in the nRF24LE1 SDK from nordic.

                        A 1 Reply Last reply
                        0
                        • tekkaT tekka

                          @alexSV said:

                          @tekkaYou can follow any responses to publish libraries (MyMessage.h MyMessage.cpp, ...) adapt to the SDCC compiler?

                          For the example above the standard MyMessage.h library was used. All other dependencies can be found in the nRF24LE1 SDK from nordic.

                          A Offline
                          A Offline
                          alexSV
                          wrote on last edited by alexSV
                          #16

                          @tekka sdсс not support __attribute ((packed)). Or do you use a different compiler?

                          sdcc --model-large --std-sdcc99 -Iinclude -I../SDK/_target_sdcc_nrf24le1_32/include -I../SDK/include -I./aes/include -c src/main.c -o "obj/"
                          include/MyMessage.h:308: syntax error: token -> '(' ; column 18
                          make: *** [obj/main.rel] Ошибка 1
                          (attribute((packed));)
                          and
                          sdcc --model-large --std-sdcc99 -Iinclude -I../SDK/_target_sdcc_nrf24le1_32/include -I../SDK/include -I./aes/include -c src/main.c -o "obj/"
                          src/main.c:74: syntax error: token -> 'outMsg' ; column 16
                          make: *** [obj/main.rel] Ошибка 1

                          tekkaT 1 Reply Last reply
                          0
                          • A alexSV

                            @tekka sdсс not support __attribute ((packed)). Or do you use a different compiler?

                            sdcc --model-large --std-sdcc99 -Iinclude -I../SDK/_target_sdcc_nrf24le1_32/include -I../SDK/include -I./aes/include -c src/main.c -o "obj/"
                            include/MyMessage.h:308: syntax error: token -> '(' ; column 18
                            make: *** [obj/main.rel] Ошибка 1
                            (attribute((packed));)
                            and
                            sdcc --model-large --std-sdcc99 -Iinclude -I../SDK/_target_sdcc_nrf24le1_32/include -I../SDK/include -I./aes/include -c src/main.c -o "obj/"
                            src/main.c:74: syntax error: token -> 'outMsg' ; column 16
                            make: *** [obj/main.rel] Ошибка 1

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

                            @alexSV remove __attribute ((packed)) from the .h file.

                            A DwaltD 2 Replies Last reply
                            0
                            • tekkaT tekka

                              @alexSV remove __attribute ((packed)) from the .h file.

                              A Offline
                              A Offline
                              alexSV
                              wrote on last edited by
                              #18

                              @tekka Thanks - works

                              1 Reply Last reply
                              0
                              • tekkaT tekka

                                @alexSV remove __attribute ((packed)) from the .h file.

                                DwaltD Offline
                                DwaltD Offline
                                Dwalt
                                wrote on last edited by
                                #19

                                @tekka Nice project. This would be very useful for small, battery powered, binary sensors. What did you use to program the nRF24LE1?

                                Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

                                tekkaT 1 Reply Last reply
                                0
                                • DwaltD Dwalt

                                  @tekka Nice project. This would be very useful for small, battery powered, binary sensors. What did you use to program the nRF24LE1?

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

                                  @Dwalt I used this programmer.

                                  1 Reply Last reply
                                  0
                                  • J Offline
                                    J Offline
                                    Justin Decker
                                    wrote on last edited by Justin Decker
                                    #21

                                    I've done a lot of work on this chip. Nothing for this project though.

                                    You can take a look here.
                                    https://hackaday.io/project/6270-io-node

                                    @tekka I released my code under GPL3.

                                    1 Reply Last reply
                                    0
                                    • D Offline
                                      D Offline
                                      demon1977
                                      wrote on last edited by
                                      #22
                                      This post is deleted!
                                      1 Reply Last reply
                                      0
                                      • D Offline
                                        D Offline
                                        demon1977
                                        wrote on last edited by demon1977
                                        #23

                                        sdcc --model-large --std-sdcc99-Iinclude -I../nRF24LE1_SDK/_target_sdcc_nrf24le1_32/include -I../nRF24LE1_SDK/
                                        include -L../nRF24LE1_SDK/ -c main.c
                                        Have:
                                        main.c:374: warning 158: overflow in implicit constant conversion
                                        What is this error and how to fix it?

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

                                          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 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          16

                                          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