india frequency 865-867
-
Hi
Is is possible to program lopy4 modules to only transmit between 865 - 867 Mhz ?
if yes, how can do this(please share some code examples)
-
@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.
-
@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.
-
@robert-hh did you get a chance to do this ?
-
@abhishek2101 I'll see what I can do. But not before next week.
-
@robert-hh
can you make the latest builds for lop4 and fipy for the indian region.
-
@abhishek2101 The packages for LoPy and FiPy are uploaded: https://github.com/robert-hh/Shared-Stuff
-
@robert-hh that would be awesome !!
-
@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.
-
@robert-hh can this package be installed on the earlier LOPY or FIPY ?
-
@robert-hh thanks for your help, will keep you posted !!
-
@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
-
@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.
-
@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.
-
@robert-hh but why is the region not supported out of the box ?
-
@robert-hh that would be great ! please make that for us so that we can use with our pycom modules.
-
@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.
-
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 ?
-
@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
-
can anybody reply on this please.