Check Atmosphere Pressure Using Arduino Mega 2560
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
- void setup()
- {
- serial. begin(9600);
- }
- void loop()
- {
- int sensorvalue = analogread(A0);
- float voltage = sensorvalue * (5.0 / 1023.0);
- 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.
Figure 4: Output