1
0

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.

Arduinoで圧力センサを使う

Posted at

この記事は、arduinoで圧力センサ(FSR402)を使うためのものです。1個当たり500円以下で購入出来ます。とても薄くて、ペラペラしています。

接続方法

分圧抵抗の回路を組みます。
抵抗は5KΩを使用しました。
Press.JPG

プログラム

A0端子の値を表示するシリアルプロッタで表示するプログラムです。

presure.ino
void setup() {
  Serial.begin(9600);
}

void loop() {
  int value = analogRead(0);
  Serial.println(value);
  delay(20);
}

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?