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. Hardware
  3. Step-by-step procedure to connect the NRF24L01+ to the GPIO pins and use the Raspberry as a Serial Gateway (MySensors 1.x)

Step-by-step procedure to connect the NRF24L01+ to the GPIO pins and use the Raspberry as a Serial Gateway (MySensors 1.x)

Scheduled Pinned Locked Moved Hardware
nrf24raspberry piraspberryraspberry nrf24l01 gpiogateway
168 Posts 47 Posters 175.0k Views 36 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 jpbabou

    @Sander-Stolk hi
    how do you achieve to have a nice 'logon' screen ou your PI: Domotics Logo, @ip,memory,date... etc etc..
    Im' newbee on raspberry from france
    HAve a nice day
    JP
    i really want to have the same or any available sample like yours


    | _ \ | | ()
    | | | |
    __ _ __ ___ ___ | |_ _ ___ ____
    | | | / _ | '_ ` _ \ / _ | | |/ | /
    | |/ / () | | | | | | () | |_| | (
    / /
    |
    / _/|| || ||___/ _||_/|

    Last login: Mon Apr 11 12:10:24 2016 from 192.168.1.34

    Monday, 11 April 2016, 12:12:45 pm CEST
    Linux 4.1.18-v7+ armv7l GNU/Linux
    Uptime.............: 0 days, 00h00m25s
    Memory.............: 770952kB (Free) / 948056kB (Total)
    Load Averages......: 0.59, 0.16, 0.05 (1, 5, 15 min)
    Running Processes..: 100
    IP Addresses.......: 192.168.1.14

    Tore André RosanderT Offline
    Tore André RosanderT Offline
    Tore André Rosander
    wrote on last edited by
    #120

    @jpbabou That is the Message of the day (motd) and you can edit it to fit your needs.
    This guide should work on debian weezy and jessie
    https://oitibs.com/debian-wheezy-dynamic-motd/

    J 2 Replies Last reply
    0
    • Tore André RosanderT Tore André Rosander

      @jpbabou That is the Message of the day (motd) and you can edit it to fit your needs.
      This guide should work on debian weezy and jessie
      https://oitibs.com/debian-wheezy-dynamic-motd/

      J Offline
      J Offline
      jpbabou
      wrote on last edited by
      #121

      @Tore-André-Rosander
      Tks a lot for your answer.. It seems to look like what i want at logon..Iwill test it.
      I keep you in touch!

      1 Reply Last reply
      0
      • Tore André RosanderT Tore André Rosander

        @jpbabou That is the Message of the day (motd) and you can edit it to fit your needs.
        This guide should work on debian weezy and jessie
        https://oitibs.com/debian-wheezy-dynamic-motd/

        J Offline
        J Offline
        jpbabou
        wrote on last edited by
        #122

        @Tore-André-Rosander
        Tks a lot
        It works's fine!!
        pi@JpPi2 ~ $ ssh JpPi3
        _ ____ _ _____
        | |_ __ | _ ()__ /
        _ | | '_ | |) | | |
        | || | |) | /| |) |
        _
        /| ._/|| ||___/
        |
        |

        Welcome to Raspbian GNU/Linux 8.0 (jessie) (4.4.7-v7+).

        System information as of: Wed Jun 1 09:10:09 CEST 2016

        System load: 0.01 IP Address:
        Memory usage: 17.9% System uptime: 1 day
        Usage on /: 27% Swap usage: 0.0%
        Local Users: 1 Processes: 126

        Last login: Wed Jun 1 09:03:53 2016 from raspberryjp

        1 Reply Last reply
        1
        • A Offline
          A Offline
          Atman
          wrote on last edited by
          #123

          I have been struggeling with this for some time now. It seems my compiler is not the standard for raspberry pi? (I have a pi 2). I have used the domoticz sdcard as ground for my system and it works (a bit sketchy with random freezes and I cannot access the domotics webserver from chrome) but still. Anyway, I get stuck on making the RF24 package. Any ideas?

          pi@raspberrypi ~/RF24 $ make all && sudo make install
          arm-linux-gnueabihf-g++ -fPIC -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -Ofast -Wall -pthread  -c RF24.cpp
          cc1plus: error: bad value (cortex-a7) for -mtune switch
          Makefile:40: recipe for target 'RF24.o' failed
          make: *** [RF24.o] Error 1
          
          1 Reply Last reply
          0
          • alexsh1A Offline
            alexsh1A Offline
            alexsh1
            wrote on last edited by
            #124

            Did anyone setup rfm69 successfully on the raspberry pi

            1 Reply Last reply
            0
            • GertSandersG Offline
              GertSandersG Offline
              GertSanders
              Hardware Contributor
              wrote on last edited by
              #125

              Has anyone used the Raspberry GW software in combination with nodes that run the new 2.0.0 MySensors code ?

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

                @GertSanders

                It's not supported, 2.0.0 nodes require a 2.0.0 GW. And the raspberry pi port is not updated to 2.0.0 (and unfortunately there is currently no one in the core group that uses the rpi gw.. We all use serial / ethernet gw's of some sort)

                GertSandersG W 2 Replies Last reply
                0
                • tbowmoT tbowmo

                  @GertSanders

                  It's not supported, 2.0.0 nodes require a 2.0.0 GW. And the raspberry pi port is not updated to 2.0.0 (and unfortunately there is currently no one in the core group that uses the rpi gw.. We all use serial / ethernet gw's of some sort)

                  GertSandersG Offline
                  GertSandersG Offline
                  GertSanders
                  Hardware Contributor
                  wrote on last edited by
                  #127

                  @tbowmo
                  I was afraid of that. In my enthusiasm I updated to 2.0.0, but now my new nodes play dead.
                  At least I know why.
                  Time to make that old ethernet gateway functional again.
                  Since Breda meetup is this weekend, I will have no more time to figure this out (if I could ever, this is UNIX). Maybe after I can try something.

                  GertSandersG 1 Reply Last reply
                  0
                  • tbowmoT tbowmo

                    @GertSanders

                    It's not supported, 2.0.0 nodes require a 2.0.0 GW. And the raspberry pi port is not updated to 2.0.0 (and unfortunately there is currently no one in the core group that uses the rpi gw.. We all use serial / ethernet gw's of some sort)

                    W Offline
                    W Offline
                    wergeld
                    wrote on last edited by
                    #128

                    @tbowmo

                    What would be required to get the RPi gateway up and running? Having single controller/gateway is great.

                    GertSandersG 1 Reply Last reply
                    0
                    • GertSandersG Offline
                      GertSandersG Offline
                      GertSanders
                      Hardware Contributor
                      wrote on last edited by
                      #129

                      @tbowmo
                      Is a 2.0.0 based gateway backward compatible with nodes in an older version ?

                      1 Reply Last reply
                      0
                      • W wergeld

                        @tbowmo

                        What would be required to get the RPi gateway up and running? Having single controller/gateway is great.

                        GertSandersG Offline
                        GertSandersG Offline
                        GertSanders
                        Hardware Contributor
                        wrote on last edited by
                        #130

                        @wergeld
                        Probably porting the Arduino lib to Raspberry and compiling again ?

                        W 1 Reply Last reply
                        0
                        • GertSandersG GertSanders

                          @tbowmo
                          I was afraid of that. In my enthusiasm I updated to 2.0.0, but now my new nodes play dead.
                          At least I know why.
                          Time to make that old ethernet gateway functional again.
                          Since Breda meetup is this weekend, I will have no more time to figure this out (if I could ever, this is UNIX). Maybe after I can try something.

                          GertSandersG Offline
                          GertSandersG Offline
                          GertSanders
                          Hardware Contributor
                          wrote on last edited by
                          #131

                          @tbowmo
                          Is the last 2.0.0-dev version (before the new 2.0.0 official release) still available somewhere ?
                          That DEV version seemed to still work with my Raspi GW.

                          1 Reply Last reply
                          0
                          • GertSandersG GertSanders

                            @wergeld
                            Probably porting the Arduino lib to Raspberry and compiling again ?

                            W Offline
                            W Offline
                            wergeld
                            wrote on last edited by
                            #132

                            @GertSanders

                            Time to start reading up on converting the lib! Might have a go at it in week or so. Work is holding me hostage at the moment.

                            1 Reply Last reply
                            0
                            • GertSandersG Offline
                              GertSandersG Offline
                              GertSanders
                              Hardware Contributor
                              wrote on last edited by
                              #133

                              Praise Apple for making TimeMachine. I was able to set back the last version of MySensors lib I know was working with my gateway in a bout 1 minute.

                              Back in business now. Upgrading the gateway and nodes to full 2.0.0 is for later.

                              1 Reply Last reply
                              1
                              • tbowmoT Offline
                                tbowmoT Offline
                                tbowmo
                                Admin
                                wrote on last edited by tbowmo
                                #134

                                @wergeld

                                you need to port the mysensors core library.. It is however filled with arduino specifics at the moment (we have had some talks about removing arduino dependencies, but it's not made yet).

                                Ideally someone should make a raspberry pi port, that we can merge into the main repository, so the same codebase can be build for both raspberryPi and arduino based hardware.

                                @GertSanders

                                A 2.0.0 GW should be compatible with 1.5.x nodes, but 2.0.0 nodes require a 2.0.0 GW.. (I can't remember the specifics in what the changes are, @tekka is the brain behind that stuff). That said, we do recommend that both nodes and GW will be updated to same mysensors versions, as to avoid any problems.

                                mfalkviddM 1 Reply Last reply
                                0
                                • tbowmoT tbowmo

                                  @wergeld

                                  you need to port the mysensors core library.. It is however filled with arduino specifics at the moment (we have had some talks about removing arduino dependencies, but it's not made yet).

                                  Ideally someone should make a raspberry pi port, that we can merge into the main repository, so the same codebase can be build for both raspberryPi and arduino based hardware.

                                  @GertSanders

                                  A 2.0.0 GW should be compatible with 1.5.x nodes, but 2.0.0 nodes require a 2.0.0 GW.. (I can't remember the specifics in what the changes are, @tekka is the brain behind that stuff). That said, we do recommend that both nodes and GW will be updated to same mysensors versions, as to avoid any problems.

                                  mfalkviddM Offline
                                  mfalkviddM Offline
                                  mfalkvidd
                                  Mod
                                  wrote on last edited by mfalkvidd
                                  #135

                                  @tbowmo @wergeld @GertSanders a port is already available, see https://forum.mysensors.org/topic/2759/mysensors-raspberry-port-suggestions/11 (and github)

                                  It would be awesome if someone could merge that great work with the MySensors repo.

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

                                    @mfalkvidd

                                    Ok, didn't know that it was updated to 2.0.0 "final", thanks for the hint :+1:

                                    1 Reply Last reply
                                    0
                                    • Sander TeunissenS Offline
                                      Sander TeunissenS Offline
                                      Sander Teunissen
                                      wrote on last edited by
                                      #137

                                      Would it be safe to say a RPI gateway 2.0 is not available yet for beginners ? (like the instructions @mfalkvidd made are not usable for this ?)

                                      GertSandersG 1 Reply Last reply
                                      0
                                      • Sander TeunissenS Sander Teunissen

                                        Would it be safe to say a RPI gateway 2.0 is not available yet for beginners ? (like the instructions @mfalkvidd made are not usable for this ?)

                                        GertSandersG Offline
                                        GertSandersG Offline
                                        GertSanders
                                        Hardware Contributor
                                        wrote on last edited by
                                        #138

                                        @Sander-Teunissen
                                        At the moment I would advise beginners to use a separate GW for the official 2.0.0 (ethernet or serial based). I found the ethernet based gateway the easiest to use in various setups, espcially since Domoticz (my controller of choice) supported this.

                                        Sander TeunissenS 1 Reply Last reply
                                        1
                                        • GertSandersG GertSanders

                                          @Sander-Teunissen
                                          At the moment I would advise beginners to use a separate GW for the official 2.0.0 (ethernet or serial based). I found the ethernet based gateway the easiest to use in various setups, espcially since Domoticz (my controller of choice) supported this.

                                          Sander TeunissenS Offline
                                          Sander TeunissenS Offline
                                          Sander Teunissen
                                          wrote on last edited by Sander Teunissen
                                          #139

                                          @GertSanders Thanks Gert !
                                          I did a quick build of the serial gateway using an arduino which I connect to my RPI. Pretty easy. I'll be watching this when I can switch back to the RPI built gateway...

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


                                          12

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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