You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Flavien Haas 197f51d274 changed to match values on distant server 7 years ago
LoRaReceiver-struct modif 7 years ago
LoRa_test modif 7 years ago
WebServer added pritning messages for knonwing the state of the gateway on serial 7 years ago
fakeStation now act like a real station 7 years ago
gateway EL POST FONCTIONNAR 7 years ago
numero_passerelle changes 7 years ago
postToServer changed to match values on distant server 7 years ago
.gitattributes 🍭 Added .gitattributes 7 years ago
README.md added commentary 7 years ago

README.md

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