(SKU:RB-02S040) Flex Sensor 4.5"

From ALSRobot-Wki
Jump to: navigation, search


02s040.jpg

Contents

Product overview

Bend sensor is induced by bending sensor area to realize the resistance changes. When the sensor is in a state of not bending resistance is about 10 K. When the sensor receives the external force organization, range in the 10 k and 40 k. Bend sensor working temperature is 45 f to 125 f.

specification

  1. resistance of the upright state:25K
  2. resistance tolerance:±30%
  3. Bending resistance change: 10K~125K 欧姆
  4. Rated power:0.5w
  5. Peak power:1w
  6. Bend the life:>1One million times
  7. Working temperature:-35°C ~ +80°C 
  8. size    :77mm * 6mm (Length * width)
  9. interface type:2-Pin Metal pins(Spacing of 0.1")

Method of use

flex传感器弯曲时改变阻值,所以我们可以使用Arduino采集模拟信号。因此需要分压装置来分传感器上的电压,推荐使用22 k电阻。Arduino采集电压为0V-5V,设定0为0V,1023为5 v,每个部分的数值于电压成正比。

Flex-sensor-arduino.jpg

Module test

/*****************************************************************
机器人基地 RobotBase www.robotbase.cn
目    的:  弯曲传感器测试程序
目标系统:  Carduino UNO R3 控制器
应用软件:  Arduino IDE 1.0.5
发布时间:  2015-1-23
说    明:  若用于商业用途,请保留此段文字或注明代码来源
	         哈尔滨奥松机器人科技有限公司保留所有版权
*****************************************************************/ 
int flexSensorPin = A0;     
void setup()
{
  Serial.begin(9600);
}
void loop()
{
  int flexSensorReading = analogRead(flexSensorPin);
   Serial.println(flexSensorReading);
  int flex0to100 = map(flexSensorReading, 512, 614, 0, 100);
  Serial.println(flex0to100);
  delay(250); 

Test results: through a serial port value, we can with the bending of the sensor, a serial port according to the numerical changes.

Related to recommend

Buy address: [1]

Personal tools
Namespaces

Variants
Actions
Navigation
Tools