Go to file
Flavien Haas dd72f6f2d3 changes
2018-05-14 11:14:31 +02:00
2k17/Arduino_DUE_LoRa merging programs 2018-05-03 19:41:30 +02:00
fakestation changes 2018-05-14 11:14:31 +02:00
fakeStation changes 2018-05-14 11:14:31 +02:00
fakeStationStruct added old fake station 2018-05-03 17:13:20 +02:00
gateway changes 2018-05-14 11:14:31 +02:00
LoRa_test arrangement 2018-04-15 16:20:00 +02:00
sendToDB arrangement 2018-04-15 16:20:00 +02:00
WebServer integration of LoRa + Ethernet 2018-04-18 13:36:39 +02:00
.gitattributes 🍭 Added .gitattributes 2018-03-13 12:17:52 +01:00
README.md added commentary 2018-05-02 09:19:53 +02:00

passerelleLoRa

Projet BTS SNIR 2ème année Gateway between a weather MicroStation using LoRa modulation and a web server. This depo is segmented in different programs for arduino using ATMEGA328P and SAMD21.

Attention !

Because we're using two arduino shields using SPI communication, we need to select a chip select for each shield. I decided to use D11 for the Ethernet shield (10 for the LoRa, 4 for the SD).

To do this, edit w5100.h in the default ethernet librairy in the installation folder of your arduino IDE (on windows, in administrator mode C:\Program Files (x86)\Arduino\libraries\Ethernet\src\utility\w5100.h)

On this case, you need to change this line #define ETHERNET_SHIELD_SPI_CS 10 to #define ETHERNET_SHIELD_SPI_CS 11