---
name: "Sensor Monitoring Network"
status: "done"
started: "2022-04"
summary: "Solar-powered sensors for small farms."
url: "https://0xobat.com/projects/sensor-monitoring-network"
author: "Obat"
---

# Sensor Monitoring Network

Our degree project at Lakehead, a team of three. Sensor nodes for small farms that can't afford precision agriculture.

Each node is a Raspberry Pi Pico with a capacitive soil sensor, a solar panel and a small battery. A timer cuts the power between readings, so it mostly sleeps. It reports soil moisture and temperature over LoRa to a hub, a Raspberry Pi 4. The hub stores the readings, and an Android app shows the last 24 hours.

A node costs $74.94 in parts. The commercial sensor we compared it with retails for $244. We tested range to about one kilometre, with delays under a second.

## What we learned

- The power timer didn't always get the signal to shut off when the battery was full. A 4.2V battery and a 3.3V signal don't agree. Our stopgap was to keep sending the signal until it listened.
- We tried building the battery charger ourselves, from a buck converter and a 555 timer. It worked, with more parts and no cut-off when charging finished. A $1.33 charging chip did the job, so we used the chip.
- We ran out of time for the PCB. The final build is on prototype board, and the PCB exists as a design.
- The case isn't waterproof yet. It's for a device that lives in a field.

## Links

- [GitHub](https://github.com/0xobat/MonitoringNetwork)
- [PDF](https://0xobat.com/Agricultural%20Sensor%20Monitoring%20Network.pdf)
