Design and Implementation of a Home Network System on OpenWrt using Android Remote Control

OpenWrt와 Android 연동 원격 홈 네트워크 제어 시스템 설계 및 구현

  • 김정길 (남서울대학교 컴퓨터학과)
  • Received : 2012.12.05
  • Accepted : 2012.12.17
  • Published : 2012.12.31

Abstract

This paper introduces a home network service system using a low-cost wireless router on OpenWrt which can be remotely controled by Android devices. The proposed system consists of an embedded system development platform for home network service control based on OpemWrt embedded Linux, an embedded system development platform, a remote control on Android, and a home linghting device made by an interface board with LEDs. The prototype system is made of a wireless router of Buffalo, WZR-HP-G450H, Arduino Uno interface board with LEDs, and an Android development kit of HBE-SM5-S421. The operation was performed by TCP/IP programming for Android remote control, socket programming between Android development kit and wireless router, and UART communication programming between the interface board and wireless router. The implementation result shows that a low cost home network systme could be implemented with a wireless router.

본 논문에서는 소형 임베디드 시스템을 홈 네트워크 서비스 제어 시스템으로 활용하여 가정의 전기를 스마트폰을 이용하여 원격으로 제어함으로 에너지를 절약할 수 있는 시스템을 제안한다. 제안 시스템의 구성은 OpenWrt 임베디드 리눅스 기반의 소형 유무선공유기를 임베디드 시스템 개발 플랫폼으로 홈 네트워크 서비스 제어 시스템을 구현하였으며, Android 스마트폰 어플리케이션을 통한 원격 제어 기능 구현하였으며, 가정의 조명 시스템은 기존 인터페이스 보드에 LED를 연결하여 구성하였다. 프로토타입 시스템은 OpenWrt 운영체제가 설치된 Buffalo의 WZR-HP-G450H 유무선공유기, LED를 연결한 Arduino의 Uno 인터페이스 보드, Android 애플리케이션 개발 환경은 한백전자의 HBE-SM5-S4210 개발 키트를 이용하여 구현하였다. 동작 검증은 Android 기반 원격제어를 위한 TCP/IP 프로그래밍, 유무선공유기와 Android 개발 키트 인터페이스를 위한 소켓통신 프로그래밍, 유무선공유기와 인터페이스 보드 연결을 위한 UART 통신 프로그램으로 실행하였다. 구현 결과 소형 유무선공유기를 이용한 저 비용의 홈 네트워크 시스템의 가능성을 보여주었다.

Keywords