TEP DOWNLOAD CENTER

Project Files of AHT20 Sensor Library for Proteus V1.0: Temperature, Humidity, BMP280

Libraries Code Projects Simulation
tep://download-terminal aht20-sensor-tep-v1-0-0b551ca111074de699cbce39b047e999.zip ZIP archiveV1.0Verified7 downloadsFree
AHT20 Sensor Library for Proteus V1.0: an AHT20 module with its STATUS panel and the AHT20 + BMP280 pop-up
Proteus library · File 1 of 1

AHT20 Sensor Library for Proteus V1.0: Temperature, Humidity, BMP280

AHT20 Sensor Library for Proteus V1.0: Temperature, Humidity, BMP280 comes as a ZIP archive of 10 files (1.2 MB, 2.8 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

Looking for the files of AHT20 Sensor Library for Proteus V1.0: Temperature, Humidity, BMP280? AHT20 Sensor Library for Proteus V1.0: Temperature, Humidity, BMP280 is the ZIP package (1.2 MB) you need. It holds the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware. Below are the file structure, the README and the installation steps, so you can go from download to a working Proteus simulation in a few minutes.

What this library is

AHT20-Sensor-Library-for-Proteus-v1.0.zip with the AHT20 temperature and humidity module and the AHT20 + BMP280 module, Simple and Advance (TEPAHT20.LIB and TEPAHT20.DLL), our Arduino UNO V4.0 library with its built-in serial monitor (ArduinoV4TEP.LIB and TEPARDUINO.DLL), the two-UNO simulation with its HEX file, the demo sketch and a README.

This is version 1.0; older or newer releases, when they exist, are listed in the Development tab.

What is inside the ZIP file

  • ArduinoV4TEP.LIB – Proteus library, 201.9 KB
  • TEPAHT20.LIB – Proteus library, 96.9 KB
  • TEPAHT20.DLL – Simulation model, 336.5 KB
  • TEPARDUINO.DLL – Simulation model, 883.5 KB
  • AHT20-Sensor-ArduinoUnoV4.pdsprj – Proteus simulation, 23.6 KB
  • AHT20_Demo.ino – Arduino sketch, 5.8 KB
  • and 4 more, all listed in the File Structure tab

The archive unpacks to 2.8 MB and carries its own README (README.txt), shown in the README tab above.

How to download

Use the download panel at the top of this page: after the counter (30 seconds for guests, 10 for members) the black button unlocks and the ZIP file comes straight from our content network. If the browser opens it instead of saving, use Save as; extract the whole archive before using anything inside it.

How to install

  • Step 1: Extract the ZIP file with Windows (Extract All), 7-Zip or WinRAR, keeping its folders.
  • Step 2: Close Proteus and copy ArduinoV4TEP.LIB and TEPAHT20.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
  • Step 3: Copy TEPAHT20.DLL and TEPARDUINO.DLL into the MODELS folder next to it, so the part simulates.
  • Step 4: Start Proteus, press P and search for "ArduinoV4TEP"; place and wire it as in the tutorial.
  • Step 5: Open AHT20_Demo.ino in the Arduino IDE, pick board and port and Verify (Export Compiled Binary gives the HEX).
  • Step 6: In Proteus set the controller's Program File to AHT20_Demo.hex; on hardware, flash the same file.
  • Step 7: Open AHT20-Sensor-ArduinoUnoV4.pdsprj in Proteus and press Play.

Read the detailed guide

This page is for the files. The tutorial above explains the circuit and the code step by step and shows the working results and the simulation; read it before you build. Questions about the download or the installation go in the comments below; more Proteus downloads are listed further down this page.

Read AHT20 Sensor Library for Proteus V1.0: Temperature, Humidity, BMP280

File Structure

aht20-sensor-tep-v1-0-0b551ca111074de699cbce39b047e999.zip10 files · 5 folders · 2.8 MB unpacked
AHT20-Sensor-TEP-v1.0/10 files · 2.8 MB
Arduino Code/1 file · 5.8 KB
AHT20_Demo/1 file · 5.8 KB
INO AHT20_Demo.inoArduino sketch 5.8 KB
Proteus Library Files/2 files · 298.9 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPAHT20.LIBProteus library 96.9 KB
Proteus Model Files/2 files · 1.2 MB
DLL TEPAHT20.DLLSimulation model 336.5 KB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
Proteus Simulation/4 files · 1.3 MB
DSN AHT20-Sensor-ArduinoUnoV4.pdsprjProteus simulation 23.6 KB
HEX AHT20_Demo.hexCompiled HEX file 56.2 KB
DLL TEPAHT20.DLLSimulation model 336.5 KB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
TXT README.txtText file 36.6 KB

README

README.txt 403 lines
AHT20 SENSOR LIBRARY FOR PROTEUS - V1.0 (the AHT20 temperature / humidity module and the AHT20 + BMP280 module)
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/10/aht20-sensor-library-for-proteus-v1-0.html
Report a bug or suggest a feature (our forum):
  https://www.theengineeringprojects.com/forum/category/aht20-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
The built-in monitor is our TEP Serial Monitor Advance - its own article:
  https://www.theengineeringprojects.com/2026/10/serial-monitor-advance-proteus-library.html
Support us (the libraries are free):
  https://www.theengineeringprojects.com/donate

FILE STRUCTURE
AHT20-Sensor-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                              201.9 KB   TEP Arduino boards V4.0 (UNO), to LIBRARY
|   |-- TEPAHT20.LIB                                   96.9 KB   the AHT20 and AHT20 + BMP280 modules, to LIBRARY
|-- Proteus Model Files/
|   |-- TEPAHT20.DLL                                  336.5 KB   the AHT20 / BMP280 model, to MODELS
|   |-- TEPARDUINO.DLL                                883.5 KB   the Arduino board model, to MODELS
|-- Proteus Simulation/
|   |-- AHT20_Demo.hex                                 56.2 KB   both UNOs (demo sketch V1.0)
|   |-- AHT20-Sensor-ArduinoUnoV4.pdsprj               23.6 KB   demo: 2 UNOs, AHT20 / AHT20 + BMP280
|   |-- TEPAHT20.DLL                                  336.5 KB   copy of the model
|   |-- TEPARDUINO.DLL                                883.5 KB   copy of the board model
|-- Arduino Code/
|   |-- AHT20_Demo/AHT20_Demo.ino                       5.8 KB   the demo sketch (source of the .hex)
|-- README.txt                                        ~37.3 KB   this file
Total: 2.79 MB (unzipped). The C++ source code of the model is not included.

WHAT IS IT?
Simulation models of two popular I2C weather modules - the AHT20 module
(temperature and relative humidity) and the AHT20 + BMP280 module (the same
plus the air pressure) - with the air they measure. Our own models, not a part
that shows a number:
  * The AHT20 (Aosong) as its datasheet describes it, at address 0x38: the
    status byte (bit 7 busy, bit 3 CAL - 0x18 when it is idle and calibrated),
    the commands 0xAC 0x33 0x00 (trigger a measurement: busy for 80 ms), 0xBA
    (soft reset, 20 ms) and 0xBE 0x08 0x00 (initialize; the Adafruit library
    sends the AHT10's 0xE1 0x08 0x00, accepted the same way), 40 ms after
    power-on before it answers. A reading is the status, 20 bits of humidity
    (RH = S / 2^20 x 100 %), 20 bits of temperature (T = S / 2^20 x 200 - 50 C)
    and the CRC-8 (polynomial 0x31, start 0xFF).
  * The BMP280 (Bosch) at 0x77 on the combo module: our TEP BMP280 core - the
    chip ID 0x58, the calibration words, sleep / forced / normal mode with the
    oversampling and standby times, the IIR filter, raw values that the Bosch
    compensation turns back into the air's temperature and pressure.
  * The air: temperature (-40 to 85 C on the AHT20), relative humidity (0 to
    100 %RH) and, on the combo module, pressure (300 to 1100 hPa). Set it on
    a Simple device's STATUS panel (- / +, six presets: ROOM 24 C 50 %, HOT
    38 C 30 %, HUMID 30 C 90 %, DRY 25 C 15 %, COLD 5 C 60 %, FREEZER -18 C
    70 %) or in the Advance device's pop-up; about one step of noise (property
    NOISE).
  * The classic mistakes, each with a clear note: a reading before any
    measurement (all zero), a reading while the AHT20 is still measuring (the
    previous result), the same result read twice, a trigger while busy, an
    unknown command, an access in the first 40 ms, a temperature outside the
    AHT20's range.
The modules are drawn at about three times their real size: the blue AHT20
module with the AHT20 and its sensing opening, the regulator and the pull-ups,
and the purple AHT20 + BMP280 module with both chips; the header VIN GND SCL
SDA on the left. ON the board, as TEP additions: the SIMPLE / ADVANCE badge,
the PWR and I2C (a transaction) LEDs and the panel button. The LEDs, the
badge, the button and the panels are TEP additions; the real modules have
none of them.

FOUR DEVICES IN ONE LIBRARY (search "AHT20" or "AHTBMP" in Pick Devices):
  Simple    AHT20TEP       "AHT20 Temperature Humidity Sensor V1.0 - Simple"
  Advance   AHT20ADVTEP    (the same, "- Advance")
  Simple    AHTBMPTEP      "AHT20 + BMP280 Sensor Module V1.0 - Simple"
  Advance   AHTBMPADVTEP   (the same, "- Advance")
            (pins VIN GND SCL SDA on the left; category Sensors > Humidity)
  Simple    On-Sheet Panel: the STATUS panel under the module - the banner
            (READ 24.00 C, 50.00 %RH - 12 MEASUREMENTS / the latest warning
            in red), the air's controls (TEMPERATURE, HUMIDITY, on the combo
            PRESSURE, - / + and six presets), ten readouts and the last 4
            events. The red X closes the panel, PANEL: ON / OFF on the board
            opens it.
  Advance   Pop-Up Panel: only the module on the schematic; at Run a TEP
            pop-up window opens - the look of the TEP Serial Monitor. Tabs
            Sensor, Event log and Tests; gear and ? icons for Settings and
            Help; the palette icon switches the theme:
              Sensor     the six presets on the toolbar; THE AIR (temperature
                         -5 / -0.5 / +0.5 / +5 C, humidity -10 / -1 / +1 /
                         +10 %, pressure -10 / -1 / +1 / +10 hPa on the combo;
                         the dew point and the altitude); THE AHT20 (what it
                         read, the status byte, the measurements); THE BMP280
                         on the combo, or THE LAST READING, BYTE BY BYTE; THE
                         LAST I2C TRANSACTION and the ones before it
              Event log  power, the reads and writes, the air, notes,
                         warnings; filters All / I2C / Warnings, Pause, Clear
              Tests      I2C, Readings, Frame & CRC and (combo) BMP280
                         (THE TEST TOOLS)
              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
            The OPEN PANEL button on the board opens the window again.
All four devices use one model, TEPAHT20.DLL.

TEST STATUS
V1.0: verified in Proteus 8.5 on 17 Oct 2026 (the demo project as shipped:
two Arduino UNO V4.0 boards with their built-in monitors; node 1 with the
Simple AHT20 module at 24 C, 50 %RH, node 2 with the Advance AHT20 + BMP280
module at 28 C, 65 %RH, 1005 hPa).
What the runs showed:
  * Both UNOs read from the start: node 1 "AHT20 23.99 C  50.00 %RH" (it
    reports "no BMP280 - the AHT20 module alone"), node 2 "AHT20 27.99 C
    65.00 %RH  BMP280 28.00 C  1005.00 hPa  68.9 m".
  * Node 1 with the real mouse (3 wheel steps on U1): the HOT preset - "AHT20
    38.00 C  29.99 %RH"; four clicks on the temperature's + and five on the
    humidity's - - "40.00 C  24.97 %RH"; FREEZER - "-18.00 C  70.02 %RH";
    RAW - "RAW: 18 B3 49 B2 8F 44 E6  CRC E6 OK" and "humidity 734363 =
    70.03 %RH, temperature 167748 = -18.00 C"; STATUS - "0x18 - busy 0,
    calibrated 1"; U1's red X and PANEL.
  * U2's pop-up and monitor: HUMID - 30.00 C, 90.01 %RH; the pressure -10 hPa
    three times - 985.00, then 975.00 hPa and 323.4 m; +5 C - 35.00 C on both
    chips; RAW with the CRC OK, STATUS, RESET, SEA 1000 - the altitude 213.1 m;
    FREEZER - -18.00 C on both chips; the Event log and the four tools. No I2C
    error: no early reading, no reading before a measurement, no unknown
    command.
  * 89.5 s of simulation took 165 s - about 0.5 x real time with the pop-up
    and both monitors open.
  Plus automatic checks on a PC, 0 failed: 54 on the models (a bit-level I2C
  master doing what Adafruit AHTX0 2.0.6 and Adafruit BMP280 3.0.0 do over
  Wire: the 40 ms after power-on, begin(), a measurement with its busy time
  and status polls, the 20-bit values, the CRC-8, the air's changes, a
  reading while busy, before a measurement and twice, a trigger while busy,
  an unknown command, the soft reset, the temperature range, the noise; the
  BMP280's chip ID, calibration, normal mode, temperature and pressure with
  the Bosch compensation, a pressure change, both chips on one bus) and 6 on
  the pop-up; the demo project read back from disk (69 checks: devices,
  pins, wires, labels; no wire through a part, no wire crossing).

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" (TEPAHT20.LIB with the four
   parts, 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
   (on some PCs: C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\
   LIBRARY - use the folder that already holds Proteus's own .LIB files).
3. Copy TEPAHT20.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the
   MODELS folder (...\Proteus 8 Professional\MODELS).
   ArduinoV4TEP.LIB and TEPARDUINO.DLL are the files of our Arduino Library
   V4.0 - if you have it, they are the same.
4. Delete TEPAHT20.IDX from the LIBRARY folder if it is there (Proteus makes
   a new index).
5. Start Proteus. In Pick Devices (P) search "AHT20" or "AHTBMP".

RUN THE DEMO
"Proteus Simulation\AHT20-Sensor-ArduinoUnoV4.pdsprj" - keep the .hex file
and the two DLLs beside the project.
  ARD1: Arduino UNO V4.0 + U1 = an AHT20 module (Simple) in air at 24 C,
        50 %RH.
  ARD2: Arduino UNO V4.0 + U2 = an AHT20 + BMP280 module (Advance) in air at
        28 C, 65 %RH, 1005 hPa.
  Both UNOs run AHT20_Demo.hex (the Adafruit AHTX0 and BMP280 libraries) and
  each has its serial monitor built in ("TEP Arduino UNO - ARD1" / "- ARD2").
  1. Press Run. Both UNOs' monitor windows open (9600 baud) and so does the
     pop-up of U2 (move it aside - it opens over the schematic).
  2. Every 2 seconds each UNO prints the AHT20's temperature and humidity; on
     node 2 the BMP280's temperature, the pressure and the altitude follow.
  3. Change the air on U1's STATUS panel or in U2's pop-up: the next line
     follows.
  4. Type RAW: the AHT20's 7 bytes by hand with the CRC-8 checked; STATUS
     reads the status byte; RESET sends the soft reset; SEA 1000 sets the
     sea-level pressure for the altitude (node 2). See THE DEMO SKETCH.
  5. U1: close its panel with the red X, open it with PANEL on the board.
     U2 (Advance): Sensor, Event log, and Tests - I2C, Readings, Frame & CRC,
     BMP280.
Closed a monitor window? Click the UNO's USB port.

WIRING (the same in Proteus and on a real board)
  Module   Arduino UNO
  VIN      5V (3.3 V works too)
  GND      GND
  SCL      A5 (= the SCL pin)
  SDA      A4 (= the SDA pin)
In the sketch (Adafruit AHTX0 and BMP280 libraries):
  Adafruit_AHTX0 aht;      aht.begin();          // 0x38
  sensors_event_t humidity, temp;
  aht.getEvent(&humidity, &temp);                // temp.temperature, humidity.relative_humidity
  Adafruit_BMP280 bmp;     bmp.begin(0x77);      // the combo module only
  float hPa = bmp.readPressure() / 100;
The serial monitor needs no wires: it is built into the Arduino UNO V4.0.
SDA and SCL reach their UNO through net labels - SDA_1 / SCL_1 (node 1),
SDA_2 / SCL_2 (node 2): the same name = connected. VCC and GND are Proteus
power terminals; the UNO's internal pull-ups hold the I2C bus.
REAL HARDWARE:
 * The AHT20 has one address, 0x38: one AHT20 per I2C bus (or a multiplexer).
 * Leave it 2 seconds between measurements: a sensor that measures all the
   time warms itself and reads a little high.
 * The BMP280 on the combo module is at 0x77 (some boards: 0x76 - then
   bmp.begin(0x76)). The BMP280 has no humidity sensor (that is the BME280).
 * Mount the module away from the UNO's regulator and other warm parts.

THE TEST TOOLS (Advance, Tests tab) - what they really measure
Every tool reads the model during the running simulation; each shows one
"Good for:" line and, where it judges, a verdict per row (green = fine, amber
= check, red = wrong).
  I2C           Good for: a sensor that does not answer, a reading that never
                changes, a reading that is all zero. The address, the 40 ms
                after power-on, the triggers and measurements, the status
                polls, the readings with or without the CRC, bad timing, the
                commands; getEvent() and begin() step by step.
  Readings      Good for: what the sketch writes and reads, and in which
                order. The last 24 transactions of the module (both chips)
                with their bytes and meaning.
  Frame & CRC   Good for: a wrong value, a reading that is all zero, checking
                the CRC-8 by hand. The last reading's seven bytes, the bit
                fields, the maths, the CRC step by step.
  BMP280        (the combo module) Good for: a BMP280 that is not found, a
                pressure that does not change, a wrong altitude. The chip ID,
                the calibration reads, the settings, the conversion time, the
                readings and the Adafruit library's calls step by step.

THE DEMO SKETCH ON THE SERIAL MONITOR (AHT20_Demo V1.0)
  RUN        the readings go on (every 2 seconds)
  STOP       no more readings
  RAW        the AHT20 by hand with Wire: 0xAC 0x33 0x00, wait for the busy
             bit, read 7 bytes; prints them, checks the CRC-8 and decodes
             the humidity and the temperature
  STATUS     the status byte: busy and calibrated
  RESET      the soft reset 0xBA (20 ms)
  SEA 1013.25  the sea-level pressure for the altitude, in hPa (node 2)
  HELP       the command list
Commands are not case-sensitive; type them in the UNO's built-in monitor and
press Enter.

EXPECTED MONITOR OUTPUT (node 2)
  TEP AHT20 - demo (Adafruit AHTX0 and BMP280 libraries)
  SDA on A4, SCL on A5
  AHT20 found at 0x38 (calibrated)
  BMP280 found at 0x77
  Commands: RUN | STOP | RAW | STATUS | RESET | HELP
            SEA 1013.25 (the sea-level pressure for the altitude)
  #1  AHT20 27.99 C  65.00 %RH  BMP280 28.00 C  1005.00 hPa  68.9 m
(The last digit moves a little: the noise - property NOISE.)

PROPERTIES (double-click the part > Edit Properties)
  TEMPERATURE  the air at the start, in C (default 24)
  HUMIDITY     the relative humidity at the start, in % (default 50)
  PRESSURE     the combo module: the air pressure at the start, in hPa
               (default 1013.25)
  NOISE        the AHT20's noise: 1 = about one step (default), 0 = none
  PANEL        Simple only: the STATUS panel at the start, OPEN or CLOSED
Every run starts again from the properties, and the chips from power-on. The
demo's UNOs (ARDUINO UNO V4.0): PROGRAM AHT20_Demo.hex, MONITOR YES (the
built-in monitor), BAUD 9600, AUTOOPEN YES, BOOTLOADER YES.

LINKS.INI (OPTIONAL)
The Help page cards of the Advance devices open web pages. To point them
somewhere else without a new DLL, put a text file named links.ini next to
TEPAHT20.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
* "AHT20 not found": no power on VIN / GND, SDA / SCL swapped or missing (the
  PWR LED is off, or the I2C LED never flashes).
* "no BMP280": that is right on the AHT20 module; on the combo module check
  the address (0x77 here).
* A reading of -50.00 C and 0.00 %RH: the AHT20 was read before any
  measurement - trigger with 0xAC 0x33 0x00 first (getEvent() does).
* The reading lags one step behind: the data was read while the AHT20 was
  still measuring - wait for the busy bit (80 ms).
* The temperature stops at -40 C or 85 C: the AHT20's range.
* The altitude is wrong: set today's sea-level pressure (SEA).
* The parts are not simulated: TEPAHT20.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.
* Advance: the pop-up does not appear - click OPEN PANEL on the board, or turn
  "Open the panel at Run" on its Settings page back on.

BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the
simulation log and (Advance) the Copy diagnostics text:
  https://www.theengineeringprojects.com/forum/category/aht20-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 AHT20 model and the AHT20 + BMP280 model (TEPAHT20.DLL, with our BMP280
  core), the symbols and artwork 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 are independent implementations written
  from the AHT20 and BMP280 datasheets. The model uses 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 demo sketch uses the Adafruit AHTX0 library 2.0.6 (BSD licence), the
  Adafruit BMP280 library 3.0.0 (MIT licence), Adafruit Unified Sensor 1.1.15
  (Apache licence 2.0) and Adafruit BusIO 1.17.4 (MIT licence); they are not
  shipped here - install "Adafruit AHTX0" and "Adafruit BMP280 Library" (by
  Adafruit) from the Library Manager of the Arduino IDE (it installs the
  other two with them). Their source code:
    https://github.com/adafruit/Adafruit_AHTX0/tree/2.0.6
    https://github.com/adafruit/Adafruit_BMP280_Library/tree/3.0.0
    https://github.com/adafruit/Adafruit_Sensor/tree/1.1.15
    https://github.com/adafruit/Adafruit_BusIO/tree/1.17.4
  The .hex file contains compiled code of them, so their licences:
  Adafruit AHTX0 library:
    Software License Agreement (BSD License)
    Copyright (c) 2019 Limor Fried (Adafruit Industries)
    All rights reserved.
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:
    1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
    2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
    3. Neither the name of the copyright holders nor the
    names of its contributors may be used to endorse or promote products
    derived from this software without specific prior written permission.
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
    EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
    DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  Adafruit BMP280 library:
    MIT License
    Copyright (c) Adafruit Industries
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.
  Adafruit BusIO:
    The MIT License (MIT)
    Copyright (c) 2017 Adafruit Industries
    Permission is hereby granted, free of charge, to any person obtaining a
    copy of this software and associated documentation files (the
    "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to permit
    persons to whom the Software is furnished to do so, subject to the
    following conditions:
    The above copyright notice and this permission notice shall be included
    in all copies or substantial portions of the Software.
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
    NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
    DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
    OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
    USE OR OTHER DEALINGS IN THE SOFTWARE.
  Adafruit Unified Sensor: the Apache License 2.0 - its full text is at the
    end of this file (APACHE LICENSE 2.0).
* The .hex file is built from the demo sketch, these libraries and the
  Arduino AVR core 1.8.6 (with its Wire and SPI libraries), which includes
  LGPL-licensed code; its source code is available at
  https://github.com/arduino/ArduinoCore-avr/tree/1.8.6
  The demo sketch's source is in "Arduino Code", so the .hex can be rebuilt
  with other versions of these libraries (REBUILDING THE FIRMWARE).
* Proteus is a product of Labcenter Electronics and is not included. Arduino is
  a trademark of Arduino SA. The AHT20 is a product of Aosong (Guangzhou
  Aosong Electronic), the BMP280 of Bosch Sensortec. This library is
  not made or endorsed by Aosong, Bosch, Adafruit, the makers of the modules
  or Labcenter.

REBUILDING THE FIRMWARE (OPTIONAL)
The HEX file is supplied; Arduino IDE is not needed to run the demo. To edit the
sketch, install "Adafruit AHTX0" and "Adafruit BMP280 Library" by Adafruit from
the Library Manager, open Arduino Code\AHT20_Demo\AHT20_Demo.ino in the Arduino
IDE, select Arduino Uno and use Sketch > Export Compiled Binary. Replace the
simulation's .hex with the exported HEX. The sketch needs 20,464 bytes of flash
and 667 bytes of RAM.

MODEL SCOPE AND LIMITS
Modelled: the AHT20's I2C slave at 0x38 (the commands, the status byte, the
busy time of a measurement, the soft reset and the initialize, the 40 ms after
power-on), the 20-bit humidity and te
…
Advertisement

Development1 release

  1. V1.0AHT20 Sensor Library for Proteus V1.0: Temperature, Humidity, BMP280this 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. 1

    Extract the archive

    Right-click aht20-sensor-tep-v1-0-0b551ca111074de699cbce39b047e999.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (AHT20-Sensor-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move ArduinoV4TEP.LIB and TEPAHT20.LIB 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. 3

    Add the simulation model

    Copy TEPAHT20.DLL and TEPARDUINO.DLL into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.

  4. 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. 5

    Open the sketch in the Arduino IDE

    Open AHT20_Demo.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.

  6. 6

    Load the HEX file

    In Proteus double-click the microcontroller, set Program File to AHT20_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open AHT20-Sensor-ArduinoUnoV4.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.

  8. 8

    Follow the tutorial

    AHT20 Sensor Library for Proteus V1.0: Temperature, Humidity, BMP280 explains every connection and setting in order; keep it open beside the files while you build.

How to add a library in Proteus 8

FAQs9 questionsContact TEP

How do I download AHT20 Sensor Library for Proteus V1.0: Temperature, Humidity, BMP280?

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?

AHT20 Sensor Library for Proteus V1.0: Temperature, Humidity, BMP280 comes as a ZIP archive of 10 files (1.2 MB, 2.8 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 10 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, c33cf77c464e815acc739fe0e29d652446368d4b15679a62daf7168cda262115. In PowerShell run Get-FileHash "aht20-sensor-tep-v1-0-0b551ca111074de699cbce39b047e999.zip"; on macOS or Linux run shasum -a 256 "aht20-sensor-tep-v1-0-0b551ca111074de699cbce39b047e999.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.

preparing · aht20-sensor-tep-v1-0-0b551ca111074de699cbce39b047e999.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

  • 7Total downloads
  • 4%Popularity
  • ProteusCategory
  • 0Comments
  • ssyedzainnasirUploaded by
  • 15 Oct 2026Uploaded at
Last 14 days6 downloads
SHA-256 c33cf77c464e815acc739fe0e29d652446368d4b15679a62daf7168cda262115
DocumentationAHT20 Sensor Library for Proteus V1.0: Temperature, Humidity, BMP280
Need help with this file? Bug report Ask a question Download problemsGet updates
Advertisement

Comments

0

Join the conversation

Start the conversationAsk a question or share how you used this download.