• Stars
    star
    124
  • Rank 288,207 (Top 6 %)
  • Language
  • Created over 8 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Raspberry PI Lora Gateway/Node for HopeRF RFM95 RFM96 RFM98 Modules

Raspberry PI Lora Gateway/Node for RFM92/95/96/98/69HCW Modules

This shield is used to hold HopeRF Lora module Software with Raspbery PI. it has just few minimal features and it's working for TTN network.

I tweaked the Single LoraWan Gateway to get it working out of the box. It should also works with HAB Supplies Lora Gateway (same pinout), see this excellent Dave's article.

This shield can also act as a LoraWAN Node/gateway using this custom dedicated software

  • RPI version of LMIC stack. This LMIC is working with this shield, see readme of repo.
  • for RF69 networks using the excellent RadioHead customized library. This version is working with this shield, see readme of library.

As you can see, this shield is small but can do a lot but if you need a shield with more features (modules) on same board, I've designed a more featured one. It's called RPI Lora Gateway, you can go here to see it.

Features

  • Placement for RFM92/95/96/98 Lora module or RFM69HCW classic module
  • Placement for choosing single Wire, SMA or u-FL Antenna type
  • 2 x LED LED for visual indication

New in Version 1.2a

  • V1.2 CS trace missing fixed

New in Version 1.2

  • R3 Error corrected, it's now a Pull Down
  • DIO5 connection to GPIO24 removed, not used
  • 2nd led is now connected to GPIO24 instead of CS line

Error in V1.2, one small trace on CS (CE0 and CE1) signal is missing, fixed in V1.2a, I really apologize for this error, Eagle beginner error, ALWAYS place junction on schematic, because sometime it looks like connected but it's not!

Here is how to fix this V1.2 trace missing

Clean Way (experienced soldering user)

With a small cutter or tool remove silk to bring via copper visible, then solder a tiny wire from CS pad to Via as follow (in green) LoRasPI V1.2 Clean trace fix

Easy Way

Just route the CE0 or CE1 signal with a small wire dirctly to RFM9x module as follow LoRasPI V1.2 Easy trace fix Use purple wire if you want to use CE0 and Cyan for CE1

New in Version 1.1

  • Reduced board width so it can be soldered on 2x40 pins connector to expose other GPIOs
  • Added DIO1 and DIO2 OR'ed with DIO0 and 1N4148 diode to conform LIMC stack
  • Better ground plane isolation
  • Added some via on RF part

I'm waiting now new V1.1 and V1.2 boards from OSHPark and PCBs.io, so I didn't fully tested V1.1/V1.2 yet, I will update ASAP.

I discovered a design error on V1.1, R3 resistor should be a pull down resistor and not a pull up, so you should not populate R3, do not place it, it's not a real problem since software will activate pull down of the BCM2835 controller but it's corrected in V1.2

I'm waiting boards V1.0 Boards arrived from OSHPark, all is working as expected (V1.0). so I didn't fully tested them yet, I will update ASAP.

Detailed Description

Look at the schematics for more informations.

SPI connexion is classic (MOSI/MISO/CLK), Chip Select can be connected to CE0 or CE1 of PI depending on bord solder PAD jumper. Take care that by default it's connected to CE0 (wired) so you don't have to do anything. If you want to connect to CE1 you'll need to cut CE0 trace on the PCB (on the solder pad).

Only One GPIO needed for DIO0/DIO1/DIO2 (OR made with 3 diodes and one resistor R3) that will make this board fully compatible with current LIMC implementation, even if I've done a software fix which works with no interrupt. Only Needed for Lora modules, if you're using RFM69HCW and and to use IRQ just place D0 and R3.

Other pins that may need be adapted into code (for example if you use TTN network gateway code) according to the following pinout This Single LoraWan Gateway has been tweaked and works right out of the box.

Detailed Description

Since V1.2

Raspberry PI   RFM9x Module 1
   GPIO22  <---->  Reset
   GPIO25  <---->  DIO0 OR DIO1 OR DIO2 (Hardware OR done with 1N4148 Diode and R3)

Raspberry PI   On Board LEDS
   GPIO23  <---->  LED D3 TX/RX
   GPIO24  <---->  LED D4 LED

V1.0 and V1.1

Raspberry PI   RFM9x Module 1
   GPIO22  <---->  Reset
   GPIO25  <---->  DIO0 OR DIO1 OR DIO2 (Hardware OR done with 1N4148 Diode and R3)
   GPIO24  <---->  DIO5 (Ready)

Raspberry PI   On Board LEDS
   GPIO23  <---->  LED D1 TX/RX
CE0 or CE1 <---->  LED D2 CS

Schematic

schematic

Boards

Top

Bottom

Assembled boards (V1.0)

Assembled

V1.0 connected to Raspberry PI.

LoRasPI plugged on PI

You can order the PCB of this board at OSHPARK (V1.1) or new V1.2a at PCBs.io. PCBs.io give me some reward when you order my designed boards from their site. This is pretty good, because I can use these rewards to create and design new boards and order boards for a discounted price and share new boards. So if you don't care about PCB manufacturer please use PCBs.io.

##License

You can do whatever you like with this design.

##Misc

See news and other projects on my blog

More Repositories

1

WeMos-Lora

ESP8266 WeMos Shield for HopeRF RFM95 RFM96 RFM98 Lora module
217
star
2

Mini-LoRa

Arduino Mini Lora Battery/Sensors Board
172
star
3

RadioHead

RadioHead Packet Radio library for embedded microprocessors
C++
124
star
4

WebSocketToSerial

TCP Network to Serial Proxy using WebSocket for ESP8266
HTML
118
star
5

NodeMCU-Gateway

NodeMCU ESP8266 RF Gateway and Display Board
113
star
6

ArduiPi_OLED

Common used OLED driver for Raspberry PI
C++
112
star
7

RAK831-Zero

Pi Zero RAK831 Adapter board
99
star
8

LibTeleinfo

Librairie Universelle Teleinformation (TIC)
C++
89
star
9

Battery-Voltage-Measure

Battery Voltage monitor with no current drain breakout board
68
star
10

RPI-Lora-Gateway

Raspberry PI Lora Gateway/Node for RFM92/95/96/98/69HCW Modules
Eagle
58
star
11

WeMos-TIC

WeMos ESP8266/ESP32 Teleinfo (TIC) Shield
48
star
12

Scan-I2C-WiFi

ESP8266 I2C Scanner with oled display, WS2812 RGB Led and OTA
C
42
star
13

teleinfo

Projets dédié à la téléinformation
Eagle
42
star
14

WeMos-RN2483

ESP8266 WeMos Shield for Microchip LORAWAN RN2483 or RN2903
Eagle
40
star
15

WeMos-Matrix-Shield

WeMos ESP32 ESP8266 RGB LED Matrix Shield
37
star
16

WeMos-Matrix-Shield-DMA

ESP32 DMA RGB LED Matrix Shield
35
star
17

Omega2-IO-Power

FTDI Power SPI I2C Shield for Onion Omega2
Eagle
34
star
18

LoRa-E5-Breakout

LoRa-E5 Breakout board
28
star
19

ArduiPi_SSD1306

ArduiPi Adafruit SSD1306 OLED Driver for Raspberry Pi and ArduiPi Board
C++
28
star
20

arduipi

ArduiPi is a shield for Raspberry Pi that brings Arduino low level extented I/O to Raspberry Pi
Arduino
24
star
21

WeMos-RFM69

WeMos RFM69 RF Gateway + IC2 Oled + ATSHA204
24
star
22

ULPNode

Ultra Low Power Arduino Wireless Sensor Node
Eagle
24
star
23

Pro-Mini-ICSP-FTDI

Arduino Pro Mini ICSP and FTDI Programming Board
Eagle
22
star
24

LoRa-E5-Tiny

LoRa-E5 Tiny cell coin STM32WL LoRaWAN board
20
star
25

LoLin32-Lora

ESP32 LoLin32 Lite Shield for RFM95 or RN2483 LoRa Modules
20
star
26

RAK3172-Breakout

STM32WL LoRaWAN Breakout board for RAK3172
19
star
27

WeMos-RFLink

ESP8266 WeMos Shield for RFLink + OLED
Eagle
18
star
28

remora_soft

Logiciel pour les cartes Fils Pilotes Wifi de type Remora
C++
18
star
29

LoLin32-Lite-Lora

ESP32 LoLin32 Lite Shield for RFM95 or RN2483 LoRa Modules
15
star
30

MAX31865-Breakout

MAX31865 PT100 PT1000 RTD temperature sensor breakout board
Eagle
15
star
31

WifInfo

Wifi Teleinfo Web Server
Eagle
15
star
32

LoraCHIP

C.H.I.P. Computer RN2483 or RFM95 Lora Shield
Eagle
14
star
33

WeMos-shield

Basic WeMos Shield with minimal features
Eagle
12
star
34

rgb-matrix-crypto-ticker

RGB Matrix Crypto Ticker
Python
12
star
35

cc2538-multi-connect

ZigBee CC2538 multiconnect PCB Breakout
10
star
36

Lora-Breakout

Hope RF Lora module RFM92 RFM95 RFM96 RFM98 Breakout Board to be used on NRF24L01 connector
Eagle
9
star
37

RFM69W-BreakOut

RFM69W with SD and Flash EEP Breakout Board
8
star
38

R-Divider-Breakout

Voltage divider breakout for 4 Channels ADS1015/ADS1115 ADC Board
Eagle
7
star
39

RFM12B-BreakOut

RFM12B with SD and Flash EEP Breakout Board
7
star
40

DAC-Shield

Arduino 0-10V DAC / ADC / RS485 / OLED Shield
Eagle
7
star
41

TH02

TH02 temperature and humidity sensor library
C++
6
star
42

ULPNode_Lib

Ultra Low Power Library
C++
5
star
43

RM1xx-Breakout

Laird LoRa/Bluetooth Low Energy Module breakout for RM1xx modules
Eagle
5
star
44

ULPNode_RF_Protocol

ULPNode RF protocol definition and utilities files
C++
5
star
45

DAC7565

TI DAC7565, DAC7564, DAC8164 and DAC8564 Arduino Library
C++
5
star
46

Arduino-Boards

Support for my Arduino compatible development boards
C
4
star
47

Particle2NodeMCU

Particle Spark or Photon to NodeMCU Adapter
Eagle
4
star
48

NRJMeter

Connected NRJ Metering device for Teleinfo and various counters
C++
4
star
49

Particle-Gateway

Particle (Spark) RF Gateway and Display Board
Eagle
4
star
50

Shelly-FTDI

Shelly FTDI programmer board
3
star
51

MicAmplifier

Universal Stereo MIC/Line amplifier for Audio processing with ADC
3
star
52

WeMos-rn2483-firmware

Wemos RN2483 Shield Firmware
HTML
3
star
53

RFPIGW

RFM12B RFM69 Raspberry Pi Gateway with OLED and OOK
2
star
54

NRF24-Breakout

NRF24L01 Breakout Board Socket
Eagle
2
star
55

1-Wire-Fil-Pilote

Carte 1-Wire Fil Pilote
2
star
56

teleinfo-test

Programme de test des modules téléinfo
Python
2
star
57

Denky-D4

Denky D4 WiFi Teleinfo
2
star
58

uTeleinfo

Micro Teleinfo USB Dongle
2
star
59

tinfo_replay

Script to replay teleinfo frames for testing
Python
1
star
60

ArduiLED

ArduiLED for driving addressable RGB LED Strip
1
star
61

Makerfabs-LvglWidgetsDemo

Makerfabs LvglWidgets Demo platformio
C
1
star