• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Circuit Ideas for You

Get free circuit ideas online.

  • Home
  • Privacy Policy
  • About
Home » Arduino Air Pressure Circuit with Sensor HX710B

Arduino Air Pressure Circuit with Sensor HX710B

Last updated on 20 November 2025 by Admin-Lavi Leave a Comment

Air pressure is around us all time, but we cannot see it.

With HX710B sensor and Arduino, we can measure it easily.

This project for Arduino Air Pressure Circuit with Sensor HX710B show pressure value on LCD in real time.

Just connect wires, upload code and see pressure on screen.

Circuit is easy, code is simple and result is clean.

Good for beginners who want to learn sensor reading.

Arduino Coding:

#include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

long readHX710B() {
long data = 0;
while (digitalRead(A1) == 1);
for (int i = 0; i < 24; i++) {
digitalWrite(A0, 1);
delayMicroseconds(1);
data = data << 1;
digitalWrite(A0, 0);
delayMicroseconds(1);
if (digitalRead(A1) == 1) data++;
}
digitalWrite(A0, 1);
delayMicroseconds(1);
digitalWrite(A0, 0);
delayMicroseconds(1);
if (data & 0x800000) data |= 0xFF000000;
return data;
}

void setup() {
lcd.begin(16, 2);
pinMode(A1, INPUT);
pinMode(A0, OUTPUT);
}

void loop() {
long raw = readHX710B();
float pressure = (raw - 1000) * 0.001;
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Raw:");
lcd.print(raw);
lcd.setCursor(0, 1);
lcd.print("P:");
lcd.print(pressure);
delay(300);
}

Code Explanation:

  • Include LCD library.
  • Define LCD pins.
  • Function readHX710B read 24 bit value.
  • Clock pulses sent using Arduino.
  • Data bits collected one by one.
  • Sensor raw value converted into signed number.
  • In loop, raw value is calculated.
  • Pressure value is calculated using simple formula.
  • LCD show both raw and pressure.

Circuit Working:

Arduino Air Pressure Circuit Diagram with Sensor HX710B

Parts List:

ComponentQuantity
Arduino Uno1
HX710B Sensor1
16×2 LCD Display1
Potentiometer 10k1

This circuit is used to check air pressure in small pipes, air tanks, tyres and balloons.

Arduino send clock pulse to HX710B.

HX710B give digital data based on pressure.

Arduino read data from DT(OUT) pin.

Arduino convert this value to pressure.

LCD display final reading.

Potentiometer VR1 adjust brightness of letters.

Note:

We can use this circuit for tyre and balloon pressure.

Connect sensor through safe air tube.

Do not give tyre pressure directly to HX710B because it is sensitive.

Use small nozzle to reduce pressure shock.

Arduino will show final pressure on LCD.

Formula with Calculation:

HX710B gives count value.

Pressure goes up when count goes up.

Formula is: Pressure = (RawValue – Offset) × Scale.

Example:

RawValue = 80000

Offset = 1000

Scale = 0.001

So Pressure = (80000 – 1000) × 0.001

Pressure = 79000 × 0.001

Pressure = 79 units (unit depends on calibration).

How to Build:

To build a Arduino Air Pressure Circuit with Sensor HX710B follow the below steps:

  • Assemble all the parts as shown in circuit diagram.
  • Arduino 5V go to LCD VCC, HX710B VCC and Potentiometer VCC 1st pin.
  • Arduino GND go to LCD GND, HX710B GND and Potentiometer GND 3rd pin.
  • LCD RS pin go to Arduino digital pin 12.
  • LCD E pin go to Arduino digital pin 11.
  • LCD D4 pin go to Arduino digital pin 5.
  • LCD D5 pin go to Arduino digital pin 4.
  • LCD D6 pin go to Arduino digital pin 3.
  • LCD D7 pin go to Arduino digital pin 2.
  • LCD V0 (contrast pin) go to middle pin of potentiometer.
  • HX710B DT(OUT) pin go to Arduino A1.
  • HX710B SCK pin go to Arduino A0.
  • Connect Backlight+ pin to 5V of Arduino
  • Connect Backlight- pin to GND of Arduino

Conclusion:

This project show about Arduino Air Pressure Circuit with Sensor HX710B

Arduino make reading easy.

LCD help display value.

Good for learning sensor reading.

Simple circuit and with easy coding.

References:

Using HX710b pressure sensor

Filed Under: Arduino Projects, Sensors and Detectors

About Admin-Lavi

Lavi is a B.Tech electronics engineer with a passion for designing new electronic circuits. Do you have questions regarding the circuit diagrams presented on this blog? Feel free to comment and solve your queries with quick replies

Previous Post: « 555 Timer Astable Multivibrator Circuit
Next Post: Arduino Based Smart Car Parking Sensor Circuit »

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar




Categories

  • Alarm Circuits (47)
  • Amplifier Circuits (67)
  • Arduino Projects (101)
  • Audio Circuits (116)
  • Automobile Circuits (19)
  • Battery Charger Circuits (66)
  • Free Energy (13)
  • Heater and Temperature Controllers (14)
  • High Voltage (1)
  • Indicator Circuits (47)
  • Inverter Circuits (20)
  • IoT projects (1)
  • LDR Circuits (26)
  • LED and Lamps (154)
  • Meters and Testers (31)
  • Motor Controllers (22)
  • Oscillator Circuits (41)
  • Power Supply Circuits (118)
  • Remote Control Circuits (10)
  • Security and Protection (29)
  • Sensors and Detectors (128)
  • Solar Circuits (30)
  • Timer Circuits (41)
  • Transistor Circuits (95)
  • Transmitter Circuit (17)
  • Tutorials (8)
  • Water Level Controller (7)

Recent Posts

  • Switch Mode LED Driver Circuit using Transistors
  • 3V Battery Operated Lamp Flasher Circuit
  • LM3909 IC Based Square Wave Generator Circuit
  • One LED Low Voltage Flasher Circuit using IC LM3909
  • Simple 3.6V High Power LED Torch Circuit

Recent Comments

  1. TDHofstetter on DIY Variable Power Supply Circuit using Arduino
  2. feathbuff on Simple Micro Ampere Meter Circuit
  3. Admin-Lavi on Simple School Project Multimeter Circuit
  4. choke on Simple School Project Multimeter Circuit
  5. Admin-Lavi on Analog to Digital Converter Circuit using IC 555

Copyright © 2026 | New Circuit Ideas