Dragino Lora/GPS HAT: Difference between revisions

From ArmadeusWiki
Line 2: Line 2:


Instructions to use Dragino Lora/GPS HAT on [[OPOS6ULDev]] (thanks to RaspberryPi™ compatible connector).
Instructions to use Dragino Lora/GPS HAT on [[OPOS6ULDev]] (thanks to RaspberryPi™ compatible connector).
[http://wiki.dragino.com/index.php?title=File:Hatpin.png]


==LoRa™==
==LoRa™==
Line 8: Line 10:
# modprobe spidev
# modprobe spidev
</pre>
</pre>
* Testing that chip is recognised with python spidev:
<source lang="python">
import spidev
spi = spidev.SpiDev()
spi.open(3,0)
to_send=[0x42,0x00]
spi.xfer(to_send)
[255, 255]
</source>


==GPS==
==GPS==

Revision as of 16:24, 27 October 2016

Page under construction... Construction.png Informations on this page are not guaranteed !!

Instructions to use Dragino Lora/GPS HAT on OPOS6ULDev (thanks to RaspberryPi™ compatible connector).

[1]

LoRa™

  • Uses HOPERF RFM96W module (clone of Semtech's SX1276 ?) which is controlled through SPI bus.
# modprobe spidev
  • Testing that chip is recognised with python spidev:
import spidev

spi = spidev.SpiDev()
spi.open(3,0)
to_send=[0x42,0x00]
spi.xfer(to_send)
[255, 255]

GPS

Links


LoRa is a registered trademark of Semtech.

RaspberryPi is a registered trademark of RaspberryPi Foundation.