DOI QR코드

DOI QR Code

A Indoor Management System using Raspberry Pi

라즈베리 파이를 이용한 실내관리 시스템

  • Jeong, Soo (Research Institute, Hanho Technology) ;
  • Lee, Jong Jin (Department of Information Communication, Jeonju University) ;
  • Jung, Won Ki (Department of Information Communication, Jeonju University)
  • Received : 2016.04.15
  • Accepted : 2016.09.09
  • Published : 2016.09.30

Abstract

In the era of the Internet of Things, where all physical objects are connected to the Internet, we suggest a remote control system using a Raspberry Pi single-board computer with ZigBee, which can turn an indoor light-emitting diode (LED) and a multiple-tap on and off, and with a smart phone can control the brightness of the LED as well as an electronic door lock. By connecting an infrared (IR) transmitter module to the Raspberry Pi, we can control home appliances, such as an air conditioner, and we can also monitor indoor images, indoor temperatures, and illumination by using a smart phone app. We developed a method of finding out IR transmission codes required for remote-controllable appliances with an AVR micro-controller. We suggest a method to remotely open and shut an office door by novating the door lock. The brightness level of an LED (between 0 and 10) can be controlled through a PWM signal generated by an ATmega88 microcontroller. A mutiple-tap is controlled using an ATmega32, a photo-coupler, and a TRIAC. The signals for measured temperature and illumination are converted from analog to digital by using the ATtiny44A microcontroller transmitting to a Raspberry Pi through SPI communication. Then, we connect a camera to the CSI head of the Raspberry Pi. We can turn on the smart multiple-tap for a certain period of time, or we can schedule the multi-tap to turn on at a specific time. To reduce standby power, people usually pull out a power code from multiple-taps or turn off a switch. Our method helps people do the same thing with a smart phone, if they are away from home.

모든 사물들이 인터넷에 연결되는 사물 인터넷 시대에 즈음하여 본 논문에서는 라즈베리파이와 지그비를 이용하여 실내의 LED 조명등과 멀티탭을 on/off 하고 조명등의 밝기와 출입문의 전자 도어락을 스마트폰으로 원격 제어하는 시스템을 제안한다. 라즈베리파이에 적외선 송신 모듈을 연결하여 리모트컨트롤이 가능한 에어컨 등의 가전제품을 스마트폰 어플로 제어했으며 실내의 영상, 실내온도, 조도 등을 모니터링 했다. 리모트컨트롤이 가능한 모든 가전제품들을 원격 제어하기 위해서는 IR 송신코드를 알아내어야 하는데 AVR 마이크로컨트롤러를 이용해서 IR 송신코드를 알아내는 방법을 제안했다. 상용의 사무실용 도어락을 개조하여 원격으로 개폐하는 방법을 제안했다. LED 조명의 밝기는 ATmega88로 PWM 신호를 발생시켜서 0에서 10 레벨까지 컨트롤했고 멀티탭의 제어는 ATmega32와 포토커플러, TRIAC를 사용하였다. 측정된 온도 및 조도는 Tiny44A를 사용하여 A/D 변환되고 SPI 통신으로 라즈베리파이에게 송신된다. 카메라는 라즈베리파이의 CSI(Camera Serial Interface) 헤드에 연결하였다. 스마트 멀티탭은 일정시간 동안 on 시킬 수 있고 미래시점에 on이 되도록 예약할 수 있다. 대기전력을 줄이기 위해서는 수동으로 멀티탭의 콘센트를 뽑거나 스위치을 꺼면 되지만 스위치를 꺼지 않고 외출한 경우에도 스마트폰으로 원격 제어하여 스위치를 꺼면 대기전력을 줄이는데 많은 도움이 될 것이다.

Keywords

References

  1. HongSeok Kim, Jae-Hwan Na, So-Hyeon Park, Sooyeong Kwak " A Wifi Smart Power Outlet for Remote Monitoring and Control of Power Consumption" Journal of Korea Multimedia Society vol. 17, no. 2, pp. 160-169, 2014. DOI: http://dx.doi.org/10.9717/kmms.2014.17.2.160
  2. Dae-Hyun Ryu, "Development of BLE Sensor Module based on Open Source for IoT Applications" JKIECS, vol. 10, no. 3, pp. 419-424, 2015. DOI: http://dx.doi.org/10.13067/jkiecs.2015.10.3.419
  3. D. Bandyopadhyay and J. Sen, "Internet of things : applications and challenges in technology and standardization", Wireless Personal Communications, vol. 58, no. 1, pp. 49-69, 2011. DOI: http://dx.doi.org/10.1007/s11277-011-0288-5
  4. H. Sundmaeker, P. Guillemin, P. Friess, and S. Woelffle, "Vision and challenges for realizing the internet of things", Future Generation Computer Systems archive, vol. 29, no. 7, pp. 1645-1660, 2013 https://doi.org/10.1016/j.future.2013.01.010
  5. Jung-Hyuck Lee, Sang-Hyun Kim, Chang-Se, Oh Min-Seok, Seo Young-Don Kim, Hyun-Ju Park, "Implementation of Smart Multi-tap System based on Zigbee Communication" The Journal of Korea Information and Communications Society vol. 39C, no. 10, pp. 930-936, 2014. DOI: http://dx.doi.org/10.7840/kics.2014.39C.10.930
  6. Woo-Soo Jeong, Sa-Hyuk Kim, Kyoung-Sik Min "An analysis of the economic effects for the IoT industry," Journal of Korean Society for Internet Information, vol. 14, no. 5, pp. 119-128, Sept. 2013. DOI: http://dx.doi.org/10.7472/jksii.2013.14.5.119
  7. Soon-Ja Lim, "Design and implementation of agriculture system for Internet of Things" Journal of the Korea Academia-Industrial cooperation Society, vol. 16, no. 12, pp. 8896-8900, 2015. DOI: http://dx.doi.org/10.5762/KAIS.2015.16.12.8896
  8. Liu-Dan, Gwang-Jun Kim, Jin-Woo Lee "Design of Smart Home Network System based on ZigBee Topology" The Journal of The Korea Institute of Electronic Communication Science, vol. 7, no. 3, pp. 537-543, 2012. https://doi.org/10.13067/JKIECS.2012.7.3.537
  9. Yun-Jae Jang, Kyoung-Wook Park, Sung-Keun Lee "A Home Automation system based on Smart phone" The Journal of The Korea Institute of Electronic Communication Science, vol. 6, no. 4, pp. 589-594, 2011.
  10. Jeong-Hyun Back "The Design and Implementation of Internet Outlet with Multiple User Interface Using TCP/IP Processor" Journal of The Korea Society of Computer and Information, vol. 17, no. 9, pp. 103, 2012. DOI: http://dx.doi.org/10.9708/jksci/2012.17.9.103
  11. Jae Chang Shim, Ju Young Ko, Jung Soo Kim "Zibee for fun", Hanteemedia(2012), pp. 75-77.
  12. Duk-Yong Yoon "AVR ATxmega Family Conquest" Ohm Company(2010), pp. 812-832
  13. Geung Nam Lee "Infrared TV Remocon + Receive Module Manual" http://www.lkembedded.co.kr, 2012