Introduction: Temperature Based Touchless Attendance System Using NodeMCU and MLX90614 Infrared Thermometer
After the COVID-19 outbreak, the contactless temperature measurement devices are getting very popular and most of them use the infrared temperature sensor. This device measures the temperature of the person without any physical contact. Today we will also use NodeMCU and Arduino IDE to interface the MLX90614 infrared temperature sensor.
So in this tutorial, we are going to build an IoT Based Smart Employee Temperature Screening system using the NodeMCU, MLX90614 Infrared Thermometer, EM18 RFID Reader, and Ultrasonic Sensor. It can measure employee’s body temperature with a non-contact infrared temperature sensor and send the Name and Temperature of that employee to a webpage which can be monitored from anywhere using the internet. The webpage stores the time, Name of the person, and temperature in a table. An ultrasonic sensor is used to measure the distance between the sensor and person so that the MLX90614 sensor can measure the temperature when the distance between the sensor and person is less than 20cm for better accuracy.
Step 1: What You Will Need
Step 2: Circuit Diagram and Connections
Circuit Diagram for Infrared Thermometer using ESP8266 NodeMCU is given.
As shown in the circuit diagram, the connections are very simple since we have used them as modules. we can directly build them on a breadboard. The LED connected to the BUZ pin of the EM18 Reader module turns high when someone scans the tag. The RFID module sends data to the controller in serial; hence the transmitter pin of the RFID module is connected to the Receiver pin of NodeMCU. The connections are further classified in the table.
Step 3: Programming NodeMCU
The complete code for this infrared temperature screening project can be obtained easily from here.
Step 4: Testing the Infrared Thermometer
Once the hardware and the program are ready, upload the program into your NodeMCU. Now open serial monitor with 9600 baud rate and get the IP address of NodeMCU. The ultrasonic sensor continuously calculates the distance. When the calculated distance between you and the sensor is less than 20 cm, scan your card and if your card is authorized the MLX sensor will read your temperature.
Step 5: Temperature Based Touchless Attendance System Working Video
So this is how aTemperature based Touchless Attendance System using NodeMCU can be built. Comment below if you have any doubts regarding this project.