toc LoRa Examples Tutorials & Examples > Networks > LoRa

LoRa Examples

The following tutorials demonstrate the use of the LoRa functionality on the LoPy. LoRa can work in 2 different modes; LoRa-MAC (which we also call Raw-LoRa) and LoRaWAN mode.

Note: LoRa will not work with Pygate firmware loaded on your device. It will return a /event_groups.c:498 (xEventGroupClearBits)- assert failed! error.

When using Lora, Always connect the appropriate LoRa antenna to your device. See the figures below for the correct antenna placement

Lopy / Fipy Lopy4
  • LoRaWAN mode implements the full LoRaWAN stack for a class A device. It supports both OTAA and ABP connection methods, as well as advanced features like adding and removing custom channels to support “special” frequencies plans like the those used in New Zealand. There are two basic ways of accessing the LoraWAN network:

Note: When using LoRaWAN, first register with one of the networks

  • LoRa-MAC mode basically accesses de radio directly and packets are sent using the LoRa modulation on the selected frequency without any headers, addressing information or encryption. Only a CRC is added at the tail of the packet and this is removed before the received frame is passed on to the application. This mode can be used to build any higher level protocol that can benefit from the long range features of the LoRa modulation. Typical uses cases include LoPy to LoPy direct communication and a LoRa packet forwarder.

  • Lopy to Lopy You are also able to connect two devices to each other using LoRa frequencies. We have one example explaining more about that

 

Previous Next