Pico-Lora-Expansion-board

From SB-Components Wiki

Pico Lora Board (868MHz) - Incomplete Wiki

Pico LoRa™ Expansion is a low-power consumption data transmission board, comes with an onboard CH340 USB TO UART converter, Voltage Level Translator(74HC125V), E22-900T22S SMA antenna connector that covers 868MHz frequency band , Onboard 1.14" LCD,IPEX antenna connector, LoRa™ Spread Spectrum Modulation technology with auto multi-level repeating.

Features

  • Onboard 1.14" LCD
  • Voltage Level Translator(74HC125V)
  • Communication range up to 5 KM
  • Supports auto repeating to transmit longer
  • Low Power Consumption
  • Highly Secured
  • For Evaluating signal quality with the RSSI or "Received Signal Strength Indicator"
  • Wireless parameter configuration support
  • fixed-point transmission support
  • SMA and IPEX Antenna Connector
  • USB to LoRaTM and Pico to LoRaTM Communication via UART
  • Comes with development resources and manual
  • LED Indicators:
    • RXD/TXD: UART RX/TX indicator
    • AUX: auxiliary indicator
    • PWR: power indicator
  • Serial/USB selection jumpers:
    • A: USB TO UART to control the LoRa module through USB
    • B: control the LoRa module through Raspberry Pi Pico
  • Data/Command mode selection jumpers :
    • Short M0, short M1: Transmission mode
    • Short M0, open M1: Configuration mode
    • Open M0, short M1: WOR mode
    • Open M0, open M1: Deep sleep mode

Specifications

  • Frequency - 850.125~930.125MHz (Programmable Range)
  • Power - 22dBm
  • Distance - Up to 5 KM
  • Interface - UART Communication
  • Serial Port Module - E22-900T22S1B
  • Voltage Level Translator - 74HC125V
Pico Lora 868MHz board
Buy it From : 868MHz_Version and 433MHz_Version

Pinout

PICO Lora Board PICO Pins
LCD DIN GP11
LCD CLK GP10
LCD DC GP8
LCD CS GP9
LCD RST GP12
LCD BL GP13
M0 GP3
M1 GP2
Lora TX GP1
Lora RX GP0

Jumper Selection/Configuration

Lora Operating Mode (Mode Selection) Lora mode selection.JPG
M0 M1 MODE
Short (0) Short (0) Normal Mode
Short (0) Open (1) Configuration Mode
Open (1) Short (0) WOR Mode
Open (1) Open (1) Deep Sleep Mode
Device Selection Jumper Lora device selection.JPG
L_TX L_RX Detail
Short with U_RX Short with U_TX MODE 1 - USB Communication with Lora
Short with P_RX Short with P_TX MODE 2 - Pico Communication with Lora
Open Open MODE 3 - No communication

Note : In case of Pico Communication with Lora, remove both mode selection jumper and use GP2 and GP3 pin of Pico to control modes of LORA, Pico must be removed in case of configuration of Lora through USB and use mode selection jumpers to set mode.

Installation

MicroPython

For Communication between two Pico Lora Expansion

  • First take 2 LORA Expansion board and set jumper position as mention below:
    • Mode Selection Jumper : M0 - OPEN, M1 - Open (we are going to use PICO gpio pi GP2 and GP3 to control MODE Selection)
    • Device Selection Jumper : Set is as MODE 2 to enable PICO to LORA Communication

For Board 1

  • Stack Raspberry Pi Pico on both boards.
  • Now connect USB Cable on USB Port of Pico 1.
  • Open Thonny IDE and Choose interpreter as MicroPython (Raspberry Pi pico).

Pico 11 lcd thonny.PNG

  • Now Create a file "Lcd1_14driver.py" as same content from PICO LORA Expansion's github repository in thonny ide, and save it in root location of first Raspberry Pi Pico with same name "Lcd1_14driver.py" (without quotes).
  • Copy and Paste or Open "Broadcast_Demo.py" code in thonny ide.
  • Click on green play button to run example of Pico LORA Expansion on Board 1, You can either save this file on root location of PICO or on your Computer drive.

Thonny play.PNG

For Board 2

  • Stack Raspberry Pi Pico on both boards.
  • Now connect USB Cable on USB Port of Pico 2.
  • Open Thonny IDE and Choose interpreter as MicroPython (Raspberry Pi pico).

Pico 11 lcd thonny.PNG

  • Now Create a file "Lcd1_14driver.py" as same content from PICO LORA Expansion's github repository in thonny ide, and save it in root location of second Raspberry Pi Pico with same name "Lcd1_14driver.py" (without quotes).
  • Copy and Paste or Open "Broadcast_Demo.py" code in thonny ide.
  • Click on green play button to run example of Pico LORA Expansion on Board 2, You can either save this file on root location of PICO or on your Computer drive.

Thonny play.PNG

Once setup both board successfully, you can notice that both board are sending text to each other You can change below variable to change transmitting text :

 txData = b'hellow world' 

Put your text between single quote.

Resources