Project Files of MCP2515 CAN Bus Module Library for Proteus V1.0: Arduino CAN
mcp2515-can-bus-module-tep-v1-0-5c5cc50ccd9c45b1a23d9cc17d02bd2d.zip

MCP2515 CAN Bus Module Library for Proteus V1.0
MCP2515 CAN Bus Module Library for Proteus V1.0 comes as a ZIP archive of 12 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
Looking for the files of MCP2515 CAN Bus Module Library for Proteus V1.0: Arduino CAN? MCP2515 CAN Bus Module Library for Proteus V1.0 is the ZIP package (1.2 MB) you need. It holds the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware. Below are the file structure, the README and the installation steps, so you can go from download to a working Proteus simulation in a few minutes.
What this library is
MCP2515-CAN-Bus-Module-Library-for-Proteus-v1.0.zip with the MCP2515 + TJA1050 CAN bus module (SPI, the registers and modes, 3 TX and 2 RX buffers with masks and filters, CAN frames bit by bit on CANH / CANL with stuffing, CRC-15, ACK, arbitration, error frames, TEC / REC, CABLE and NOISE), Simple and Advance (TEPMCP2515.LIB and TEPMCP2515.DLL), our Arduino UNO V4.0 library with its built-in serial monitor (ArduinoV4TEP.LIB and TEPARDUINO.DLL), the two-UNO simulation with an engine and a dashboard node (autowp-mcp2515), their HEX files, the sketches 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
- TEPMCP2515.LIB – Proteus library, 70.2 KB
- TEPARDUINO.DLL – Simulation model, 883.5 KB
- TEPMCP2515.DLL – Simulation model, 313 KB
- MCP2515-CAN-Bus-ArduinoUnoV4.pdsprj – Proteus simulation, 24.7 KB
- CAN_Node1.ino – Arduino sketch, 3.8 KB
- and 6 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 TEPMCP2515.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
- Step 3: Copy TEPARDUINO.DLL and TEPMCP2515.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 CAN_Node1.ino and CAN_Node2.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 CAN_Node1.hex and CAN_Node2.hex; on hardware, flash the same file.
- Step 7: Open MCP2515-CAN-Bus-ArduinoUnoV4.pdsprj in Proteus and press Play.
Read the detailed guide
This page is for the files. The full tutorial, MCP2515 CAN Bus Module Library for Proteus V1.0: Arduino CAN, 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
3.8 KB5.3 KB201.9 KB70.2 KB883.5 KB313 KB24.9 KB29.3 KB24.7 KB883.5 KB313 KB22.5 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in MCP2515 CAN Bus Module Library for Proteus V1.0: Arduino CAN. Open an image for its full size.












README
MCP2515 CAN BUS MODULE LIBRARY FOR PROTEUS - V1.0 (MCP2515 + TJA1050, CAN FRAMES BIT BY BIT)
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/mcp2515-can-bus-module-library-for-proteus-v1-0.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/mcp2515-can-bus-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 sketches use one Arduino library (not included - install it with the
Library Manager of the Arduino IDE, search "autowp-mcp2515"):
autowp-mcp2515 1.3.1 (MIT), by autowp (Dmitry) and Seeed Technology:
https://github.com/autowp/arduino-mcp2515
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
MCP2515-CAN-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO), to LIBRARY
| |-- TEPMCP2515.LIB 70.2 KB the MCP2515 CAN bus module (2 parts), to LIBRARY
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model, to MODELS
| |-- TEPMCP2515.DLL 313.0 KB the MCP2515 model, to MODELS
|-- Proteus Simulation/
| |-- CAN_Node1.hex 24.9 KB ARD1, node 1 (the engine) V1.0
| |-- CAN_Node2.hex 29.3 KB ARD2, node 2 (the dashboard) V1.0
| |-- MCP2515-CAN-Bus-ArduinoUnoV4.pdsprj 24.7 KB demo: 2 UNOs, 2 MCP2515 modules on one bus
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPMCP2515.DLL 313.0 KB copy of the model
|-- Arduino Code/
| |-- CAN_Node1/CAN_Node1.ino 3.8 KB node 1 (autowp-mcp2515)
| |-- CAN_Node2/CAN_Node2.ino 5.3 KB node 2 (autowp-mcp2515)
|-- README.txt ~23.7 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 MCP2515 CAN bus module of the Arduino shops: the
MCP2515 CAN controller (SPI) with its 8 MHz crystal and the TJA1050 CAN
transceiver on a small blue board, the green screw terminal H L, the J1 jumper
(the 120 ohm terminator) and a 7-pin header. Our own model, written from the
MCP2515 datasheet and the CAN 2.0 specification:
* SPI (mode 0, up to 10 MHz): the instructions RESET, READ, WRITE, BIT
MODIFY, READ STATUS, RX STATUS, LOAD TX BUFFER, READ RX BUFFER and RTS; the
registers with their reset values.
* The modes: configuration (after RESET), normal, loopback, listen-only and
sleep, from CANCTRL to CANSTAT.
* The bit timing from CNF1 - CNF3 and the crystal (the CRYSTAL property): the
time quantum, the bit time, the sample point.
* Three TX buffers (TXREQ, the priority, one-shot, abort) and two RX buffers
with the masks and the six filters (the rollover from RXB0 to RXB1, the
overflow flags), the interrupt flags and the INT pin.
* The CAN bus bit by bit on CANH / CANL: SOF, the 11-bit or 29-bit
identifier, RTR, the DLC, up to 8 data bytes, the CRC-15, bit stuffing
after 5 equal bits, the ACK slot driven by the receivers, the end of frame.
* Arbitration: two nodes that start together - the lower identifier wins,
the other node receives its frame and sends again after it.
* Errors: bit, stuff, CRC, form and ACK errors, error frames (6 dominant
bits), the automatic retransmission, TEC / REC, error active, error
passive and bus-off (with the recovery).
* Connect the CANH and CANL pins of two or more modules: every module sees
the same bus. The bit rate measured on the bus is compared with this
node's own (the wrong speed or crystal in a sketch shows at once).
The module is drawn at about its real size next to the Arduino UNO V4.0 (the
real board is about 44 x 28 mm), seen from above: the header INT SCK SI SO CS
GND VCC on the left, the MCP2515 (SOIC-18), the 8.000 MHz crystal, the TJA1050
(SOIC-8), the screw terminal H L and the J1 jumper on the right.
TEP additions: the SIMPLE / ADVANCE badge, the PWR LED, the TX LED (this node
sends) and the RX LED (a frame received), the panel button, and two actions:
CABLE (cut this node off the bus and back) and NOISE (this node reads one bit
of the next frame wrong - its CRC fails, an error frame follows and the sender
sends the frame again).
TWO DEVICES IN ONE LIBRARY (search "MCP2515" or "CAN" in Pick Devices):
Simple MCP2515TEP "MCP2515 CAN Bus Module V1.0 - Simple"
Advance MCP2515ADVTEP (the same, "- Advance")
(category Modules > Communication)
Simple On-Sheet Panel: the STATUS panel under the module - the banner
(green while all is well, amber with error frames or the cable
cut, red for bus-off, the wrong bit rate or no power), CABLE,
NOISE, CLEAR, ten readouts (the mode, the bit rate, sent /
received, the error frames, TEC / REC, the error state, the last
frame, the RX buffers, INT, the bus load), the last six frames on
the bus 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
Bus, Event log and Tests; gear and ? icons for Settings and
Help; the palette icon switches the theme:
Bus the banner, four tiles (the bit rate, this node, the
traffic, the errors), the frames on the bus - click
one to see it field by field (the identifier, the
control bits, the data, the CRC-15, the ACK slot) and
bit by bit (the stuff bits marked); CABLE, NOISE and
CLEAR on the toolbar
Event log the frames, the errors, the modes, SPI, power,
warnings (filters, pause, clear)
Tests Bit timing, Registers, Wiring (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, TEPMCP2515.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 engine, node 2 the Advance part with the dashboard).
What the run showed:
* Both MCP2515s went from RESET to NORMAL at 500 kbps (8 TQ of 0.25 us, the
sample point at 62.5 %); node 1 sent ID 0x100 every 500 ms ("ID 0x100
sent: 850 rpm, coolant 60 C, 21 km/h") and node 2 ID 0x200 every second,
every frame acknowledged, no error frame.
* LED ON on node 2: the green LED on ARD1's D7 lit ("from node 2: LED ON").
SEND 18DAF110 02 01 0C sent an extended frame; ERRORS: TEC 0, REC 0,
EFLG 0.
* LOAD: 4346 frames of ID 0x300 in one second, and node 1's ID 0x100 frames
still arrived - they won the arbitration at bit 2 (U2's Event log).
* NOISE on U2: a CRC error, an error frame, the frame sent again 0.2 ms
later; node 1's TEC 7 (an ACK error, then a good frame).
* CABLE on U2: node 1 alone - ACK errors, TEC 133 (error passive), "all 3
TX buffers still waiting"; back on the bus the three waiting frames went
out (the highest buffer number first) and TEC fell to 127.
* Node 1 with the guarded real mouse: NOISE on its panel (the dashboard's
frame read with a CRC error and sent again), CABLE cut (error passive,
TEC 134, 16475 tries without an ACK) and back.
* 28.2 s of simulation took 96 s with the pop-up and both monitors open
(about 0.29 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" (TEPMCP2515.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 TEPMCP2515.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 TEPMCP2515.IDX from the LIBRARY folder if it is there (Proteus makes
a new index).
5. Start Proteus. In Pick Devices (P) search "MCP2515".
RUN THE DEMO
"Proteus Simulation\MCP2515-CAN-Bus-ArduinoUnoV4.pdsprj" - keep the two .hex
files and the two DLLs beside the project.
ARD1: Arduino UNO V4.0 + U1 = the MCP2515 module (Simple) - node 1, the
engine, CAN_Node1.hex: ID 0x100 every 500 ms (the engine speed, the
coolant temperature and the road speed - made-up values that rise and
fall); ID 0x200 from node 2 switches its green LED on D7 (with a
220 ohm resistor; not the UNO's L LED - D13 is the SPI clock).
ARD2: Arduino UNO V4.0 + U2 = the MCP2515 module (Advance) - node 2, the
dashboard, CAN_Node2.hex: prints node 1's frames, sends the LED state
(ID 0x200) every second and takes commands.
On both: CS on D10, SI on D11 (MOSI), SO on D12 (MISO), SCK on D13, INT on
D2; VCC and GND to the rails; CANH and CANL to the labels CANH_BUS and
CANL_BUS - the bus between the two nodes. 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). ARD1 prints
every frame it sends, ARD2 every frame it receives.
2. Type LED ON in ARD2's monitor: the green LED on ARD1's D7 lights ("from node
2: LED ON" on ARD1). LED OFF turns it off.
3. SEND 123 11 22 33 sends any frame (hex; an ID above 7FF is extended).
ERRORS prints TEC, REC and EFLG.
4. LOAD: node 2 fills the bus with ID 0x300 frames for one second - node 1's
ID 0x100 frames still get through: the lower ID wins the arbitration.
5. Click NOISE on U1's panel or on U2's pop-up: that node reads one bit of
the next frame wrong - an error frame, and the frame is sent again (the
sketches never see the broken frame). Click CABLE: the node is off the
bus; the other node gets no ACK, its TEC climbs to 128 (error passive)
and its TX buffers fill. Click CABLE again: the waiting frames go out.
Closed a monitor window? Click the UNO's USB port.
WIRING
Module pin Arduino UNO (the demo)
VCC 5V (the TJA1050 needs 5 V)
GND GND
CS D10
SI D11 (MOSI)
SO D12 (MISO)
SCK D13
INT D2 - LOW while a frame (or an error flag) waits
CANH CANH of the other node(s)
CANL CANL of the other node(s)
In the demo VCC and GND go to power terminals and the other pins to labels
(CS_1, MOSI_1, MISO_1, SCK_1, INT_1 ... CANH_BUS, CANL_BUS). Node 1's LED: D7 to
the label LED_1, a 220 ohm resistor, the green LED, GND. D13 is the SPI clock,
so the UNO's L LED on D13 only flickers with every SPI transfer. The serial
monitors need no wires: they are built into the Arduino UNO V4.0.
REAL HARDWARE:
* CANH to CANH and CANL to CANL on every node (a twisted pair); connect GND
between the nodes too.
* Terminate the bus with 120 ohm at its two ends only: the J1 jumper on these
modules - remove it on the nodes in the middle of the bus.
* Most modules have an 8 MHz crystal: setBitrate(CAN_500KBPS, MCP_8MHZ).
setBitrate(CAN_500KBPS) alone means a 16 MHz crystal - on an 8 MHz module
the node then runs at 250 kbps and hears nothing.
* Every node on one bus needs the same bit rate.
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).
Bit timing Good for: two nodes that never hear each other, the wrong speed
in setBitrate(), MCP_8MHZ against MCP_16MHZ. The crystal, CNF1
- CNF3 decoded (the time quantum, the segments, the sample
point), the bit rate, the shortest pulses measured on the bus
with a verdict; the values autowp-mcp2515 writes.
Registers Good for: a mode that never changes, masks that let nothing
through, an INT pin that stays LOW, TXREQ that never clears.
CANSTAT, CANCTRL, CANINTE, CANINTF, EFLG, TEC / REC, the three
TXBnCTRL and two RXBnCTRL decoded, the masks and filters.
Wiring Good for: begin() that fails, nothing on the bus, CANH and CANL
swapped, a node alone on the bus. Power, SPI seen, the mode,
INT, the cable, ACK errors, CANH / CANL undefined.
THE DEMO SKETCHES ON THE SERIAL MONITORS
Both use autowp-mcp2515 1.3.1: mcp2515.reset(), setBitrate(CAN_500KBPS,
MCP_8MHZ), setNormalMode(); sendMessage() and readMessage() with a struct
can_frame; INT on D2 tells the sketch that something waits.
CAN_Node1 (ARD1) - the engine: every 500 ms ID 0x100 with 4 bytes (the rpm in
two bytes, the coolant temperature, the speed), printed as "ID 0x100 sent:
850 rpm, coolant 60 C, 21 km/h". ID 0x200 from node 2 sets its LED on D7
(printed when it changes). When all 3 TX buffers still wait (nobody
acknowledges) it prints "not sent: all 3 TX buffers still waiting - nobody
acknowledges (TEC n)"; an error interrupt prints TEC, REC and EFLG (once a
second at most).
CAN_Node2 (ARD2) - the dashboard: prints node 1's frames ("engine: 850 rpm,
coolant 60 C, 21 km/h") and any other frame (ID, length, bytes); sends the LED
state every second. Commands:
LED ON / LED OFF the LED state for node 1, sent at once
SEND id b0 b1 ... any frame (hex; an ID above 7FF is sent extended)
LOAD ID 0x300 frames back to back for 1 s
ERRORS TEC, REC and EFLG of its MCP2515
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)
CRYSTAL the crystal on the module: 8MHz (the blue modules) or 16MHz
PANEL Simple only: the STATUS panel at the start, OPEN or CLOSED
Every run starts again from the properties.
The demo's UNOs (ARDUINO UNO V4.0): PROGRAM CAN_Node1.hex / CAN_Node2.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
TEPMCP2515.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
* "MCP2515 not answering": CS, SCK, SI or SO not connected, or no VCC (the
PWR LED) - Wiring shows whether any SPI came in.
* The nodes never hear each other: different bit rates or crystals (Bit
timing compares the bus with this node), CANH and CANL swapped, one node
still in configuration mode (setNormalMode() missing), the cable cut (CABLE).
* "not sent: all 3 TX buffers still waiting": no other node acknowledges - it
is alone on the bus, in configuration or listen-only mode, or at another
bit rate.
* TEC 128, error passive: the same - nobody acknowledges this node's frames.
* Frames lost: the RX buffers hold two frames - read them faster (INT on D2)
or the overflow flags (EFLG) are set.
* 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/mcp2515-can-bus-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 MCP2515 model (TEPMCP2515.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 MCP2515 datasheet and the
CAN 2.0 specification. 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 files are built from the demo sketches, autowp-mcp2515 1.3.1 and
the Arduino AVR core 1.8.6 (with its SPI library).
- autowp-mcp2515 (arduino-mcp2515): https://github.com/autowp/arduino-mcp2515
The MIT License (MIT)
Copyright (c) 2013 Seeed Technology Inc.
Copyright (c) 2016 Dmitry
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 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 sketches are included (Arduino Code).
* Proteus is a product of Labcenter Electronics and is not included. Arduino is
a trademark of Arduino SA. MCP2515 names the chip of compatible modules, not
an endorsement. This library is not made or endorsed by Microchip, NXP,
Bosch, Arduino or Labcenter.
REBUILDING THE FIRMWARE (OPTIONAL)
The HEX files are supplied; Arduino IDE is not needed to run the demo. To
edit a sketch, install "autowp-mcp2515" (1.3.1 or newer) with the Library
Manager, open Arduino Code\CAN_Node1\CAN_Node1.ino or Arduino Code\CAN_Node2\
CAN_Node2.ino, select Arduino Uno and use Sketch > Export Compiled Binary.
Replace the simulation's .hex with the exported HEX. CAN_Node1 needs 9,040
bytes of flash and 519 bytes of RAM, CAN_Node2 10,666 and 593.
MODEL SCOPE AND LIMITS
Modelled: the MCP2515's SPI instructions and registers, the modes, the bit
timing (CNF1 - CNF3, the crystal), the TX buffers (priority, one-shot,
abort), the RX buffers with the masks, the filters, the rollover and the
overflow, the interrupt flags and INT, the CAN frames bit by bit (standard
and extended, data and remote frames, stuffing, CRC-15, ACK), arbitration,
bit / stuff / CRC / form / ACK errors, error frames, TEC / REC, error active,
error passive, bus-off and its recovery; CABLE and NOISE.
How the parts work with the circuit: digital pins; CS, SCK and SI are read at
every edge (SPI mode 0), SO is driven while CS is LOW (high impedance
otherwise), INT is driven HIGH or LOW; CANH and CANL are driven strongly for
a dominant bit (CANH HIGH, CANL LOW) and weakly for a recessive bit (CANH LOW,
CANL HIGH), so a dominant bit from any node wins; each node reads CANH at its
own sample points; VCC and GND are read as logic levels.
Not modelled: the analog levels on CANH / CANL, the cable (length, delay,
reflections - the 120 ohm terminator J1 is drawn, not simulated), the
resynchronisation inside a frame (all nodes share the crystal's exact rate),
overload frames, the 8 bits of "suspend transmission" of an error-passive
sender, the CLKOUT, RXnBF and TXnRTS pins (not on the module's header), the
TJA1050's slope control, CAN FD.
The model's own choices: NOISE makes this node read the first bit after the
DLC of the next frame it receives wrong (its CRC fails); after an error frame
a node takes a falling edge as SOF once the bus has been recessive for 3 bits;
a node with a frame waiting that sees another node's SOF on an idle bus joins
the arbitration; with the cable cut a node only hears itself and its retries
are counted frame by frame; the event log lists at most 20 frames a second
one by one (a busy bus is counted).
VERSION
TEP MCP2515 CAN library V1.0 (Oct 2026). Devices MCP2515TEP / MCP2515ADVTEP
(TEPMCP2515.LIB / TEPMCP2515.DLL). Demo sketches CAN_Node1 V1.0 and CAN_Node2
V1.0 (CS D10, SI D11, SO D12, SCK D13, INT D2, node 1's LED D7;
autowp-mcp2515 1.3.1, 500 kbps, 8 MHz crystal). Demo board: ARDUINO UNO V4.0
(TEP Arduino Library V4.0) with its built-in serial monitor.Development1 release
-
V1.0MCP2515 CAN Bus 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
Extract the archive
Right-click mcp2515-can-bus-module-tep-v1-0-5c5cc50ccd9c45b1a23d9cc17d02bd2d.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (MCP2515-CAN-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB and TEPMCP2515.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 TEPMCP2515.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 CAN_Node1.ino and CAN_Node2.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 CAN_Node1.hex and CAN_Node2.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open MCP2515-CAN-Bus-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
MCP2515 CAN Bus Module Library for Proteus V1.0: Arduino CAN explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download MCP2515 CAN Bus 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?
MCP2515 CAN Bus Module Library for Proteus V1.0 comes as a ZIP archive of 12 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 12 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, 59a0cd15b7abfbfb42c52ec9b1ef0082312be0e4f54305aacd61dfe19785bf04. In PowerShell run Get-FileHash "mcp2515-can-bus-module-tep-v1-0-5c5cc50ccd9c45b1a23d9cc17d02bd2d.zip"; on macOS or Linux run shasum -a 256 "mcp2515-can-bus-module-tep-v1-0-5c5cc50ccd9c45b1a23d9cc17d02bd2d.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.
- 54Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 19 Oct 2026Uploaded at
59a0cd15b7abfbfb42c52ec9b1ef0082312be0e4f54305aacd61dfe19785bf04
















Comments
0