Introduction

  • In this article, I will explain about checking the atmospheric pressure by using Arduino Mega 2560.
  • It can correctly give the range of pressure in the serial monitor.
Parts Of List
  • Arduino mega2560
  • MPX4115A
  • Dual power supply
  • LM741
  • Bread Board
  • potentiometer
MPx4115A
  • It can correctly give the air pressure in the atmosphere.
  • It can be a barometer application.
Figure 1: MPX4115A
LM741 Operation Amplifier
  • Very common type of OP-AMP, It provides overload production on the input and output
  • It can be easy to use.
Figure 2: LM741
Connection
Figure 3: Connection
Programming
  1. void setup()
  2. {
  3. serial. begin(9600);
  4. }
  5. void loop()
  6. {
  7. int sensorvalue = analogread(A0);
  8. float voltage = sensorvalue * (5.0 / 1023.0);
  9. serial.println(KPa)
Explanation
  • In this article, I explained about checking the atmosphere temperature in the arduinomega2560
  • It can be connected to the digital meter and displayed in the serial monitor.
Output
Figure 4: Output