File tree Expand file tree Collapse file tree 1 file changed +11
-19
lines changed Expand file tree Collapse file tree 1 file changed +11
-19
lines changed Original file line number Diff line number Diff line change 1
1
Wiring the NRF24
2
2
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
-
11
3
GND 25
12
4
VCC 17
13
5
CE 22
@@ -17,17 +9,6 @@ MOSI 19
17
9
MISO 21
18
10
IRQ --
19
11
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
-
31
12
Building Serial Gateway
32
13
33
14
The standard configuration will build the Serial Gateway with a tty name of
@@ -48,6 +29,17 @@ Build the Gateway
48
29
- sudo make install
49
30
- (if you want to start daemon at boot) sudo make enable-gwserial
50
31
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
+
51
43
Uninstalling
52
44
53
45
- change to Raspberry Dir
You can’t perform that action at this time.
0 commit comments