Salah UddinIoT-Bangladesh
Published © LGPL

Automated Temperature Scanning Gate

An automatic temperature scanning gate is presented to verify the body temperature of any intruder.

IntermediateFull instructions provided24 hours5,799
Automated Temperature Scanning Gate

Things used in this project

Hardware components

Thunderboard™ Sense 2 Sensor-to-Cloud Advanced IoT Development Kit
Silicon Labs Thunderboard™ Sense 2 Sensor-to-Cloud Advanced IoT Development Kit
×1
DFRobot Non-contact IR Temperature Sensor
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE
Visual Studio Code Extension for Arduino
Microsoft Visual Studio Code Extension for Arduino

Hand tools and fabrication machines

Hot glue gun (generic)
Hot glue gun (generic)

Story

Read more

Schematics

circuit diagram

Code

source

Arduino
#include <Wire.h>
#include <Adafruit_MLX90614.h>
#include <Servo.h> // for arduino UNO

Servo myservo;

Adafruit_MLX90614 mlx = Adafruit_MLX90614();

double temp;
int b = 2;
void setup() {
  Serial.begin(115200);
  Serial.println("Adafruit MLX90614 test");
  pinMode(b, OUTPUT);
  myservo.attach(9);  // Arduino UNO
  myservo.write(0);
  mlx.begin();  
}

void loop() {
  digitalWrite(b, HIGH);
  myservo.write(0);
  temp = mlx.readObjectTempF();
  if (temp >90)
  {
    Serial.println("HIGH TEMPERATURE");
    digitalWrite(b, LOW);
    myservo.write(95);

    delay(1000);
    }
  Serial.print(temp); 
  Serial.println("*F");
  Serial.println();

  delay(500);
}

Credits

Salah Uddin

Salah Uddin

44 projects • 148 followers
Technology and IoT Hacker, Robot Killer and Drone lover.
IoT-Bangladesh

IoT-Bangladesh

19 projects • 49 followers

Comments