The Pico-LoRa-SX1262-868M is a LoRa node expansion module designed for Raspberry Pi Pico based on SX1262, which supports LoRaWAN protocol and EU868 band. It is allowed to connect the TTN, TTS servers through a LoRa gateway to use LoRa Cloud service fast and easily.
- Standard Raspberry Pi Pico header supports Raspberry Pi Pico series boards
- Supports LoRaWAN protocol and EU868 band
- PH1.25 battery and recharge controller allows connecting rechargeable Lithium battery
- 2x LED indicators for monitoring module operating status
- RFID: SX1262
- Frequency range: EU868 (863~870MHz)
- Modulation: LoRa/(G)FSK
- Emit power: >[email protected]
- Operating voltage: 3.3V
- Module power consumption:
- Communication bus: SPI
- Operating temperature: -40 ~ 85℃
- Dimensions: 21.00 × 52.00mm
LoRa & LoRaWAN
What is LoRa ?
[Semtech]'s LoRa is a long-distance, low-power wireless platform for the Internet of Things (IoT), which generally refers to radio frequency chips using LoRa technology. The main features are as follows：
- The spread spectrum modulation technology used by LoRa (abbreviation of long range) is derived from chirp spread spectrum (CSS) technology, which is one of long-distance wireless transmission technology and LPWAN communication technology. At present, LoRa mainly operates in the ISM frequency band, mainly including 433 , 868, 915 MHz, etc.
- LoRa technology integrates technologies such as digital spread spectrum, digital signal processing and forward error correction coding, which greatly improves the performance of long-distance communication. LoRa's link budget is better than any other standardized communication technology. The main factors that determine distance in a given environment
- LoRa RF chips mainly include SX127X series, SX126X series, SX130X series, of which SX127X, SX126X series are used for LoRa nodes, and SX130X is used for LoRa gateways. For details, please refer to [Semtech]'s product list
What is LoRaWAN ?
- [LoRaWAN] is a low power wide area network open protocol based on LoRa radio modulation technology. Aims to wirelessly connect battery-powered "things" to the Internet in a regional, national or global network and targets key Internet of Things (IoT) requirements such as bi-directional communications, end-to-end security, mobility and localized services. Node wireless connection to the Internet has access authentication, which is equivalent to the establishment of encrypted communication channel between node and server. Access details refer to [document] and [source code]. LoRaWAN protocol level is shown in the figure below.
- The Class A/B/C node devices in the MAC layer basically cover all the application scenarios of the Internet of Things. The differences among the three nodes lie in the different time slots for receiving and receiving nodes
- EU868 and AS430 in the Modulation layer show that frequency band parameters are different in different countries. Please click the reference [link] for regional parameters
To achieve LoRaWAN network coverage in cities or other areas, it needs to be composed of four parts: node (LoRa node radio frequency chip), gateway (or base station, LoRa gateway radio frequency chip), server and cloud, as shown in the following figure
- The DEVICE (node device) needs to initiate a network access request packet to the GATEWAY (gateway) and then to the server. After the authentication is passed, it can send and receive application data with the server normally.
- GATEWAY (gateway) can communicate with the server through wired network, 3/4/5G wireless network
- The main operators on the server side are [TTN], etc. For building cloud services by yourself, please refer to [lorawan-stack], [chirpstack]
LoRa devices and networks such as LoRaWAN enable smart IoT applications to help solve the planet's formidable challenges in energy management, natural resource reduction, pollution control, infrastructure efficiency, disaster prevention, and more. Semtech's LoRa devices have achieved hundreds of successful use cases in smart cities, homes and buildings, communities, metrology, supply chain and logistics, agriculture, and more. LoRa networks have covered hundreds of millions of devices in more than 100 countries and are committed to a smarter planet.
- To use the Raspberry Pi Pico with C/C++, please refer to C/C++ Development manual
- To use the Raspberry Pi Pico with Micropython, please refer to MicroPythonenvironmentmanual
Hereby we use VScode IDE in Windows 10 to show you how to use the LoRa module.
- Pico-LoRa-SX1262-868M x1
- Raspberry Pi Pico x1
- Micro USB Cable x1
About LoRa Network
The Pico-LoRa-SX1262 is connected to Raspberry Pi Pico and works as an End Node. User LoRaWAN protocol, the End Node connects to the TTS server, transmit or receive data to/from TTS server through the LoRa Gateway. Here is the topology of the Network.
Please check if the module is available in your city according to the local network. Pico-LoRa-SX1262-868M is suitable for the area which is covered with EU868. You can also go to LoRa Alliance and check your local network.
- Register an account in TTS and log in.
- Create an Application.
- Add an End Device
- Configure the End Device as the picture. Please save the DevEUI and the AppKey for further using.
- Download the Demo Codes and save it to the directory of Pico-SDK
- Open the VScode, and open the pico-lorawan directory with VScode. Add the DevEUI and AppKey saved to the example\otaa_temperature_led\config.h file.
- Build the project and program it to the Raspberry Pi Pico. Then you can check the serial data
About the Demo codes
If you require technical support, please go to the Support page and open a tickets.