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

    india frequency 865-867

    Scheduled Pinned Locked Moved LoPy
    india
    20 Posts 2 Posters 1.8k Views 2 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 @abhishek2101
      last edited by robert-hh

      @abhishek2101 In raw lora mode (mode=LoRa.LORA), the LoPy4 can be set to any frequency above 430MHz. Just speciffy in the init call frequency=xxx, where xxx is the requency in Hz.
      That does not work in Lora WAN mode, because that mode implements the frequency set according to the region settings. The region India 865-867 is not (yet) supported. Since the structure is pretty similar to the EU868 region, and the region settings are included in the Semtech driver, enabling it should be pretty straightforward.
      P.S.: Same for LoPy, SiPy and FiPy

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        abhishek2101 @robert-hh
        last edited by robert-hh

        @robert-hh

        Since the structure is pretty similar to the EU868 region, and > the region settings are included in the Semtech driver, > enabling it should be pretty straightforward.

        how do I enable this ?

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

          @abhishek2101 You have to modify the source code and build your own firmware. That should be pretty similar to the PR I made for the EU433. https://github.com/pycom/pycom-micropython-sigfox/pull/185

          If you have a week time, I can make that.

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            abhishek2101 @robert-hh
            last edited by

            @robert-hh that would be great ! please make that for us so that we can use with our pycom modules.

            robert-hhR 2 Replies Last reply Reply Quote 0
            • A Offline
              abhishek2101
              last edited by

              @robert-hh but why is the region not supported out of the box ?

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

                @abhishek2101 Ask Pycom.
                Maybe because every region adds some amount of code size. And it has to be tested, which may be tricky if the LoRa network providers do not support that region.

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

                  @abhishek2101 I have made a branch which support the region IN865. This is the link:
                  https://github.com/robert-hh/pycom-micropython-sigfox/tree/in865
                  Since this is not an install package, you have to set-up the build environment for making your own firmware. The instructions are here: https://github.com/pycom/pycom-micropython-sigfox/blob/master/README.md
                  These are quite a few steps, but if you follow them carefully, it works. Use Linux as OS for building.

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

                    @abhishek2101 For convenience, I made a package which you can install with the Pycom firmware updater. It is based on the stable master 1.18.0.r1. You can find it here:
                    https://github.com/robert-hh/Shared-Stuff/blob/master/LoPy4-in865-1.18.0.r1.tar.gz

                    A 2 Replies Last reply Reply Quote 0
                    • A Offline
                      abhishek2101 @robert-hh
                      last edited by

                      @robert-hh thanks for your help, will keep you posted !!

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        abhishek2101 @robert-hh
                        last edited by

                        @robert-hh can this package be installed on the earlier LOPY or FIPY ?

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

                          @abhishek2101 No, because both units have a SX1272 chip, whereas the LOPY4 has a SX1276 chip for Lora, and the LOPY has no PSRAM. I can make builds for these two units too later today. That is not a problem.

                          A 1 Reply Last reply Reply Quote 0
                          • A Offline
                            abhishek2101 @robert-hh
                            last edited by

                            @robert-hh that would be awesome !!

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

                              @abhishek2101 The packages for LoPy and FiPy are uploaded: https://github.com/robert-hh/Shared-Stuff

                              A 1 Reply Last reply Reply Quote 0
                              • A Offline
                                abhishek2101 @robert-hh
                                last edited by

                                @robert-hh
                                can you make the latest builds for lop4 and fipy for the indian region.

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

                                  @abhishek2101 I'll see what I can do. But not before next week.

                                  A 1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    abhishek2101 @robert-hh
                                    last edited by

                                    @robert-hh did you get a chance to do this ?

                                    robert-hhR 2 Replies Last reply Reply Quote 0
                                    • robert-hhR Offline
                                      robert-hh @abhishek2101
                                      last edited by

                                      @abhishek2101 Not yet. At least I searched for the files to verify, that I still have them. No, I deleted then, but I have made notes about the changes I made. And I have the EU433 version, which has corresponding changes.

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

                                        @abhishek2101 I have pushed builds for LoPy4 and FiPy for the LORA IN865 region to the usual place https://github.com/robert-hh/Shared-Stuff.
                                        They are based on V1.20.0.rc7.2, FAT file system. I did not use littlefs, since I think to have seen some strange effects.
                                        I did not make too much tests. Just verified that they send & receive data.

                                        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 / 1
                                        • First post
                                          Last post

                                        Pycom on Twitter

                                        Pycom