TEP DOWNLOAD CENTER

Project Files of Micro SD Card Module Library for Proteus V1.0: Arduino Data Logger

Libraries Code Projects Simulation
tep://download-terminal micro-sd-card-module-tep-v1-0-0704784952eb42a98be9e4cff4cffc08.zip ZIP archiveV1.0Verified45 downloadsFree
Micro SD Card Module Library for Proteus V1.0: the module with its STATUS panel and file browser
Proteus library · File 1 of 1

Micro SD Card Module Library for Proteus V1.0

Micro SD Card Module 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

Micro SD Card Module Library for Proteus V1.0 is the download package that goes with our tutorial Micro SD Card Module Library for Proteus V1.0: Arduino Data Logger. On this page you can download the ZIP file (1.2 MB) and see what is inside before you save it: 10 files in 5 folders, the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware. The tutorial explains the design; this page gets the files onto your computer and into use.

What this library is

Micro-SD-Card-Module-Library-for-Proteus-v1.0.zip with the micro SD card module (a 64 MB card in SPI mode with a FAT16 file system: CMD0, CMD8, ACMD41, CMD58, block reads and writes, the file browser, the card out and in), Simple and Advance (TEPMICROSD.LIB and TEPMICROSD.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 SD library demo sketch (a data logger) 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
  • TEPMICROSD.LIB – Proteus library, 60.3 KB
  • TEPARDUINO.DLL – Simulation model, 883.5 KB
  • TEPMICROSD.DLL – Simulation model, 318.5 KB
  • MicroSD-Card-ArduinoUnoV4.pdsprj – Proteus simulation, 23.7 KB
  • SD_Demo.ino – Arduino sketch, 7.5 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 TEPMICROSD.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
  • Step 3: Copy TEPARDUINO.DLL and TEPMICROSD.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 SD_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 SD_Demo.hex; on hardware, flash the same file.
  • Step 7: Open MicroSD-Card-ArduinoUnoV4.pdsprj in Proteus and press Play.

Read the detailed guide

This page is for the files. The full tutorial, Micro SD Card Module Library for Proteus V1.0: Arduino Data Logger, 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 Micro SD Card Module Library for Proteus V1.0: Arduino Data Logger

File Structure

micro-sd-card-module-tep-v1-0-0704784952eb42a98be9e4cff4cffc08.zip10 files · 5 folders · 2.7 MB unpacked
MicroSD-Card-TEP-v1.0/10 files · 2.7 MB
Arduino Code/1 file · 7.5 KB
SD_Demo/1 file · 7.5 KB
INO SD_Demo.inoArduino sketch 7.5 KB
Proteus Library Files/2 files · 262.2 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPMICROSD.LIBProteus library 60.3 KB
Proteus Model Files/2 files · 1.2 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPMICROSD.DLLSimulation model 318.5 KB
Proteus Simulation/4 files · 1.3 MB
DSN MicroSD-Card-ArduinoUnoV4.pdsprjProteus simulation 23.7 KB
HEX SD_Demo.hexCompiled HEX file 63 KB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPMICROSD.DLLSimulation model 318.5 KB
TXT README.txtText file 20.6 KB

README

README.txt 352 lines
MICRO SD CARD MODULE LIBRARY FOR PROTEUS - V1.0 (SPI MODE, A 64 MB CARD WITH FAT16)
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/micro-sd-card-module-library-for-proteus-v1-0.html
Report a bug or suggest a feature (our forum):
  https://www.theengineeringprojects.com/forum/category/micro-sd-card-module-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
The demo sketch uses the SD library that comes with the Arduino IDE (nothing
to install):
  SD 1.3.0 (GNU GPL v3), by Arduino and SparkFun, based on sdfatlib by
  William Greiman:
    https://github.com/arduino-libraries/SD
Support us (the libraries are free):
  https://www.theengineeringprojects.com/donate

FILE STRUCTURE
MicroSD-Card-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                              201.9 KB   TEP Arduino boards V4.0 (UNO), to LIBRARY
|   |-- TEPMICROSD.LIB                                 60.3 KB   the micro SD card module (2 parts), to LIBRARY
|-- Proteus Model Files/
|   |-- TEPARDUINO.DLL                                883.5 KB   the Arduino board model, to MODELS
|   |-- TEPMICROSD.DLL                                318.5 KB   the micro SD card model, to MODELS
|-- Proteus Simulation/
|   |-- MicroSD-Card-ArduinoUnoV4.pdsprj               23.7 KB   demo: 2 UNOs, 2 micro SD modules
|   |-- SD_Demo.hex                                    63.0 KB   both UNOs (the demo sketch V1.0)
|   |-- TEPARDUINO.DLL                                883.5 KB   copy of the board model
|   |-- TEPMICROSD.DLL                                318.5 KB   copy of the model
|-- Arduino Code/
|   |-- SD_Demo/SD_Demo.ino                             7.5 KB   the demo sketch (the SD library)
|-- README.txt                                        ~21.6 KB   this file
Total: 2.72 MB (unzipped). The C++ source code of the model is not included.

WHAT IS IT?
A simulation model of the micro SD card module of the Arduino shops (the blue
"Micro SD Card Adapter": an AMS1117 3.3 V regulator, a 74LVC125A level
shifter, four 3.3 kohm resistors and the push-push socket) with a 64 MB card
in it. Our own model, written from the SD Physical Layer Simplified
Specification and the FAT file system:
  * SPI mode (mode 0, MSB first): CMD0 with CS LOW switches the card from SD
    mode to SPI mode (its CRC 95 is checked), CMD8 (CRC 87, the R7 echo of a
    version 2.00 card), CMD55 + ACMD41 until the card has finished its
    power-up (50 ms), CMD58 (the OCR: a standard-capacity card, SDSC, with
    byte addresses), CMD59, CMD9 / CMD10 (the CSD of a 64 MB card, the CID),
    CMD13, CMD16, CMD17 / CMD18 + CMD12 (a data token FE, 512 bytes, the
    CRC16), CMD24 / CMD25 (the tokens FE / FC, FD to stop; the data response
    05, then 00 while the card programs the block), ACMD23, ACMD13 and the
    erase commands CMD32 / 33 / 38.
  * R1 with its bits: idle, illegal command, CRC error, address error,
    parameter error. One FF byte before every response (NCR). The card
    answers nothing (MISO HIGH) while it is out of the socket, powered off or
    still in SD mode.
  * The card: 131072 blocks of 512 bytes, partitioned as a PC formats a small
    card - the MBR in block 0, one FAT16 partition from block 2048, 2 KB
    clusters (4 blocks), two FATs, 512 root entries, 32184 clusters.
  * The SPI clock is measured on every byte: the SD library initialises the
    card at 250 kHz and then reads and writes at 4 MHz.
  * A FAT16 reader for the file browser: folders, files, sizes, dates, the
    cluster chains, which file each block belongs to, and what changed after
    the sketch wrote (a new file, a new folder, a file that grew, a deleted
    file).
The module is drawn at about its real size next to the Arduino UNO V4.0 (the
real board is 42 x 24 mm), seen from above: the AMS1117, the 74LVC125A, the
four "332" resistors, the two capacitors, the 6-pin header GND VCC MISO MOSI
SCK CS and the socket with the card.
TEP additions: the SIMPLE / ADVANCE badge, the PWR LED and the SD LED (lit
while the sketch talks to the card), the panel button, and the card itself is
clickable: click it while the simulation runs to pull it out, once more to
put it back.

THE CARD AT START (the CARD property)
  DEMO   the demo files: README.TXT, HELLO.TXT, DATA.CSV (a 24-line table),
         CONFIG.INI, BIG.TXT (4380 bytes over three clusters) and the folders
         LOGS (LOG001.TXT, LOG002.TXT) and IMAGES (TEP.BMP, a 16 x 16 bitmap)
  EMPTY  formatted FAT16, no files
  RAW    never formatted: the card answers, SD.begin() fails (no FAT)
  NONE   the socket is empty - click it to put a card in
While it runs, FORMAT (an empty FAT16 card) and DEMO FILES (the demo files again)
on the panel or the toolbar work like taking the card to a PC and back: the
card starts again in SD mode and the sketch must call SD.begin() again (INIT in
the demo). So a sketch that still holds the old card's blocks in its cache gets
no answer instead of writing them over the new file system.

TWO DEVICES IN ONE LIBRARY (search "SD card" in Pick Devices):
  Simple    MICROSDTEP     "Micro SD Card Module V1.0 - Simple"
  Advance   MICROSDADVTEP  (the same, "- Advance")
            (category Modules > Storage)
  Simple    On-Sheet Panel: the STATUS panel under the module - the banner
            (green when the card is ready, blue while it initialises, grey
            in SD mode, amber for no card or no file system, red for no
            power), CARD: IN / OUT, FORMAT, DEMO FILES, UP, the file browser
            (click a folder to open it, a file to see its first lines or, for
            a binary file, its first bytes in hex), ten readouts and the last
            four events. The red X closes the panel; the PANEL button opens it
            again.
  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
            Card, Event log and Tests; gear and ? icons for Settings and
            Help; the palette icon switches the theme:
              Card       the banner, four tiles (the card, the file system,
                         the space, the traffic), the file browser with the
                         file shown beside it, the last SPI commands with
                         their arguments, R1 and what the card did; CARD,
                         FORMAT, DEMO FILES and UP on the toolbar
              Event log  the initialisation, reads, writes, new and deleted
                         files, the card, power, warnings (filters, pause,
                         clear)
              Tests      Init & SPI, Commands, File system (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 opens the window again.
Both devices use one model, TEPMICROSD.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 the Simple
part with the demo card, node 2 the Advance part with an empty card).
What the run showed:
  * Both cards started as the SD library starts them: 10 x FF at 250 kHz,
    CMD0, CMD8 (R7 1AA), ACMD41 ready after 50 ms and 77 tries, CMD58, then
    4 MHz - "SD.begin(10): OK - the card is ready" on both UNOs.
  * Node 1 listed the demo card (5 files, 2 folders, 5196 bytes), read
    README.TXT, DIR LOGS and LOGS/LOG002.TXT; INFO: "Card: SD2 (SDSC), 64 MB",
    "Volume: FAT16, 2048 bytes a cluster, 32184 clusters = 62 MB".
  * Node 2 (the empty card): LOG.CSV made by the logger, WRITE NOTES.TXT,
    MKDIR DATA, WRITE DATA/RUN1.TXT, DIR, CAT LOG.CSV - each new file and
    folder in the pop-up's browser and Event log.
  * The card out (the pop-up): "LOG.CSV: write failed - is the card in?";
    back in and INIT: the card started again and the logger went on.
  * DEL, then RMDIR refused while DATA was not empty, then removed.
  * DEMO FILES on U2 (a card swap) and INIT: the demo files, README.TXT read
    in the browser, a new LOG.CSV in cluster 14.
  * Node 1 with the guarded real mouse: README.TXT, IMAGES and TEP.BMP (in
    hex), UP, LOGS and LOG002.TXT clicked in the panel's browser; a click on
    the card took it out, CARD: OUT put it back, then INIT.
  * 46.4 s of simulation took 163 s with the pop-up and both monitors open
    (about 0.28 x real time).

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" (TEPMICROSD.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 TEPMICROSD.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 TEPMICROSD.IDX from the LIBRARY folder if it is there (Proteus makes
   a new index).
5. Start Proteus. In Pick Devices (P) search "SD card".

RUN THE DEMO
"Proteus Simulation\MicroSD-Card-ArduinoUnoV4.pdsprj" - keep the .hex file and
the two DLLs beside the project.
  ARD1: Arduino UNO V4.0 + U1 = the micro SD card module (Simple), CARD = DEMO
        - the demo files.
  ARD2: Arduino UNO V4.0 + U2 = the micro SD card module (Advance), CARD =
        EMPTY - a formatted card without files.
  Both UNOs run SD_Demo.hex: CS on D10, MOSI on D11, MISO on D12, SCK on D13;
  VCC and GND go to the rails. Each UNO 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). Each sketch
     starts the card (SD.begin), lists the root folder and then appends a
     line to LOG.CSV every 3 seconds.
  2. Type CAT README.TXT in ARD1's monitor, DIR LOGS, CAT LOGS/LOG002.TXT.
  3. In ARD2's monitor: WRITE NOTES.TXT Hello, MKDIR DATA, DIR, CAT LOG.CSV -
     the file browser shows each new file and folder.
  4. Click a file in the browser to see what is in it, a folder to open it.
  5. Click the card on the module to pull it out: the logger cannot open
     LOG.CSV any more. Click it again and type INIT.
Closed a monitor window? Click the UNO's USB port.

WIRING
  Module pin    Arduino UNO (the demo)
  VCC           5V (the AMS1117 makes the card's 3.3 V)
  GND           GND
  MISO          D12 (MISO)
  MOSI          D11 (MOSI)
  SCK           D13 (SCK)
  CS            D10 (any free pin - SD.begin(pin))
In the demo VCC and GND go to power terminals and the four SPI lines to labels
(CS_1, MOSI_1, MISO_1, SCK_1 ...) at the UNO's header. The serial monitors
need no wires: they are built into the Arduino UNO V4.0.
On the Arduino Mega the SPI pins are D50 (MISO), D51 (MOSI), D52 (SCK).
REAL HARDWARE:
 * The module's 74LVC125A keeps driving MISO even while CS is HIGH (its
   enable pin is tied to GND on most boards): another SPI device on the same
   bus may need a resistor or its own pins.
 * Format the card FAT16 or FAT32 (cards up to 32 GB); exFAT cards (64 GB
   and more) do not work with the SD library.
 * The SD library uses 8.3 names (README.TXT): long file names are not shown.
 * Power the module from 5V: the AMS1117 needs more than 3.3 V at its input.

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, grey = only an explanation).
  Init & SPI   Good for: SD.begin() that fails, a card that never gets ready,
               wrong wiring, a clock too fast. Power and the card, SPI mode
               (CMD0), the card version (CMD8), ready (ACMD41: how long and
               how many tries), the card type (CMD58), the SPI clock while it
               initialises and after, CRC and illegal commands; SD.begin()
               step by step.
  Commands     Good for: what the SD library really does - which blocks it
               reads and writes for one file, and why a command failed. The
               last 32 commands with the argument, R1 and what the card did
               (block 2049 - FAT 1, block 2333 - README.TXT ...).
  File system  Good for: a card the SD library cannot mount, a full card,
               understanding FAT16. The volume, the space used and free, the
               files and folders, the map of the card (the MBR, the boot
               sector, FAT 1, FAT 2, the root folder, the data area).

THE DEMO SKETCH ON THE SERIAL MONITORS
SD_Demo (both UNOs) - the SD library: SD.begin(10), the root listing, then a
line appended to LOG.CSV every 3 seconds (line,time_ms).
Commands:
  DIR [folder]             the files and folders (DIR LOGS)
  CAT file                 a file's text (CAT LOGS/LOG002.TXT)
  WRITE file text          a line appended to a file (it is made if needed)
  DEL file                 delete a file
  MKDIR folder             make a folder
  RMDIR folder             remove an empty folder
  LOG n                    a LOG.CSV line every n seconds (LOG 0 stops it)
  INFO                     the card and its volume (Sd2Card / SdVolume, the
                           CardInfo example's way)
  INIT                     SD.end() + SD.begin() - after the card was out
  HELP
Commands are not case-sensitive; type them in the UNO's built-in monitor and
press Enter.

PROPERTIES (double-click the part > Edit Properties)
  CARD    the card at start: DEMO, EMPTY, RAW or NONE (THE CARD AT START)
  PANEL   Simple only: the STATUS panel at the start, OPEN or CLOSED
Every run starts again from the properties: what the sketch wrote is gone
after Stop (the card lives in the simulation).
The demo's UNOs (ARDUINO UNO V4.0): PROGRAM SD_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
TEPMICROSD.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
* "SD.begin(10): FAILED": no card (click the socket), CARD = RAW (FORMAT on
  the panel / toolbar), MISO / MOSI swapped, CS on another pin than the
  sketch's, VCC missing (the PWR LED), or the part has no model
  (TEPMICROSD.DLL in MODELS and beside the project).
* Every command answers FF: the card is out, unpowered or still in SD mode
  (CMD0 never came with CS LOW) - Init & SPI shows which.
* The card was pulled out and put back: the card is in SD mode again - the
  sketch must call SD.begin() again (INIT in the demo).
* A file is missing: the SD library shows 8.3 names only; a folder needs DIR
  folder.
* After FORMAT or DEMO FILES the sketch gets no answer: like a card taken to a
  PC and back, the card must be initialised again (INIT in the demo).
* The files the sketch makes are dated 2000-01-01 01:00: the SD library's
  default - SdFile::dateTimeCallback() sets a real time (from an RTC).
* The simulation is slow while the sketch reads: each byte is 16 SCK edges -
  4 MHz SPI is a lot of edges for Proteus.
* 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/micro-sd-card-module-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 micro SD card model (TEPMICROSD.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 SD Physical Layer
  Simplified Specification and the FAT file system. It 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 .hex file is built from the demo sketch, the SD library 1.3.0 and the
  Arduino AVR core 1.8.6.
  - The SD library: Copyright (C) 2009 by William Greiman, (C) Copyright 2010
    SparkFun Electronics, Arduino; GNU General Public License v3. It comes
    with the Arduino IDE; its source code is available at
    https://github.com/arduino-libraries/SD (version 1.3.0). The .hex file
    (the demo sketch built with it) is under the same licence.
  - The Arduino AVR core 1.8.6 includes LGPL-licensed code; its source code is
    available at https://github.com/arduino/ArduinoCore-avr/tree/1.8.6
  The demo sketch is included (Arduino Code).
* Proteus is a product of Labcenter Electronics and is not included. Arduino is
  a trademark of Arduino SA. SD and microSD are trademarks of SD-3C LLC; the
  names describe the card the model answers like, not an endorsement. This
  library is not made or endorsed by the SD Association, SD-3C, Microchip /
  Atmel, Arduino, SparkFun 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\SD_Demo\SD_Demo.ino (the SD library is built
in), select Arduino Uno and use Sketch > Export Compiled Binary. Replace the
simulation's .hex with the exported HEX. SD_Demo needs 22,930 bytes of
flash and 1,201 bytes of RAM (the SD library's 512-byte block buffer is
most of it).

MODEL SCOPE AND LIMITS
Modelled: SPI mode at the bit level (MOSI read on SCK's rising edges, MISO
changed on its falling edges and when CS goes LOW), the commands listed in
WHAT IS IT?, R1 / R2 / R3 / R7, the data tokens, the CRC16 of the data, the
data response and the busy time after a write, SD mode until CMD0, the
power-up (ACMD41), the card out / in, power off / on; a 64 MB SDSC card with
an MBR and one FAT16 partition; the SPI clock rate.
How the parts work with the circuit: digital pins; CS, SCK and MOSI are read
at every edge; MISO is driven HIGH or LOW while CS is LOW, held weakly HIGH
while CS is HIGH (the 74LVC125A) and floats without VCC; VCC and GND are read
as logic levels.
Not modelled: SD mode (the 4-bit bus), SDHC / SDXC cards (block addresses),
the CRC7 of commands after CMD8 (CMD59 is accepted; the CRC is not checked
in SPI mode by default), write protection, the card's current, the 25 MHz
limit (any clock works), timing errors inside a byte.
The model's own choices: ACMD41 finishes 50 ms after the first one; a block
is programmed in 1.5 ms; an erase takes 0.5 ms a block; blocks never written
read 00; what the sketch writes lasts until Stop.

VERSION
TEP Micro SD card library V1.0 (Oct 2026). Devices MICROSDTEP / MICROSDADVTEP
(TEPMICROSD.LIB / TEPMICROSD.DLL). Demo sketch SD_Demo V1.0 (CS D10, MOSI D11,
MISO D12, SCK D13), the SD library 1.3.0. Demo board: ARDUINO UNO V4.0 (TEP
Arduino Library V4.0) with its built-in serial monitor.
Advertisement

Development1 release

  1. V1.0Micro SD Card Module 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 micro-sd-card-module-tep-v1-0-0704784952eb42a98be9e4cff4cffc08.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (MicroSD-Card-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move ArduinoV4TEP.LIB and TEPMICROSD.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 TEPMICROSD.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 SD_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 SD_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open MicroSD-Card-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

    Micro SD Card Module Library for Proteus V1.0: Arduino Data Logger 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 Micro SD Card Module 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?

Micro SD Card Module 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, 20bf14620dbd59be3ab6679686d17bdb126d50c12ac69f5a1d32b57f2d85fc24. In PowerShell run Get-FileHash "micro-sd-card-module-tep-v1-0-0704784952eb42a98be9e4cff4cffc08.zip"; on macOS or Linux run shasum -a 256 "micro-sd-card-module-tep-v1-0-0704784952eb42a98be9e4cff4cffc08.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 · micro-sd-card-module-tep-v1-0-0704784952eb42a98be9e4cff4cffc08.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

  • 45Total downloads
  • 4%Popularity
  • ProteusCategory
  • 0Comments
  • ssyedzainnasirUploaded by
  • 18 Oct 2026Uploaded at
Last 14 days22 downloads
SHA-256 20bf14620dbd59be3ab6679686d17bdb126d50c12ac69f5a1d32b57f2d85fc24
DocumentationMicro SD Card Module Library for Proteus V1.0: Arduino Data Logger
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.