Back to Parent

Outcome 

In the end, I was able to combine the hall effect sensor and the temperature sensor code to achieve my initial goal. 

Bill of Parts

- DSB1820 Temperature sensor

- Jumper Wires

- Hall Effect Sensor

- Resistor

- LED

- Particle photon


Circuit Diagram 

Completed Code 








For the final result, I tested everything using a tub of cold water since it would allow me to manually bring the magnet close to the sensor. The LED is lit up if the temperature sensor is below room temperature (i.e. in the tub of water) and if there is no magnet against the hall effect sensor. In the case of the stove, this would mean there is nothing on the stovetop but the flame is on. 


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0