Flex Sensor 4.5 Inch China Make
Rs. 392.00 Rs. 440.00
- Product Code: SEN-FLEX
- SKU -
- Availability: In Stock
- Price in reward points: 4
- For Bulk Order 9962060070
Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
SPECIFICATIONS: | |
Flat Resistance | 10K Ohms |
Resistance Tolerance | ±30% |
Length | 12 cm |
Thickness | 1 mm |
Bend Resistance Range | 60K to 110K Ohms |
Power Rating | 0.50 Watts continuous. |
1 Watt | Peak |
Life Cycle | >1 million |
Temperature Range | -35°C to +80°C |
OVERVIEW:
-Angle Displacement Measurement
-Bends and Flexes physically with motion device
-Simple Construction
PACKAGE INCLUDES:
1 PCS x Flex Sensor 4.5 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