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. Development
  3. Lightweight RF433/nRF24L01 interface for Arduino(s) <-> Raspberry Pi(s) communications

Lightweight RF433/nRF24L01 interface for Arduino(s) <-> Raspberry Pi(s) communications

Scheduled Pinned Locked Moved Development
8 Posts 3 Posters 2.3k Views 3 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.
  • Y Offline
    Y Offline
    Yannoo
    wrote on last edited by Yannoo
    #1

    Hi, everybody

    I want to can receive informations such as the temperature, humidity, movement and sound detection, etc ... from multiples Arduinos to a local Raspberry Pi that can analyse/store/make somes locals actions and send the result of his computation/states to a central server.

    This is for to can handle multiples storey in an entire building, with one Arduino into each room and one distinct Raspberry Pi for to handle a portion of each storey and only one "big" server for to handle the entire building

    Each Arduino has to communicate with it local Raspberry Pi using RF433 (or nRF24L01) wireless modules and we have one or more locals Raspberry Pi per storey that communicate their locals information to a "big" central server using the building Internet and/or WiFi network)

    Each Raspberry Pi has to independantly handle a portion of a storey and have to regulary communicate to a central server where we have a global view of the temperature/humidity/movement/... of alls rooms.

    So, each local Rasperry Pi has to make operations/décisions in fonctions of his currents states and thus cannot only to be a gateway, because it has really to act as a local server BUT it has too to transmit some informations to a global server where we can have a global view of alls rooms in the building.

    This seem like a multi-stars network where each Raspberry Pi have to handle a local RF433/nRF24L01 network with multiples Arduinos and where alls Raspberry Pis has to communicate with a central server using the already existant building Internet and/or Wifi network

    I don't have any problem about the handling of sensors on the Arduino platform or the handling of the Internet/WiFi communication between Rapsberry Pis and the central server.

    My problem is "only" a the level of the RF433/nRF24L01 wireless communication between locals Arduinos and the local Raspberry Pi that I want to be as lightweight as possible but where I want to can analyse/handle independandly each message for to can make locals decisions, cf. not always transmit alls informations to the global server, only the aggregation of somes of them, and for to can make a maximum of locally computations/actions

    For example, switch on/off lights where a person enter in a room don't need to make the big circuit local Arduino -> local Pi -> global server -> local Pi -> local Arduino when only the local circuit Arduino <-> local Rapsberry Pi is more than enough BUT the Raspberry Pi has to send to the server the information about the presence (or absence) of one person in the room and the on/off state of each local light and only them for that the server know all the time where lights are on/off and where rooms contain persons or not (for to can down the eating/light of one entire storey or building when any person is present into this storey or building the week-end for example)

    How can I handle this ?

    @+
    Yannoo

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      Yannoo
      wrote on last edited by Yannoo
      #2

      I think to have find the response at http://mysensors.readthedocs.io/en/latest/protocol.html :)

      My problem was to can directly communicate with MySensors objets without the need to pass via external controller such as Domotiz , for to use the less possible ressources on Raspberry Pi nodes and to have a maximal liberty about the handling of MySensors objets

      mfalkviddM 1 Reply Last reply
      1
      • gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #3

        If you use mysensors, it's actually lightweight for wireless communication. If you want to send information to an external server I think that using a local mqtt on the raspberry that replicates messages to another mqtt server on the Internet, is the easiest solution. On the external server you can then use anything you like to read or write data to the mqtt, so you can have a lot of flexibility.

        1 Reply Last reply
        1
        • Y Yannoo

          I think to have find the response at http://mysensors.readthedocs.io/en/latest/protocol.html :)

          My problem was to can directly communicate with MySensors objets without the need to pass via external controller such as Domotiz , for to use the less possible ressources on Raspberry Pi nodes and to have a maximal liberty about the handling of MySensors objets

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

          I think to have find the response at http://mysensors.readthedocs.io/en/latest/protocol.html :)

          This documentation is pretty nice, but unfortunately a bit outdated (it covers MySensors 1.5 and the current release is 2.1.1)
          The "Download and API" link at the top of the forum contains the latest api documentation.

          1 Reply Last reply
          0
          • Y Offline
            Y Offline
            Yannoo
            wrote on last edited by Yannoo
            #5

            Lot of thanks, Gohan and Mfalkvidd

            This API seem very cool :)

            => a test a little this API and think to come back the next week with my first impression about the use of this API
            (this API seem already to handle PIRs, so I have already at last one very simple electronic component for to begin with this API :) )

            @+
            Yannoo

            1 Reply Last reply
            0
            • gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by
              #6

              It handles already the majority of the home automation sensors ;-)

              Y 1 Reply Last reply
              0
              • gohanG gohan

                It handles already the majority of the home automation sensors ;-)

                Y Offline
                Y Offline
                Yannoo
                wrote on last edited by Yannoo
                #7

                Thank, Gohan

                Where can I find one example about the DHT11 or DHT22 for example ?

                @+
                Yannoo

                1 Reply Last reply
                0
                • gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #8

                  https://www.mysensors.org/build

                  Always start from the main site, a lot of things have been already covered ;-)

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


                  14

                  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