The Doorsecure Kit is an advanced security system package designed to enhance the safety of residential and commercial properties. It includes a variety of components such as sensors, cameras, and alarms that work in unison to detect and deter unauthorized entry through doors. This kit is ideal for homeowners, business owners, and security professionals looking for a comprehensive solution to secure entry points.
Pin Number | Description | Voltage/Signal Type |
---|---|---|
1 | Power Supply (+12V) | 12V DC |
2 | Ground | GND |
3 | Alarm Output | Digital Output |
4 | Sensor Input | Digital Input |
5 | Camera Power Supply | 12V DC |
6 | Camera Data Output | Digital Output |
Q: Can the Doorsecure Kit be integrated with smart home systems?
Q: Is the system weatherproof?
Q: How do I reset the system?
// Define the pin connections
const int sensorPin = 2; // Sensor input connected to digital pin 2
const int alarmPin = 3; // Alarm output connected to digital pin 3
void setup() {
pinMode(sensorPin, INPUT); // Initialize sensor pin as input
pinMode(alarmPin, OUTPUT); // Initialize alarm pin as output
}
void loop() {
int sensorState = digitalRead(sensorPin); // Read the sensor input
if (sensorState == HIGH) {
// If the door is opened (sensor triggered)
digitalWrite(alarmPin, HIGH); // Activate the alarm
delay(10000); // Keep the alarm on for 10 seconds
digitalWrite(alarmPin, LOW); // Deactivate the alarm
}
else {
// If the door is closed (sensor not triggered)
digitalWrite(alarmPin, LOW); // Ensure the alarm is off
}
}
Note: The provided Arduino code is a basic example of how to interface the Doorsecure Kit with an Arduino UNO. It assumes that the sensor provides a HIGH signal when the door is opened. Adjust the code as necessary to match the specific behavior of your Doorsecure Kit components.