Git Product home page Git Product logo

pms3003-g3's Introduction

pms3003-g3

read pm data from pms3003 g3 sensor with python

install and run

download g3.py and install python modules

apt-get install python-pip python-serial

check your tty device (ttyUSB0 or ttyAMA0) update g3.py last line

print air.read("/dev/ttyAMA0") // update device

give a try

python g3.py

Output

python g3.py [2, 8, 5, 2, 8, 5]

[pm1_cf, pm10_cf, pm2.5_cf, pm1, pm10, pm2.5]

First three data (pmX_cf, cf=1) is the to value is a TSI For standard data.

Last three is reading to the value of value is an atmosphere as the standard.

to stop sysrq: SysRq : HELP : ...... messag

echo 0 > /proc/sys/kernel/sysrq

pms3003-g3's People

Contributors

thomas-tsai avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.