BoardRepo electronics project sharing
100%
Open file
weather-station @home view

Imported from GitHub: z0b1/weather-station · commit 7813bd3

Description

I'm presenting my project of a Field Weather Station containing anemometers and wind direction sensors, also ambient temp. and humidity sensors with a UHF transmitter in the field and an at home reciever. This also includes an RPi4 B that is recieving satellite images and displaying them in a mobile phone app.

README

weather-station

I'm presenting my project of a Field Weather Station containing anemometers and wind direction sensors, also ambient temp., humidity and pressure sensors with LoRa transmission from the field to a home ESP32 receiver that uploads data to ThingSpeak cloud.

Why a weather station-Short Story

I live in the countryside and my family has large fruit plantations. By the microclimate of my area strong frosts in the spring time are common, that quite often hurts the fruits. We solve this issue by turning on our watering systems(the ground water keeps around 12 degrees Celsius at all times), but also by using air heaters to warm the area. So instead of waking up every 30 minutes to check the temps and having to go outside this idea was born. Main goal is that the weather station sends me phone notifications via ThingSpeak alerts. The weather station is located atleast 500m away from the house so the trick was getting reliable power, which I solved using a solar panel and a Lead Acid battery.

How it functions

Using an Arduino Nano I read the data from the sensors (BME280 for temp/humidity/pressure, DS18B20 for soil/surface temps, RS485 anemometers) and log to SD card locally. The data is transmitted via SX1278 LoRa module at 433MHz to the home receiver. At home, an ESP32 with another SX1278 LoRa module receives the data and uploads it to ThingSpeak cloud for visualization and alerts.

Architecture

[Field Station - Arduino Nano]
  ├── BME280 (temperature, humidity, pressure)
  ├── DS18B20 x2 (soil/surface temperature)
  ├── RS485 Anemometer + Wind Direction
  ├── SD Card (local logging backup)
  └── SX1278 LoRa TX (433MHz)
           │
           └──── 500m+ range ────┐
                                 │
[Home Receiver - ESP32]          │
  ├── SX1278 LoRa RX ◄───────────┘
  ├── WiFi
  └── ThingSpeak Cloud Upload

What might be added

Using ThingSpeak's MATLAB analysis to recognize patterns and predict frost conditions.

Pictures

housing pcb pcb3d

NAPRED ZVEZDO

The BOM

ReferenceQtyValuePriceLinkInfoDatasheet
A11Arduino Nano€ 5.16LinkField ControllerLink
A21ESP32 DevKit V1€ 4.50LinkHome Receiver + WiFi~
BT1112V 5Ah Lead Acid€ 11.84LinkAlternative capacity~
C11470uF€ 0.00LinkI already have~
C21100uF€ 0.00LinkI already have~
C312pF-~
C412.2pF-~
C5110pF-~
C61470pF-~
D11LED_R€ 0.00LinkI already have~
J1, J21RS485 ANEMOMETER€ 26.53LinkRS485 type~
J41RS485 WIND DIRECTION€ 23.82LinkRS485 type~
U41SDLA12TA€ 6.86LinkLink
R112k1€ 0.00LinkI already have~
R21220-~
R3, R6210K-~
R5147K-~
R71120-~
SC11Solar cell€ 23.00Link15W 12V~
U11DC-DC Buck Converter PTN78000HAZ€ 3.02LinkVoltage Regulator~
U21MAX485E€ 4.39LinkRS485 TranslateLink
U31BME280€ 2.50LinkTemp/Humidity/PressureLink
RF12SX1278 LoRa 433MHz€ 6.00LinkLoRa Transceiver Modules~
SD11Micro SD Card Module€ 1.00LinkSPI SD Card Reader~
U52DS18B20€ 5.59LinkWaterproof Temp SensorLink
PCB1JLCPCB PCB Manufacturing€ 19.61Link$20.75~
Grand Total€ 143.82 ($152.45)Priced items subtotal
Grand Total (Including shipping/VAT)€ 148.82 ($157.75)+€ 5.00 shipping/VAT

NOTE: Significant cost savings vs previous design by removing RPi + RTL-SDR setup

ThingSpeak Field Mapping

FieldData
1Temperature (°C)
2Humidity (%)
3Pressure (hPa)
4Wind Speed (m/s)
5Wind Direction (°)
6Soil Temp (°C)
7Surface Temp (°C)
8LoRa RSSI (dBm)