Salah UddinIoT-Bangladesh
Published © LGPL

Con-tactless Temperature Monitoring Gate

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

IntermediateFull instructions providedOver 1 day8,906
Con-tactless Temperature Monitoring Gate

Things used in this project

Hardware components

Arduino MKR1000
Arduino MKR1000
×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)
Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Schematics

circuit diagram

Code

source

Arduino
#include <Wire.h>
#include <Adafruit_MLX90614.h>
#include <Servo.h> 

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(5);  // Arduino MKR PIN
  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