กลับไปหน้ารวมไฟล์
alarm-and-led-system-control-6ef585-en.md

My second Arduino project was to design a simple prototype of a smart home consisting of a burglar alarm system, detection of gases, smoke, fire and LED lighting control. The system consists of an Arduino UNO platform, smoke sensor, ultrasonic distance sensor, buzzer and LED. The system is programmed using the Arduino IDE and C # applications. The user interface offers the possibility of manually turning on and off the burglar alarm system, smoke system and LED system.

EXPANDED TECHNICAL DETAILS

Integrated Desktop Security Dashboard

This project creates a unified command center for managing home security alerts and mood lighting from a Windows PC.

  • C# WinForms / Visual Studio 2017 Interface: The Arduino communicates with a custom-built desktop application via a high-speed USB-Serial link. The user can toggle individual alarm zones and change the color of RGB LED strips directly from their computer screen.
  • Dual-Stage Alert Logic: The firmware manages a dedicated "Security Loop." If a window sensor is tripped, the C# app instantly displays a high-priority "Intruder Alert" popup while the Arduino triggers a local piezo siren and flashes the lights red.

Aesthetics

  • Software PWM Mixing: The C# dashboard provides a full RGB color-picker; the Arduino translates these 24-bit color codes into 8-bit PWM signals, allowing for millions of custom light combinations.

ข้อมูล Frontmatter ดั้งเดิม

title: "Alarm and LED system control"
description: "Prototype of application for house alarm system, contained by Gas and Ultrasonic sensor, and LED lights control"
author: "katarinak998"
category: ""
tags:
  - "alarm system"
  - "c#"
  - "arduino uno"
views: 2217
likes: 0
price: 1120
difficulty: "Intermediate"
components:
  - "1x Resistor 220 ohm"
  - "1x Buzzer"
  - "1x Arduino UNO"
  - "1x Breadboard (generic)"
  - "1x LED (generic)"
  - "1x Ultrasonic Sensor - HC-SR04 (Generic)"
  - "1x Grove - Gas Sensor(MQ2)"
tools: []
apps:
  - "1x Arduino IDE"
  - "1x Visual Studio 2017"
downloadableFiles: []
documentationLinks: []
passwordHash: "f288c23bdcb22769164a80b51dea9d3dda36596cadc0fe96f01aed4237037822"
encryptedPayload: "U2FsdGVkX1/Rq7kpccczAq3HafmWjhdiF2GCdC5QnqEa2lT8Tc42X8j1txeCcMk52efi7+ZbQGGUF+8foyEHLBY7tEtyzI1p79msSZJOUDn2rKelt40U7MTMHmuKpcED"
seoDescription: "Home Alarm and LED control system using Gas and Ultrasonic sensors. A prototype for smart home security and automation."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/alarm-and-led-system-control-6ef585_cover.jpg"
lang: "en"