Introduction: OPENSPACESENSORS 117 Aka OSS117

OSS117 is a connected object based on Intel Edison SoC with Grove sensors made to observe some environmental factors for best performances at work. OSS117 observes:

Temperature Level, Noise Level, Dust Level, Air Quality

You can simply place it at any open space, and check out the open space's suitability for work.

Inspired by developers who are obsessed with working in the perfect open space

Check out the video here!

Made by Boris Hajduk, Florent Kosmala, François Dupayrat & Hanlin Xu

Step 1: BOM

Step 2: Plug in the Sensors

For setting up Edison and connect to WiFi, please refer to:

https://software.intel.com/en-us/iot/library/ediso...

  • Sound Sensor to A0
  • Air Quality Sensor to A3
  • Temperature Sensor to A1
  • Dust Sensor to D6
  • LCD RGB Backlight to I2C (any)
  • LED Bar to D8

Step 3: Test Sensors Using Python

The source code is here.

Each sensor has its own python file, and they are all called in the main.py

To run OSS117, copy the source code on your Edison, connect in SSH and launch the command on your Edison:

python main.py

It will run an infinite loop which takes values from sensors and update the display (shown in the image), as well as outputting debug values in your console.

Step 4: Set Up a Webserver

Update your Edison :

opkg update 

opkg upgrade

Edit /etc/opkg/base-feeds.conf :

vi /etc/opkg/base-feeds.conf

and paste :

src/gz all http://repo.opkg.net/edison/repo/all
src/gz edison http://repo.opkg.net/edison/repo/edison
src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32

Re-update and install python-pip :

opkg update
opkg install python-pip

Install Flask :

pip install flask

The Webserver is installed !

After that, launch the main.py if it's not already running:

python main.py

(Optional) Launch the webserver if you want the Web Interface. You should use another SSH session so main.py keeps running :

python webserver.py

Step 5: Build a Box for Your OSS117

Use your creativity to build a perfect box for your OSS117!