Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino UNO-Based Smart Sensor System with LED and Buzzer Alerts

Image of Arduino UNO-Based Smart Sensor System with LED and Buzzer Alerts

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, an LED, an LDR (Light Dependent Resistor), an MQ-2 gas sensor, a touch sensor, and a buzzer. The circuit is designed to interface these components with the Arduino UNO to perform various sensing and output functions.

Component List

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

LED: Two Pin (white)

  • Description: A white LED with two pins.
  • Pins: cathode, anode

LDR

  • Description: A Light Dependent Resistor used to detect light levels.
  • Pins: A0, D0, GND, VCC

MQ-2

  • Description: A gas sensor used to detect various gases including LPG, i-butane, propane, methane, alcohol, Hydrogen, and smoke.
  • Pins: GND, VCC, ANALOG, Digital

Touch Sensor TTP233

  • Description: A touch sensor module based on the TTP233 chip.
  • Pins: GND, I/O, VCC

Buzzer

  • Description: A simple buzzer used for sound output.
  • Pins: PIN, GND

Wiring Details

Arduino UNO

  • 5V: Connected to VCC of LDR, MQ-2, and Touch Sensor TTP233
  • GND: Connected to GND of LDR, MQ-2, Touch Sensor TTP233, and Buzzer
  • A0: Connected to ANALOG of MQ-2
  • D9: Connected to PIN of Buzzer
  • D8: Connected to anode of LED
  • D7: Connected to D0 of LDR
  • D6: Connected to I/O of Touch Sensor TTP233

LED: Two Pin (white)

  • cathode: Connected to GND of Arduino UNO
  • anode: Connected to D8 of Arduino UNO

LDR

  • VCC: Connected to 5V of Arduino UNO
  • GND: Connected to GND of Arduino UNO
  • D0: Connected to D7 of Arduino UNO

MQ-2

  • VCC: Connected to 5V of Arduino UNO
  • GND: Connected to GND of Arduino UNO
  • ANALOG: Connected to A0 of Arduino UNO

Touch Sensor TTP233

  • VCC: Connected to 5V of Arduino UNO
  • GND: Connected to GND of Arduino UNO
  • I/O: Connected to D6 of Arduino UNO

Buzzer

  • PIN: Connected to D9 of Arduino UNO
  • GND: Connected to GND of Arduino UNO

Documented Code

Arduino UNO Code (sketch.ino)

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

}

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

}

Additional Documentation (documentation.txt)


This document provides a comprehensive overview of the circuit, including the components used, their wiring details, and the code running on the Arduino UNO.