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. Heltec Cubecell support added. Please test!

Heltec Cubecell support added. Please test!

Scheduled Pinned Locked Moved Hardware
8 Posts 3 Posters 73 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.
  • E Offline
    E Offline
    eiten
    wrote on last edited by eiten
    #1

    So I added Cubecell support to the MySensors library. You can find it here. Feel free to test it if you have a CubeCell. It is (should be) fully compatible with RFM95, at least, I did the developement with an ESP32 RFM95 gateway. It works great together. However, I did not yet test signing.

    Issues
    There are some issues you have to be aware of. Most of them are out of my competence...

    • If you use Arduino IDE, you have to rename/delete MyASM.S I have no idea why Arduino IDE tries to compile this file. It seems to try to compile any *.S file in the lib directory, so maybe it's a fault in ASR650x Arduino
    • vsnprintf and Serial.flush are broken in ASR650x Arduino. Bug is reported. So debug output is sh... suboptimal.

    The defines are:

    #define MY_CUBECELL_RADIO
    #define MY_DEBUG_VERBOSE_CUBECELL
    #define MY_CUBECELL_TX_POWER_DBM //defaults to 13dBm, ATC is enabled
    #define MY_CUBECELL_FREQUENCY
    #define CUBECELL_169MHZ
    #define CUBECELL_315MHZ
    #define CUBECELL_434MHZ
    #define CUBECELL_868MHZ
    #define CUBECELL_915MHZ
    #define MY_CUBECELL_MODEM_CONFIGRUATION CUBECELL_BW125CR45SF128 //CUBECELL_BW500CR45SF128 and CUBECELL_BW125CR48SF4096 also supported
    

    I would like if you give some feedback.

    Regards, Edi

    YveauxY mfalkviddM 2 Replies Last reply
    1
    • E eiten

      So I added Cubecell support to the MySensors library. You can find it here. Feel free to test it if you have a CubeCell. It is (should be) fully compatible with RFM95, at least, I did the developement with an ESP32 RFM95 gateway. It works great together. However, I did not yet test signing.

      Issues
      There are some issues you have to be aware of. Most of them are out of my competence...

      • If you use Arduino IDE, you have to rename/delete MyASM.S I have no idea why Arduino IDE tries to compile this file. It seems to try to compile any *.S file in the lib directory, so maybe it's a fault in ASR650x Arduino
      • vsnprintf and Serial.flush are broken in ASR650x Arduino. Bug is reported. So debug output is sh... suboptimal.

      The defines are:

      #define MY_CUBECELL_RADIO
      #define MY_DEBUG_VERBOSE_CUBECELL
      #define MY_CUBECELL_TX_POWER_DBM //defaults to 13dBm, ATC is enabled
      #define MY_CUBECELL_FREQUENCY
      #define CUBECELL_169MHZ
      #define CUBECELL_315MHZ
      #define CUBECELL_434MHZ
      #define CUBECELL_868MHZ
      #define CUBECELL_915MHZ
      #define MY_CUBECELL_MODEM_CONFIGRUATION CUBECELL_BW125CR45SF128 //CUBECELL_BW500CR45SF128 and CUBECELL_BW125CR48SF4096 also supported
      

      I would like if you give some feedback.

      Regards, Edi

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @eiten I would expect the defines to have something like SX1262 in their name instead of CUBECELL. This would conform to the convention used for other radios. But please correct me if I'm wrong.

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #3

        Can we expect other SX1262-based radios to work with this transport? If that's the case, naming the transport MY_SX1262 would be great. But it we expect other SX1262-based radios to require a different implementation, MY_CUBECELL makes more sense imo. Unless the Cubecell series starts providing other radios of course.

        E 1 Reply Last reply
        0
        • E eiten

          So I added Cubecell support to the MySensors library. You can find it here. Feel free to test it if you have a CubeCell. It is (should be) fully compatible with RFM95, at least, I did the developement with an ESP32 RFM95 gateway. It works great together. However, I did not yet test signing.

          Issues
          There are some issues you have to be aware of. Most of them are out of my competence...

          • If you use Arduino IDE, you have to rename/delete MyASM.S I have no idea why Arduino IDE tries to compile this file. It seems to try to compile any *.S file in the lib directory, so maybe it's a fault in ASR650x Arduino
          • vsnprintf and Serial.flush are broken in ASR650x Arduino. Bug is reported. So debug output is sh... suboptimal.

          The defines are:

          #define MY_CUBECELL_RADIO
          #define MY_DEBUG_VERBOSE_CUBECELL
          #define MY_CUBECELL_TX_POWER_DBM //defaults to 13dBm, ATC is enabled
          #define MY_CUBECELL_FREQUENCY
          #define CUBECELL_169MHZ
          #define CUBECELL_315MHZ
          #define CUBECELL_434MHZ
          #define CUBECELL_868MHZ
          #define CUBECELL_915MHZ
          #define MY_CUBECELL_MODEM_CONFIGRUATION CUBECELL_BW125CR45SF128 //CUBECELL_BW500CR45SF128 and CUBECELL_BW125CR48SF4096 also supported
          

          I would like if you give some feedback.

          Regards, Edi

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

          @eiten feedback comes here

          The existing MY_RFM95_* should not be removed - add new ones for the ones you need.

          Maybe ARDUINO_ARCH_CUBECELL should be called ARDUINO_ARCH_ASR650x ? I guess other ASR650x-based boards should work with the same hal?

          I'm not entirely sure, but it looks like the work has been performed on the master branch of MySensors. New development happens in the development branch. Since there are very few modifications of existing files, rebasing on the development branch should be easy.

          E 1 Reply Last reply
          0
          • mfalkviddM mfalkvidd

            Can we expect other SX1262-based radios to work with this transport? If that's the case, naming the transport MY_SX1262 would be great. But it we expect other SX1262-based radios to require a different implementation, MY_CUBECELL makes more sense imo. Unless the Cubecell series starts providing other radios of course.

            E Offline
            E Offline
            eiten
            wrote on last edited by eiten
            #5

            @mfalkvidd said in Heltec Cubecell support added. Please test!:

            Can we expect other SX1262-based radios to work with this transport?

            No. To be honest, I did not realize that it's SX1262 based until @Yveaux told me! Shame on me! I based the drivers on the CubeCell internal API. Shame on me, I wasted a lot of time, SX1262-drivers would be more versatile. Maybe I should spend another night or to and write drivers for the SX1267. The ASR650x hal is OK i suppose.

            1 Reply Last reply
            0
            • mfalkviddM mfalkvidd

              @eiten feedback comes here

              The existing MY_RFM95_* should not be removed - add new ones for the ones you need.

              Maybe ARDUINO_ARCH_CUBECELL should be called ARDUINO_ARCH_ASR650x ? I guess other ASR650x-based boards should work with the same hal?

              I'm not entirely sure, but it looks like the work has been performed on the master branch of MySensors. New development happens in the development branch. Since there are very few modifications of existing files, rebasing on the development branch should be easy.

              E Offline
              E Offline
              eiten
              wrote on last edited by
              #6

              @mfalkvidd You are right. I am starting over again. But I'm not sure if there are other ASR650x based borards.

              mfalkviddM 1 Reply Last reply
              0
              • E eiten

                @mfalkvidd You are right. I am starting over again. But I'm not sure if there are other ASR650x based borards.

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

                @eiten you are probably right. I can't find any.

                E 1 Reply Last reply
                0
                • mfalkviddM mfalkvidd

                  @eiten you are probably right. I can't find any.

                  E Offline
                  E Offline
                  eiten
                  wrote on last edited by
                  #8

                  @mfalkvidd Well, there are http://www.ebyte.com/en/product-view-news.aspx?id=550

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


                  25

                  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