RPI Flask SQLite

screenshot of RPI Flask SQLite

Capturing real data (RPi/DHT22), saving them on a database (SQLite), creating graphs (Matplotlib) and present them on a web page(Flask).

Overview

The RPI-Flask-SQLite project beautifully combines the power of Raspberry Pi with DHT22 sensors to capture real-time environmental data. By leveraging SQLite, it efficiently stores this data for analysis. This integration allows users to visualize the data dynamically through well-designed graphs using Matplotlib, all presented seamlessly on a web page using the Flask web framework.

This project offers an innovative way to monitor environmental conditions like temperature and humidity. Whether you're a hobbyist looking to expand your knowledge of IoT or a professional seeking reliable data collection methods, this setup serves as an excellent starting point for diverse applications in data science and home automation.

Features

  • Data Capture: Utilizes DHT22 sensors to collect temperature and humidity readings in real time, ensuring accurate environmental monitoring.
  • SQLite Database: Employs SQLite for efficient data storage and retrieval, allowing for easy management of large datasets.
  • Graphing with Matplotlib: Generates insightful visualizations of data trends over time, making patterns easier to identify and analyze.
  • Web Interface with Flask: Provides a user-friendly web interface for accessing live data and visualizations, enhancing user engagement.
  • Raspberry Pi Integration: Uses the versatility of Raspberry Pi to create a compact and energy-efficient data collection system.
  • Real-Time Monitoring: Offers the ability to view current measurements through the web interface, keeping you updated at all times.
  • Customizable: Allows for modifications and enhancements, making it adaptable to various user needs and projects.