Skip to content

PCB design and firmware of an inexpensive energy harvesting water flow meter.

Notifications You must be signed in to change notification settings

nickyu42/flowmeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Energy Harvesting Flow Meter

About

This repository contains the hardware design and software for a wireless, energy harvesting flow meter. This is an inexpensive water consumption sensor that does not require external power or cables to transmit data. It uses a turbine as power supply, the power supply is also used as input to estimate water consumption.

This project was done as part of the Advanced Practical IoT and Seminar course given at the Delft University of Technology. If you are interested in the research, an accompanying paper is available in this repository.

Repository Structure

This project is split up into different components:

  • pcb
    KiCAD files for the prototype
  • analysis.ipynb
    Notebook containing all plots and analysis from the dataset in data
  • gateway
    • Firmware for the receiver ESP32
    • UART-to-MQTT script, parses the serial data from the receiver ESP and publishes that to a MQTT server
    • All code for the web dashboard for tracking water usage
  • stm32f4_firmware
    Code for the testing setup with a STM32, based around MBed OS.
  • esp32_firmware
    ESP32 firmware for the prototype, transmits the estimated water flow rate and power metrics via ESP-NOW to the receiver. Built using FreeRTOS and ESP-IDF.