System for Secure Area From Emissions (SSAFE)
Team Member
- Donghoon Shin
- Elisha Earley
- Pranshu Trivedi
- Matthew Kern
Overview:
SSAFE is a project that uses MQ gas sensors to check for harmful gases and emissions in realtime in order to monitor the danger of a enclosed area. It records the gas values from the Analog In signals of the mbed, converts the signals to ppm readings, and sends the information to a pi zero which publishes the data to a database. There is a web page hosted on an AWS server where the user can see graphs of the different readings in the database. In addition to displaying the readings, the website gives the user the opportunity to set a threshold ppm value. If the gas readings from the sensors exceed this threshold ppm value, the user will receive a text message/email informing them of the high reading and allowing them to act accordingly. The mbed code is built in with default alarm ppm values (the ppm when that amount of gas is harmful to the human body) that will triggered a speaker and LED to notify those near the sensor gas values are at a harmful level. This project is modular as any number of mbed and pi zero devices can be added to send data to the website as well as each individual sensor can be substituted.
Parts needed:
- mbed LPC 1726
- raspberry pi zero
- Sensor MQ135
- Sensor MQ2
- Sensor MQ3
- Sensor MQ4
- Sensor MQ5
- Sensor MQ6
- Sensor MQ7
- Sensor MQ8
- Sensor MQ9
- Speaker
- LED
Functionality:
Functionality could be differentiate to detecting, alarming and informing & managing. Detecting: MQ135,MQ2,MQ3,MQ4,MQ5,MQ6,MQ7,MQ8,MQ9 gases Convert analogin value to ppm
Alarming: Text-messaging Emailing Alarming LED light
Informing & Managing: Give history of each gases. Give users ability to set threshold of each gases. Could manage multiple detectors from different location.
Wiring:
Sensor
Can have up to 6 mq sensors per Mbed AD needs a voltage divider circuit because it sends a 5v signal and the Mbed AnalogIn only reads 3.3 Volts
Mbed | MQ Sensor |
---|---|
VU | VCC |
GND | GND |
NC (not connected) | DO |
AnalogIn Pin (p15, p16,p17,p18, p19, or p20) with Voltage Divider Circuit | AD |
Speaker
Mbed | Speaker |
---|---|
P26 (Any PwmOut pin) | + |
GND | - |
LED
Mbed | LED |
---|---|
P23 (Any PwmOut pin) through 180 ohm resistor | + (longer pin) |
GND | - (shorter pin) |
Pi Zero Wiring Stuff
USB mini to USB conenctor for Mbed Power cord Mini SD Card with Pi operating system
Project Pictures:
Demo video:
Code
Please log in to post comments.