Project Files of HX710B Air Pressure Sensor Library for Proteus Simulation
33de4fe6ad124795a572af7910deb992.zip

HX710B Air Pressure Sensor Library for Proteus V1.0
HX710B Air Pressure Sensor Library for Proteus V1.0 comes as a ZIP archive of 22 files (2.5 MB, 5.6 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware.
- LIBProteus library
- DLLProteus model
- DSNProteus simulation
- INOArduino sketch
- HEXHEX firmware
Description
HX710B-Air-Pressure-Sensor-Library-for-Proteus-v1.0.zip with the HX710B air pressure sensor for Proteus simulation (TEPHX710B.LIB and TEPHX710B.DLL), our I2C LCD, resistors, LEDs and active buzzer, our Arduino UNO V4.0, the A4 demo, its sketch and a README.
File Structure
6.7 KB201.9 KB9.9 KB14.4 KB181.4 KB21.8 KB306.9 KB883.5 KB276 KB305.5 KB409 KB289.5 KB311 KB28 KB34.3 KB883.5 KB276 KB305.5 KB409 KB289.5 KB311 KB15.5 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in HX710B Air Pressure Sensor Library for Proteus Simulation. Open an image for its full size.
README
HX710B AIR PRESSURE SENSOR LIBRARY FOR PROTEUS SIMULATION - V1.0 (a 24-bit air pressure module, a pop-up)
Designed by The Engineering Projects
www.TheEngineeringProjects.com
IMPORTANT LINKS
Article (read it first - pictures, step by step, every feature explained):
https://www.theengineeringprojects.com/2026/12/hx710b-air-pressure-sensor-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/rain-sensor-proteus-library
The demo runs on our Arduino UNO V4.0 (included) - working LEDs, RESET and a
built-in serial monitor, no Virtual Terminal to wire - its own article:
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
HX710B-Air-Pressure-Sensor-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPBUZZER.LIB 9.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPHX710B.LIB 14.4 KB the library -> LIBRARY folder
| |-- TEPI2CLCD16X2.LIB 181.4 KB a part the demo uses -> LIBRARY folder
| |-- TEPLED5MM.LIB 21.8 KB a part the demo uses -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part the demo uses -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPBUZZER.DLL 276.0 KB its model -> MODELS folder
| |-- TEPHX710B.DLL 305.5 KB the model -> MODELS folder
| |-- TEPLCD.DLL 409.0 KB its model -> MODELS folder
| |-- TEPLED5MM.DLL 289.5 KB its model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB its model -> MODELS folder
|-- Proteus Simulation/
| |-- HX710B_Demo.hex 34.3 KB the demo firmware
| |-- HX710B-Tank-Level-ArduinoUnoV4.pdsprj 28.0 KB the demo project
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPBUZZER.DLL 276.0 KB copy of its model
| |-- TEPHX710B.DLL 305.5 KB copy of the model
| |-- TEPLCD.DLL 409.0 KB copy of its model
| |-- TEPLED5MM.DLL 289.5 KB copy of its model
| |-- TEPRESISTOR.DLL 311.0 KB copy of its model
|-- Arduino Code/
| |-- HX710B_Demo/HX710B_Demo.ino 6.7 KB the demo sketch (source of the .hex)
|-- README.txt ~15.8 KB this file
Total: 5.63 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
The common HX710B air pressure sensor module, drawn from the top at its real size (about 18.6 x 13.5
mm): the 0 - 40 kPa bridge sensor
(a 7 x 7 mm body with a round boss and a 3 mm hose nipple), the HX710B 24-bit ADC (SOP-8), two
capacitors and the 4-pin header VCC OUT SCK
GND. The drawing is our own; the model follows the HX710A/B datasheet and the usual datasheet of the
0 - 40 kPa sensor:
* 2.6 - 5.5 V; the bridge and the ADC's reference both on VCC, so the reading does not depend on
the supply (ratiometric).
* Gain 128 (fixed): the full scale is +-0.5 x VREF / 128 = +-19.53 mV at 5 V; 24-bit 2's
complement, 0x800000 .. 0x7FFFFF.
* OUT (DOUT) HIGH = busy, LOW = a result ready. Each SCK rising edge brings the next bit, MSB
first; 25 to 27 pulses in all choose the
NEXT conversion: 25 = differential 10 Hz, 26 = DVDD - AVDD (a supply check) 40 Hz, 27 =
differential 40 Hz.
* After power-up or any change, 4 data periods of settling (400 ms at 10 Hz, 100 ms at 40 Hz) -
OUT stays high.
* SCK high for more than 60 us powers the chip down; SCK low again resets it.
* The 40 kPa on the label is the SENSOR's range. With gain 128 the ADC saturates long before that:
with our default sensor (4.6 mV
offset, 1.69 mV per kPa) at about 8.8 kPa, 90 cm of water. Above that the code stays at
0x7FFFFF.
* The pressure: PROFILE DEMO is a recorded run of a water tank measured through an air tube
(filling, full, draining, low, filled to the
brim); STEADY is PRESSURE. At Run rings around the nipple grow with the pressure (red when the
ADC saturates).
* Click the module for the pop-up: the pressure in kPa, mmHg and cm of water against the ADC's
window, the last 24-bit read bit by bit;
graphs, an event log and a check page.
The body is drawn as on the real part and to true scale against our Arduino.
The TEP signature and the pop-up are TEP additions.
ONE DEVICE (search "HX710B" or "pressure" in Pick Devices):
HX710BTEP "HX710B Air Pressure Sensor V1.0" in TEPHX710B.LIB (Modules > Sensors), prefix U, model
TEPHX710B.DLL (mixed).
Pins: VCC OUT SCK GND (the header).
The demo also uses our I2C LCD 16x2 (TEPI2CLCD16X2 / TEPLCD), resistors (TEPRESISTOR), 5 mm LEDs
(TEPLED5MM) and our active buzzer
(TEPBUZZER).
THE POP-UP
Click the part at Run. Tabs:
Pressure The pressure in kPa, mmHg, cm of water and psi; a bar -2 .. 12 kPa with the red zone
where the ADC saturates; the last read:
24 bits, the code in hex and counts, the millivolts at the input, the pulses and the
channel; tiles: VCC, the last
conversion, the bridge output, the pulses, reads, conversions, the longest SCK high
time, times saturated.
Chips: Tank demo, 0, 2, 5 and 12 kPa.
Graphs the live values over the last 2, 6 or 15 s. Live / Freeze.
Event log every change and warning; filters All / Changes / Warnings, Pause, Clear
Check what the part is doing and what to look at, each with a verdict (green = fine, amber
= check, red = wrong)
Settings theme, text size, open at Run, window size
Help report a bug, suggest a feature, article, updates, donate, forum; Copy diagnostics
for a bug report
TEST STATUS
V1.0: verified in Proteus 8.5 on 24 Nov 2026 (the demo project as shipped: an A4 sheet, an Arduino UNO V4.0).
What the runs showed (the model's own numbers and the sketch's monitor):
* The project loads and starts cleanly; the demo ran 6.6 simulated seconds in about 2 minutes 35
seconds on our PC with the pop-up open
and the pictures being taken. The HX710B read on OUT D2 / SCK D3; the longest SCK high time 11.4
us; no power-downs, no errors.
* Start-up: differential 10 Hz settled at 401 ms; 26 pulses = DVDD - AVDD 40 Hz (settled 501.8
ms), then 27 pulses = differential
40 Hz (settled 602.5 ms). The supply check -62 counts; the zero 1975682 counts; "the ADC
saturates above 90.1 cm of water".
* Filling: "OK at 23.8 cm" 1.64 s; the pop-up at 1.8 s 3.02 kPa (30.8 cm), code 4082575; raw
5494425 = 49.4 cm, 247 L at 2.14 s.
* Full: "FULL at 81.1 cm" 2.76 s; at 3.0 s 8.04 kPa, code 7812693 = 18.190 mV = 82.0 cm; the LCD
"405L 81% FULL".
* Draining: "OK at 75.9 cm" 3.29 s; 4.21 kPa, code 5122332 at 3.9 s; "LOW at 18.7 cm" 4.31 s; 1.47
kPa, code 3043418 at 4.55 s.
* Filled to the brim: "FULL at 85.1 cm" 5.64 s; "OVER RANGE: the ADC at 0x7FFFFF - the water above
90.1 cm" 5.74 s (the model
saturated at 5.753 s, 8.97 kPa); the pop-up at 5.95 s 9.32 kPa (95.0 cm), read 0x7FFFFF.
* Back: "back in range at 87.7 cm" 6.44 s; 8.34 kPa, code 8059001 at 6.6 s; 237 reads, 242
conversions, saturated once.
* The pop-up (HX710B, Graphs, Event log, Check) followed the run.
INSTALLATION (about 2 minutes)
1. Close Proteus. Extract the WHOLE ZIP to a normal folder (e.g. Desktop).
2. Copy everything in "Proteus Library Files" (TEPHX710B.LIB, TEPI2CLCD16X2.LIB, TEPRESISTOR.LIB,
TEPLED5MM.LIB, TEPBUZZER.LIB and our Arduino library V4.0, ArduinoV4TEP.LIB, with the ARDUINO UNO
V4.0 used by the demo) to the LIBRARY folder of Proteus, for example:
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
(use the folder that already holds Proteus's own .LIB files).
3. Copy TEPHX710B.DLL, TEPLCD.DLL, TEPRESISTOR.DLL, TEPLED5MM.DLL, TEPBUZZER.DLL and TEPARDUINO.DLL
from "Proteus Model Files" to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPHX710B.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "HX710B".
RUN THE DEMO
"Proteus Simulation\HX710B-Tank-Level-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and
the DLLs beside the project.
ARD1: Arduino UNO V4.0 running HX710B_Demo.hex (window "TEP Arduino UNO - ARD1"): D2 = OUT, D3
= SCK, A4 / A5 = the LCD, D5 - D7 =
the green / yellow / red LEDs, D8 = the buzzer.
U1: the HX710B module with the DEMO water tank (an air tube from the tank's bottom to the
nipple).
LCD1: a 16x2 LCD on its I2C backpack at 0x27: the level in cm, litres and percent and the
state.
D1 - D3: green = FULL (80 cm or more), yellow = OK, red = LOW (under 20 cm) or flashing OVER
RANGE, through R1 - R3 (220 ohm).
BZ1: our active buzzer: a beep at FULL and LOW, beeps while over range.
The sketch reads the supply check once (26 pulses), then the sensor at 40 Hz (27 pulses); it tares
with the tank empty, averages four
results and shows the level of a 100 cm, 500 litre tank. Above the ADC's range (about 90 cm) it
shows OVER RANGE. The DEMO is a recorded
run in fast time.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
VCC to 5 V (or 3.3 V), GND to GND, OUT to any digital input (D2), SCK to any digital output (D3).
For a water level: a thin airtight tube
from the bottom of the tank up to the nipple (a soft tube of about 2.5 mm inside diameter fits).
REAL HARDWARE:
* Clean, dry air only on the nipple - never let water reach the sensor; keep the tube's top end
higher than the tank.
* Tare at 0 kPa every time you start: the zero differs from module to module and drifts with the
temperature.
* Calibrate the slope with a known pressure or depth; the sensor's span varies from 50 to 100 mV
for 40 kPa.
* The module saturates near 9 kPa: for higher pressures it needs a sensor with less output or an
ADC with a smaller gain.
* A trapped-air tube slowly loses air - lift it out to refill it now and then, or bubble air
through it (a bubbler).
THE DEMO SKETCH ON THE SERIAL MONITOR (HX710B_Demo V1.0, 9600 baud)
HX710B_Demo prints the supply check and the zero, then a line every second and each change of state.
EXPECTED MONITOR OUTPUT (shortened)
Tank level: HX710B air pressure module, OUT on D2, SCK on D3, an air tube to the tank's bottom;
LCD at 0x27
supply check (26 pulses): DVDD - AVDD = ... counts (both from VCC: near 0)
zero: ... counts; the ADC saturates above ... cm of water
PROPERTIES (double-click the part > Edit Properties)
PROFILE DEMO (the water tank) or STEADY (PRESSURE). Default DEMO.
PRESSURE For STEADY: the gauge pressure, kPa. Default 2.
OFFSET The bridge output at 0 kPa, mV at 5 V. Default 4.6 (the datasheet allows +-25).
SENS The bridge sensitivity, mV per kPa at 5 V. Default 1.69 (50 - 100 mV for 40 kPa in the
datasheet).
Every run starts again from the properties.
LINKS.INI (OPTIONAL)
The Help page cards of the pop-up open web pages. To point them somewhere else without a new DLL,
put a text file named links.ini next to TEPHX710B.DLL with lines KEY=URL, for example:
ARTICLE=https://www.theengineeringprojects.com/...
Keys: WEBSITE, FORUM, BUG_REPORT, FEATURE_REQUEST, ARTICLE, USER_GUIDE,
UPDATE_CHECK, DONATE. Only http:// and https:// links are used; lines starting
with # are comments.
TROUBLESHOOTING
* The sketch hangs at the start: OUT never goes low - check OUT and SCK, and the supply.
* The code is always 0x7FFFFF: the pressure is past the ADC's range (or the offset is too big) - see
OFFSET and SENS.
* The readings are about 2 million with nothing on the nipple: that is the sensor's offset - tare
it.
* The readings jump or freeze: keep each SCK high time well under 50 us (over 60 us powers the chip
down).
* The part is not simulated: TEPHX710B.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPHX710B.DLL is missing from MODELS and from the project folder. No
UNO / no monitor window: TEPARDUINO.DLL is missing, or click the UNO's USB port.
BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the
simulation log and the pop-up's Copy diagnostics text:
https://www.theengineeringprojects.com/forum/category/rain-sensor-proteus-library
SUPPORT US
This library is free. If it saves you time, please support our work:
https://www.theengineeringprojects.com/donate
WEBSITE
https://www.theengineeringprojects.com/
LICENCES AND THIRD-PARTY NOTES
* The model (TEPHX710B.DLL), the symbols and artwork, the other parts of ours in the demo and the
Arduino Library V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, with its built-in TEP Serial Monitor
Advance) are made by The Engineering Projects. The models use only standard Windows libraries; no
Visual C++ redistributable is needed.
The C++ source code is not included.
* Arduino UNO V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, our Arduino Library V4.0 - its
microcontroller is Proteus's own AVR model): The Engineering Projects,
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
* The .hex file is built from the demo sketch and the Arduino AVR core 1.8.6, which includes
LGPL-licensed code; its source code is available at
https://github.com/arduino/ArduinoCore-avr/tree/1.8.6
* Proteus is a product of Labcenter Electronics and is not included. Arduino is a trademark of Arduino SA.
This library is not made or endorsed by Arduino or Labcenter.
REBUILDING THE FIRMWARE (OPTIONAL)
The HEX file is supplied; Arduino IDE is not needed to run the demo. To edit the sketch, open
Arduino Code\HX710B_Demo\HX710B_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 12,474 bytes of flash
and 562 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the HX710B's serial protocol, the 25 / 26 / 27-pulse choice of the next conversion, the 10
/ 40 Hz rates, the 4-period settling,
the power-down and its reset, gain 128 and the saturation, a ratiometric bridge, the DEMO tank or a
steady pressure.
Our figures: OFFSET 4.6 mV and SENS 1.69 mV/kPa (a forum module's zero, a calibration article's
slope), noise 21 counts rms at 10 Hz and
43 at 40 Hz, the DVDD - AVDD channel at 0 (its scale is not published), the reset to differential 10
Hz after a power-down, 2.2 mA.
Not modelled: the temperature drift of the sensor's zero, its non-linearity and hysteresis, damage
above 120 kPa.
VERSION
TEP HX710B Air Pressure Sensor library V1.0 (Nov 2026). Device HX710BTEP (TEPHX710B.LIB /
TEPHX710B.DLL). Demo sketch HX710B_Demo V1.0 (Wire only). Demo board: ARDUINO UNO V4.0 (TEP Arduino
Library V4.0) with its built-in serial monitor; our I2C LCD 16x2, resistor, 5 mm LED and active
buzzer libraries.Development1 release
-
V1.0HX710B Air Pressure Sensor Library for Proteus V1.0this page
V1.0 is the only release in the Download Center so far. When a newer version is published, it appears above with its own download page.
Installation8 steps
From the download to a working project, in order. The steps follow what the package contains.
You will need
- Proteus Design SuiteProteus 8 or newer (Labcenter), on Windows
- Arduino IDE1.8 or 2.x, with the board of the tutorial chosen under Tools → Board
- Any archive toolWindows, macOS and Linux extract ZIP files on their own
Steps
- 1
Extract the archive
Right-click 33de4fe6ad124795a572af7910deb992.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (HX710B-Air-Pressure-Sensor-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPBUZZER.LIB and TEPHX710B.LIB and 3 more and the files into the LIBRARY folder of your Proteus installation: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY for Proteus 8, or the matching Proteus 7 folder. Older versions keep it under ProgramData\Labcenter Electronics. If Proteus is open, close it first.
- 3
Add the simulation model
Copy TEPARDUINO.DLL, TEPBUZZER.DLL and TEPHX710B.DLL and 3 more into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.
- 4
Restart Proteus and place the component
Start Proteus, open a schematic, press P (Pick Devices) and search for the component by the name used in the tutorial. It appears with its pins ready to wire.
- 5
Open the sketch in the Arduino IDE
Open HX710B_Demo.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 6
Load the HEX file
In Proteus double-click the microcontroller, set Program File to HX710B_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open HX710B-Tank-Level-ArduinoUnoV4.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 8
Follow the tutorial
HX710B Air Pressure Sensor Library for Proteus Simulation explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download HX710B Air Pressure Sensor Library for Proteus V1.0?
Wait for the 30-second guest countdown on this page, then press the download button; the file comes straight from our storage. Members who are logged in skip the wait. If the browser opens the file instead of saving it, use its Save as option. The download link is made for you when the countdown ends and works for 15 minutes; a saved or shared link stops working, so share this page instead.
What is inside the archive?
HX710B Air Pressure Sensor Library for Proteus V1.0 comes as a ZIP archive of 22 files (2.5 MB, 5.6 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware. Open the File Structure tab for the full list of 22 files.
What should I do if the download does not start?
Check the browser's download list first; an ad blocker or a company firewall can also hold it back, so try another browser or network. If the file arrives incomplete, download it again. For an installation problem, read the Install tab or tell us in the comments with your software version and the exact error message.
Is this file free?
Yes. Every file in the TEP Download Center is free for learning, personal and student projects. If you share it, link back to this page or the tutorial so others find the latest version.
How do I check that the file arrived complete?
Compare its SHA-256 with the one on this page, 603ccc78249fc4ea8acf1654e96d85e6a79e31bd4214c6a0c657c421a3e55c36. In PowerShell run Get-FileHash "33de4fe6ad124795a572af7910deb992.zip"; on macOS or Linux run shasum -a 256 "33de4fe6ad124795a572af7910deb992.zip". The same value means the file is exactly the one in our storage; a different one means the download broke off, so download it again.
Do I need WinRAR to open the ZIP file?
No. Windows, macOS and Linux open ZIP archives on their own (Extract All, or double-click). WinRAR and 7-Zip work too. Extract the whole archive before using the files.
Where do I put the LIB and IDX files?
Both files go into the LIBRARY folder of your Proteus installation (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY; Proteus 7 has the same folder under its own name). Restart Proteus afterwards and search for the component with P.
Which Proteus version does the library need?
The tutorial names the Proteus version the library was made and tested with. Most TEP libraries work in Proteus 7 and Proteus 8; if the component does not appear after a restart, check that both the LIB and the IDX file were copied and that Proteus was fully closed while copying.
How do I get the HEX file into the simulation?
Compile the sketch in the Arduino IDE (Sketch → Export Compiled Binary gives you the HEX next to the sketch), then in Proteus double-click the board, set Program File to that HEX and run.
Members skip the wait. Log in or join TEP.
- 0Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 4 Dec 2026Uploaded at
603ccc78249fc4ea8acf1654e96d85e6a79e31bd4214c6a0c657c421a3e55c36



























Comments
0