A Plug&Play Scheme of Usb Sensros In Raspberry-Pi

라즈베리-파이에서 USB 센서의 Plug&Play 기법

  • Published : 2021.10.03

Abstract

The way to develop an IoT device is to mount the sensor required by the application on a platform such as Arduino or Raspberry Pi, and write the sensor driver and application. At this time, if the driving driver for the sensor has already been written and the application can access the driver as a standardized API, then Plug&Play of the sensor will be possible. The old way to do this is because the sensor interface is too complicated to use on the current platform. In this paper, when a standardized sensor and driver with a USB terminal are plugged into the Raspberry Pi, we propose a method for automatically installing the driver. Application developers can get sensor values through Linux's file access API without worrying about sensor drivers. The proposed technique is currently being implemented on Raspberry-Pi.

IoT 장치를 개발하는 방법은 응용이 요구하는 센서를 아두이노나 라즈베이 파이 같은 플랫폼에 장착하고 그 센서의 드라이버와 응용을 작성하는 것이다. 이때 그 센서를 위한 구동 드라이버가 이미 작성되어 있고 응용에서 그 드라이버를 표준화된 API로 접근할 수 있다면 센서의 Plug&Play가 가능할 것이다. 이를 위한 과거의 방식은 센서 인터페이스가 너무 복잡하여 현재의 플랫폼에서는 사용하기 어렵다. 본 논문에서는 USB단자를 갖는 표준화된 센서와 드라이버가 라즈베리 파이에 Plug되면 자동으로 드라이버가 설치되는 기법을 제안한다. 응용 개발자는 센서 드라이버는 고민하지 않고 Linux의 파일 접근 API로 센서 값을 얻을 수 있다. 제안된 기법은 현재 라즈베리-파이 상에서 구현 중이다.

Keywords