Skip to content

Portable electronic device to measure air and noise pollution

Notifications You must be signed in to change notification settings

miketeachman/micropython-street-sense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Street Sense

Street Sense is a MicroPython based project to build a portable, battery-powered sensor unit to measure:

  • Air Quality
    • Ozone
    • NO2
    • Particulates
  • Noise Pollution
  • Environment
    • Temperature
    • Humidity

Detailed project documentation:

Street Sense Project at Hackaday IO

Dependencies

Hardware

Lolin D32 Pro
https://wiki.wemos.cc/products:d32:d32_pro

Micropython

fork of micropython https://github.com/miketeachman/micropython/tree/esp32-i2s-streetsense-littlevgl which includes these customizations:

  • I2S module to read audio samples from an I2S microphone. link
  • dba module for calculating dB(A) from a stream of audio samples. link
  • i2stools module for efficient copy/pruning of audio samples. link
  • integration of littlevGL graphics library. link

MicroPython Modules

name link
asyn https://github.com/peterhinch/micropython-async/blob/master/asyn.py
aswitch https://github.com/peterhinch/micropython-async/blob/master/aswitch.py
uasyncio (fast_io) https://github.com/peterhinch/micropython-async/tree/master/fast_io
ms_timer https://github.com/peterhinch/micropython-async/blob/master/fast_io/ms_timer.py
pms5003: https://github.com/miketeachman/micropython-pms5003-minimal
urtc: https://github.com/adafruit/Adafruit-uRTC
ads1219: https://github.com/miketeachman/micropython-ads1219
si7021: https://github.com/chrisbalmer/micropython-si7021
mqtt_as: https://github.com/kevinkk525/micropython-mqtt/tree/pause_resume
logging: https://github.com/micropython/micropython-lib/tree/master/logging

MicroPython Libs

fork of littlevgl graphics library with customizations https://github.com/miketeachman/lv_binding_micropython/commits/lvgl-streetsense

About

Portable electronic device to measure air and noise pollution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages