Particle Argons must be able to communicate with each other in separate rooms
Must utilize at least two sensors
Must include graphing of some sort of data
For our MEGR 3171 course, we were tasked with creating an Internet of Things project using two Particle Argon boards. None of the project participants were familiar with the Particle Argon beforehand.
We wanted to complete two main objectives with this project. One of the objectives of this project was to expand our skill sets with Internet of Things Devices, and specifically expand our skill set of using the Particle board platform. The next objective was to create a useful device that could be utilized in our everyday lives. We ended up with an alarm clock device that could be used as a more effective means to wake up.
Initially, we were discussing what project could be used to satisfy both ends. We discussed various interests, various components of data that we collect on a daily basis, as well as inconveniences that could be solved. We wanted the project to be capable enough that it could complete an important task, but at the same time simple enough that it would not be arduous for beginners.
Our idea was to create a device that would use a DC motor with a bell attached on the end. As the onboard clock on the Argon reached the specified time, the DC Motor would power on, and the bell would ring. In order to turn off the bell, an ultrasonic sensor was attached to another Particle Argon, which would then communicate with the first Particle Argon to turn off the bell.
However, with our lack of experience with Particle boards, we decided that this would bring about far too much complexity for an initial project.
Modifications to Original Idea:
Our first change was to change the DC motor for a buzzer. The buzzer would require 5 Volt of power, but would not require an external motor driver for the DC motor. The second change was to change the ultrasonic Sensor for the Button, since an "on" or "off" value is much easier to program than a range of distance values. Since we needed only an "on" or "off" command to turn off the buzzer, this was the most logical choice.
1 / 3 • Images of the wiring setup for the Buzzer
1 / 2 • Images of the Wiring setup for the Button
Images of the events that were published when the button was pressed. These events can be viewed on console.particle.io
Schematic of the circuit for the Buzzer
Schematic of the Circuit for the Button
List of events published by the Particle Argon as the button was pressed. Note, the list of events can be accessed on console.particle.io
Graph of the pin reading with respect to time. Note that when the button was NOT pressed, the pin read the event as "0" and when the button was pressed, the pin read the event as "1"