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. rfm69 and atc

rfm69 and atc

Scheduled Pinned Locked Moved Development
49 Posts 13 Posters 15.6k Views 12 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.
  • scalzS Offline
    scalzS Offline
    scalz
    Hardware Contributor
    wrote on last edited by scalz
    #17

    @Francois sorry this work is still in progress, I will work on it this week.
    This is handled in the rfm69 lib. And lowpowerlab explains this well: copied from Lowpowerlab

    • "The basic idea behind this extension is to allow your nodes to dial down transmission power based on the received signal strength indicator (RSSI)."
    • "with RFM69_ATC this is done automatically for you, you just need to indicate a target RSSI. On each packet sent and ACK received (using sendWithRetry(…) is required), the node analyzes the actual RSSI and continuously adjusts its own transmission power level of the RFM69 transceiver to attempt to match the target RSSI (+ or -)"

    Require some small changes in libs, but for the moment I have to check/think few things for the listenmode to have everything well packaged with mysensors..not finished yet.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lafleur
      wrote on last edited by
      #18

      have you tested the code enough to release it for our use and testing??

      Thanks

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

        @lafleur
        no, not yet. sorry for delay. I have no time actually..and I think perhaps lowpowerlab team is preparing few changes in their lib. so I am delaying a bit to finish other things in the mean time, and to see if they add new features. then, if nothing new, I will finish this if someone didn't beat me on this ;)
        but I will try to do my best :)

        L 1 Reply Last reply
        0
        • scalzS scalz

          @lafleur
          no, not yet. sorry for delay. I have no time actually..and I think perhaps lowpowerlab team is preparing few changes in their lib. so I am delaying a bit to finish other things in the mean time, and to see if they add new features. then, if nothing new, I will finish this if someone didn't beat me on this ;)
          but I will try to do my best :)

          L Offline
          L Offline
          lafleur
          wrote on last edited by lafleur
          #20

          @scalz
          I have it working to some extent, send me what you have and I will add your changes to what I've done to make sure I did not miss anything...

          Then I will post the changes to the development branch

          Thanks

          tom --at-- lafleur --.-- us

          1 Reply Last reply
          0
          • L Offline
            L Offline
            lafleur
            wrote on last edited by
            #21

            I have all this working now and have 7 devices on it to a serial gateway...
            Using new RFM69 driver and RFM69_ATC...

            Its interesting to see the power levels change as packets flow...

            If I can figure out how to do a PULL request, I will make it happen to 2.0b development branch...

            tom

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

              :thumbsup:
              sorry for delayed answer, a bit busy, I have actually no time to look at/share my experiments :confused:
              I found this interesting too, seeing powerlevels change. btw I didn't finish the listenmode part, I'm on other things for the moment, so that's great if your are doing the job :)
              thx ;)

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

                hi guys.

                just a little update to say that I'm back on this :blush:
                it's still a wip so I will share/release a bit later ;)
                I have this working in mysensors dev for the moment.

                • I can get rssi value.
                • atc power mode.
                • listenmode : an mqtt esp8266 GW is peridocially waking up a proto node which is in deepsleep (the node is woken up by INT0 triggered by the radio of course). I will mainly use this for sort of remote watchdog for some of my nodes etc..
                1 Reply Last reply
                2
                • F Offline
                  F Offline
                  Fabien
                  wrote on last edited by
                  #24

                  @scalz, good work ! Nice features.

                  1 Reply Last reply
                  0
                  • alexsh1A Offline
                    alexsh1A Offline
                    alexsh1
                    wrote on last edited by
                    #25

                    @scalz As you noticed I have just started with rfm69 and thanks for your help in the other thread. Really looking forward to your work as ATC is something I am missing in MySensors.

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

                      @alexsh1 : thx. i know i have not pr this yet..it's still working local but have not done extended tests as I'm busy improving mqtt wifi gw..but i will do my best

                      1 Reply Last reply
                      1
                      • FleischtorteF Offline
                        FleischtorteF Offline
                        Fleischtorte
                        wrote on last edited by
                        #27

                        Hi Scalz,

                        any progress here? Cant wait to use ATC and the rssi-value for my nodes :D
                        Thanks for your work :thumbsup:

                        regards
                        david

                        carlierdC 1 Reply Last reply
                        0
                        • FleischtorteF Fleischtorte

                          Hi Scalz,

                          any progress here? Cant wait to use ATC and the rssi-value for my nodes :D
                          Thanks for your work :thumbsup:

                          regards
                          david

                          carlierdC Offline
                          carlierdC Offline
                          carlierd
                          wrote on last edited by
                          #28

                          @Fleischtorte So I am not the only one David waiting for ATC and RSSI ;)

                          David.

                          1 Reply Last reply
                          0
                          • FleischtorteF Offline
                            FleischtorteF Offline
                            Fleischtorte
                            wrote on last edited by
                            #29

                            @carlierd Yeah Davids FTW :D

                            1 Reply Last reply
                            0
                            • frenchoF Offline
                              frenchoF Offline
                              frencho
                              wrote on last edited by
                              #30

                              @lafleur @scalz
                              Hi guys,
                              Have one of you succed with the PR, so we can enjoy at least the ATC feature.

                              This is really the down side with the RFM69HW, power consumption so your work could be really helpfull !

                              Really thank you for that

                              Your second life begins when you understand you only have one !

                              L 1 Reply Last reply
                              0
                              • frenchoF frencho

                                @lafleur @scalz
                                Hi guys,
                                Have one of you succed with the PR, so we can enjoy at least the ATC feature.

                                This is really the down side with the RFM69HW, power consumption so your work could be really helpfull !

                                Really thank you for that

                                L Offline
                                L Offline
                                lafleur
                                wrote on last edited by lafleur
                                #31

                                @frencho

                                I have it all working, but my development environment and Jenkins are not in alignment, so my PR was rejected by the development team. They provide me NO help in resolving the issue... They tend to favor and support only the older NRF24L01 radio and have little interests in the newer, better preforming RFM69 or RFM95 radios. So have a look at my code changes in the close PR. It was not hard to implement. I have move on.....

                                frenchoF 1 Reply Last reply
                                0
                                • hekH Offline
                                  hekH Offline
                                  hek
                                  Admin
                                  wrote on last edited by hek
                                  #32

                                  @lafleur

                                  I'm sorry if your feelings got hurt. But you simply wouldn't do what the team instructed you in PR #440 to get it merged.

                                  https://github.com/mysensors/MySensors/pull/440

                                  1 Reply Last reply
                                  1
                                  • L lafleur

                                    @frencho

                                    I have it all working, but my development environment and Jenkins are not in alignment, so my PR was rejected by the development team. They provide me NO help in resolving the issue... They tend to favor and support only the older NRF24L01 radio and have little interests in the newer, better preforming RFM69 or RFM95 radios. So have a look at my code changes in the close PR. It was not hard to implement. I have move on.....

                                    frenchoF Offline
                                    frenchoF Offline
                                    frencho
                                    wrote on last edited by
                                    #33

                                    Thanks @lafleur, found your PR, I will try to do my own thing based on your work. Shouldn't be a big deal.

                                    Your second life begins when you understand you only have one !

                                    1 Reply Last reply
                                    0
                                    • L Offline
                                      L Offline
                                      lafleur
                                      wrote on last edited by
                                      #34

                                      I did exactly what you ask, but it continued to fail in building the examples... In another PR, you pointed out that there were issue in building the examples under IDE 1.6.9.

                                      My feeling were not hurt, but I did NOT want to wast anymore time in dealing with Jenkins with out guidance.... Also there is NO guide on what Jenkins expect to see in its development environment. it all trial and error...

                                      FYI... I have developed RFM95 and TTN transport layers for my snapshot of your code.

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

                                        @frencho @lafleur
                                        sorry for this delay. i'm busy, running..sometimes i refresh myself doing some sw but I admit i spent more time on hw than looking how to cleanly do this PR. ouch :sweat: but for me it has to be hobby even if I'm always rushing myself.
                                        you're not true ;) in fact mysensors team is not nrf24 only :)

                                        as soon as i can, i will look. it could be a bit time consuming as it would be my first PR, why i always delay..boo lazy i am :blush: The best way I think (as, now, I'm not up to date with dev branch, I will need diffchecking my stuff):

                                        • I would start/improve PR437 with minor changes needed. As mysensors drivers compiles ok, i would do in this way than taking lowpowerlab lib first (all warnings enabled of course)
                                        • then a separated for ATC + or another one for ListenMode. to have a better history and not breaking anything.

                                        so, I would separate the PR. I don't know if you tried like this (if i'm overhead), or what were your PR issue. I will look a bit later for curiosity or in case I would run in similar issue hihi.

                                        Cool if you have it working :)

                                        1 Reply Last reply
                                        0
                                        • FleischtorteF Offline
                                          FleischtorteF Offline
                                          Fleischtorte
                                          wrote on last edited by
                                          #36

                                          @lafleur thanks for your work! On the weekend i was able to upgrade the driver and enable ATC with RSSI-Report. With the instructions from PR440 it was very easy :thumbsup:

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


                                          15

                                          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