Giter Club home page Giter Club logo

urban_sensing_air_quality's Introduction

The repo for urban sensing proejct

Prerequisite

  • python-serial

Using PMS5003 (air quality sensor by the company plantower)

  • PM10, PM2.5 etc.
  • CUSP has Raspberry pi 3 so that we used it.
  • Learned GPIO pin, serial port from raspberry pi documentation.
  • VVC(5V), GND(Ground), TXD, RXD (pin usage)

Issue

  • Can't get the data from air quality sensor
  • Problem was bluetooth adapter which is recognized as /dev/ttyAMA0

Solution

  • Disabled bluetooth adapter (refer to Raspberry pi Documentation)

Step

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
$ sudo rpi-update

$ sudo nano /boot/config.txt
# In ther text file, add
dtoverlay=pi3-miniart-bt
$ sudo systemctl disable hciuart
$ sudo raspi-config
# option 5 -> option 6 disable
$ reboot # reboot raspberry pi
# To check tty
$ dmesg | grep tty

Code to read data

Reference

PS

# If you wanna use the local ethernet cable to connect raspberry pi from your machine, following command will give you the ip address of raspberry pi.
$ ping raspberrypi.local

urban_sensing_air_quality's People

Contributors

sucream1004 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.