Flex Sensor

Liam Brady

Flex sensors are resistance-based sensors that react to how much they get bent. The more they are bent, the larger the resistance across the sensor. The Arduino is able to measure the changing resistance to determine how much the sensor is bent.

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

void loop() {
  int val = analogRead(A0);

  Serial.println(val);
  delay(100);
}