Project Files of CCS811 Air Quality Sensor Library for Proteus V1.0: eCO2 and TVOC
ccs811-tep-v1-0-c33786e71e994ccda58fb6e941d8806b.zip

CCS811 Air Quality Sensor Library for Proteus V1.0
CCS811 Air Quality Sensor Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.2 MB, 2.7 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
This is the download page of CCS811 Air Quality Sensor Library for Proteus V1.0, the file package of the tutorial CCS811 Air Quality Sensor Library for Proteus V1.0: eCO2 and TVOC, published on The Engineering Projects in October 2026. Here you get the ZIP file (1.2 MB) with the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware, the list of files it contains, the README when there is one, and the installation steps in order.
What this library is
CCS811-Air-Quality-Sensor-Library-for-Proteus-v1.0.zip with the CCS811 eCO2 / TVOC gas sensor on a CJMCU-811 board (I2C with WAK, INT and RST), Simple and Advance (TEPCCS811.LIB and TEPCCS811.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
- TEPCCS811.LIB – Proteus library, 58.5 KB
- TEPARDUINO.DLL – Simulation model, 883.5 KB
- TEPCCS811.DLL – Simulation model, 330.5 KB
- CCS811-Air-ArduinoUnoV4.pdsprj – Proteus simulation, 24.2 KB
- CCS811_Air_Demo.ino – Arduino sketch, 4.9 KB
- and 4 more, all listed in the File Structure tab
The archive unpacks to 2.7 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 TEPCCS811.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
- Step 3: Copy TEPARDUINO.DLL and TEPCCS811.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 CCS811_Air_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 CCS811_Air_Demo.hex; on hardware, flash the same file.
- Step 7: Open CCS811-Air-ArduinoUnoV4.pdsprj in Proteus and press Play.
Read the detailed guide
This page is for the files. The full tutorial, CCS811 Air Quality Sensor Library for Proteus V1.0: eCO2 and TVOC, 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.
File Structure
4.9 KB201.9 KB58.5 KB883.5 KB330.5 KB24.2 KB36.3 KB883.5 KB330.5 KB25.2 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in CCS811 Air Quality Sensor Library for Proteus V1.0: eCO2 and TVOC. Open an image for its full size.












README
CCS811 AIR QUALITY SENSOR LIBRARY FOR PROTEUS - V1.0 (eCO2 AND TVOC)
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/ccs811-air-quality-sensor-library-for-proteus-v1-0.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/ccs811-air-quality-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
Our other air quality sensors (a real CO2 sensor, a particle sensor, the MQ gas
sensors):
https://www.theengineeringprojects.com/2026/10/mh-z19b-co2-sensor-library-for-proteus-v1-0.html
https://www.theengineeringprojects.com/2026/10/pms5003-particle-sensor-library-for-proteus-v1-0.html
https://www.theengineeringprojects.com/2026/10/mq-gas-sensor-library-for-proteus-v1-0.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
CCS811-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO), to LIBRARY
| |-- TEPCCS811.LIB 58.5 KB the CCS811 (CJMCU-811), to LIBRARY
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model, to MODELS
| |-- TEPCCS811.DLL 330.5 KB the CCS811 model, to MODELS
|-- Proteus Simulation/
| |-- CCS811_Air_Demo.hex 36.3 KB both UNOs (demo sketch V1.0)
| |-- CCS811-Air-ArduinoUnoV4.pdsprj 24.2 KB demo: 2 UNOs, 2 sensors
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPCCS811.DLL 330.5 KB copy of the model
|-- Arduino Code/
| |-- CCS811_Air_Demo/CCS811_Air_Demo.ino 4.9 KB the demo sketch (source of the .hex)
|-- README.txt ~26.2 KB this file
Total: 2.71 MB (unzipped). The C++ source code of the model is not included.
WHAT IS IT?
A simulation model of the CCS811 digital gas sensor (ams, now ScioSense) on the
popular CJMCU-811 board. The CCS811 heats a tiny metal-oxide layer and measures
its resistance: volatile organic compounds (VOCs) in the air lower it. Its own
microcontroller turns that into two numbers: TVOC (total VOCs, in ppb) and eCO2
(an "equivalent CO2" in ppm, ESTIMATED from the VOCs - the CCS811 cannot see
CO2 itself). Our own model, written from the datasheet and checked against the
Adafruit CCS811 library 1.1.3 (the library most makers use with this sensor) -
not a part that shows a number:
* I2C at 0x5A (ADD LOW or open - the board has a 10k pull-down) or 0x5B (ADD
HIGH), with mailboxes: write the mailbox ID and then its data; to read,
write the ID and read its bytes. HW_ID (0x20) answers 0x81.
* Boot mode after power-on or a reset (STATUS 0x10); APP_START (0xF4, no
data) runs the application (STATUS bit 7); SW_RESET (0xFF 11 E5 72 8A)
goes back to boot mode.
* MEAS_MODE (0x01): drive mode 0 idle, 1 a result every second, 2 every 10 s,
3 every 60 s, 4 raw data every 250 ms; INT_DATARDY (nINT LOW while a new
result waits) and INT_THRESH (only on a threshold crossing).
* ALG_RESULT_DATA (0x02): eCO2 (400 - 8192 ppm), TVOC (0 - 1187 ppb), STATUS,
ERROR_ID and RAW_DATA; reading it clears DATA_READY and releases nINT.
ENV_DATA (0x05: the humidity and temperature for the compensation, 50 %RH
and 25 C if never written), THRESHOLDS (0x10), BASELINE (0x11), the
versions, ERROR_ID (0xE0). A mailbox that does not exist in the current
mode sets the ERROR bit (WRITE_REG_INVALID / READ_REG_INVALID); drive mode
5 - 7 sets MEASMODE_INVALID.
* WAK (nWAKE) LOW = the I2C interface listens - HIGH or open: no ACK (the
measurements go on); RST (nRESET) LOW = reset, open = running; INT (nINT)
is an open-drain output.
* The run-in: after power-on the readings rise from 400 ppm / 0 ppb to the
air over the RUNIN time (the datasheet: 20 minutes; 48 hours of burn-in for
a new sensor).
* The air at the sensor: its TVOC and its CO2 (properties TVOC, CO2; the CO2
is only shown - the CCS811 does not measure it), temperature and humidity;
the panel's - / + (10 ppb a click), four presets (FRESH, OFFICE, MEETING,
PAINT) and four actions: BREATH (a breath on the sensor: CO2 and the VOCs
of the breath), SANITIZER (hand sanitizer: alcohol VOCs, no CO2), VENTILATE
(the windows open: back to FRESH) and HUMID (90 %RH: the reading is off
unless ENV_DATA tells the sensor the humidity).
The board is drawn at about three times its real size: the CCS811 in its small
package with the round sensing opening, a few 0603 parts (the 10k pull-down on
ADD) and the header on the left: VCC, GND, SCL, SDA, WAK, INT, RST, ADD. ON the
board, as TEP additions: the SIMPLE / ADVANCE badge, the PWR, I2C (a flash with
each transaction) and INT (lit while nINT is LOW) LEDs and the panel button. The
LEDs, the badge, the button and the panels are TEP additions; the real board has
none of them.
TWO DEVICES IN ONE LIBRARY (search "CCS811" in Pick Devices):
Simple CCS811TEP "CCS811 Air Quality Sensor V1.0 - Simple"
Advance CCS811ADVTEP (the same, "- Advance")
(pins VCC, GND, SCL, SDA, WAK, INT, RST and ADD on the left;
category Sensors > Air Quality)
Simple On-Sheet Panel: the STATUS panel under the board - the banner
(eCO2 ... ppm, TVOC ... ppb - THE AIR: CO2 ... ppm, TVOC ... ppb;
amber during the run-in, with nWAKE HIGH, with a wrong ENV_DATA
or when eCO2 is far above the air's real CO2; blue in boot mode or
drive mode 0), THE AIR (TVOC) - / + with a ruler (0 to 1200 ppb:
the air and the reading), four presets, four actions, ten readouts
(STATE, DRIVE MODE, eCO2, TVOC, STATUS, THE AIR: CO2, THE AIR: TVOC,
RESULTS, nWAKE / nINT, ENV_DATA) 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 board 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 presets on the toolbar; THE AIR AT THE SENSOR
(-50 / -10 / +10 / +50 ppb, BREATH, SANITIZER,
VENTILATE, HUMID, the TVOC on a 0 - 1200 ppb scale and
the CO2 on a 400 - 5000 ppm scale, each with the
reading); WHAT THE SENSOR REPORTS (eCO2, TVOC, RAW,
STATUS); ALG_RESULT_DATA byte by byte; the air's CO2
and eCO2 over the last 150 s
Event log power and reset, the results, the bus (the mailboxes),
the air, notes and warnings (filters, pause, clear)
Tests I2C & mailboxes, Mode & interrupt, Run-in &
compensation (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.
Both devices use one model, TEPCCS811.DLL.
TEST STATUS
V1.0: verified in Proteus 8.5 on 18 Oct 2026 (the demo project as shipped:
two Arduino UNO V4.0 boards with their built-in monitors; node 1 with the
Simple sensor in an office, TVOC 60 ppb and CO2 800 ppm; node 2 with the
Advance sensor in fresh air, TVOC 5 ppb; both with a 60 s run-in).
What the run showed:
* Adafruit begin() on both UNOs (SW_RESET, HW_ID, APP_START, drive mode 1),
then a result every second with nINT on D2; the readings rise during the
run-in: ARD1 "#1 t=1 s eCO2 400 ppm TVOC 0 ppb - run-in", then "#60
t=60 s eCO2 835 ppm TVOC 65 ppb" without the note.
* U2 through its pop-up: the Run-in & compensation tool during the run-in;
I2C & mailboxes - 114 transactions with an ACK, 26 results read, 0 NACKs;
PAINT - eCO2 3485 ppm while the air's real CO2 is 600 ppm (TVOC 463 ppb,
ALG_RESULT_DATA 0D 9D 01 CF 98 00 50 BB); SANITIZER - eCO2 from 903 to
5126 ppm in 8 s (#108 to #116) with no CO2 at all; VENTILATE - down to
2315 ppm at t=139 s; FRESH and HUMID (90 %RH) - TVOC 69 ppb while the air
has 5 ppb; ENV 90 25 on the monitor - "ENV_DATA: 90.0 %RH, 25.0 C", then
"#200 t=200 s eCO2 429 ppm TVOC 4 ppb"; MODE 2 - "drive mode 2: a
result every 10 s" (t=226, 236, 246 s); MODE 1; SLEEP and WAKE (the WAK
pin) - "WAK HIGH: the I2C interface sleeps - the measurements go on", 3
results missed while it slept; BASELINE 0x8677; the Mode & interrupt tool
and the Event log.
* U1 with the real mouse (3 wheel steps on U1): BREATH - eCO2 from 784 to
1976 ppm in 7 s (#272 to #279) with the air's real CO2 rising too;
MEETING - eCO2 1374 to 1500 ppm against the air's 1400 ppm; VENTILATE -
down to 606 ppm at t=353 s; RESET on the monitor - "RESET: begin() again
- drive mode 1", the results go on (#355); U1's red X and PANEL.
* 372.5 s of simulation took 844 s - about 0.44 x real time with the
pop-up and both monitors open.
Plus automatic checks on a PC, 0 failed: 77 on the model (the mailboxes in
boot and application mode, APP_START, SW_RESET, the errors, the drive modes
and their timing, DATA_READY and nINT, the thresholds, ENV_DATA, BASELINE,
nWAKE, nRESET, the run-in, the presets and the actions), 52 with the real
Adafruit CCS811 library 1.1.3 and BusIO 1.17.4 talking to the model
(begin(), available(), readData(), enableInterrupt(),
setEnvironmentalData(), getBaseline(), setBaseline(), setThresholds(),
setDriveMode(), checkError()) and 10 on the pop-up; the demo project read
back from disk (105 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" (TEPCCS811.LIB with the two
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 TEPCCS811.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 TEPCCS811.IDX from the LIBRARY folder if it is there (Proteus makes
a new index).
5. Start Proteus. In Pick Devices (P) search "CCS811".
RUN THE DEMO
"Proteus Simulation\CCS811-Air-ArduinoUnoV4.pdsprj" - keep the .hex file and
the two DLLs beside the project.
ARD1: Arduino UNO V4.0 + U1 = a CCS811 (Simple) in an office (TVOC 60 ppb,
CO2 800 ppm).
ARD2: Arduino UNO V4.0 + U2 = a CCS811 (Advance) in fresh air (TVOC 5 ppb,
CO2 420 ppm).
Both sensors have RUNIN = 60 s - the datasheet's 20 minutes would be too long
for a demo. Both UNOs run CCS811_Air_Demo.hex 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. The sketch starts the CCS811 (Adafruit begin(): SW_RESET, HW_ID,
APP_START, drive mode 1), turns on nINT and prints every result: eCO2 and
TVOC. For the first 60 s the readings rise - "- run-in".
3. Change the air on U1's STATUS panel or in U2's pop-up (- / +, the
presets): PAINT shows eCO2 far above the real CO2; BREATH, SANITIZER,
VENTILATE, HUMID.
4. Type in a monitor: ENV 90 25 (the compensation), MODE 2, MODE 1, SLEEP and
WAKE (the WAK pin), BASELINE, RESET (the RST pin and begin() again).
5. U1: close its panel with the red X, open it with PANEL on the board.
U2 (Advance): Sensor, Event log, and Tests - I2C & mailboxes, Mode &
interrupt, Run-in & compensation.
Closed a monitor window? Click the UNO's USB port.
WIRING
CJMCU-811 Arduino UNO
VCC 3.3V on a real board (in Proteus a VCC power terminal)
GND GND
SCL A5 / SCL
SDA A4 / SDA
WAK D4 (LOW = the I2C interface listens; or tie it to GND)
INT D2 (INPUT_PULLUP - LOW = a new result)
RST D5 (HIGH; LOW = reset; may stay open)
ADD open (the board's 10k pull-down: 0x5A); HIGH = 0x5B
The pins reach their UNO through net labels - SCL_1 / SDA_1 / WAK_1 / INT_1 /
RST_1 (node 1) and SCL_2 / SDA_2 / WAK_2 / INT_2 / RST_2 (node 2): the same name
= connected. VCC and GND are Proteus power terminals. The serial monitor needs
no wires: it is built into the Arduino UNO V4.0.
Adafruit_CCS811 ccs;
ccs.begin(); // 0x5A
if (ccs.available() && !ccs.readData()) Serial.println(ccs.geteCO2());
REAL HARDWARE:
* The CJMCU-811 has no regulator: VCC goes straight to the CCS811, whose
supply is 1.8 to 3.6 V - power it from 3.3 V, never 5 V.
* The signals are 3.3 V. Use a level shifter between a 5 V UNO and the board
(SDA, SCL, WAK, RST), or a 3.3 V board.
* WAK must be LOW for the sensor to answer: tie it to GND if you do not need
the sleep. INT and RST may stay open.
* The CCS811 stretches the I2C clock; an UNO waits for it, some other boards
(an ESP8266, a Raspberry Pi) need care.
* Give a new sensor 48 hours of burn-in and every start 20 minutes of run-in,
and tell it the humidity and temperature (setEnvironmentalData()).
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 & mailboxes
Good for: "CCS811 not found", begin() returning false, an
ERROR bit in STATUS, a sketch that reads the wrong mailbox.
The address and ADD, nWAKE (and the NACKs while it was HIGH),
boot or application mode, the transactions, ERROR_ID; the last
transactions with their bytes.
Mode & interrupt
Good for: no new data, the same result read twice, results
missed, an INT pin that never goes LOW. The drive mode, the
results made / read / missed, DATA_READY, nINT, the thresholds.
Run-in & compensation
Good for: readings that rise after power-on, readings off in
humid air, eCO2 far from a CO2 meter. The run-in, ENV_DATA
against the air, eCO2 against the air's real CO2, the baseline.
THE DEMO SKETCH ON THE SERIAL MONITOR (CCS811_Air_Demo V1.0)
MODE 0 - 4 the drive mode (setDriveMode()): 0 idle, 1 every second,
2 every 10 s, 3 every 60 s, 4 raw data every 250 ms
ENV h t setEnvironmentalData(): the humidity (%) and temperature
(C) for the compensation, e.g. ENV 90 25
BASELINE getBaseline()
SLEEP / WAKE the WAK pin (D4) HIGH / LOW
RESET the RST pin (D5) LOW for 10 ms, then begin() again
HELP the command list
Commands are not case-sensitive; type them in the UNO's built-in monitor and
press Enter. The sketch reads a result each time nINT (D2) goes LOW.
EXPECTED MONITOR OUTPUT (the start)
ARD1 (an office, TVOC 60 ppb):
TEP CCS811 air quality sensor - demo V1.0
Adafruit CCS811 on I2C 0x5A: drive mode 1 (a result every second), nINT on D2
Commands: MODE 0 - 4, ENV h t (humidity %, temperature C), BASELINE,
SLEEP / WAKE (the WAK pin), RESET (the RST pin and begin() again), HELP
#1 t=1 s eCO2 400 ppm TVOC 0 ppb - run-in
#2 t=2 s eCO2 401 ppm TVOC 0 ppb - run-in
#3 t=3 s eCO2 402 ppm TVOC 0 ppb - run-in
ARD1 when the run-in is over:
#58 t=58 s eCO2 807 ppm TVOC 61 ppb - run-in
#59 t=59 s eCO2 793 ppm TVOC 59 ppb - run-in
#60 t=60 s eCO2 835 ppm TVOC 65 ppb
#61 t=61 s eCO2 814 ppm TVOC 62 ppb
The numbers move a little from result to result: the noise of the sensor.
PROPERTIES (double-click the part > Edit Properties)
TVOC the air's TVOC at the start in ppb (default 5)
CO2 the air's CO2 at the start in ppm (default 420) - not measured
by the CCS811, shown to compare with eCO2
TEMPERATURE the air's temperature in C (default 25)
HUMIDITY the air's humidity in %RH (default 50)
RUNIN the run-in after power-on in s (default 1200 - the datasheet's
20 minutes; the demo uses 60)
PANEL Simple only: the STATUS panel at the start, OPEN or CLOSED
Every run starts again from the properties, and the sensor from power-on in
boot mode.
The demo's UNOs (ARDUINO UNO V4.0): PROGRAM CCS811_Air_Demo.hex, MONITOR YES
(the built-in monitor), BAUD 9600, AUTOOPEN YES, BOOTLOADER YES.
LINKS.INI (OPTIONAL)
The Help page cards of the Advance device open web pages. To point them
somewhere else without a new DLL, put a text file named links.ini next to
TEPCCS811.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
* "CCS811 not found" (begin() false): WAK not LOW (the INT and I2C LEDs stay
dark - Tests > I2C & mailboxes counts the NACKs), SDA / SCL swapped, the
wrong address (ADD), RST held LOW, or begin() within 20 ms of a reset.
* The same values again and again: readData() returns 0 also when there is no
new result - call available() first or wait for nINT LOW.
* No results: drive mode 0 (MODE 1), or the sketch never left boot mode.
* The readings start at 400 ppm / 0 ppb and climb: the run-in - wait.
* eCO2 far above a CO2 meter: VOCs (paint, alcohol, cleaning products) raise
eCO2 - it is an estimate from the VOCs, not measured CO2.
* Readings high in humid air: ENV_DATA still says 50 %RH - setEnvironmentalData().
* The parts are not simulated: TEPCCS811.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/ccs811-air-quality-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 CCS811 model (TEPCCS811.DLL), 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 model is
an independent implementation written from the CCS811 datasheet (the pins,
the mailboxes, the modes, the timing) and the public Adafruit CCS811 library
(what it writes and reads). 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 two libraries; neither is included - install them
from the Arduino Library Manager:
- Adafruit CCS811 Library 1.1.3 by Adafruit, MIT License,
https://github.com/adafruit/Adafruit_CCS811
- Adafruit BusIO 1.17.4 by Adafruit, MIT License,
https://github.com/adafruit/Adafruit_BusIO
The .hex file contains both. Their licences:
Adafruit CCS811 Library: Copyright (c) 2017 Adafruit Industries
Adafruit BusIO: Copyright (c) 2017 Adafruit Industries
Both under the MIT License:
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.
* The .hex file is built from the demo sketch, the two libraries and the
Arduino AVR core 1.8.6 (with its Wire library), 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 the core (REBUILDING THE FIRMWARE).
* CCS811 is a name of ams-OSRAM AG / ScioSense B.V.; CJMCU is a board maker's
name. 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 ams, ScioSense, Adafruit 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 the Adafruit CCS811 Library and Adafruit BusIO (Library
Manager), open Arduino Code\CCS811_Air_Demo\CCS811_Air_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 13,218 bytes of flash and 537 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the I2C slave at 0x5A / 0x5B, the mailboxes in boot and application
mode with their errors, APP_START and SW_RESET, the drive modes 0 - 4 and their
timing, DATA_READY, nINT (INT_DATARDY and INT_THRESH with the thresholds and the
hysteresis), ENV_DATA, BASELINE, RAW_DATA, nWAKE (50 us before a START), nRESET,
the 20 ms start after power-on or a reset, the run-in, the air (TVOC, CO2,
humidity) and its changes (BREATH, SANITIZER, VENTILATE, HUMID), power on / off.
How the part works with the circuit: VCC and GND power the sensor (on or off);
SCL, WAK, RST and ADD are digital inputs; SDA and INT are open-drain (the model
pulls them LOW or lets them go).
Not modelled: the heater and its current, the supply voltage and the 3.3 V
level, clock stretc
…Development1 release
-
V1.0CCS811 Air Quality 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 ccs811-tep-v1-0-c33786e71e994ccda58fb6e941d8806b.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (CCS811-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB and TEPCCS811.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
Add the simulation model
Copy TEPARDUINO.DLL and TEPCCS811.DLL 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 CCS811_Air_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 CCS811_Air_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open CCS811-Air-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
CCS811 Air Quality Sensor Library for Proteus V1.0: eCO2 and TVOC explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download CCS811 Air Quality 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?
CCS811 Air Quality Sensor Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.2 MB, 2.7 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, c71aeee4b1ce6ea882a501971c433ff9fded61aa501e24891cd70642b3ec97a6. In PowerShell run Get-FileHash "ccs811-tep-v1-0-c33786e71e994ccda58fb6e941d8806b.zip"; on macOS or Linux run shasum -a 256 "ccs811-tep-v1-0-c33786e71e994ccda58fb6e941d8806b.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.
- 6Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 17 Oct 2026Uploaded at
c71aeee4b1ce6ea882a501971c433ff9fded61aa501e24891cd70642b3ec97a6
















Comments
0