File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ Wiring the NRF24
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
+ GND 25
12
+ VCC 17
13
+ CE 22
14
+ CSN 24
15
+ SCK 23
16
+ MOSI 19
17
+ MISO 21
18
+ IRQ --
19
+
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
+ Building Serial Gateway
32
+
33
+ The standard configuration will build the Serial Gateway with a tty name of
34
+ '/dev/ttyMySensorsGateway' and PTS group ownership of 'tty' the PTS will be group read
35
+ and write. The default install location will be /usr/local/sbin. If you want to change
36
+ that edit the variables in the head of the Makefile.
37
+
38
+ First build the librf24-bcm library
39
+
40
+ - Change to librf24-bcm
41
+ - make all
42
+ - sudo make install
43
+
44
+ Build the Gateway
45
+
46
+ - change back to Raspberry Dir
47
+ - make all
48
+ - sudo make install
49
+ - (if you want to start daemon at boot) sudo make enable-gwserial
50
+
51
+ Uninstalling
52
+
53
+ - change to Raspberry Dir
54
+ - sudo make uninstall
You can’t perform that action at this time.
0 commit comments