10
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

USB温度センサTEMPer1の温度を取得するには

Last updated at Posted at 2014-12-06

#概要

PCsensor社のUSB温度センサTEMPer1を使い温度データをLinuxで取得する。PaspberryPiとTEMPer1はUSBで接続できる。Linux(Pydora20)で、コマンドラインで温度データを取得する方法。

#詳細

GitHub上のリポジトリからソースを取得し、makeする。

環境構築手順

$ sudo yum -y install git libusb-devel
$ git clone git://github.com/bitplane/temper.git
$ cd temper
$ make clean
$ make
$ sudo cp ./temper /usr/bin/temper
$ sudo temper
06-Dec-2014 11:08,21.009874

備考

  • temper 実行時には root 権限が必要
  • lsusbでデバイスを見ると Bus 001 Device 004: ID 0c45:7401 Microdia TEMPer Temperature Sensor と表示される
10
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?