Project tutorial

# Pressure Airflow Measure Device with Analog Sensor © CC BY-NC

I'm building working model of differential pressure airflow measure device with analog sensor, instrumentation amplifier and Arduino.

• 15,823 views
• 18 respects

## Components and supplies

 NXP MPXM2053GS
×1
 Analog Devices Instrumentation Amplifier, SO-8, 100 kHz, AD623ARZ
×1
 Capacitor Ceramic 0.1uF (generic)
×1
 Electrolytic Decoupling Capacitors - 10uF (generic)
×1
 Adafruit Standard LCD - 16x2 White on Blue
×1
 Arduino UNO
×1

## Necessary tools and machines

 Soldering iron (generic)

## Code

##### Differential pressure to airflow speed in m/sC#
Measuring airflow with analog pressure sensor.
```#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);

float Sum;
float Average;
float MeasuresN=2500 ; // number of measures to average
float Flow;

void setup()
{
Serial.begin(9600);
lcd.begin(16,2);
}

void loop()
{
for (int i=0; i<MeasuresN; i++)
{
delay(1);
}
Average=Sum/MeasuresN;
Sum=0;

// To proper measure from 0 m/s airspeed you will need to find curve equation based on your application- I use linear equation to test on fan I had access to.

////////////////////////////
Flow=(Average-68)*0.265+2.7;
////////////////////////////

lcd.backlight();
lcd.setCursor(0,0);
lcd.print("Sensor:"); lcd.print(Average);
lcd.setCursor(0,1);
lcd.print("Airflow:"); lcd.print(Flow); lcd.print("m/s  ");

delay(5);
}
```

## Schematics

• 1 project
• 3 followers

October 25, 2017

#### Members who respect this project

and 13 others

See similar projects
you might like

#### Arduino Temperature - Humidity - Rain Sensor

Project showcase by Rick_Findus

• 15,391 views
• 19 respects

#### Color Sensor Prototype: Detect Color Name from Objects

Project tutorial by moretticb

• 7,344 views
• 32 respects

#### Soil Moisture Sensor With LCD Display

Project tutorial by Patel Darshil

• 37,804 views
• 56 respects

#### DHT11 Humidity + Temperature Sensor with 16x2 LCD display

Project showcase by onatto22

• 28,418 views
• 44 respects

#### Temperature sensor

Project tutorial by Grant

• 26,352 views