Skip to content

Commit 1775154

Browse files
committed
Merge pull request #19 from GertSanders/patch-1
Update README to show pin connections
2 parents c6af994 + 6b1eef9 commit 1775154

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

README

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
Wiring the NRF24
22

3-
Checking your Hardware Version
4-
5-
On the shell execute 'cat /proc/cpuinfo' at the bottom of the output you will find the
6-
field 'Revision'. Revision values of a01041, a21041 or 0010 inidicate Hardware Version
7-
B+ anything else V2.
8-
9-
Pi Hardware Version V2
10-
113
GND 25
124
VCC 17
135
CE 22
@@ -17,17 +9,6 @@ MOSI 19
179
MISO 21
1810
IRQ --
1911

20-
Pi Hardware Version B+
21-
22-
GND 25
23-
VCC 17
24-
CE 15
25-
CSN 24
26-
SCK 23
27-
MOSI 19
28-
MISO 21
29-
IRQ --
30-
3112
Building Serial Gateway
3213

3314
The standard configuration will build the Serial Gateway with a tty name of
@@ -48,6 +29,17 @@ Build the Gateway
4829
- sudo make install
4930
- (if you want to start daemon at boot) sudo make enable-gwserial
5031

32+
For some controllers a more recognisable name needs to be used: e.g. /dev/ttyUSB020 (check if this is free).
33+
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
41+
42+
5143
Uninstalling
5244

5345
- change to Raspberry Dir

0 commit comments

Comments
 (0)