Citizen’s Oil and Gas Monitor:

I see this as a "citizen" monitoring system. The concept is to monitor Air Particles, VOCs (Volatile Organic Compounds), and Sound levels in real-time. Five second data is averaged each minute. Sound is maximum for the minute and updated each minute. The intent is to keep the driller and producer honest in their commitment to low air particles, noise, and VOCs. Each system can be built for less than $200 and uses their router and internet connection. The data is sent to a server each minute and displayed along with other monitors on Google Maps. The markers shown on the maps display I (information), W (warning), or A (alarm) and are updated each minute. When clicked they display the last known data for the System Inputs shown below. A plot button displays the last 24 hours.

System Inputs:

PM2.5 Air Particle Sensor
  PM 0.3--1.0 um
  PM 1.0--2.5 um
  PM 2.5—10.0 um
BME680 Air Quality
  Temperature Degrees F
  Pressure Pa
  Relative Humidity Percent
  Resistance Ohms
  Quality Percent (function of Resistance, and Relative Humidity)
  VOCs PPM (Function of Quality)
USB Microphone
  Sound maximum dB
  Freq at maximum dB Hz

I don't attempt to read BTEX components. (Benzene, Toluene, EthylBenzene, and Xylenes) They will need to be monitored by Broomfield using canisters near the well areas and analyzed using gas chromatography–mass spectrometry after the fact. But BTEX is proportional to VOCs. Broomfield should be notified and one should stay indoors if VOCs rise.

Please see: or click Map under Contents on the left. (A work in progress.) Only the marker in the South West Corner is operable (the rest are "fake news") and it is in development so it could / will be missing data depending on when you access it. Click on the marker to see the above values. Click on Plot button to see the last 24 hours.


I have a seller and links to each item under Checklist (below). You don't have to choose the seller. The item should match or be compatble.

Not part of the system but needed to make it work:

Tools: (or a handy relative)

Software: Some perspective ...

The software consists of:
1) The Raspberry Pi operating system
2) The application: that reads the hardware every 5 seconds, averages or finds the max each minute and transfers the data to the server.
Everything else is support: formatting the sd card, testing, viewing remotely.
Code exists on the server to do some calculations, store it in a database, and display it, but that is not running on your monitor.


This table is located here so when you run across logins and passwords later, it will give you some perspective. It is not here to intimidate you. We will work through these one at a time.

Status:This is a project in progress.

Inside the Monitor:
missing photo

Completed Monitor:
missing photo


“BUILD” (below) can be at the persons home where the monitor will run, or at a business, or anywhere there is a computer and Internet connection. The Builder will have their own Login, Password, and Location.

“INSTALL” has to be at the place the monitor is going to run.
When you get stuck with my description of connecting to the router because yours is different, Please look under "INSTALL" at the bottom. Not that I will have the answer there, but that is where I will add different versions of routers. The Install repeats items already done in Build that change the Login, Password, and Location to those of the final Install site. If the Builder is the Installer those items are already done with the exception of Install on the house.

BUILD: Total 16 and 1/2 hours

1 hour -- Order Hardware -- Most of the time is spent entering address and credit card numbers. if you use PayPal and if the site supports it, you can avoid those. You can buy as a guest and avoid the password.

1/2 hour -- Find your Location and Register.
This is a good time to do this -- You have committed by buying the hardware and can't work on it yet. By registering now that gives me a week to set up your SFTP to the web page.

Login is required to enter your unique latitude / longitude, and direction for your monitor.

1 hour -- Load the Raspberry Pi Operating System on the SD card -- Using a PC (Windows 10) -- I can't help on Apple Macintosh.

1 and 1/2 hours -- Install the Operating System on Raspberry Pi

Note: If you will be using your existing monitor, keyboard and mouse on the Raspberry Pi, You will be working without these instructions for the next 3 hours. If finding your Wi-Fi Security Key (routerpass) is dependent on your monitor, keyboard, and mouse, this would be the time to find it. If you have a smart phone and you want to read this Define page on it, Open so you can read these instructions. Else, Under Contents in the Left Pane, Right Click Define and choose Open link in New Tab. Select that tab and File > Print.
Use this same link from the Raspberry Pi when you are ready to download software. -- 2 minutes

1 and 1/2 hours -- wire up -- do this outside of the box -- work on the existing open system.

2 and 1/2 hours -- Load monitor software, and test.

1 hour -- Install FileZilla, VNC
If you are working with one set of monitor, keyboard, and mouse, it is time to bring them back to your PC.
Before you leave the Raspberry Pi, check the Wi-Fi (quarter circles in upper right) and verify 192.168.0.yy remains the same, and VNC shows in a box in the upper right.
Leave the Raspberry Pi and Monitor running. It's OK to remove the Mouse, Keyboard, and Monitor while it is running. I do it in that order so I can still see the app running before I remove the Monitor.

The holes are in the removeable bottom lid and front. The box is upside down. Top is inside the open box. I recommend Operating System Installation, monitor software installation, and testing before you mount anything in the box.

missing photo

6 hours -- Cut the Openings in the box

1 and 1/2 hours -- Mount the sensors in the box

INSTALL: Total 4 hours

Install VNC, Filezilla, Configure WiFi, Install box and test.

Completed Monitor and In-Use Cover:
missing photo missing photo

On power outage:



Average electronics tech wages in Colorado $24 per hour.
($48,000 / 2000 hours = $24)
Build = 16.5 hours, Install 4 hours = 20.5 hours
20.5 hours x $24 = $492.
Hardware $200.
Total $692 as Turnkey or $200 Do It Yourself.

01January2017 Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.