Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Lopy4 433MHz

    Scheduled Pinned Locked Moved LoPy
    lopy4433mhz
    25 Posts 7 Posters 5.2k Views 7 Watching
    Loading More Posts
    • 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.
    • robert-hhR Offline
      robert-hh @Mladen
      last edited by

      @mladen I now have a LoPy4 and made a first test. Using region EU868 and just setting the frequency to 433 MHz creates a 433 MHz carrier at the proper antenna output of the LoPy4. I'll continue my testing.

      1 Reply Last reply Reply Quote 2
      • B Offline
        bed
        last edited by

        @robert-hh That's really promising -- thanks for checking that out.

        robert-hhR 1 Reply Last reply Reply Quote 0
        • robert-hhR Offline
          robert-hh @bed
          last edited by

          @bed @Mladen I tested now LoraWan with Loriot, and both uplink and downlink work. I did not try OTAA join yet. The old problem with inconsistent timing of downlink messages at the nanogateway still remains. It is recommended to select the RX2 response window at the Loriot device setting. With that, OTAA join should work too. TTN has no support for EU433.

          The modified code is at this repository and branch: https://github.com/robert-hh/pycom-micropython-sigfox/tree/eu433. It still requires a second review pass. I'll do that in a few days, when the changes made are not so obvious to me any more, forcing me to reconsider them.

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            bed @robert-hh
            last edited by

            @robert-hh Hi Robert,

            I had a quick look at the code diffs and it makes sense to me (nothing bad stuck out). I'll pull it in the next couple of days to look at it in full context and report back any issues.

            It all looks pretty straight forward -- add in the region file, add manual add/remove of channels, and other sanity checks. Looks great so far.

            Regards,
            Brian

            robert-hhR 1 Reply Last reply Reply Quote 0
            • robert-hhR Offline
              robert-hh @bed
              last edited by robert-hh

              @bed Thanks. I did not make my second pass through modlora.c yet and compare it with the LORaWAN specs. In my first run I had the impression, that also the existing code has some 'shortcuts'.
              B.T.W.: I tried OTAA join on Wednesday, and besides the inherent timing problem of the nanogateway it works. Since in general downlink worked, that was to be expected.

              1 Reply Last reply Reply Quote 0
              • B Offline
                berni
                last edited by

                I am testing my LoPy4 on the 433MHz with the NanoGateway. However, no matter how I defined the frequencies, the node still operates on 868MHz band and I am not receiving anything on the Nano Gateway configured at 433. All the messages are picked up by my 868MHz LoRaWAN gateway...

                This is my code to set the channels on the node:

                # Using EU433, but have to select region EU868 on the LOPY-4 to access EU433
                # Put any other arguments into this call that you need
                lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.EU868)
                # Replace the three default channels:
                lora.add_channel(index=0, frequency=434375000, dr_min=0, dr_max=5)
                lora.add_channel(index=1, frequency=434375000, dr_min=0, dr_max=5)
                lora.add_channel(index=2, frequency=434375000, dr_min=0, dr_max=5)
                
                # remove all the non-default channels
                for i in range(3, 16):
                    lora.remove_channel(i)
                

                I am trying now with the FW version 1.20.0.rc4

                Any idea what is going on or how could I get my LoRaWAN operating at 433MHz?

                robert-hhR 1 Reply Last reply Reply Quote 0
                • robert-hhR Offline
                  robert-hh @berni
                  last edited by

                  @berni 433 MHz is not supported in the standard . I made a version of the firmware once, but I removed it. I can re-build it, but it is at an old version of MicroPython, something like 1.14.x

                  B bmarkusB 2 Replies Last reply Reply Quote 1
                  • B Offline
                    berni @robert-hh
                    last edited by

                    @robert-hh Thank you for your answer. It makes sense now. Any idea if Pycom will support that band in the future. It would be great since the LoPy4 has specific support for 433Mhz.

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      Paul Thornton @berni
                      last edited by

                      @berni Hey. Ive litterally just asked the team exactly that question. Ill update when I hear back. I imagine we will but would have to confirm that

                      1 Reply Last reply Reply Quote 0
                      • bmarkusB Offline
                        bmarkus @robert-hh
                        last edited by

                        @robert-hh said in Lopy4 433MHz:

                        @berni 433 MHz is not supported in the standard .

                        Which standard?

                        robert-hhR 1 Reply Last reply Reply Quote 0
                        • robert-hhR Offline
                          robert-hh @bmarkus
                          last edited by robert-hh

                          @bmarkus Standard build of Pycom. You know that I made a version of the pycom firmware and tested that against LORIOT. It worked.

                          bmarkusB 1 Reply Last reply Reply Quote 0
                          • bmarkusB Offline
                            bmarkus @robert-hh
                            last edited by

                            @robert-hh said in Lopy4 433MHz:

                            @bmarkus Standard build of Pycom. You know that I made a version of the pycom firmware and tested that against LORIOT. It worked.

                            I see, thanks. I was not sure your are referring to the LoRa Alliance or PyCom

                            1 Reply Last reply Reply Quote 0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            • 1
                            • 2
                            • 2 / 2
                            • First post
                              Last post

                            Pycom on Twitter

                            Pycom