LoginSignup
1
1

More than 3 years have passed since last update.

OmronのD6TをRaspberry Piで使う

Last updated at Posted at 2020-10-14

IMG_1589.jpg

非接触で4x4のマトリックスの温度を取得できるセンサを試してみました。i2cで認識はするものの、なかなかうまくデータを読みだせず、結果的にそのままクローンして使えそうなライブラリ(d6t-grove-raspberrypi)を見つけて、そのまま起動して試すところまでのメモです。配線はdenshi.clubの記述を参考にさせて貰いました。記事最下部に、配線の写真があります(汚いですが…)。

i2cdetect -y 1

x 動かない!

5年前で開発が止まっており、python2.x系のコードしかありませんでした。

IOError Invalid argument を解消できず。。

o 動いた!

git clone https://github.com/omron-devhub/d6t-grove-raspberrypi.git
cd d6t-grove-raspberrypi
sudo pigpiod
python3 sample_gui_d6t.py

IMG_1590.jpg

1
1
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
1
1