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
- The Chipsee 5 inch PC: PPC-A55-050. (Or any PC!)
- The sensor: Nova SDS011.
- TTL USB Convertor: CP2102.
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
cd sds011_py
flask run --debug
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
.