If you follow our activities (Cytron’s activities), you might have noticed that we use LoRa (Long Range) ecosystems quite a lot. It started with the Microchip seminar back in 2015 where they announced LoRa. I was amazed by its coverage distance and open standards. LoRa is fairly new in wireless technology, it emerged to bridge the gap in LPWAN (Low Power Wide Area Network). Although we already have PAN (Personal Area Network) such as WiFi and BLE, but WiFi is power hungry with only 100 meters range whereas BLE is low power but still operates within 100 meters range. How about 2G, 3G, 4G, LTE and all those cellular networks that we use for our smart phones, can’t they cater for Wide Area Network (WAN)? Yes, they can, but there are 2 major concerns:
- Currently cellular network is not low powered. Just look at your phone, the battery can only last for 1 or 2 days; maybe up to a week in sleep mode, maximum 1 month without charging. But we are looking for years of sensor node powered by battery only.
- Cellular networks have to be licensed from local authority. Furthermore, only big Telco companies can afford the infrastructure (the base station, huge antenna, licensing, network, deployment, etc). Private companies and individuals cannot afford it. If a particular area is not covered with cellular network, you cannot use it, neither can you deploy your own without the infrastructure and license. 🙁
This is where LoRa comes into picture. It is an open standard protocol that uses unlicensed frequency band (at least in Malaysia and most countries). Better yet, it runs on very low power too. To know more about LoRa technology, please check out LoRa Alliance. Anyhow, from my view the important features of LoRa are:
- Its fairly new wireless technology which is meant for LPWAN.
- The device (sensor node) can be powered with consumer batteries and are able to last for years depending on the application, ranging from 1 to 2 years in most cases, and up to 10 years in some special cases.
- LoRa (Long Range) is the radio protocol, while LoRaWAN is the network protocol.
- It is a star topology network.
- It uses sub-GHz frequency to communicate, which is regulated by each country’s regulatory body. For Malaysia, it is 919MHz to 923MHz (As the time I wrote this article).
- Individuals can deploy their own LoRaWAN as they like if they use it within the regulated power and frequency.
Now, you might have noticed too, we already carried several LoRa shields:
- Cytron LoRa shield– uses Microchip’s RN2903 LoRaWAN module, loaded with Malaysia LoRaWAN frequency settings.
- Cytron LoRa RFM Shield– Uses HopeRF RFM95W (LoRa radio design for 915MHz band).
- Atilze LoRa Shield– Uses Gemtek GL6509 LoRaWAN module, loaded with Malaysia LoRaWAN frequency settings. And comes with 6 months free subscription to access Fabrick (Application server platform from Atilze).
If you have tried LoRa, you will notice, it has 3 important elements:
- The LoRaWAN node – This is the sensor node, or in our case, a LoRa shield connected to an Arduino. The Arduino grabs information from the sensors and packages the data into LoRaWAN format before the LoRa shield sends it to the network.
- The LoRa gateway – It is a RF concentrator, able to receive LoRa radio packet in several frequencies simultaneously. Normally they come with 8 concentrator channels. Other variants range from single-channel gateways (can only receive 1 channel of LoRa radio packet at one time), to pricier 16 channels concentrators. Anyway, there are quite a few LoRa gateways in the market, we Cytron are also coming up with a Raspberry Pi 3 based 8 channel concentrator so stay tuned! The gateway basically receives and forwards the LoRa packet to a LoRaWAN network server.
- The LoRaWAN network server – Most beginners do not notice its importance but LoRaWAN network server is needed to decode LoRaWAN data packets and consolidate data packets from several gateways as the nature of LoRa RF is broadcast, so all gateways within range will receive the same packets. Decoded data is then sent to the application server for display, data analysis and other purposes.
Perhaps this diagram can illustrate the LoRaWAN architecture better.
Cytron has been trying to enable everyone to deploy LoRa, yet our resources are limited because it is not our expertise – we are not network nor server developers. But as you can see, network servers are crucial in LoRaWAN architecture so we have been talking to many parties such as TTN, Orbiwise, Loriot, LinkLabs etc, to get things up and running for Malaysia. Due to technical issues, most of these LoRaWAN network servers do not support Malaysia LoRaWAN frequencies. Of course makers and developers can still find workarounds but they are still not preferable as they require firmware update at the node, gateway or even both.
We solve this problem by using the Atilze LoRa shield. Atilze LoRa shield comes with free access to their platform, Fabrick, which consist of LoRaWAN network server and application server so anyone can register an account. We are coming out with a guide for users to register an account and start using LoRa technology, so stay tuned!
In the nutshell, Atilze LoRa Shield:
Arduino compatible LoRaWAN shield
- Comes with Arduino UNO/CT-UNO example code.
- Free access to Fabrick platform for 6 months which consist of LoRaWAN network server and application server.
- Free access to 28 industry grade outdoor gateways in Klang Valley area. Here is a map of the coverage areas listed below. You will still have to try it out yourself as wireless coverage depends on many factors.
- Damansara Jaya
- Jalan Templer
- Taman Kinrara
- Kuchai Jaya
- Taman Teknologi Malaysia
- Puchong Prima
- Cyber View
- Cyber Jaya
- Kajang Town
- Tasik Semenyih
- Jalan Semarak
- Jalan Pudu
- Taman Cahaya Ampang
- Neo Damansara
- Seksyen 4 Kota Damansara
- SS7 Kelana Jaya
- SS15 Subang Jaya
- Seksyen 13 Shah Alam
- Sri Muda
- Klang Sentral
- Teluk Gadong Klang
- Jalan Kebun
- Pulau Indah
LoRa will continue to scale with the growing number of LoRaWAN gateways, network servers and application servers. As far as I know, Indonesia is finalizing the LoRa frequency and it will most likely be in between 919MHz and 923MHz too. Atilze do have gateway installations in Indonesia, you can contact them for more info.
If you have any comments or questions about this shield, you are welcome to discuss it in our technical forum: http://forum.cytron.com.my.
Now, everyone can “LoRa” 🙂