Skip to content

scintilla-aircheck/airthingy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AirThingy v2

AirThingy is a hardware sensor platform based on the Intel Edison hardware platform

To get started, assemble the parts and circuit outlined below, and run the included Python script. That's it!

Parts List:

  • Intel Edison w/ Arduino Breakout
  • SparkFun I2C Breakout Block for Edison
  • Sharp GP2Y1010AU0F Dust Sensor (tested with the breakout board from WaveShare)
  • MICS-6814 multi-channel Gas Sensor
  • TH02 Temperature and Humidity Sensor
  • A bunch of wires

Setup for Edison

  1. Update your Edison firmware! See the installer for the Edison software package for details.

  2. Install the Sparkfun I2C block onto the Arduino board, giving access to a second I2C bus.

  3. Connect the ILED pin of the Dust Sensor to Pin 8 on the Arduino

  4. Connect the AO Pin of the Dust sensor to Analog Pin A0 on the Arduino

  5. Connect the TH02 to the built-in I2C bus (pins SDA, SCL, 3.3V and GND)

  6. Connect the MICS-6814 to the SparkFun I2C block

  7. Copy the included Python script to your Edison

  8. Run the script, enjoy!

Notes

  • This project uses UPM and MRAA to control GPIO. MRAA does not normally let you access I2C Bus #1, exposed by the SparkFun I2C block. We have provided a modified version that works here: http://github.com/scintilla-aircheck/mraa

  • Until the drivers we produced or adapted for some of these devices are pulled into upstream UPM, you can find our version of UPM here: http://github.com/scintilla-aircheck/upm

  • TH02 does NOT play nice with others. Specifically, it will produce incorrect (-50C) readings if it isn't the only device on the I2C bus! This is why the extra bus is required

  • If you are using a I2C LCD (such as the one included with the Grove kit), or other components at 5V, you'll want a TCA9545A I2C bus Mux.

About

Code for the thingy that measures stuff in the air!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages