Im doing research to build a lora transceiver using Semtech SX1276(I would appreciate other suggestions) and Arduino.
The allowed frequencies in my country are 917MHz to 920MHz. (as explained below)
Is it possible to program the microcontroller to use only this range of frequencies? in other words can I define my own frequency band range? in case of yeah, how can I do so?
However, before we get into that, an ATmega328p based Arduino isn’t really suitable for LoRaWAN, as the network code ends up consuming just about all available resources. People do use Arduino approaches, but generally on more capable chips - ARM, with various issues the ESP8266 or ESP32, the ATmega1280 or ATmega2560, etc…
This particular forum is specific to The Things Network, not to LoraWAN in general. And TTN only works with bandplans already known to the TTN servers. If there isn’t support for what is legal in your country, you’d need to get that added to the TTN servers before you worried about implementing the node side.
Are you sure this is unique, and not a bandplan already in use there, or somewhere else?
As above, you cannot meaningfully until TTN supports this. If you wanted to go it on your own for a non-TTN network, you could study the SX1276 data sheet or take time to understand how some existing code such as LMiC handles things.
There’s also quite a bit more to it for a specific region than just the frequency assignments.