Skip to content

printfinn/python-react-sds011

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DIY PM2.5 monitor program.

This is the source code of a Youtube video tutorial: DIY PM2.5 Monitor with Python ReactJS and SDS011 on 5" Chipsee Touch Panel PC

Screenshot 2023-07-28 at 18 58 24

Hardware:

  1. The Chipsee 5 inch PC: PPC-A55-050. (Or any PC!)
  2. The sensor: Nova SDS011.
  3. TTL USB Convertor: CP2102.
Screenshot 2023-07-28 at 18 59 58

Software

The program needs Python and Node/NPM.

Install Python Requirements

cd sds011_py
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt

Start Python Flask

cd sds011_py
flask run --debug

Start React HTML

cd sds011_react
npm run dev

You can test the Python server with:

curl 127.0.0.1:5000

To visit our React webpage, open a browser and visit: http://localhost:5173.

About

DIY PM2.5 Monitor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published