forked from mysensors/Raspberry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
56 lines (41 loc) · 1.08 KB
/
README
File metadata and controls
56 lines (41 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Wiring the NRF24
Checking your Hardware Version
On the shell execute 'cat /proc/cpuinfo' at the bottom of the output you will find the
field 'Revision'. Revision values of a01041, a21041 or 0010 inidicate Hardware Version
B+ anything else V2.
Pi Hardware Version V2
GND 25
VCC 17
CE 22
CSN 24
SCK 23
MOSI 19
MISO 21
IRQ --
Pi Hardware Version B+
GND 25
VCC 17
CE 15
CSN 24
SCK 23
MOSI 19
MISO 21
IRQ --
Building 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.
First build the librf24-bcm library
- Change to librf24-bcm
- make all
- sudo make install
Build the Gateway
- change back to Raspberry Dir
- make all
- sudo make install
- (if you want to start daemon at boot) sudo make enable-gwserial
Uninstalling
- change to Raspberry Dir
- sudo make uninstall
Support: http://forum.mysensors.org