- python-serial
- 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)
- Can't get the data from air quality sensor
- Problem was bluetooth adapter which is recognized as /dev/ttyAMA0
- Disabled bluetooth adapter (refer to Raspberry pi Documentation)
$ 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
# 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