Project Description
Tired of those guys revving their motorcycles and setting off car alarms outside your window at 6am? Interested to know which nights are noisier than others? Ever wonder how much effect noise pollution has on your life? Noiseometer is a project to setup a network of noise level detectors to allow visualizing noise pollution across a wide area. Think weather underground but for noise pollution. Bring awareness to noise pollution in your area!
This project will use the new Arduino MKR1000 that is natively IoT capable along with the Sparkfun Sound Detector to sense noise level data and send it to a cloud data visualization system.
As part of this project, you will gain the following real world experience:
- Go deep in all aspects of designing and prototyping an Internet enabled "thing".
- Take your electronics projects to a new level with professional quality circuit boards.
- Design and 3D print custom enclosures for your projects.
- Work with state of the art IoT technologies and "the cloud".
The project build is split into 4 working sessions spread across 5 weeks. Each session will have a specific theme of what we will accomplish that week. Before each session, you should be willing to spend an hour or two watching some youtube videos and/or reading some websites for information about what we will be doing that week. The sessions are designed to be HANDS ON working sessions, actually APPLYING the knowledge that can be learned on your own via the videos and websites. Not watching the videos or reading the documents ahead of time will likely leave you lost during the working session, so please try and do it! Expert makers will be on hand during the working session to answer questions, guide the project and help if you get stuck.
Bill of Materials
This project will be built using the following components:
- 1 x Arduino MKR1000 ($35) : http://store-usa.arduino.cc/products/abx00004
- 1 x Sparkfun Sound Detector ($11) : https://www.sparkfun.com/products/12642
- 1 x Mini Breadboard ($5) : http://www.amazon.com/microtivity-IB400-400-point-Experiment-Breadboard/dp/B0084A7PI8
- 1 x USB power adapter ($6) : http://www.amazon.com/Zeskit-Single-Fast-Speed-Charger/dp/B00VRKBN7G
- 1 x Micro USB cable ($5) : http://www.amazon.com/AmazonBasics-2-0-Micro-USB-USB-Cable/dp/B00NH124VM
- 2 x 8 Pin Header ($1) : https://www.sparkfun.com/products/11895
- 2 x 6 Pin Header ($1) : https://www.sparkfun.com/products/11894
- OSH Park PCB that will be developed during the project (~$10)
- Jumper wire
One prototype will be built during the project build to be hosted at MakerHQ after it is complete. If you would like to build one or more noiseometer devices along with the group build, you can either purchase the items listed above, or we also have a complete kit available for $70 that can be bought at the start of the class. If you would like to buy a kit from us, please send me an email at [email protected] to reserve a kit before the project build starts. Supplies are limited.
The device that is being built can easily be repurposed for other projects. The circuit board created during the project will use sockets to allow the Arduino MKR1000 to be easily added and removed. This allows it to be removed for other projects, if desired.
Software
Participating in this project will require the following software for the various aspects of prototyping. Please install all of the following software before the first project working session.
- Arduino IDE : https://www.arduino.cc/en/Main/Software
Sketch -> Include Library -> Manage Libraries. Add the following libraries- WiFi 101 >= 0.8.0 by Arduino
- MQTT >= 1.9.6 by Joel Gaewiler
- EagleCad (free version for noncommercial use) : http://www.cadsoftusa.com/download-eagle/
Good component libraries to add - Fusion 360 (free for hobbyists) : http://www.autodesk.com/products/fusion-360/overview
Project schedule
June 23rd - Session 1 : Electronics
During this session we will design the schematic, layout the PCB board and get the development parts functioning on the breadboard.
Videos to watch / documents to read BEFORE the working session:
- RPC Electronics Eagle Tutorial Series : https://www.youtube.com/playlist?list=PLB4C63828A483E756
- Breadboarding
- Sound Detector Hookup Guide - https://learn.sparkfun.com/tutorials/sound-detector-hookup-guide
July 7th - Session 2 : Software
During this session we will write the firmware that goes on the Arduino to read the sound data and transmit it to the backend system. For the backend system, this project will send the sound data to a free MQTT broker (such as adafruit.io). If after the project build, a team wants to work together to build a custom data visualization web interface, they will be invited to participate in that project. This code will be 100% open source and available to anyone. The goal is to provide a service online that anyone who wants to share their sound data will be able to see all the other sound data from other users in the network.
Videos to watch / documents to read BEFORE the working session:
- https://www.hackster.io/charifmahmoudi/arduino-mkr1000-getting-started-08bb4a
- https://www.youtube.com/watch?v=fCxzA9_kg6s&list=PLA567CE235D39FA84
- https://learn.adafruit.com/adafruit-io/overview
- https://learn.adafruit.com/mqtt-adafruit-io-and-you
- https://github.com/256dpi/arduino-mqtt
July 14th - Session 3 : Enclosure
During this session we will design the enclosure for the noiseometer. We will then 3D print your design on the MakerHQ printers.
Videos to watch / documents to read BEFORE the working session:
- https://www.youtube.com/playlist?list=PLmA_xUT-8UlLmTvSAketheHaNQWxNA5yT
- https://www.youtube.com/watch?v=E0bhdr84FNU
- https://www.youtube.com/watch?v=YxBamwc6s7U
- https://www.youtube.com/watch?v=9coPHC04QZw
July 21st - Session 4: Final Assembly
During this session we will do the final project assembly. We will have the PCB boards back from OSH Park and solder headers onto the PCB and create the final electronics assembly, which will then be fitted into the 3D printed enclosure. We will reserve some time for troubleshoot, question/answers and brainstorming of next steps for the project.
