รหัสสินค้า | AS00393 |
หมวดหมู่ | วัดสภาพแวดล้อมและแก๊ส Environmental / Gas |
ราคา | 2,685.00 บาท |
สถานะสินค้า | พร้อมส่ง |
จำนวน | 1 |
Notes:
1. Please connect the power supply exactly as the connection instruction.
2. The product is a precision device, so it is not allowed to disassemble and crash the device or make it fall from the high place, what’s more, don’t touch its diaphragm with any sharp objects in case of causing device damage.
3. Power the transmitter up then you can use it. But it can provide more steady output after preheating for 30 minutes. Please turn off the power and stop using if any abnormality is found during use.
4. The liquid level lead should be vertically downward. Please prevent water from entering the terminal, and the joint is required to be waterproof.
5. Place the liquid level probe in water, try to fix it and keep it away from the inlet.
Connection Diagram
Dimension Diagram
SPECIFICATION
Num | Label | Description |
---|---|---|
1(red) | VCC | Positive pole |
2(red, thick) | AIR PIPE | Air guiding tube |
3(black) | GND | Negative pole |
Num | Label | Description |
---|---|---|
1 | GND | Power Ground |
2 | VCC | Power Positive(3.3~5.5V) |
3 | Signal | Voltage Signal Output |
4 | I+ | Current Input |
5 | I- | Current Output |
This tutorial introduces the usage of level transmitter with current-to-voltage module, which converts the current signal output by the sensor into a analog voltage signal. The Arduino UNO reads this analog voltage signal and converts it to corresponding depth.
When the liquid level transmitter is put into a certain depth of some liquid, the pressure at the end of the sensor is
The atmospheric pressure P0 on the liquid surface is introduced into the back chamber of the sensor through the air guiding tube to offset the atmospheric pressure P0 at the end of the sensor, so that the measured pressure of the sensor is P'=P-P0=ρgh. Therefore, if the liquid density ρ and the acceleration of gravity g are known, the liquid level depth h can be calculated by measuring the pressure P'.
The pressure measured by the liquid level sensor is then amplified and compensated by the circuit and output with a standard 4-20 mA current signal. The relationship of output current of the liquid level transmitter, output voltage of the current to voltage module and depth are shown below:
Attention
- The depth ranges, voltages and currents shown in the figure are for pure water. If other liquid is to be measured, the density of the liquid needs to be considered. The specific conversion relationship is shown in the sample code.
/***********************************************************
DFRobot Gravity: Analog Current to Voltage Converter(For 4~20mA Application)
SKU:SEN0262
GNU Lesser General Public License.
See <http://www.gnu.org/licenses/> for details.
All above must be included in any redistribution
****************************************************/
#define ANALOG_PIN A1
#define RANGE 5000 // Depth measuring range 5000mm (for water)
#define CURRENT_INIT 4.00 // Current @ 0mm (uint: mA)
#define DENSITY_WATER 1 // Pure water density normalized to 1
#define DENSITY_GASOLINE 0.74 // Gasoline density
#define PRINT_INTERVAL 1000
int16_t dataVoltage;
float dataCurrent, depth; //unit:mA
unsigned long timepoint_measure;
void setup()
{
Serial.begin(9600);
pinMode(ANALOG_PIN, INPUT);
timepoint_measure = millis();
}
void loop()
{
if (millis() - timepoint_measure > PRINT_INTERVAL) {
timepoint_measure = millis();
dataVoltage = analogRead(ANALOG_PIN);
dataCurrent = dataVoltage / 120.0; //Sense Resistor:120ohm
depth = (dataCurrent - CURRENT_INIT) * (RANGE/ DENSITY_WATER / 16.0); //Calculate depth from current readings
if (depth < 0) depth = 0.0;
//Serial print results
Serial.print("depth:");
Serial.print(depth);
Serial.println("mm");
}
}
ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีธนาคาร KBANK, SCB, BBL,TMB
กรุณาเก็บหลักฐานการโอนเงินของท่านไว้เพื่อแจ้งการชำระเงินด้วยค่ะ
ท่านสามารถแจ้งการชำระเงินผ่านระบบอัตโนมัติได้โดย Click Link ข้างล่างค่ะ
https://www.arduitronics.com/informpayment
หน้าที่เข้าชม | 15,412,950 ครั้ง |
ผู้ชมทั้งหมด | 5,916,028 ครั้ง |
เปิดร้าน | 21 พ.ค. 2556 |
ร้านค้าอัพเดท | 30 ก.ย. 2568 |