Jackson Bely & Bryan Biggs
AboutFor this IOT project we needed to identify a problem that can be solved through the internet using the particle photon. The idea of triggering a fan to come on wirelessly came up when I was sitting at my desk while doing homework. My desk is right in front of a window, on sunny days it becomes very hot as convection works slower than the raise in temperature near the window. In order to trigger the fan coming on a relay is necessary. The relay will be utilizing one photon whereas the other photon will be connected to a temperature sensor. The thermistor (temperature sensor) used in this project is a basic General Motors intake sensor taken from an early 2000’s Buick that was found at the local pull a part seen below.
Once the sensor was obtained the next step is to build a circuit that will allow us to translate the change in resistance values of the thermistor into voltage which we can measure from the particle photon. The change in voltages were then put into our coded equation to get an actual temperature reading. We chose to have a temperature output in degrees Fahrenheit since it is the most common in the United States. After the temperature reading has been published we then used the relay particle to subscribe to this publication. Within the relay particle’s code a conditional statement is made to activate the fan once a temperature of seventy-eight degrees Fahrenheit has been reached.
In the first graph seen below temperature in Duke Centennial Hall room 323 was logged over a five minute interval. It actually felt relatively hot so the temperature should be pretty accurate. Seeing as the air conditioning was set to 72 degrees the graphs trend makes sense. The temperature should be decreasing slowly as time goes on because of the cooling done by the air conditioning system.
YouTube Video
Comments