Difference between revisions of "Template:Pico-LoRa-SX1262-868M Manual"
From Waveshare Wiki
(Created page with "==Setup Environment== *To use the Raspberry Pi Pico with C/C++, please refer to [https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf C/C++ Development manual...") |
(No difference)
|
Revision as of 10:14, 19 October 2021
Setup Environment
- 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.
Hardware Connectint
- 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.
Access 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
- The demo codes are based on the pico-lorawan project, and updated to compatible the Pico-LoRa-SX1262-868M module
- For more details about the LoRaWAN protocol, pleaser refer to LoRa Allicance
- If you want to create your own cloud server, pleaser refer to lorawan-stack,chrpstack