Smart BathGuard - Edge AI-Based Bathroom Usage Detection Automatic Lighting and Ventilation Control System
An edge AI system that automatically turns on lighting when someone enters a restroom and activates a ventilation fan after use to quickly remove moisture and odors.
콘테스트 프로젝트 진행 상황
각 Quest를 단계적으로 완성하는 프로젝트입니다.
프로젝트 소개
목표 및 제작 동기
Family members forget to turn on the ventilation fan after using the bathroom, causing problems with moisture, mold, and odors. At night, sudden bright lighting causes glare and discomfort. Existing ventilation fans have a separate button, and if the fan is not turned off when leaving the bathroom, it wastes power. Concerns about privacy invasion from general smart devices that send camera footage to the cloud. [Expected Outcomes] Small case device installable on bathroom door frame/wall (actual operation) Indoor lighting with automatic brightness switching between day and night (PWM dimming control) Demo video of complete cycle: entry → lighting (night dimming) → exit → ventilation → lighting off Source code on GitHub + circuit diagram + Edge Impulse project disclosure
프로젝트 컨셉
센서 퓨전 재실 감지 — PIR(동작) + 초음파 HC-SR04(거리) 두 센서의 시계열 패턴을 Edge Impulse로 학습. "입실 / 사용 중 / 퇴실" 3-class TinyML 분류 모델을 ESP32-S3 온디바이스에서 추론, 클라우드 불필요 시간대 연동 자동 조명 제어 — RTC 모듈(DS3231)로 현재 시각을 읽어 주간(07:00–23:00)과 야간(23:00–07:00)을 구분. 재실 감지 시 주간엔 PWM 100%, 야간엔 PWM 30% 수준으로 MOSFET을 통해 내부 조명 밝기를 자동 조절. 퇴실 판정 후 자동 소등 습도 연동 자동 환기 — DHT22(온습도) 센서값을 MCU가 실시간 읽어 퇴실 후 습도 임계치(예: 70% 이상) 초과 시 릴레이로 환풍기 ON, 수치 정상화 시 자동 OFF 완전 오프라인 동작 — 인터넷·앱 연결 없이 전원만으로 독립 구동. 카메라 미사용으로 프라이버시 침해 원천 차단 [하드웨어] ESP32-S3, PIR HC-SR501, 초음파 HC-SR04, RTC DS3231, DHT22, MOSFET + LED 전구, 5V 릴레이 (환풍기)
댓글 0개
아직 댓글이 없습니다. 첫 댓글을 남겨보세요!