Giter VIP home page Giter VIP logo

rak833-spi's Introduction

The Things Network: RAK833-based gateway

Reference setup for The Things Network gateways based on the RAK833 USB/SPI concentrator with a Raspberry Pi host using the RAK833 SPI adapter PCB.

Note that on our PCB the RAK833 module's reset pin has been attached to GPIO25 to allow you to reset the module.

Setup based on standard MyPi Integrator Board Raspbian image

  • Plug in the RAK833 Adapter PCB with the RAK833 module connected

  • Start your RPi connected to Ethernet

  • From a computer in the same LAN, ssh into the RPi using default pi user (for IP address see HMDI output)

      local $ ssh [email protected]
    
  • Default password for user pi is raspberry

  • Edit /boot/config.txt and add the line below to the bottom to enable the SPI interface (or alternately use raspi-config)

      dtparam=spi=on
    
  • Reboot

  • Make sure you have an updated installation and install git:

      $ sudo apt-get update
      $ sudo apt-get upgrade
      $ sudo apt-get install git
    
  • Create new user for TTN and add it to sudoers

      $ sudo adduser ttn
      $ sudo adduser ttn sudo
    
  • Logout and login as ttn and remove the default pi user

      $ sudo userdel -rf pi
    
  • Ethernet connection is recommended, if you still want to use WiFi configure the WiFi credentials (check here for additional details)

      $ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
    
      network={
          ssid="The_SSID_of_your_wifi"
          psk="Your_wifi_password"
      }
    
  • Clone the installer and start the installation

      $ git clone https://github.com/mypiandrew/rak833-spi.git
      $ cd rak833-spi/install
      $ sudo chmod +x *.sh
      $ sudo ./install.sh
    
  • If you want to use the remote configuration option, please make sure you have created a JSON file named as your gateway EUI (e.g. B827EBFFFE7B80CD.json) in the Gateway Remote Config repository.

Credits

Credits for gonzalocasas and ttn-zh for their installation procedure for the IMST iC880a. Also, that procedure is largely based on the awesome work by Ruud Vlaming on the Lorank8 installer.

rak833-spi's People

Contributors

mypiandrew avatar

Stargazers

Dmytro avatar rick.zhang avatar

Watchers

 avatar

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.