Giter Club home page Giter Club logo

raspberry's Introduction

#Wiring the NRF 24L01+ radio

NRF24l01+ Rpi Header Pin
GND 25
VCC 17
CE 22
CSN 24
SCK 23
MOSI 19
MISO 21
IRQ --

#Building & Installing

##RF24 library

  • Download the library from https://github.com/TMRh20/RF24
  • Either an official release(tested with 1.1.3) or clone the master branch.
  • Decompress(if needed) and change to the library directory
  • Run make all followed by sudo make install

##Serial Gateway

The standard configuration will build the Serial Gateway with a tty name of '/dev/ttyMySensorsGateway' and PTS group ownership of 'tty' the PTS will be group read and write. The default install location will be /usr/local/sbin. If you want to change that edit the variables in the head of the Makefile.

###Build the Gateway

  • Clone this repository
  • Change to the Raspberry directory
  • Run make all followed by sudo make install
  • (if you want to start daemon at boot) sudo make enable-gwserial

For some controllers a more recognisable name needs to be used: e.g. /dev/ttyUSB020 (check if this is free).

sudo ln -s /dev/ttyMySensorsGateway /dev/ttyUSB20

To automatically create the link on startup, add ln -s /dev/ttyMySensorsGateway /dev/ttyUSB20 just before exit0 in /etc/rc.local

#Uninstalling

  • Change to Raspberry directory
  • Run sudo make uninstall

Support: http://forum.mysensors.org

raspberry's People

Contributors

aliasdoc avatar andrimarjonsson avatar gertsanders avatar henrikekblad avatar mtill avatar stelgenhof avatar thekix avatar thozza avatar

Watchers

 avatar  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.