Difference between revisions of "RPI GPS LORA"

From ElectroDragon
Jump to: navigation, search
(Pin Definitions)
(Pin Definitions)
Line 16: Line 16:
 
</gallery>
 
</gallery>
  
== Pin Definitions ==
+
== Pin Definitions R2 ==
 +
 
 +
{| class="wikitable" align = "left"
 +
|-
 +
! Connection !! Definition !! Raspberry PI Left Pin !! RPI Right Pin !! Definition !! Connection
 +
|-
 +
| - || 3V3 || 1 || 2 || 5V || -
 +
|-
 +
| - || GPIO2 || 3 || 4 || 5V || -
 +
|-
 +
| - || GPIO3 || 5 || 6 || GND || -
 +
|-
 +
| - || GPIO4 || 7 || 8 || GPIO14 || -
 +
|}
 +
 
 +
{| class="wikitable" align = "right"
 +
|-
 +
| align="center" style="background:#f0f0f0;"|'''Raspberry PI Pin N.O.'''
 +
| align="center" style="background:#f0f0f0;"|'''Pin name'''
 +
| align="center" style="background:#f0f0f0;"|'''Definition R1'''
 +
|-
 +
| 21||GPIO09||SPI_MISO
 +
|-
 +
| 22||GPIO25||
 +
|-
 +
| 23||GPIO11||SPI_SCK
 +
|-
 +
| 24||GPIO08||SPI_CE0/SD_CS
 +
|-
 +
| 25||GND||
 +
|-
 +
| 26||GPIO07||SPI_CE1
 +
|-
 +
| 27||ID_SD||
 +
|-
 +
| 28||ID_SC||
 +
|-
 +
| 29||GPIO05||
 +
|-
 +
| 30||GND||
 +
|-
 +
| 31||GPIO06||
 +
|-
 +
| 32||GPIO12||
 +
|-
 +
| 33||GPIO13||
 +
|-
 +
| 34||GND||
 +
|-
 +
| 35||GPIO19||
 +
|-
 +
| 36||GPIO16||
 +
|-
 +
| 37||GPIO26||
 +
|-
 +
| 38||GPIO20||
 +
|-
 +
| 39||GND||
 +
|-
 +
| 40||GPIO21||
 +
|}
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
 
 +
<br />
 +
<br />
 +
<br />
 +
<br />
 +
 
 +
== Pin Definitions R1 ==
  
 
{| class="wikitable" align = "left"
 
{| class="wikitable" align = "left"

Revision as of 16:48, 11 January 2018

Lora Supported Demo

  • run arduino ping-pong sketch
  • run low cost lora gateway code ./lora_gateway
  • Here down is a demo GIF animation on arduino sender and RPI receiver.

Pingpong.gif

GPS Supported Demo

Rpi gps lora.jpg

Schematic and dimension R1

Pin Definitions R2

Connection Definition Raspberry PI Left Pin RPI Right Pin Definition Connection
- 3V3 1 2 5V -
- GPIO2 3 4 5V -
- GPIO3 5 6 GND -
- GPIO4 7 8 GPIO14 -
Raspberry PI Pin N.O. Pin name Definition R1
21 GPIO09 SPI_MISO
22 GPIO25
23 GPIO11 SPI_SCK
24 GPIO08 SPI_CE0/SD_CS
25 GND
26 GPIO07 SPI_CE1
27 ID_SD
28 ID_SC
29 GPIO05
30 GND
31 GPIO06
32 GPIO12
33 GPIO13
34 GND
35 GPIO19
36 GPIO16
37 GPIO26
38 GPIO20
39 GND
40 GPIO21






























Pin Definitions R1

Raspberry PI Pin N.O. Pin name Definition R1
1 3.3V
2 5V
3 GPIO02 SDA
4 5V
5 GPIO03 SCL
6 GND
7 GPIO04
8 GPIO14 GPS_DIN
9 GND
10 GPIO15 GPS_DOUT
11 GPIO17
12 GPIO18
13 GPIO27
14 GND
15 GPIO22
16 GPIO23
17 3.3V
18 GPIO24
19 GPIO10 SPI_MOSI
20 GND
Raspberry PI Pin N.O. Pin name Definition R1
21 GPIO09 SPI_MISO
22 GPIO25
23 GPIO11 SPI_SCK
24 GPIO08 SPI_CE0/SD_CS
25 GND
26 GPIO07 SPI_CE1
27 ID_SD
28 ID_SC
29 GPIO05
30 GND
31 GPIO06
32 GPIO12
33 GPIO13
34 GND
35 GPIO19
36 GPIO16
37 GPIO26
38 GPIO20
39 GND
40 GPIO21






























Useful Link

Raspberry PI GPS code and library