SDP-2000 Senseor
sorry, don't english little.
i have "sdp-2000" differential-pressure sensors.
sdp-2000 sketch code make , apple in arduino
how writing arduino sketch code??
help me please...
[product address]
http://www.sensirion.co.kr/products/differential-pressure-sensors/differential-pressure-sensor-sdp1000-series/
[differential pressure sensors data(*.pdf) address ]
http://www.sensirion.com/nc/en/download/file/datasheet_sdp1000/
[download in sample code address]
http://www.sensirion.co.kr/products/differential-pressure-sensors/download-center/
i have "sdp-2000" differential-pressure sensors.
sdp-2000 sketch code make , apple in arduino
how writing arduino sketch code??
help me please...
[product address]
http://www.sensirion.co.kr/products/differential-pressure-sensors/differential-pressure-sensor-sdp1000-series/
[differential pressure sensors data(*.pdf) address ]
http://www.sensirion.com/nc/en/download/file/datasheet_sdp1000/
[download in sample code address]
http://www.sensirion.co.kr/products/differential-pressure-sensors/download-center/
sorry, don't english little.
i have "sdp-2000" differential-pressure sensors.
sdp-2000 sketch code make , apple in arduino
how writing arduino sketch code??
help me please...
[product address]
http://www.sensirion.co.kr/products/differential-pressure-sensors/differential-pressure-sensor-sdp1000-series/
[differential pressure sensors data(*.pdf) address ]
http://www.sensirion.com/nc/en/download/file/datasheet_sdp1000/
[download in sample code address]
http://www.sensirion.co.kr/products/differential-pressure-sensors/download-center/
you can use analog input such a0
the analog input can sample voltage 0...5 v input
the differential pressure sensor sends out 0.25…4.0 v output
so connect 5v on sdp-2000 5v pin on arduino
gnd gnd
and sdp-2000 out connection pin a0
the analog input returns integer values between 0 , 1023
0 being 0 volts , 1023 being 5v
the code depends on version of sdp-2000 have
there 2 looking @ datasheet.
linear output sdp2000-l formula: p = lfactor * (voltage(1) - 0.250)/3.750
square root output sdp2000-r formula: p = rfactor * (voltage(1) -0.250)^2
voltage can discovered using this sketch:
code: [select]
/*
readanalogvoltage
reads analog input on pin 0, converts voltage, , prints result serial monitor.
attach center pin of potentiometer pin a0, , outside pins +5v , ground.
example code in public domain.
*/
// setup routine runs once when press reset:
void setup() {
// initialize serial communication @ 9600 bits per second:
serial.begin(9600);
}
// loop routine runs on , on again forever:
void loop() {
// read input on analog pin 0:
int sensorvalue = analogread(a0);
// convert analog reading (which goes 0 - 1023) voltage (0 - 5v):
float voltage = sensorvalue * (5.0 / 1023.0);
// print out value read:
serial.println(voltage);
}
depending on sensor need add appropriate math equation exact pressure.
Arduino Forum > Using Arduino > Programming Questions > SDP-2000 Senseor
arduino
Comments
Post a Comment