The device and all its sensors
Unlike with my 7th grade science fair project, I decided to take a more hardware approach. I made an Internet Of Things device that had many different sensors: liquid pretrolium gas, carbon monoxide, temperature, humidity, and water. The device could be configured using an external device like a phone. When configuring the device, you can set thresholds for the concentrations of gasses and when one of the thresholds is exceeded, the device will send you an alert email using If This Then That.
Because the processors of the device were Arduino, I needed to learn C++ in order to program it. There were also some complex calculations that needed to be done in order to convert the analog values being read from the gas sensors into something more usable (like Parts Per Million). The device itself isn't very complicated. It's just some sensors hooked up to some transistors and microprocessors. There is also a physical switch that is used to swap between the two modes: configuration/setup and sensor mode. There is also a speaker and an LED that activate when gases or water are detected.
Technical diagram of the device
Sensor reading page
Configuration page
In order for the device to work, it needed to be configured. The webpages and backend code were programmed onto the Arduino components using HTML and C++. Because the device sends emails, you have to configure the wifi information (not visible in the screenshot). You also needed to configure the thresholds for the different sensors so that they would send emails when you wanted them to. In order to access the different pages, you had to put the device into access point mode using the physical switch. Then you would look for the device in your phone or computer's internet settings and connect to the device. Then, you would input a specific URL.Â