The smart thermometer has a photosensitive temperature sensor that only gets activated when a certain darkness threshold has been reached. Then, the temperature sensor measures the temperature and shares it through the cloud variables. It also decides whether to light up the red light (fever, >37 Celsius) or the green light (all ok, <37 Celsius). I've solved this with an if (Temperature) within an if (Brightness).
The temperature sensor was very unreliable and even after a calibrating phase produced not very consistent results.
BOM:
- Temperature Sensor
- Photocell
- 1 x Green Led, 1x Red Led
-3 x 1kΩ Resistor
- Breadboard, Wifi Spark & Jumper wires