Embedded Systems · Edge Sensing

Real-Time Drowsiness Monitor

Raspberry Pi 2대의 PPG·눈 감김(EAR) 분석과 TCP/IP 통신, GPIO·I²C 경고 장치 통합.

소스 코드와 실물 프로토타입
Raspberry Pi, LCD, sensor wiring으로 구현한 졸음 모니터링 prototype

자료 바로가기

01

문제 정의

PPG와 camera 기반 EAR 신호를 분리된 두 Raspberry Pi node에서 취득·분석하고 alarm path로 통합하는 문제입니다.

02

Architecture

PPG sensing node와 image/EAR analysis node를 TCP/IP와 file IPC로 연결하고 GPIO·I²C를 통해 LCD와 alarm 출력을 구성합니다.

03

Hardware · Software

  • Raspberry Pi
  • C/C++
  • OpenCV
  • TCP/IP
  • GPIO
  • I²C
  • LCD

04

Data Flow

PPG·camera sensing → node별 preprocessing → network/file IPC → fatigue decision path → LCD·alarm output.

05

Methodology

  • PPG server와 image/EAR processing module 통합
  • Two-node communication과 상태 전달 경로 문서화
  • LCD·alarm interface와 prototype wiring 정리

06

Results

  • C/C++ source에 구현된 two-node architecture
  • TCP/IP·GPIO·I²C가 잇는 data와 alarm path
  • 당시 prototype 사진에 남아 있는 LCD와 sensor wiring

내가 맡은 부분

  • PPG server와 image/EAR processing
  • Two-node file IPC·network architecture
  • LCD·alarm integration path 문서화

코드와 결과

  • C/C++ source와 architecture 문서
  • 회로·LCD·prototype 사진
  • TCP/IP, GPIO, I²C data and alarm paths

설계 조건·후속 과제

자료 범위: 프로토타입·통신·경고 경로. 후속 계측: 지연시간·민감도·특이도·오경보율.

PPG와 카메라 EAR 분석을 두 대의 Raspberry Pi로 분담한 프로토타입. TCP/IP로 분석 결과를 교환하고 GPIO·I²C 경고 장치를 구동한다.

취득·분석·경고 코드

논문 첫 페이지 미리보기