Danh sách sản phẩm

Cảm biến áp suất không khí, chất lỏng MPS20N0040D-S 0-40KPa

Mã sản phẩm: IMA289   |   Tình trạng: Còn 10 sản phẩm có sẵn
82.000₫
  • Nhập IMA-90 giảm 90%, tối đa 2K
  • Nhập IMA-5K giảm 5k, đơn từ 199K
  • Nhập IMA-35K giảm 35k, đơn từ 499K

Mô tả sản phẩm

Cảm biến áp suất không khí, chất lỏng MPS20N0040D-S 0~40KPa pressure sensor được sử dụng như một áp kế điện tử để đo áp suất không khí, chất lỏng (thường là nước, các chất khác xin xem trong datasheet của cảm biến) giúp thực hiện vô số các ứng dụng khác nhau: cảm biến mực chất lỏng, áp suất không khí trong bình kín,..., cảm biến sử dụng giao tiếp 2-Wire rất dễ sử dụng và kết nối với code mẫu có sẵn trên Arduino.

Thông số kỹ thuật:

  • Cam biến: MPS20N0040D-S
  • IC ADC: HX710 hoặc TM7711
  • Điện áp sử dụng: 3.3~5VDC
  • Giao tiếp: 2-Wire (SCK, Out)
  • Pressure Range: 0~40KPa

Sơ đồ chân:


Code tham khảo Arduino: 

const int analogInPin = A0;  // Analog input pin that the potentiometer is attached to

int sensorValue = 0;        // value read from the pressure sensor via the amplifier stage
float outputValue = 0;        // value output to the Serial port and LCD display

void setup() 
{
  // initialize serial communications at 9600 bps:
  Serial.begin(9600); 
}

void loop() 
{
  // read the analog in value:
  sensorValue = analogRead(analogInPin);            
  outputValue = map(sensorValue, 10, 1023, 0, 100); //The zero value of sensor is around 10
  
  // print the results to the serial monitor:
  Serial.print("sensor = " );                       
  Serial.print(sensorValue);      
  Serial.print("\toutput = ");      
  Serial.println(outputValue);   

  // wait 500 milliseconds before the next loop
  // for the analog-to-digital converter to settle
  // after the last reading:
  delay(100);                     
}


Tài liệu tham khảo:

Video tham khảo:

Khách hàng nhận xét