About this project

This repository documents a solar-powered, LoRa-integrated monitoring and control system for mud crab fattening in remote mangrove areas. It targets the problem of cannibalism and reactive water management by combining individual floating cages with continuous sensing of dissolved oxygen, pH, temperature, and salinity. The architecture uses an ESP32 main controller with an EBYTE E22-900M22S LoRa radio at the pond, a house bridge node that relays data over WiFi to a Next.js and Firebase dashboard, and an ESP32-CAM for visual monitoring. Firmware control modes include AUTO, MANUAL, and OFF, with safety rules such as automatic aeration when dissolved oxygen drops below 3 ppm, a 60-second heartbeat, and automatic reversion to AUTO after five minutes without a command. The README provides detailed hardware specifications, a phased bill of materials, power-system guidance, calibration procedures, and deployment notes. Much of the firmware and dashboard code is marked as planned rather than present in the repository, so the current value is primarily the engineering documentation, component selection, wiring guidance, and system design.