MPX5010DP Pressure Sensor 10kPa
Original price was: Rp500.000.Rp480.000Current price is: Rp480.000.
KR08237 MPX5010DP (10kPa) Pressure Sensor Differential Type Dual Ports
3 in stock
Description
MPX5010DP (0 ~ 1.45 Psi = 0 ~ 10 kPa) Pressure Sensor
Tutorial penggunaan MPX5010DP dengan Arduino
Konfigurasi kaki/ pinout dari sensor MPX5050DP (kaki nomor 1 ditunjukkan dengan coak) :
Output signal : 0.2V to 4.7V (analog output),
Measuring range : 0kPa to 10kPa Gage Automotive 6-Pin
Temperature working range = -40C ~ 125C
Contoh Pembacaan Sensor MPX5050DP dengan Arduino, untuk mengukur ketinggian air/ volume dalam suatu tangki :
Rangkaian dengan Arduino :
Script Code :
// Catatan : nilai berikut ini perlu dirubah untuk mengkalibrasi/ menggunakan tipe sensor dengan kemampuan baca yang berbeda.
// 10kPa = 1.02 mH20 max water column depth (http://www.convert-measurement-units.com/conversion-calculator.php?type=pressure)
// If max v of 4.5v = 10kPa, then sensorValue of 184 (184.2) = 10kPa
int sensorPin = A0;
int sensorValue = 0, sensorMax = 1023, sensorOffset = 12;
float voltage = 0, kpa = 0, voltageMax = 5.0, kpaRangeTopVoltage = 4.5;
void setup() {
Serial.begin(9600);
}
void loop() {
sensorValue = analogRead(sensorPin) – sensorOffset; // Read sensor & adjust with offset
Serial.print(“sensorValue (offset “);
Serial.print(sensorOffset, DEC);
Serial.print(“): “);
Serial.println(sensorValue, DEC);
if (sensorValue == 0) {
kpa = 0;
voltage = 0;
} else {
voltage = sensorValue * (voltageMax / sensorMax);
kpa=((voltage/kpaRangeTopVoltage)-0.04)/0.018;
}
Serial.print(“voltage: “);
Serial.println(voltage, 3);
Serial.print(“kpa: “);
Serial.println(kpa, 1);
Serial.println(“”);
delay(1000);
}
Additional information
Weight | 0,1 kg |
---|---|
Skill Programming | Level 2 |
Skill Elektrikal | Level 3 |
Skill Robotika | Level 1 |
Skill DIY - Do it yourself | Level 1 |
Skill Soldering | Level 2 |