0
0

More than 3 years have passed since last update.

Raspberry Piを使い、MCP3008を通して感圧センサーのデータを採取したいです。

Posted at

前提

○使用している機材
・Raspberry Pi
・MCP3008(A/Dコンバータ)
・1pc DF9-40(感圧センサー)
https://www.amazon.co.jp/gp/product/B07X8SPLJ4/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
※SPIのインストールは完了しています。

○参考にしたPythonコード,配線
http://kousen-tech.blogspot.com/2016/10/raspberry-pi_30.html

○実現したいこと
RaspberryPiを使って感圧センサーから、
圧力のデータを採取したいです。

問題点

ターミナル、エディタともに正常に実行できているのですが、
数値として表示されるデータがどれだけ圧力をかけても
0,0,0,0,0…としか表示されません。

該当の感圧センサーは
RaspberryPiと対応してないのでしょうか?

お手数ですが、
ご教示のほどよろしくお願い申し上げます。

0
0
1

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