TEP DOWNLOAD CENTER

Project Files of MCP3008 8-Channel ADC Library for Proteus

Libraries Code Projects Simulation
tep://download-terminal mcp3008-tep-v1-0-a671ccfb42594303b56afcf6a61ce0c2.zip ZIP archiveV1.0Verified0 downloadsFree
MCP3008 8-Channel ADC Library for Proteus: an Arduino UNO V4.0 and the MCP3008 chip
Proteus library · File 1 of 1

MCP3008 Library for Proteus V1.0

MCP3008 Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.2 MB, 2.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

MCP3008-8-Channel-ADC-Library-for-Proteus-v1.0.zip with the MCP3008 8-channel 10-bit SPI ADC for Proteus (single-ended and differential inputs, the SPI protocol bit by bit, the clock limit; a pop-up with the inputs and a timing diagram; TEPMCP3008.LIB and TEPMCP3008.DLL), our Arduino UNO V4.0, the A4 demo with its sketch and a README.

Read MCP3008 8-Channel ADC Library for Proteus

File Structure

mcp3008-tep-v1-0-a671ccfb42594303b56afcf6a61ce0c2.zip10 files · 5 folders · 2.6 MB unpacked
MCP3008-TEP-v1.0/10 files · 2.6 MB
Arduino Code/1 file · 3.3 KB
MCP3008_Demo/1 file · 3.3 KB
INO MCP3008_Demo.inoArduino sketch 3.3 KB
Proteus Library Files/2 files · 216.3 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPMCP3008.LIBProteus library 14.3 KB
Proteus Model Files/2 files · 1.2 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPMCP3008.DLLSimulation model 298.5 KB
Proteus Simulation/4 files · 1.2 MB
DSN MCP3008-ADC-ArduinoUnoV4.pdsprjProteus simulation 19.1 KB
HEX MCP3008_Demo.hexCompiled HEX file 16.8 KB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPMCP3008.DLLSimulation model 298.5 KB
TXT README.txtText file 12 KB

README

README.txt 215 lines
MCP3008 8-CHANNEL ADC LIBRARY FOR PROTEUS - V1.0 (an MCP3008 8-channel 10-bit SPI ADC with 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/11/mcp3008-8-channel-adc-library-for-proteus.html
Report a bug or suggest a feature (our forum):
  https://www.theengineeringprojects.com/forum/category/mcp3008-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
MCP3008-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                              201.9 KB   TEP Arduino boards V4.0 (UNO) -> LIBRARY
|   |-- TEPMCP3008.LIB                                 14.3 KB   the library -> LIBRARY folder
|-- Proteus Model Files/
|   |-- TEPARDUINO.DLL                                883.5 KB   the Arduino board model -> MODELS folder
|   |-- TEPMCP3008.DLL                                298.5 KB   the model -> MODELS folder
|-- Proteus Simulation/
|   |-- MCP3008_Demo.hex                               16.8 KB   the demo firmware
|   |-- MCP3008-ADC-ArduinoUnoV4.pdsprj                19.1 KB   the demo project
|   |-- TEPARDUINO.DLL                                883.5 KB   copy of the board model
|   |-- TEPMCP3008.DLL                                298.5 KB   copy of the model
|-- Arduino Code/
|   |-- MCP3008_Demo/MCP3008_Demo.ino                   3.3 KB   the demo sketch (source of the .hex)
|-- README.txt                                        ~13.4 KB   this file
Total: 2.57 MB (unzipped). The C++ source code of the models is not included.

WHAT IS IT?
The MCP3008 8-channel 10-bit SPI A/D converter as the PDIP-16 chip itself, drawn at true scale (19.3
x 6.35 mm) - our own drawing:
  * The black body on its side (the notch left, pin 1 bottom left), CH0 - CH7 along the bottom, VDD
    VREF AGND CLK DOUT DIN CS DGND along
    the top, the pin names printed small inside the edges.
  * The converter as its datasheet gives it: code = 1024 x VIN / VREF (straight binary, 0 - 3FFh); 8
    single-ended inputs or 4
    pseudo-differential pairs (IN- within 100 mV of VSS; IN+ at or below IN- gives 000h); the SPI
    protocol - the start bit, SGL/DIFF,
    D2 D1 D0, the sample ending on the falling edge of the 5th clock after the start bit with a low
    null bit, B9 - B0 MSB first, then
    LSB first, then zeros; DOUT Hi-Z otherwise; CS high = standby; CS must go high once after
    power-up; the clock checked against 3.6 MHz
    at 5 V (1.35 MHz at 2.7 V); VREF 0.25 V - VDD.
  * Click it at Run for the pop-up: the eight inputs with their last codes, the last SPI transfer
    drawn bit by bit (CS, CLK, DIN, DOUT,
    the start bit, the control bits, the null bit and B9 - B0), the result.
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 "MCP3008" in Pick Devices):
  MCP3008TEP    "MCP3008 8-Channel ADC V1.0" in TEPMCP3008.LIB (Lab ICs > ADC), prefix U, model
  TEPMCP3008.DLL (mixed: CH0 - CH7, VDD,
                VREF, AGND, DGND analog; CLK, DIN, CS digital in; DOUT digital out). The PDIP-16
                pinout, 2.54 mm apart.

THE POP-UP
Click the part at Run. Tabs:
    ADC        the eight inputs as bars (0 - VREF) with their voltage and last single-ended code,
    the last SPI transfer drawn clock by
               clock, and eight live values: the last code, its input, VREF and the LSB, the SPI
               clock and its limit, VDD, the
               conversions, IN- and CS / SHDN.
    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 7 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 runs 6 simulated seconds in a little over two
    minutes on our PC (SPI mode 0 at 1 MHz).
  * The inputs (VREF = VDD = 5.000 V): the ladder gives 0.6772 V, 2.1182 V and 3.559 V. The first
    conversion, at 65.8 ms: single-ended CH0 =
    138 (08Ah), 0.6772 V, the clock measured at 1.00 MHz.
  * All eight single-ended: CH0 138, CH1 433, CH2 728, CH3 1023 (5 V), CH4 0, CH5 0 (D4 low), CH6
    433, CH7 0 - the sketch printed them as
    0.674, 2.114, 3.555, 4.995, 0, 0, 2.114, 0 V (code x 5 / 1024: the bottom of each code's step).
    With D4 high, CH5 read 1023.
  * Differential: CH6 - CH7 = 433 (IN- at 0 V); CH7 - CH6 = 0 (IN+ below IN-) - and the model warned
    that IN- was 2.118 V, outside its
    +/- 100 mV.
  * Speed: 1000 conversions of CH1 averaged 433.0, 41.8 us each = 23896 conversions per second
    (three SPI bytes at 1 MHz and the loop).
  * At 4 MHz: CH1 still read 433, and the model warned that the clock ran at 4.00 MHz, over the 3.60
    MHz limit at VDD 5 V.
  * Then D4 flipped every 250 ms and CH5 followed it, 0 and 1023. 1023 conversions in all. The
    pop-up: ADC (with the last transfer drawn bit
    by bit), Graphs, Event log, Check - all four 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" (TEPMCP3008.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 TEPMCP3008.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the MODELS folder
(...\Proteus 8 Professional\MODELS).
4. Delete TEPMCP3008.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "MCP3008".

RUN THE DEMO
"Proteus Simulation\MCP3008-ADC-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and the DLLs
beside the project.
  ARD1:   Arduino UNO V4.0 running MCP3008_Demo.hex, its serial monitor built in (window "TEP
  Arduino UNO - ARD1").
  U1:     the MCP3008: VDD and VREF on 5 V, AGND and DGND on GND; CS - D10, DIN - D11, DOUT - D12,
  CLK - D13.
  R1 - R4: 10 k, 10 k, 10 k, 4.7 k from 5 V to GND: 3.559 V (CH2), 2.118 V (CH1, CH6), 0.677 V
  (CH0); CH3 on 5 V, CH4 and CH7 on GND,
          CH5 on D4.
  1. The sketch reads all eight channels single-ended, then CH5 with D4 high; then CH6 - CH7 and CH7
  - CH6 (differential).
  2. It times 1000 conversions of CH1 at 1 MHz, then makes one conversion at 4 MHz (over the limit
  at 5 V).
  3. After a 3 s pause it flips D4 every 250 ms and prints CH5.
Closed the monitor? Click the UNO's USB port.

WIRING (the same in Proteus and on a real board)
  VDD: 2.7 - 5.5 V; VREF: 0.25 V - VDD (the range); AGND, DGND: ground; CS, DIN, DOUT, CLK: the SPI
  pins (D10, D11, D12, D13 on an UNO).
REAL HARDWARE:
 * Keep the SPI clock under 3.6 MHz at 5 V (1.35 MHz at 2.7 V): the sample has only 1.5 clocks to
   charge its 20 pF through 1 k.
 * High source resistances slow that charge: buffer high-impedance sensors or lower the clock.
 * A clean, separate VREF gives a cleaner result than a noisy 5 V; a lower VREF gives smaller steps
   for small signals.
 * CS must go high between conversions, and once after power-up.

THE DEMO SKETCH ON THE SERIAL MONITOR (MCP3008_Demo V1.0, 9600 baud)
There are no commands. The sketch reads, prints, then follows D4 on CH5.
EXPECTED MONITOR OUTPUT
  MCP3008 ADC - The Engineering Projects
  ch  code  volts
  1   433  2.114
  1000 reads of CH1: mean 433.0, 41.8 us each = 23896 per second

PROPERTIES (double-click the part > Edit Properties)
  Lowest supply (VMIN)                 the supply below which the Check page warns, V (2.7)
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 TEPMCP3008.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
* NO SUPPLY: VDD is missing or under 2 V.
* Every result 0 or garbage: CS never went high after power-up, the SPI mode is not 0,0 or 1,1, or
  MISO / MOSI are swapped.
* The codes are a little low or high: VREF is not what the sketch assumes - measure it.
* A differential result is 0: IN+ is at or below IN-, or IN- is the wrong channel of the pair (D0
  picks which is IN+).
* A clock warning: the SPI clock is over 3.6 MHz at 5 V - slow it down.
* The part is not simulated: TEPMCP3008.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/mcp3008-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 (TEPMCP3008.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\MCP3008_Demo\MCP3008_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 6,118 bytes of flash
and 419 bytes of RAM.

MODEL SCOPE AND LIMITS
Modelled: the conversion (1024 x VIN / VREF), single-ended and pseudo-differential inputs, the whole
SPI protocol bit by bit (MSB first, LSB
first, zeros, Hi-Z), CS and standby, the clock limit and the IN- range as warnings, the supply and
reference currents.
Not modelled: INL / DNL and the offset and gain errors (all within 1 - 1.5 LSB), the sample
capacitor's charging through the source
resistance, noise; a too-fast clock is reported, not corrupted.

VERSION
TEP MCP3008 library V1.0 (Nov 2026). Device MCP3008TEP (TEPMCP3008.LIB / TEPMCP3008.DLL). Demo
sketch MCP3008_Demo V1.0. Demo board: ARDUINO UNO V4.0 (TEP Arduino Library V4.0) with its built-in
serial monitor.
Advertisement

Development1 release

  1. V1.0MCP3008 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. 1

    Extract the archive

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

  2. 2

    Copy the library files into Proteus

    Move ArduinoV4TEP.LIB and TEPMCP3008.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 TEPARDUINO.DLL and TEPMCP3008.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 MCP3008_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 MCP3008_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open MCP3008-ADC-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

    MCP3008 8-Channel ADC Library for Proteus 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 MCP3008 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?

MCP3008 Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.2 MB, 2.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 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, 6972af3e2b6b0136264c5905f5c657f6e6acab265d5099d46ebd05089c7d30a5. In PowerShell run Get-FileHash "mcp3008-tep-v1-0-a671ccfb42594303b56afcf6a61ce0c2.zip"; on macOS or Linux run shasum -a 256 "mcp3008-tep-v1-0-a671ccfb42594303b56afcf6a61ce0c2.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 · mcp3008-tep-v1-0-a671ccfb42594303b56afcf6a61ce0c2.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

  • 0Total downloads
  • 4%Popularity
  • ProteusCategory
  • 0Comments
  • ssyedzainnasirUploaded by
  • 10 Nov 2026Uploaded at
Last 14 days0 downloads
SHA-256 6972af3e2b6b0136264c5905f5c657f6e6acab265d5099d46ebd05089c7d30a5
DocumentationMCP3008 8-Channel ADC Library for Proteus
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.