Skip to content

husk82/SmartLightSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

STM32 Firmware

  • Reads data from TSL2591 light sensor.
  • Controls LEDs based on ambient light.
  • Sends data over WiFi to the Flask server.

Flask Server

  • Receives lux data from STM32.
  • Displays current lux readings on a web page.
  • Includes an "About Me" section and project description.
  • Can be extended to use PostgreSQL for data storage.

Getting Started

STM32

  • Build and flash the firmware using STM32CubeIDE or Makefile.
  • Ensure WiFi credentials are configured in SECRETS_H.h.

Flask Server

cd flask-server
python -m venv venv
source venv/bin/activate   # Linux/Mac
venv\Scripts\activate      # Windows
pip install -r requirements.txt
python run.py

About

Smart Light System – A project combining an STM32F446RE-based light sensor and a Flask web server to monitor ambient light in real-time, control LEDs, and display data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors