Project Files of MiCS-6814 Gas Sensor Library for Proteus Simulation
5ce95d7f60b84e6790fa88cacf9202fc.zip

MiCS-6814 Gas Sensor Library for Proteus V1.0
MiCS-6814 Gas 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
MiCS-6814-Gas-Sensor-Library-for-Proteus-v1.0.zip with the MiCS-6814 gas sensor breakout for Proteus simulation (TEPMICS6814.LIB and TEPMICS6814.DLL), our I2C LCD, resistors, LEDs and active buzzer, our Arduino UNO V4.0, the A4 demo, its sketch and a README.
File Structure
5.7 KB201.9 KB9.9 KB181.4 KB21.8 KB15 KB306.9 KB883.5 KB276 KB409 KB289.5 KB310.5 KB311 KB28.4 KB37.4 KB883.5 KB276 KB409 KB289.5 KB310.5 KB311 KB14.7 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in MiCS-6814 Gas Sensor Library for Proteus Simulation. Open an image for its full size.
README
MiCS-6814 GAS SENSOR LIBRARY FOR PROTEUS SIMULATION - V1.0 (a three-channel gas sensor, 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/mics-6814-gas-sensor-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/mq-gas-sensors-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
MiCS-6814-Gas-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
| |-- TEPI2CLCD16X2.LIB 181.4 KB a part the demo uses -> LIBRARY folder
| |-- TEPLED5MM.LIB 21.8 KB a part the demo uses -> LIBRARY folder
| |-- TEPMICS6814.LIB 15.0 KB the library -> 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
| |-- TEPLCD.DLL 409.0 KB its model -> MODELS folder
| |-- TEPLED5MM.DLL 289.5 KB its model -> MODELS folder
| |-- TEPMICS6814.DLL 310.5 KB the model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB its model -> MODELS folder
|-- Proteus Simulation/
| |-- MICS6814_Demo.hex 37.4 KB the demo firmware
| |-- MiCS-6814-Garage-Air-ArduinoUnoV4.pdsprj 28.4 KB the demo project
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPBUZZER.DLL 276.0 KB copy of its model
| |-- TEPLCD.DLL 409.0 KB copy of its model
| |-- TEPLED5MM.DLL 289.5 KB copy of its model
| |-- TEPMICS6814.DLL 310.5 KB copy of the model
| |-- TEPRESISTOR.DLL 311.0 KB copy of its model
|-- Arduino Code/
| |-- MICS6814_Demo/MICS6814_Demo.ino 5.7 KB the demo sketch (source of the .hex)
|-- README.txt ~14.9 KB this file
Total: 5.65 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
The common MiCS-6814 analog breakout, drawn from the top at its real size (about 16.9 x 14.1 mm):
the MiCS-6814 (5 x 7 mm) with its three
metal-oxide elements, the three heater resistors and the 5-pin header 5V GND NO2 NH3 CO. The drawing
is our own; the model follows the
MiCS-6814 datasheet and a driver library's curve fits:
* Three elements, each with its own heater: RED (reducing gases - CO, also hydrogen, alcohol,
hydrocarbons), OX (oxidising - NO2) and NH3.
* Each output pin is the bare sensing resistor to GND. Add a pull-up RL (47 - 56 k, never under
820 ohm) to 5 V and read the voltage:
V = 5 V x Rs / (Rs + RL), so Rs = RL x counts / (1023 - counts).
* Reducing gases LOWER the RED and NH3 resistances (their voltages fall); NO2 RAISES the OX
resistance (its voltage rises).
* R0 in clean air: RED 100 - 1500 k, OX 0.8 - 20 k, NH3 10 - 1500 k - every sensor differs, so
measure R0 after the warm-up.
* The curves, ppm = a x (Rs / R0)^b: CO 4.385 x r^-1.179, NO2 r^1.007 / 6.855, NH3 r^-1.67 / 1.47.
* The heaters take about 56 mA from 5V (0.28 W) and need minutes to settle: WARMUP sets it here (3
s by default - fast time).
* The gases: PROFILE DEMO is a recorded garage in fast time (clean air, a car running, the door
opened, an ammonia cleaner, airing
out); STEADY uses CO, NO2 and NH3. At Run the three heaters glow on the sensor.
* Click the sensor for the pop-up: the three elements - the gas, Rs, R0, Rs / R0, the pin's
voltage and the pull-up it sees; 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 "MICS6814" or "gas" in Pick Devices):
MICS6814TEP "MiCS-6814 Gas Sensor V1.0" in TEPMICS6814.LIB (Modules > Sensors), prefix U, model
TEPMICS6814.DLL (analog).
Pins: 5V GND NO2 NH3 CO (the header). Each of NO2, NH3 and CO needs a pull-up to 5 V.
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:
MiCS-6814 Three cards, one per element: the gas in ppm with a bar, Rs and R0, Rs / R0, the
pin's voltage, the pull-up the pin sees and
the curve; tiles: the 5V supply, the heater current and power, the warm-up, the air,
the three Rs values and the largest
power in a sensing layer. Chips: Garage demo, Clean air, Car exhaust, Ammonia,
Alcohol.
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 11.9 simulated seconds in about 3 minutes 40
seconds on our PC with the pop-up open
and the pictures being taken. Three dividers (56 k pull-ups) on A0 / A1 / A2.
* Warm-up 3 s (the elements at 96 % of R0 at 2.0 s); "R0 in clean air: CO 477.9 k, NO2 12.27 k,
NH3 274.4 k"; 4.16 s CO 4 ppm, NO2 0.15,
NH3 1 (the curves' clean-air points).
* A car: "WARNING: CO 42 ppm" 5.15 s, "ALARM: CO 108 ppm" 5.90 s; at 6.9 s CO 164 ppm / NO2 2.09
ppm in the air - RED 22.8 k (ratio
0.047, pin 1.445 V), OX 162.8 k (ratio 13.57, pin 3.719 V); the LCD "CO 155 NO2 1.93", "ALRM
CO".
* The door: "WARNING: CO 91 ppm" 7.65 s, "OK" 8.15 s (CO 21, NO2 0.43).
* Ammonia: "WARNING: NH3 28 ppm" 9.40 s, "ALARM: NH3 57 ppm" 9.90 s (75 ppm in the air, NH3
element 21.4 k); 10.15 s NH3 64 ppm;
"WARNING: NH3 49 ppm" 10.90 s, "OK" 11.40 s.
* Check: 5.00 V, heaters 56 mA / 281 mW; pull-ups seen 56 k x 3; sensing power 0.108 mW max (limit
8 mW).
* The pop-up (MiCS-6814, 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" (TEPMICS6814.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 TEPMICS6814.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 TEPMICS6814.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "MICS6814".
RUN THE DEMO
"Proteus Simulation\MiCS-6814-Garage-Air-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and
the DLLs beside the project.
ARD1: Arduino UNO V4.0 running MICS6814_Demo.hex (window "TEP Arduino UNO - ARD1"): A0 = CO,
A1 = NH3, A2 = NO2, A4 / A5 = the LCD,
D5 - D7 = the green / yellow / red LEDs, D8 = the buzzer.
U1: the MiCS-6814 breakout with the DEMO garage.
R1 - R3: the 56 k pull-ups from VCC to CO, NH3 and NO2.
LCD1: a 16x2 LCD on its I2C backpack at 0x27: CO, NO2 and NH3 in ppm and the state.
D1 - D3: green = OK, yellow = WARNING, red = ALARM, through R4 - R6 (220 ohm). BZ1: our active
buzzer.
The sketch waits for the warm-up, measures R0 in clean air, then reads the three dividers every
250 ms, converts them with the curves and
compares them with CO 35 / 100 ppm, NO2 1 / 5 ppm and NH3 25 / 50 ppm. 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)
5V to 5 V, GND to GND; CO, NH3 and NO2 each to an analog input AND through a 56 k resistor to 5 V
(the board has no load resistors).
REAL HARDWARE:
* Warm it up for 10 - 30 minutes (some users wait hours) before you measure R0; a new sensor needs
a longer burn-in.
* The RED element reacts to every reducing gas: alcohol, hydrogen, LPG or methane read as "CO". It
is an indicator, not a CO alarm.
* The curves are given at 25 C and 50 % humidity; temperature and humidity change the readings.
* The heaters draw about 56 mA - power it from a supply that can give it, not from a weak pin.
* Never use a pull-up below 820 ohm: the sensing layer may take at most 8 mW.
THE DEMO SKETCH ON THE SERIAL MONITOR (MICS6814_Demo V1.0, 9600 baud)
MICS6814_Demo prints the warm-up and R0, then a line every 2 s and each change of state. EXPECTED
MONITOR OUTPUT (shortened)
Garage air: MiCS-6814 CO on A0, NH3 on A1, NO2 on A2 (56 k pull-ups), LEDs D5-D7, buzzer D8, LCD
0x27
warming up the three heaters: 3 s here, 10 - 30 minutes on a real sensor
R0 in clean air: CO ... k, NO2 ... k, NH3 ... k
PROPERTIES (double-click the part > Edit Properties)
PROFILE DEMO (the garage) or STEADY (CO, NO2, NH3). Default DEMO.
CO For STEADY: carbon monoxide, ppm. Default 10.
NO2 For STEADY: nitrogen dioxide, ppm. Default 0.15.
NH3 For STEADY: ammonia, ppm. Default 1.
R0RED The RED element in clean air, kohm. Default 480.
R0OX The OX element in clean air, kohm. Default 12.
R0NH3 The NH3 element in clean air, kohm. Default 280.
WARMUP The warm-up to 99 % of R0, s. Default 3 (a real sensor: 10 - 30 minutes).
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 TEPMICS6814.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
* A pin reads 0 V: it has no pull-up - add 56 k to 5 V.
* A pin reads almost 5 V all the time: the heaters have no supply (a cold element is 10 Mohm) -
check 5V.
* The readings drift for a while: the warm-up - measure R0 only after it.
* CO jumps with alcohol or a lighter: the RED element sees every reducing gas - that is the sensor,
not a fault.
* The part is not simulated: TEPMICS6814.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPMICS6814.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/mq-gas-sensors-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 (TEPMICS6814.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\MICS6814_Demo\MICS6814_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 13,600 bytes of flash
and 592 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: three sensing resistors to GND following the datasheet curves (CO on RED, NO2 on OX, NH3
on NH3), alcohol on the RED element,
the heater load, the warm-up drift, a short lag, the DEMO garage or a steady air.
Our figures: R0 480 k / 12 k / 280 k, the heaters 89 ohm (about 56 mA), WARMUP 3 s, a 0.3 s lag,
reducing gases adding their conductances.
Not modelled: humidity and temperature effects, the other gases' curves (H2, methane, propane,
butane), the OX element's response to
reducing gases, ageing, a heater voltage other than 5 V.
VERSION
TEP MiCS-6814 Gas Sensor library V1.0 (Nov 2026). Device MICS6814TEP (TEPMICS6814.LIB /
TEPMICS6814.DLL). Demo sketch MICS6814_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.0MiCS-6814 Gas 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 5ce95d7f60b84e6790fa88cacf9202fc.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (MiCS-6814-Gas-Sensor-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPBUZZER.LIB and TEPI2CLCD16X2.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 TEPLCD.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 MICS6814_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 MICS6814_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open MiCS-6814-Garage-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
MiCS-6814 Gas 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 MiCS-6814 Gas 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?
MiCS-6814 Gas 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, d8a92398f3ae1e1f675c63bf76f0a3c33e5068fde8b2471b72ec79b679854c38. In PowerShell run Get-FileHash "5ce95d7f60b84e6790fa88cacf9202fc.zip"; on macOS or Linux run shasum -a 256 "5ce95d7f60b84e6790fa88cacf9202fc.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
d8a92398f3ae1e1f675c63bf76f0a3c33e5068fde8b2471b72ec79b679854c38































Comments
0