Software apps and online services
Hand tools and fabrication machines
The presence of dust in homes, offices, and other human environments are unavoidable. In fact, according to the Environmental Protection Agency, indoor air can be 2 to 5 times more polluted than outdoor air. This airborne pollution contributes to minor annoyances such as itchy eyes, sneezing, and headaches to human beings. Worst still, it can be a major contributing factor to severe allergies, life-threatening asthma.
To solve this problem, a working air purifier machine well address this issue. But, I would like to leverage the advantages of IoT to make the the air purifier smarter. Instead of the conventional way that turning on the air purifier whole day, I would like to implement a “brain - microcontroller” and "sensor” to operate only if the presence of dust reach certain level of awareness, this could save a lot of electricity! And the operational status will be available to my "terminal window" in my laptop or any "MQTT-enabled client" devices whenever I travel to anywhere around the world.
Step 1: Gather all Components
To view all the components, you can download the BOM List from my Dropbox.
Or refer to my component and supplies section.
The first thing I got all my components, I test it immediately to ensure the functionalities of my components behave as the way they should.
For GP2Y1010AU0F Sharp Dust Sensor setup, you can refer to this blog tutorial by Cyrille Médard de Chardon and Christophe Trefois. The tutorial cover the best from wiring-connection to coding.
For Relay Module setup, I just use a simple toggle (on and off) state to test the connection for the relay function.
Step 3: Coding
The coding is straight-forward. The challenge here is to use AWS IoT to communicate the data from sensor to any MQTT-enabled device (like my case, I'm using a laptop). Please refer to the coding section. Interesting enough, I also created a video tutorial for AWS CLI IoT, so anyone can learn about it.
(Please note: as the time of making this video it covers only beta version)
Step 4: Wiring
Step 5: Get the Result
I know there's still a lot of improvement can be done for this project, especially "IoT Project". But due to my work during the day, I could use only partial of my free time for this project development. However, the "real-time way for data monitoring" app (hint: NodeJS) interest me. And it will be added as a wish-list (or to-do-list) for this project in coming future. Stay tune!
Updated: I have done an example of using AWS IoT in a Real-Time Monitoring Website. Please refer to my newest project called "IoT Home Security Model".
There's a lot of fun when doing this project, especially with "IoT - Internet of Things". The possibilities and improvement is still vast in IoT. Also, I enjoy learning how to use the IoT service provided by AWS, because it is very convenient to use (simple setup with AWS IoT dashboard) and secure every connection with encryption.
Problems | Questions | Comments | Suggestion
Probably, there is some technical problem in this project that I'm not aware of, you can leave a comment or private message me, your feedback is highly valued!
Any questions or problem replicating this project, you can contact me or leave a comment below. I will try my very best to help you out, again we are here to learn hardware together!
All sorts of comments and suggestions are welcome.