MUSEUM SENSOR

CONCEPT //

The idea of this prototype was to create a protection system for rare artifacts in museums. While the lights are on in the museums, the distance sensor is on. It is activated when visitors are too close to the rare artifacts in the museum. Once the visitors are too close a dc motor kicks in to signal the visitors to step back.

EQUIPMENT //

ARRANGEMENT OF CIRCUIT //

ARDUINO CODE //

#define TRIGGER_PIN 12 
#define ECHO_PIN 11
#define MAX_DISTANCE 20 // Maximum distance we want to ping for (in
centimeters). Maximum sensor distance is rated at 400-500cm.
int LDRPin = A0;
int LDRValue;
int dcMotor = 8;
int distance;
#include <NewPing.h>
NewPing sonar (12, 11, 20 ); //trigger, echo, distance

void setup() {
Serial.begin (115200);
pinMode (dcMotor, OUTPUT);
pinMode(TRIGGER_PIN, OUTPUT);
pinMode(ECHO_PIN, INPUT);
}

void loop() {
LDRValue = analogRead(LDRPin);
distance = sonar.ping_cm();
Serial.println (LDRValue);
Serial.print("Ping: ");
Serial.print(sonar.ping_cm());
Serial.println("cm");

if ((LDRValue < 1000)&&(distance > 2)) {
Serial.println ("TOO BRIGHT");
digitalWrite (dcMotor, HIGH);

}

else{
Serial.println ("NORMAL");
digitalWrite (dcMotor, LOW);
}
}

VIDEO //

 

Museum Sensor is a project of IAAC, the Institute for Advanced Architecture of Catalonia, developed in the Master in Advanced Architecture (MAA01) 2021/22

Student: Gizem Demirk?ran
Faculty: Angel Muñoz
Faculty Assistant: Antoine Jaunard