Skip to content

policumbent/sara

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SARA

Stazione per l'Analisi di Raffiche Avverse

All Contributors

Sensors

  • Anemometer Adafruit: wind speed sensor
  • BME280: temperature, humidity pressure sensor
  • Magnetic Encoder AS5600: wind direction sensor
  • GPS Neo6-M: current position tracker

Output

  • E-paper Waveshare 1'54" : paper-like screen to visualize data
  • Serial port: transmit data using serial communication
  • SD: data logger

Controller

  • ESP 32 WROOM DEVKIT V2

Setutp

  1. Position the Weather station in the desired location
  2. Open the 3 leg stand and adjust the height
  3. Modify the connection parameters in the platformio.ini file and flash the controller
  4. Make sure the switch is set to OFF
  5. Connect a 12V Lipo Battery to the board
  6. Using a multimeter, calibrate the STEPDOWN to 5V output
  7. Create a 2.4Gb/s wifi hotspot with the previously specified credentials
  8. Turn ON the switch
  9. The LED on the ESP32 controller will start blinking when it is connected, if not reset the system and retry

How it works

Publishing to server

The Weather Station publishes data on a remote MQTT server. Listening to the same server is a process running on the Team VPS hosted at (server.policumbent.it) that collects data from the server and saves it locally. The process should also redirect the incoming data to the Alice clients connected, through the WebSocket protocol.

Connection to the app

The data sent to the Mqtt server can also be visualized through any mqtt visualizer and it is also the app designed specifically for this purpose

Backup SD

The data is not directly saved on the SD card at every cycle, but it is buffered in the SPIFFS memory and then copied on the SD every 10s. This guarantees protection over unwanted interruptions.

Contributors ✨

Thanks goes to these wonderful people


Alberto Eusebio


Simone Sampognaro


Cornaglia Riccardo