I have a device using an UNO and an IR temperature sensor.
#include <IR_Thermometer_Sensor_MLX90614.h>
If I push the sensor into my ear, I get the body temperature. Testing skin temperature is no problem.
The sensor can also be directed into motors, showing the brush temperature…… Just make shure that the collecting eye is covered to certain percentage of it angle.
You could use two Arduino Nano 33 BLE. One would be used as sensor node and one would control the power outlet. There are already examples for two BLE nodes working together in the Arduino BLE library.
File -> Examples -> ArduinoBLE -> Central -> LED Control
File -> Examples -> ArduinoBLE -> Peripheral -> LED
hnspty:
required items such as SRD-05VDC-SL-C 5V Relay and the UNO R3.
Klaus_K:
You could use two Arduino Nano 33 BLE. One would be used as sensor node and one would control the power outlet.
This may be OK as a casual intellectual exercise, but it looks like everybody wants to re-invent the wheel, and thus the likelihood of getting a square one is ever-present. Bluetooth, and WiFi, controlled power outlets have been around for some time, You can even get plug-in adapters - no electrician required. The Bluetooth ones are disparaged but, in this instance, the limited range may actually limit this project's worst aspect - the likelihood of unintended operations. Indeed, if BLE is used, you may even get something useful out of its RSSI facility. Either way, I would imagine a Nano 33 BLE would be a better choice than a Lilypad.