Difference between revisions of "Pinedio"

From PINE64
Jump to navigation Jump to search
Line 11: Line 11:
* GPS is connected to UART2 on the A64 board
* GPS is connected to UART2 on the A64 board
* SX1302 on SPI0
* SX1302 on SPI0
{| class="wikitable"
|RAK2287 module
|PI-2 connector
|PINE A64-LTS
|-
|SX1302 SPI
|Pin 19 = MOSI / PC0<br/>Pin 21 = MISO/PC1<br/>Pin23 = CLK/PC2<br/>Pin24 = CS/PC3
|SPI0 (/dev/spidev0.0)
|-
|SX1302 RESET
|Pin 11 = GPIO17/PC7
|GPIO71
|-
|GPS UART
|Pin 8 = TX/<br>Pin 10 = RX
|UART2 (/dev/ttyS2)
|-
|GPS RESET
|Pin 33 = GPIO13/PC5
|
|-
|GPS Standby
|Pin 35 = GPIO19/PC9
|
|}


=== Pictures ===
=== Pictures ===

Revision as of 18:48, 28 April 2021

Page under construction, information subject to change. Project is in early development phase.

LoRa is a long range, low power wireless platform that is being used by a lot of Internet of Things (IoT) products. Using LoRa and LoRaWAN, devices can communicate across the world using the internet, using various decentralised networks such as The Things Network or Helium. Since, PINE64 believes in openness, the LoRa gateway can connect to any network, per the developer implementation. If Helium Spots open up for PINE64 gateway and developers have implemented the hook for Helium, then this is good thing. The PINE64 LoRa gateway also open connect to The Things Network if developers implement support. The choice is yours!

Gateway

The gateway will be available in two variants - indoor and outdoor. All that is known about the outdoor unit is that it will have "an aluminum, rugged and water resistant case". The indoor unit consists of a PINE A64-LTS, fitted with a purpose built hat (adapter) which uses a LoRa module by RakWireless. The chipset used is the SX1302, and the module via the SPI interface. There are two external connections on the enclosure for the GPS and loRa antenna.

Connections

  • GPS is connected to UART2 on the A64 board
  • SX1302 on SPI0
RAK2287 module PI-2 connector PINE A64-LTS
SX1302 SPI Pin 19 = MOSI / PC0
Pin 21 = MISO/PC1
Pin23 = CLK/PC2
Pin24 = CS/PC3
SPI0 (/dev/spidev0.0)
SX1302 RESET Pin 11 = GPIO17/PC7 GPIO71
GPS UART Pin 8 = TX/
Pin 10 = RX
UART2 (/dev/ttyS2)
GPS RESET Pin 33 = GPIO13/PC5
GPS Standby Pin 35 = GPIO19/PC9

Pictures

Armbian image for gateway

Gateway is based on the pine64 A64-LTS, and the current Armbian_21.02.3 sopine image has a broken DTS. The fault and fix was identified by user dippywood on the Armbian forums in this thread, and until a new version is released, patched versions are available here (576MB gz) and here (278MB xz).

End nodes

There are several end-node units planned:

  • loRa back case for the PinePhone
  • standalone USB dongle-type end-node adapter
  • PineTab adapter
  • as well as a SPI module (which can also be configured as a USB LoRa dongle)
  • a LoRa stick powered by a single 18650 battery (using the BL602, and can be fitted with GPS, an low-power OLED panel and additional sensors)

All the end-nodes use the SX1262 chip.

Pictures

Datasheets and schematics

Gateway

End nodes

Pinephone backplate

Other resources