Flex Sensor 2.2 Inch China Make
Rs. 292.00 Rs. 342.00
- Product Code: SEN-FLEX
- SKU -
- Availability: In Stock
- Price in reward points: 3
- For Bulk Order 9962060070
Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
SPECIFICATIONS: | |
Flex length(mm) | 2.2" (56) |
Total Length (cm) | 7 |
Life Cycle | >1 million |
Height | 0.43mm (0.017") |
Flat Resistance | 10K Ohms ±30% |
Bend Resistance | minimum 20K Ohms ±30% (@ 180° pinch bend) |
Power Rating | 0.5 Watts continuous; 1 Watt Peak. |
OVERVIEW: | |
Flex length | 5.6 cm. |
Total Length | 2.2″ (7 cm). |
Life Cycle | >1 million. |
Height | 0.43mm (0.017″), |
Flat Resistance | 10K Ohms ±30%. |
Power Rating | 0.5 Watts. |
PACKAGE INCLUDES:
1 PCS x Flex Sensor 2.2 Inch China Make
//SOURCE CODE TAKEN FROM BELOW LINK
//https://lastminuteengineers.com/flex-sensor-arduino-tutorial/
const int flexPin = A0; // Pin connected to voltage divider output
// Change these constants according to your project's design
const float VCC = 5; // voltage at Ardunio 5V line
const float R_DIV = 47000.0; // resistor used to create a voltage divider
const float flatResistance = 25000.0; // resistance when flat
const float bendResistance = 100000.0; // resistance at 90 deg
void setup() {
Serial.begin(9600);
pinMode(flexPin, INPUT);
}
void loop() {
// Read the ADC, and calculate voltage and resistance from it
int ADCflex = analogRead(flexPin);
float Vflex = ADCflex * VCC / 1023.0;
float Rflex = R_DIV * (VCC / Vflex - 1.0);
Serial.println("Resistance: " + String(Rflex) + " ohms");
// Use the calculated resistance to estimate the sensor's bend angle:
float angle = map(Rflex, flatResistance, bendResistance, 0, 90.0);
Serial.println("Bend: " + String(angle) + " degrees");
Serial.println();
delay(500);
}
15 days