Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO-Based Smart Home Security System with IR Sensor and Keypad

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Smart Home Security System with IR Sensor and Keypad

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with various components including LEDs, an IR sensor, a micro servo, an I2C display, and a membrane matrix keypad. The circuit is powered through a 2.1mm barrel jack with a terminal block. The Arduino UNO is programmed to control these components based on the input from the IR sensor and keypad.

Component List

  1. Arduino UNO

    • Description: A microcontroller board based on the ATmega328P.
    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
  2. LED: Two Pin (red)

    • Description: A red LED with two pins.
    • Pins: cathode, anode
  3. 2.1mm Barrel Jack with Terminal Block

    • Description: A barrel jack for power input with terminal block connections.
    • Pins: POS, NEG
  4. IR Sensor

    • Description: An infrared sensor for detecting objects.
    • Pins: out, gnd, vcc
  5. LED: Two Pin (green)

    • Description: A green LED with two pins.
    • Pins: cathode, anode
  6. Micro Servo 9G

    • Description: A small servo motor for precise control.
    • Pins: GND, +5V, PWM
  7. 12V Adapter

    • Description: A 12V power adapter.
    • Pins: VCC, GND
  8. I2C Display

    • Description: A display module with I2C interface.
    • Pins: GND, VCC, SDL, SCL
  9. Membrane Matrix Keypad

    • Description: A keypad with a matrix of buttons.
    • Pins: Row 1, Row 2, Row 3, Row 4, Column 1, Column 2, Column 3

Wiring Details

Arduino UNO

LED: Two Pin (red)

LED: Two Pin (green)

2.1mm Barrel Jack with Terminal Block

IR Sensor

Micro Servo 9G

I2C Display

Membrane Matrix Keypad

Code Documentation

Arduino UNO Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This code is a basic template for the Arduino UNO. The setup() function is where you initialize your components and settings, and the loop() function is where the main logic of your program runs repeatedly. You can add your specific logic to control the LEDs, read from the IR sensor, operate the servo, and interact with the keypad and display in these functions.