Skip to content

Commit 954ad83

Browse files
Updating README to reflect changes in the previous change.
1 parent 1d9a88a commit 954ad83

File tree

1 file changed

+31
-33
lines changed

1 file changed

+31
-33
lines changed

README

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,46 @@
1-
Wiring the NRF24
1+
#Wiring the NRF 24L01+ radio
22

3-
GND 25
4-
VCC 17
5-
CE 22
6-
CSN 24
7-
SCK 23
8-
MOSI 19
9-
MISO 21
10-
IRQ --
3+
|NRF24l01+|Rpi Header Pin|
4+
|---|---|
5+
|GND|25|
6+
|VCC|17|
7+
|CE|22|
8+
|CSN|24|
9+
|SCK|23|
10+
|MOSI|19|
11+
|MISO|21|
12+
|IRQ|--|
1113

12-
Building Serial Gateway
14+
#Building & Installing
15+
16+
##RF24 library
17+
* Download the library from https://github.com/TMRh20/RF24
18+
* Either an official release(tested with 1.1.3) or clone the master branch.
19+
* Decompress(if needed) and change to the library directory
20+
* Run `make all` followed by `sudo make install`
21+
22+
##Serial Gateway
1323

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

19-
First build the librf24-bcm library
20-
21-
- Change to librf24-bcm
22-
- make all
23-
- sudo make install
24-
25-
Build the Gateway
26-
27-
- change back to Raspberry Dir
28-
- make all
29-
- sudo make install
30-
- (if you want to start daemon at boot) sudo make enable-gwserial
29+
###Build the Gateway
30+
* Clone this repository
31+
* Change to the Raspberry directory
32+
* Run `make all` followed by `sudo make install`
33+
* (if you want to start daemon at boot) sudo make enable-gwserial
3134

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

34-
sudo ln -s /dev/ttyMySensorsGateway /dev/ttyUSB20
35-
36-
To automatically create the link on startup, add
37-
ln -s /dev/ttyMySensorsGateway /dev/ttyUSB20
38-
just before
39-
exit0
40-
in /etc/rc.local
37+
`sudo ln -s /dev/ttyMySensorsGateway /dev/ttyUSB20`
4138

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

43-
Uninstalling
41+
#Uninstalling
4442

45-
- change to Raspberry Dir
46-
- sudo make uninstall
43+
* Change to Raspberry directory
44+
* Run `sudo make uninstall`
4745

4846
Support: http://forum.mysensors.org

0 commit comments

Comments
 (0)