Git Product home page Git Product logo

rak831-zero's Introduction

Raspberry PI Zero RAK831 Lora Gateway Shield

Full

This shield has been created to help wiring between Raspberry PI Zero and RAK831 LoraWan concentrator Gateway and to be able to put the whole thing into a enclosure..

Then I decided to add some funky stuff like:

Features (tested, working fine)

Major updates in V1.5a

  • Added connector to put a Tiny GPS breakout board
  • Added switch/jumpers to select PI Serial to be connected to FTDI connector or from GPS RX/TX
  • Added footprint for RTC components or Adafruit Breakout (when used in local LoRaWAN server without Internet connexion)
  • Added a LED on GPIO4 GPIO26 to light when GW is off so we can remove power safely (or whatever purpose)
  • Connected GPS PPS signal on GPIO4 and added a LED on this signal
  • due to space constraints because of new features, some options to put PTH components have been removed

Minor tweaks in V1.4

  • Labeling error on top silk for Murata OKI-78SR-5 (VIN VOUT were revesed) but correct on bottom silk
  • Added solder bat to be able to reverse 3V3/GND and/or SCL/SDA on I2C-1 connector
  • Moved FTDI connector to lower position
  • Added I2C connector SILK number to identify them better
  • Added a LED on GPIO4 to light when GW is off so we can remove power safely

Minor tweaks in V1.3b

  • Reversed side of Murata OKI-78SR-5 to let some place for big OLED
  • Changed solder pad default power to use DC/DC
  • Inversed the 2 OLED connectors to better seeing of RAK LED
  • Adjusted opening to see RAK LED to a better position

Since V1.3

  • Push button on GPIO17 to be able to shutdown PI Locally
  • Added FTDI connector to be able to take hand on PI console when in enclosure (lost network or whatever, no more need to get all off the enclosure and connect HDMI cable to see what's going on)
  • Added footprint for excellent Murata OKI-78SR-5 DC/DC 5V
  • Footprint for RAK831 LoraWan concentrator (main goal)
  • I2C connectors to be able to add internal/external sensors or OLED such as BME280, SI7021, HTU21D SSD1306
  • Power with terminal block
  • 2 visual WS2812B Leds
  • Easy to build and solder, 0805 or PTH components
  • Holes to fix board on enclosure or other support
  • quick fix connector, you can plug/unplug PI Zero without soldering

Tiny GPS breakout board, buy there
Tiny GPS Breakout

Tiny Adafruit RTC board, buy there

RTC Breakout

Detailed Description

No specific documentation for now, it's just a kind of wiring helper, please see Gateway section on TTN Learn and also on TTN Forums for more information on these gateways.

Power

You can power the board with 5V going to Raspberry PI USB power directly or connecting 5V to the terminal blocks named VIN/GND, in this case use a descent 5V power supply.

You can also use a Murata DC/DC Step down (see BOM), in this case you can power the board from DC 7V to 36V, this is what I do each time. To use this feature you need to cut the trace on bottom side of PCB that connect VIN to 5V (vout).

Cut Trace to Power with DC DC Step Down

Since V1.3b+ the trace is not connected anymore. This means that Vin and Vout are not connected anymore. So if you don't use DC/DC and powering with 5V, you need to put some solder on the pad to connect vout to vin (5V).

Pushbutton

The push button is connected between 3V3 and GPIO17. GPIO17 has a 10K pull down to ground so when pressed GPIO17 become High. The button can be soldered on board, or connected to the Terminal Blocks if you want to put an external one if you have the board in a closed enclosure for example.

Cut Trace to Power with DC DC Step Down

Push button management is done my the monitoring service installed by the setup below

LEDs

Led management is done my the monitoring service installed by the setup below

Software Installation

Please follow the installation documented on the dedicated repository to install all needed and functionnal software:

  • Initial configuration
  • Multi Protocol Packet Forwarder
  • Monitoring service (Led and Push Button)

Schematics

schematic

Boards

PCB

Top side RAK831 Zero Shield V1.5 PCB Top

Bottom side RAK831 Zero Shield V1.5 PCB Bottom

Assembled PCB (V1.3)

Top side PCB Top Assembled

Bottom side PCB Bottom Assembled

You can order the PCB of this board at PCBs.io

Please not that there is special PCB version (not released yet) that fit in an indoor enclosure like the ones you can find on ebay. Search on ebay for 100x68x50mm IP66 Waterproof or 100x68x50mm IP66 Waterproof clear to find them.

  • V1.3 For outdoor enclosure (smaller PCB)

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, so if you don't care about PCB manufacturer please use PCBs.io.

Assembled boards into nice enclosure

Fully assembled and in nice enclosure with sensors

With the samtec connector you can put the PI Zero on top or bottom, depending on your choice, just solder the sametec connector to the PCB side you need. You can also avoid connector soldering the PI directly on the board. Fully assembled and in nice enclosure with sensors

And here it is near to The things node. Fully assembled with the things node

Video of all

Click on image to see the video

CH2i RAK831 GW

Bill Of Material

Nothing fancy, all components are 0805 and/or PTH and can be ordered almost anywhere (digikey, mouser, radiospare, ...). use only what you need dependings on what you want to do. You can find lot of components on ebay or aliexpress, but since vendors are often ephemere, I put for reference the BOM on well known providers.

Here is the octopart BOM

If you have good reference for standoff like this, just let me know.

License

Creative Commons Attribution-NonCommercial 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License
If you want to do commercial stuff with this project, please contact CH2i company so we can organize an simple agreement.

Misc

See news and other projects on my blog

rak831-zero's People

Contributors

hallard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rak831-zero's Issues

Ethernet jack with PoE

Is there any chance you can add ethernet to the backplane, splitting out the passice PoE lines to the DC/DC, and the data lines to a usb ethernet module?

missing items from BOM

Hi, I just assembled a v1.5a board but noticed I was missing some items that were not on the BOM (which I ordered from).

Can you please help me figure out what:

LED3, LED4, R1, R3 and Q1 should be?

The CR1220 holder was also missing but that is easier to guess.

Also the "R30-3000602" standoff is too short as it is only 6MM and I think these should be 2x instead of 1x on the BOM.
Thanks!!

Detail pictures of 1.5A

Hello,
Finally PCB of 1.5a version arrived home :) do you have by any chance detailed pictures of the PCB with components ? I'm trying to figure out what is needed and what is not to be there. For example if I use the Adafruit RTC, I will not need to add anything to the RTC block on the oposite side right ? Same with CR1220 since the Adafruit have its own battery ( I think ). Also what is the I2C-1 on the Bottom side of the Adafruit RTC block ( checking the schema looks like the I2C-1 to 3 is for sensors) ? What is the IO17 ( SW 3V3) ?

If I'm going to use just 5V adapter ( or the DC/DC) is the rpi powered from pins ?

Sorry for so much questions, just want to make it right :D
Thanks.

pinout unclear in version 1.2

Hi Charles
I used your board (the one you gave me in Amsterdam which was pre-soldered) to build a Gateway, but it does not work (the concentrator cnaoot be connected, the rest works ok). When I checked the PCB I found some strange things. On the 1.3a version of he Eagle files Pin 1 and 2 are 5V. On my board 23 and 24 are connected to 5 volts. Somehow everything seems mirrored. What is my mistake? The Neopixels are on the side of the RPI and the concentrator below your board.
Andreas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.