12인치 eTape 수위레벨 센서 -플라스틱 케이스
(12 inch Standard eTape Liquid Level Sensor
with Plastic Casing)
개요
- 본 제품은 12인치 eTape 수위 레벨 센서입니다.
- 수위에 따라 가변적으로 변하는 저항값을 가지고 있는 센서입니다.
- 본 센서는 플라스틱 케이스를 가지고 있어 센서가 손상 받는 것을 방지하여 주며 센서를 일자 형태로 유지하는데 도움을 주게 디자인 되어 있습니다.
- 수위가 높을수록 저항은 낮으며, 수위가 낮을수록 높은 저항값을 가집니다.
- 3핀 JST 커넥터가 장착되어 있습니다.
- 센서는 저항이므로 voltage divider 회로를 구성하여 쉽게 마이크로컨트롤러의 ADC 핀으로 값을 읽을 수 있습니다.
특징
- 305mm x 29mm x 13mm / 12" x 1.14" x 0.51"
- Weight: 56g
- Sensor Output: 400-2000Ω ±20%
- Ref. Resistance: 2000Ω ±20%
- Actuation Depth: Nominal 25.4mm / 1"
- Resistance Gradient: 60Ω/cm / 150Ω /inch
- Power Rating: 0.5 Watts
- Temperature Range: 15°F - 150°F / -9°C - 65°C
- Standard eTape Datasheet
문서
- 생산 LOT에 따라서 Voltage divider회로가 장착되어 출고되는 제품들이 있을 수 있습니다. 이런 경우는 아래의 설명과 같은 별도의 voltage divider회로를 구성할 필요가 없습니다.
- Connect pin #2 of the sensor to ground, then pin #3 to a 560 ohm resistor. The other side of the 560 ohm resistor to VCC (3.3V or 5V for example) to create a resistor divider. The ADC pin connects to the point between the resistor and sensor.
// the value of the 'other' resistor
#define SERIESRESISTOR 560
// What pin to connect the sensor to
#define SENSORPIN A0
void setup(void) {
Serial.begin(9600);
}
void loop(void) {
float reading;
reading = analogRead(SENSORPIN);
Serial.print("Analog reading ");
Serial.println(reading);
// convert the value to resistance
reading = (1023 / reading) - 1;
reading = SERIESRESISTOR / reading;
Serial.print("Sensor resistance ");
Serial.println(reading);
delay(1000);
}