Sensores Pressão Barométrica

Promoções

Produtos visualizados

Pressure Sensor MPX5010dp Freescale

BE15000413

Novo produto

MPX5010dp

Mais detalhes

Aviso: Últimos itens disponíveis!

23,37 € com IVA

Adicionar à Lista de desejos

Mais informação

This sensor detects changes in air pressure at its two ducted ports. The output of the sensor is an analog voltage that varies depending on the pressure.   The pressure sensor can detect changes in both positive and negative air pressure. Positive air pressure is equivalent to blowing into a tube. Negative air pressure creates a vacuum, similar to sucking from a straw.

 

Connections

To connect the pressure sensors to the Arduino Shield, attach the three leads of the device as shown in the figure. The sensor is a 6-pin device, but only pins 1-3 are connected. Note that pin 1 is denoted by a small notch. 

 

Although the leads on the pressure have the standard 0.100" spacing, it is recommended that you connect the device to the Arduino using male-female jumper wires, rather than plugging the sensor directly into the breadboard of the Arduino Shield. This allows you more flexibility in connecting tubes to the sensor.

  

Code:

// Pin 1 (notch) - Analog output
// Pin 2 - Gnd
// Pin 3 - 5V


int sensorPin = A0;    // Select input pin for the potentiometer
int sensorValue = 0;   // Variable stores value coming from the sensor

void setup() {
  Serial.begin(9600);
}

void loop() {
  sensorValue = analogRead(sensorPin);  // Read sensor
  Serial.println(sensorValue, DEC);     // Display result
  delay(400);         // Wait 400 milliseconds
}

Datasheet:

Pressure Sensor MPX5010dp Freescale

Acessórios

Clientes que compraram este produto também compraram: