Implementation of motor control system using NodeJS and MongoDB

NodeJS와 MongoDB를 활용한 모터 동작 제어시스템 구현

  • Kang, Jin Young (Department of Computer Software Engineering, Changshin University) ;
  • Lee, Young-dong (Department of Computer Software Engineering, Changshin University)
  • 강진영 (창신대학교 컴퓨터소프트웨어공학과) ;
  • 이영동 (창신대학교 컴퓨터소프트웨어공학과)
  • Published : 2017.10.25

Abstract

With the development of intelligent technologies, the Internet of Things(IoT) has been applied to various applications. A platform technology including a sensor-server-DB for easily managing data at a remote site is required. In this paper, we implemented a servo motor control system that moves by the smart phone tilt value using NodeJS and MongoDB. The system consists of Rasberry Pi, servo motor and smart phone and the servo motor sensor data is transmitted to NodeJS so that data can be stored in database.

사물인터넷이 고도의 지능화가 됨에 따라 다양한 분야로 적용되고 있다. 그중에 센서-서버-DB를 결합해 하나의 플랫폼을 만들어서 다양한 분야에 접목하면 데이터를 쉽게 관리 할 수 있는 사물인터넷 기반의 시스템이 구현 가능하다. 이에 따라, 본 논문에서는 사물인터넷 기반 NodeJS와 MongoDB를 활용하여 스마트폰 기울기에 따른 서보모터 동작 제어 시스템 구현을 위해 Rasberry Pi, 서보모터, 스마트폰으로 시스템을 구성하고, NodeJS, MongoDB, npm모듈, HTML을 활용한 서보모터 센서 값이 발생하면 NodeJS로 전송하여 데이터를 저장 관리 할 수 있도록 하였다.

Keywords