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. MySensor + Whisper Node + RFM69

MySensor + Whisper Node + RFM69

Scheduled Pinned Locked Moved Hardware
9 Posts 4 Posters 4.0k 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.
  • Moebius LutchingM Offline
    Moebius LutchingM Offline
    Moebius Lutching
    wrote on last edited by
    #1

    Hello,

    I tried to post similar question at the Domoticz forum but I think it's a bit quiet over there, so I trying to post over here.

    I just downloaded the Domoticz and I'm trying to configure my Whisper Node (https://talk2.wisen.com.au/product-talk2-whisper-node-avr/) as a Node and serial Gateway connected to my Rasbperry PI. I can see a "define" to change the module from NRF24 to RFM69 on the example (https://www.mysensors.org/build/serial_gateway), but where I define details for the RFM69 driver like frequency, power, encryption, etc?

    Also, I'm trying to find details about the protocol between a MySensor node and the Gateway as well, so I can try to write my own Remote Node for non-standard uses, as well to optimize for very low-power consumption. My plan is to run few nodes using two AA batteries and others using CR2032 coin-cell. At the moment I only found documentation about the Serial protocol (https://www.mysensors.org/download/serial_api_20).

    Meanwhile I'll keep digging into the code, still getting familiar with the libraries. Any help is appreciated, thanks.

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

      Hello,
      you can have a look at:

      • https://www.mysensors.org/download/sensor_api_20
      • myconfig.h for available settings
      • and also https://ci.mysensors.org/job/Verifiers/job/MySensors/branch/development/Doxygen_HTML/MyConfig_8h.html
      1 Reply Last reply
      0
      • Moebius LutchingM Offline
        Moebius LutchingM Offline
        Moebius Lutching
        wrote on last edited by
        #3

        Thanks for that scalz. With the provided details I already got things working fine with the additional RFM69 settings. I'll move on to create some customized nodes and message types and try to integrate with Domoticz.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jfeger
          wrote on last edited by
          #4

          @Moebius-Lutching were you ever able to get these working? I am not able to get the whisper node's to see each other when I have one setup as a serial gateway and the other as a simple relay actuator. I get an FPAR error on the sensor node, meaning it can't find a parent. On the GW side, I never see a radio message arrive.

          gohanG 1 Reply Last reply
          0
          • J jfeger

            @Moebius-Lutching were you ever able to get these working? I am not able to get the whisper node's to see each other when I have one setup as a serial gateway and the other as a simple relay actuator. I get an FPAR error on the sensor node, meaning it can't find a parent. On the GW side, I never see a radio message arrive.

            gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by gohan
            #5

            @jfeger
            have you set a node ID or a parent ID?

            PS is this board really worth 25$?

            1 Reply Last reply
            0
            • Moebius LutchingM Offline
              Moebius LutchingM Offline
              Moebius Lutching
              wrote on last edited by
              #6

              @jfeger hey... I don't have it in this computer, I sort of moved away from it and I'm using my own "protocol" and code. but i'll try to find the working mysensor sketches on the company's laptop and post here. From the top of my head I don't remember changing anything apart from the RFM69 config parameters documented for the "mysensors".

              @gohan it worth for me... I thought the same initially, but after lots of time spending building my own nodes, which were never 100% and some quick maths I believe it's a good board for low power nodes.

              RFM69: $4; Arduino Mini Pro: $2.5 - $3; Step-up Regulator: $3.5; 4Mbit Flash: $2 - $3; SMA 2dBi Whip Antenna: $5 - $8; SMA Connector + LEDs + Buttons: $3 - $4; PCB Headers + Passives: $1.5... Total $21.5+?!

              That's what the board comes with (I assume). I must say that I would never build my node with all of the components, for me I prefer to focus on my project instead of build nodes from a Mini Pro, soldering the step-up and the RFM69 and testing everything... plus the whole thing look like a Frankenstein :P

              gohanG J 2 Replies Last reply
              1
              • Moebius LutchingM Moebius Lutching

                @jfeger hey... I don't have it in this computer, I sort of moved away from it and I'm using my own "protocol" and code. but i'll try to find the working mysensor sketches on the company's laptop and post here. From the top of my head I don't remember changing anything apart from the RFM69 config parameters documented for the "mysensors".

                @gohan it worth for me... I thought the same initially, but after lots of time spending building my own nodes, which were never 100% and some quick maths I believe it's a good board for low power nodes.

                RFM69: $4; Arduino Mini Pro: $2.5 - $3; Step-up Regulator: $3.5; 4Mbit Flash: $2 - $3; SMA 2dBi Whip Antenna: $5 - $8; SMA Connector + LEDs + Buttons: $3 - $4; PCB Headers + Passives: $1.5... Total $21.5+?!

                That's what the board comes with (I assume). I must say that I would never build my node with all of the components, for me I prefer to focus on my project instead of build nodes from a Mini Pro, soldering the step-up and the RFM69 and testing everything... plus the whole thing look like a Frankenstein :P

                gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #7

                @Moebius-Lutching
                You have a point but it depends on the project, as I probably would not use all the stuff you mentioned that's in the whisper.

                1 Reply Last reply
                0
                • Moebius LutchingM Moebius Lutching

                  @jfeger hey... I don't have it in this computer, I sort of moved away from it and I'm using my own "protocol" and code. but i'll try to find the working mysensor sketches on the company's laptop and post here. From the top of my head I don't remember changing anything apart from the RFM69 config parameters documented for the "mysensors".

                  @gohan it worth for me... I thought the same initially, but after lots of time spending building my own nodes, which were never 100% and some quick maths I believe it's a good board for low power nodes.

                  RFM69: $4; Arduino Mini Pro: $2.5 - $3; Step-up Regulator: $3.5; 4Mbit Flash: $2 - $3; SMA 2dBi Whip Antenna: $5 - $8; SMA Connector + LEDs + Buttons: $3 - $4; PCB Headers + Passives: $1.5... Total $21.5+?!

                  That's what the board comes with (I assume). I must say that I would never build my node with all of the components, for me I prefer to focus on my project instead of build nodes from a Mini Pro, soldering the step-up and the RFM69 and testing everything... plus the whole thing look like a Frankenstein :P

                  J Offline
                  J Offline
                  jfeger
                  wrote on last edited by
                  #8

                  @Moebius-Lutching Thank you. I think I got it working, as I added the RFM config, but also needed to comment out a few other things (I forget which). Ill still take a look at your sketches if you don't mind. Out of curiosity, why did you move away from MySensors?

                  @gohan The board and documentation are quite good. The quality of the board assembly is very impressive. I also think Mike has done a great job in terms of support and responsiveness when I had questions. Does that make it worth $25? To me, yes. However, like Moebius suggested, the board has a lot to it that I likely won't need for each sensor, but I am going to stick with them for now. I can solder, and I do a decent job, but I simply don't like taking the time to do it anymore, especially if I can support creativity like Mike @ Talk2. If I were about to do a lot of nodes, I would probably look for a cheaper solution, but for a few things here and there, the Whisper Node has been great. Clean power, LOW power consumption, and a small footprint.

                  1 Reply Last reply
                  1
                  • Moebius LutchingM Offline
                    Moebius LutchingM Offline
                    Moebius Lutching
                    wrote on last edited by
                    #9

                    Hi jfeger, sorry I can't find the sketches anymore... if I end-up finding it I post here.

                    So, I decided to use bare Arduino with the RadioHead RFM69 lib and parts of the Talk2 library. I just didn't feel the need for the whole framework and doing this I was able to customize a bit more the low-power usage and easily integrate with other third-party libraries which weren't playing nice together with MySensor.

                    In terms of messages, protocol I just follow the Talk2 example and I'm using their "Message" format. I just assigned the "id" to a kind of message by convention and use the 8 bytes payload for the data... I normally use only 1 to 4 bytes actually.

                    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.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