TEP DOWNLOAD CENTER

Project Files of Teensy 4.1 Library for Proteus: MCP2515 CAN Logger, SD, W5500

Libraries Code Projects Simulation
tep://download-terminal teensy-4-1-tep-v1-0-5c661dddb459469b94821c68fc44440b.zip ZIP archiveV1.0Verified0 downloadsFree
Teensy 4.1 Library for Proteus: a CAN bus logger with an MCP2515, a micro SD card module and a W5500
Proteus library · File 1 of 1

Teensy 4.1 Library for Proteus V1.0

Teensy 4.1 Library for Proteus V1.0 comes as a ZIP archive of 192 files (4.2 MB, 9.2 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch, an Arduino library, compiled HEX firmware and source code.

  • LIBProteus library
  • DLLProteus model
  • DSNProteus simulation
  • INOArduino sketch
  • LIBArduino library
  • HEXHEX firmware
  • SRCSource code

Description

Teensy-4-1-Library-for-Proteus-v1.0.zip with the Teensy 4.1 in Proteus (your Teensy sketch with the Teensy's pin numbers, the orange pin 13 LED and a serial monitor; TEPTEENSY41.LIB, TEPNET.DLL and the TEP Boards for Proteus add-on 1.30.0), the MCP2515, Arduino UNO V4.0, Micro SD and W5500 libraries, the Laptop / Mobile WiFi Monitor symbols, the CAN bus logger demo with its two sketches and a README.

Read Teensy 4.1 Library for Proteus: MCP2515 CAN Logger, SD, W5500

File Structure

teensy-4-1-tep-v1-0-5c661dddb459469b94821c68fc44440b.zip192 files · 96 folders · 9.2 MB unpacked
Teensy-4-1-TEP-v1.0/192 files · 9.2 MB
Arduino Code/173 files · 765.4 KB
CAN_Node1/1 file · 3.8 KB
INO CAN_Node1.inoArduino sketch 3.8 KB
Teensy41_CAN_Logger/1 file · 12.7 KB
INO Teensy41_CAN_Logger.inoArduino sketch 12.7 KB
TEP Boards for Proteus/171 files · 748.9 KB
hardware/171 files · 748.9 KB
tep/171 files · 748.9 KB
avr/171 files · 748.9 KB
cores/52 files · 259.3 KB
tep32/52 files · 259.3 KB
SRC abi.cppSource file 1.1 KB
SRC Arduino.hSource file 7.7 KB
SRC binary.hSource file 11 KB
SRC CDC.cppSource file 8.5 KB
SRC Client.hSource file 1.5 KB
SRC Esp.cppSource file 1.7 KB
SRC Esp.hSource file 1.8 KB
SRC esp32-hal-ledc.cSource file 5.6 KB
SRC esp32-hal-misc.cppSource file 4.9 KB
SRC esp32-hal-rgb.cSource file 1.1 KB
SRC esp32-hal.hSource file 5.8 KB
SRC HardwareSerial.cppSource file 9.6 KB
SRC HardwareSerial.hSource file 5.9 KB
SRC HardwareSerial0.cppSource file 2.5 KB
SRC HardwareSerial2.cppSource file 1.9 KB
SRC HardwareSerial_private.hSource file 4.4 KB
SRC hooks.cSource file 1.1 KB
SRC IPAddress.cppSource file 3 KB
SRC IPAddress.hSource file 3 KB
SRC main.cppSource file 1.8 KB
FILE newFile 2.5 KB
SRC new.cppSource file 3.5 KB
SRC new.hSource file 149 B
SRC PluggableUSB.cppSource file 2.7 KB
SRC PluggableUSB.hSource file 2 KB
SRC Print.cppSource file 6.4 KB
SRC Print.hSource file 3.2 KB
SRC Printable.hSource file 1.3 KB
SRC Server.hSource file 963 B
SRC Stream.cppSource file 8.6 KB
SRC Stream.hSource file 5.9 KB
SRC tep32_link.cSource file 5.8 KB
SRC tep32_link.hSource file 8.4 KB
SRC tep32_private.hSource file 1.5 KB
SRC Tone.cppSource file 14.7 KB
SRC Udp.hSource file 4.3 KB
SRC USBAPI.hSource file 6.1 KB
SRC USBCore.cppSource file 20.1 KB
SRC USBCore.hSource file 8.2 KB
SRC USBDesc.hSource file 2 KB
SRC WCharacter.hSource file 4.5 KB
SRC WInterrupts.cSource file 311 B
SRC wiring.cSource file 12.3 KB
SRC wiring_analog.cSource file 5.6 KB
SRC wiring_digital.cSource file 3.6 KB
SRC wiring_private.hSource file 2.2 KB
SRC wiring_pulse.cSource file 3.4 KB
SRC wiring_pulse.SSource file 5.9 KB
SRC wiring_shift.cSource file 1.5 KB
SRC WMath.cppSource file 1.6 KB
SRC WString.cppSource file 16.6 KB
SRC WString.hSource file 9.7 KB
libraries/84 files · 223.4 KB
Arduino_LED_Matrix/3 files · 7.8 KB
src/2 files · 7.4 KB
LIB Arduino_LED_Matrix.cppArduino library file 3.6 KB
LIB Arduino_LED_Matrix.hArduino library file 3.8 KB
LIB library.propertiesArduino library file 504 B
Arduino_RouterBridge/3 files · 19.8 KB
src/2 files · 19.3 KB
LIB Arduino_RouterBridge.cppArduino library file 8.3 KB
LIB Arduino_RouterBridge.hArduino library file 10.9 KB
LIB library.propertiesArduino library file 522 B
EEPROM/12 files · 22.6 KB
examples/8 files · 11 KB
eeprom_clear/1 file · 918 B
INO eeprom_clear.inoArduino sketch 918 B
eeprom_crc/1 file · 1.4 KB
INO eeprom_crc.inoArduino sketch 1.4 KB
eeprom_get/1 file · 1.8 KB
INO eeprom_get.inoArduino sketch 1.8 KB
eeprom_iteration/1 file · 1 KB
INO eeprom_iteration.inoArduino sketch 1 KB
eeprom_put/1 file · 1.3 KB
INO eeprom_put.inoArduino sketch 1.3 KB
eeprom_read/1 file · 1.4 KB
INO eeprom_read.inoArduino sketch 1.4 KB
eeprom_update/1 file · 1.8 KB
INO eeprom_update.inoArduino sketch 1.8 KB
eeprom_write/1 file · 1.4 KB
INO eeprom_write.inoArduino sketch 1.4 KB
src/1 file · 5.7 KB
LIB EEPROM.hArduino library file 5.7 KB
TXT keywords.txtText file 502 B
LIB library.propertiesArduino library file 463 B
MD README.mdReadme 5 KB
ESP32Servo/2 files · 2 KB
src/1 file · 1.6 KB
LIB ESP32Servo.hArduino library file 1.6 KB
LIB library.propertiesArduino library file 368 B
ESP8266HTTPClient/2 files · 872 B
src/1 file · 406 B
LIB ESP8266HTTPClient.hArduino library file 406 B
LIB library.propertiesArduino library file 466 B
ESP8266mDNS/2 files · 848 B
src/1 file · 404 B
LIB ESP8266mDNS.hArduino library file 404 B
LIB library.propertiesArduino library file 444 B
ESP8266WebServer/2 files · 937 B
src/1 file · 460 B
LIB ESP8266WebServer.hArduino library file 460 B
LIB library.propertiesArduino library file 477 B
ESP8266WiFi/2 files · 1.2 KB
src/1 file · 739 B
LIB ESP8266WiFi.hArduino library file 739 B
LIB library.propertiesArduino library file 448 B
ESPmDNS/2 files · 1.6 KB
src/1 file · 1.3 KB
LIB ESPmDNS.hArduino library file 1.3 KB
LIB library.propertiesArduino library file 350 B
ETH/3 files · 10.3 KB
src/2 files · 9.7 KB
LIB ETH.cppArduino library file 5.7 KB
LIB ETH.hArduino library file 4 KB
LIB library.propertiesArduino library file 562 B
HTTPClient/3 files · 11.6 KB
src/2 files · 11.3 KB
LIB HTTPClient.cppArduino library file 7.2 KB
LIB HTTPClient.hArduino library file 4.1 KB
LIB library.propertiesArduino library file 371 B
LEAmDNS/2 files · 868 B
src/1 file · 390 B
LIB LEAmDNS.hArduino library file 390 B
LIB library.propertiesArduino library file 478 B
Preferences/3 files · 10 KB
src/2 files · 9.6 KB
LIB Preferences.cppArduino library file 5.1 KB
LIB Preferences.hArduino library file 4.6 KB
LIB library.propertiesArduino library file 371 B
Servo/2 files · 652 B
src/1 file · 294 B
LIB Servo.hArduino library file 294 B
LIB library.propertiesArduino library file 358 B
SPI/6 files · 23.7 KB
examples/2 files · 6.4 KB
BarometricPressureSensor/1 file · 4.4 KB
INO BarometricPressureSensor.inoArduino sketch 4.4 KB
DigitalPotControl/1 file · 1.9 KB
INO DigitalPotControl.inoArduino sketch 1.9 KB
src/2 files · 16 KB
LIB SPI.cppArduino library file 5.6 KB
LIB SPI.hArduino library file 10.4 KB
TXT keywords.txtText file 835 B
LIB library.propertiesArduino library file 518 B
WebServer/3 files · 13.9 KB
src/2 files · 13.5 KB
LIB WebServer.cppArduino library file 9.1 KB
LIB WebServer.hArduino library file 4.4 KB
LIB library.propertiesArduino library file 439 B
WiFi/15 files · 46.7 KB
src/14 files · 46.2 KB
LIB tep_wifi_link.cppArduino library file 3.9 KB
LIB tep_wifi_link.hArduino library file 1.2 KB
LIB WiFi.cppArduino library file 9.3 KB
LIB WiFi.hArduino library file 7.1 KB
LIB WiFiClient.cppArduino library file 4.4 KB
LIB WiFiClient.hArduino library file 2.4 KB
LIB WiFiClientSecure.hArduino library file 388 B
LIB WiFiEvents.cppArduino library file 5.1 KB
LIB WiFiMulti.hArduino library file 893 B
LIB WiFiServer.cppArduino library file 667 B
LIB WiFiServer.hArduino library file 1.3 KB
LIB WiFiType.hArduino library file 5.5 KB
LIB WiFiUdp.cppArduino library file 2.3 KB
LIB WiFiUdp.hArduino library file 1.8 KB
LIB library.propertiesArduino library file 468 B
WiFiNINA/2 files · 1.4 KB
src/1 file · 882 B
LIB WiFiNINA.hArduino library file 882 B
LIB library.propertiesArduino library file 530 B
WiFiS3/2 files · 1.2 KB
src/1 file · 791 B
LIB WiFiS3.hArduino library file 791 B
LIB library.propertiesArduino library file 487 B
Wire/13 files · 45.5 KB
examples/7 files · 8.5 KB
digital_potentiometer/1 file · 894 B
INO digital_potentiometer.inoArduino sketch 894 B
i2c_scanner/1 file · 2 KB
INO i2c_scanner.inoArduino sketch 2 KB
master_reader/1 file · 730 B
INO master_reader.inoArduino sketch 730 B
master_writer/1 file · 646 B
INO master_writer.inoArduino sketch 646 B
SFRRanger_reader/1 file · 2.6 KB
INO SFRRanger_reader.inoArduino sketch 2.6 KB
slave_receiver/1 file · 977 B
INO slave_receiver.inoArduino sketch 977 B
slave_sender/1 file · 702 B
INO slave_sender.inoArduino sketch 702 B
src/4 files · 36 KB
utility/2 files · 22.4 KB
LIB twi.cArduino library file 20.6 KB
LIB twi.hArduino library file 1.8 KB
LIB Wire.cppArduino library file 10.4 KB
LIB Wire.hArduino library file 3.2 KB
TXT keywords.txtText file 596 B
LIB library.propertiesArduino library file 406 B
variants/30 files · 195.9 KB
blackpill_f411/1 file · 7.7 KB
SRC pins_arduino.hSource file 7.7 KB
bluepill_f103c8/1 file · 7.7 KB
SRC pins_arduino.hSource file 7.7 KB
d1_mini/1 file · 5.9 KB
SRC pins_arduino.hSource file 5.9 KB
d1_r2/1 file · 6.4 KB
SRC pins_arduino.hSource file 6.4 KB
esp32c3_supermini/1 file · 5.3 KB
SRC pins_arduino.hSource file 5.3 KB
esp32c6_devkitc1/1 file · 5.7 KB
SRC pins_arduino.hSource file 5.7 KB
esp32s3_devkitc1/1 file · 7.7 KB
SRC pins_arduino.hSource file 7.7 KB
esp32_devkitc_v4/1 file · 6.4 KB
SRC pins_arduino.hSource file 6.4 KB
esp32_devkit_v1/1 file · 6.3 KB
SRC pins_arduino.hSource file 6.3 KB
lilygo_t_display_s3/1 file · 8.3 KB
SRC pins_arduino.hSource file 8.3 KB
lolin_s2_mini/1 file · 7.2 KB
SRC pins_arduino.hSource file 7.2 KB
mkr_wifi_1010/1 file · 6 KB
SRC pins_arduino.hSource file 6 KB
nano_33_iot/1 file · 6.1 KB
SRC pins_arduino.hSource file 6.1 KB
nano_esp32/1 file · 6.3 KB
SRC pins_arduino.hSource file 6.3 KB
nano_every/1 file · 6 KB
SRC pins_arduino.hSource file 6 KB
nano_rp2040_connect/1 file · 6.2 KB
SRC pins_arduino.hSource file 6.2 KB
nodemcu_v2/1 file · 6.1 KB
SRC pins_arduino.hSource file 6.1 KB
nodemcu_v3/1 file · 5.8 KB
SRC pins_arduino.hSource file 5.8 KB
nucleo_f401re/1 file · 7 KB
SRC pins_arduino.hSource file 7 KB
pico2/1 file · 6.5 KB
SRC pins_arduino.hSource file 6.5 KB
pico2_w/1 file · 6.6 KB
SRC pins_arduino.hSource file 6.6 KB
pico_w/1 file · 6.5 KB
SRC pins_arduino.hSource file 6.5 KB
teensy41/1 file · 7.5 KB
SRC pins_arduino.hSource file 7.5 KB
ttgo_t_display/1 file · 7.7 KB
SRC pins_arduino.hSource file 7.7 KB
uno_q/1 file · 7.1 KB
SRC pins_arduino.hSource file 7.1 KB
uno_r4_minima/1 file · 5.8 KB
SRC pins_arduino.hSource file 5.8 KB
uno_r4_wifi/1 file · 5.9 KB
SRC pins_arduino.hSource file 5.9 KB
uno_wifi_rev2/1 file · 5.9 KB
SRC pins_arduino.hSource file 5.9 KB
wt32_eth01/1 file · 7 KB
SRC pins_arduino.hSource file 7 KB
xiao_esp32c3/1 file · 5.5 KB
SRC pins_arduino.hSource file 5.5 KB
TXT boards.txtText file 14.9 KB
TXT LICENSE-LGPL-2.1.txtText file 25.9 KB
TXT LICENSE-MIT.txtText file 1.3 KB
TXT platform.txtText file 8.5 KB
TXT README.txtText file 19.6 KB
Proteus Library Files/7 files · 439.5 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPLAPTOP.LIBProteus library 39.5 KB
LIB TEPMCP2515.LIBProteus library 70.2 KB
LIB TEPMICROSD.LIBProteus library 60.3 KB
LIB TEPMOBILE.LIBProteus library 13.1 KB
LIB TEPTEENSY41.LIBProteus library 31.7 KB
LIB TEPW5500MOD.LIBProteus library 22.8 KB
Proteus Model Files/4 files · 3.9 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPMCP2515.DLLSimulation model 313 KB
DLL TEPMICROSD.DLLSimulation model 318.5 KB
DLL TEPNET.DLLSimulation model 2.5 MB
Proteus Simulation/7 files · 4.1 MB
HEX CAN_Node1.hexCompiled HEX file 24.9 KB
DSN Teensy-4-1-CAN-Logger.pdsprjProteus simulation 37.7 KB
HEX Teensy41_CAN_Logger.hexCompiled HEX file 92.1 KB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPMCP2515.DLLSimulation model 313 KB
DLL TEPMICROSD.DLLSimulation model 318.5 KB
DLL TEPNET.DLLSimulation model 2.5 MB
TXT README.txtText file 15.4 KB

README

README.txt 200 lines
TEENSY 4.1 LIBRARY FOR PROTEUS - V1.0 (YOUR TEENSY SKETCH, AN MCP2515 + MICRO SD + W5500 CAN BUS LOGGER)
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/teensy-4-1-library-for-proteus.html
Report a bug or suggest a feature (our forum):
  https://www.theengineeringprojects.com/forum/category/teensy-4-1-proteus-library
The demo's parts are our libraries (included) - their articles:
  MCP2515 CAN bus module and the engine node:
    https://www.theengineeringprojects.com/2026/10/mcp2515-can-bus-module-library-for-proteus-v1-0.html
  Micro SD card module:
    https://www.theengineeringprojects.com/2026/10/micro-sd-card-module-library-for-proteus-v1-0.html
  W5500 Ethernet module:
    https://www.theengineeringprojects.com/2026/10/w5500-ethernet-module-library-for-proteus.html
  Laptop and phone:
    https://www.theengineeringprojects.com/2026/10/laptop-wifi-monitor-library-for-proteus.html
    https://www.theengineeringprojects.com/2026/10/mobile-wifi-monitor-library-for-proteus.html
Support us (the libraries are free):
  https://www.theengineeringprojects.com/donate

FILE STRUCTURE
Teensy-4-1-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                                201.9 KB   the engine node's UNO (demo), to LIBRARY
|   |-- TEPLAPTOP.LIB                                    39.5 KB   the laptop (demo), to LIBRARY
|   |-- TEPMCP2515.LIB                                   70.2 KB   the MCP2515 modules (demo), to LIBRARY
|   |-- TEPMICROSD.LIB                                   60.3 KB   the micro SD module (demo), to LIBRARY
|   |-- TEPMOBILE.LIB                                    13.1 KB   the phone (demo), to LIBRARY
|   |-- TEPTEENSY41.LIB                                  31.7 KB   the Teensy 4.1, to LIBRARY
|   |-- TEPW5500MOD.LIB                                  22.8 KB   the W5500 module (demo), to LIBRARY
|-- Proteus Model Files/
|   |-- TEPARDUINO.DLL                                  883.5 KB   the engine node's UNO, to MODELS
|   |-- TEPMCP2515.DLL                                  313.0 KB   the MCP2515 modules, to MODELS
|   |-- TEPMICROSD.DLL                                  318.5 KB   the micro SD module, to MODELS
|   |-- TEPNET.DLL                                       2.47 MB   the board + monitors + network, to MODELS
|-- Arduino Code/
|   |-- CAN_Node1/CAN_Node1.ino                           3.8 KB   the engine node (UNO)
|   |-- Teensy41_CAN_Logger/Teensy41_CAN_Logger.ino      12.7 KB   the demo sketch
|   |-- TEP Boards for Proteus/hardware/                748.9 KB   the Arduino IDE add-on 1.30.0 (171 files)
|-- Proteus Simulation/
|   |-- CAN_Node1.hex                                    24.9 KB   the engine node (ARD1)
|   |-- Teensy41_CAN_Logger.hex                          92.1 KB   the demo sketch (U1)
|   |-- Teensy-4-1-CAN-Logger.pdsprj                     37.7 KB   the demo: a CAN bus logger
|   |-- TEPARDUINO.DLL                                  883.5 KB   copy of the model
|   |-- TEPMCP2515.DLL                                  313.0 KB   copy of the model
|   |-- TEPMICROSD.DLL                                  318.5 KB   copy of the model
|   |-- TEPNET.DLL                                       2.47 MB   copy of the model
|-- README.txt                                          ~14.3 KB   this file
Total: 9.24 MB (unzipped). The source code of the models is not included.

WHAT IS IT?
Proteus 8 has no i.MX RT1062 (ARM Cortex-M7) processor model, so this is NOT a real Teensy. It is the Teensy 4.1 - the
green 61 x 18 mm board with the NXP MIMXRT1062 processor, the 8 MB flash chip, micro-USB, the 5-pin USB host header,
the 6-pin Ethernet header, the PROGRAM button, the micro SD socket, the orange LED on pin 13 and 2 x 24 pins - that runs
YOUR Teensy sketch in Proteus:
  * You write a normal Teensy sketch with the Teensy's pin numbers (0 .. 41, A0 .. A17, LED_BUILTIN = 13, Serial,
    Serial1, Wire, SPI, analogRead 0 .. 1023, analogWrite, attachInterrupt ...) and compile it in the Arduino IDE with
    our board package "TEP Boards for Proteus" 1.30.0 (in Arduino Code - see INSTALLATION).
  * Inside the board, Proteus's own ATmega2560 model runs the compiled sketch at 16 MHz; our model (TEPNET.DLL) wraps
    it: the 42 pins with their Teensy numbers, 3.3 V logic, analogRead on A0 .. A17 (0 .. 1023 for 0 .. 3.3 V), the
    orange LED on pin 13 (lit when HIGH), the power LED and the built-in serial monitor on the USB (Serial).
  * The demo is a CAN bus logger: an MCP2515 module hears an engine node (an Arduino UNO V4.0 with its own MCP2515),
    a micro SD card module keeps every frame in CANLOG.CSV and a W5500 Ethernet module serves the page to the Laptop
    and Mobile WiFi Monitors on our virtual router TEP-WiFi.
TEP additions: the micro-USB port opens the serial monitor; the LEDs glow in the simulation (the red PWR LED is ours -
the real board has none). There is no panel: the board has no Wi-Fi.
Limits (say them before you start): 16 MHz, 8 KB of RAM (the real Teensy 4.1: 600 MHz, 1 MB), 256 KB of flash; int is
16 bits (use long / int32_t for big numbers); the Teensy's own CAN ports, micro SD socket, Ethernet PHY, USB host and
audio are drawn, not modelled - put modules on SPI, as the demo does. See MODEL SCOPE AND LIMITS.

ONE DEVICE (search "TEENSY" in Pick Devices):
  TEENSY 4.1  "Teensy 4.1" V1.0 (Microprocessor ICs > Teensy Boards), prefix U, model TEPNET.DLL. The serial monitor
  (115200 baud) has Monitor, Plotter and Board tabs (the Board tab: the LEDs and every pin). Like every TEP window it
  has no Windows title bar.
The same TEPNET.DLL also runs our other sketch boards, the W5500 module and the Laptop / Mobile WiFi Monitors; it
replaces any older TEPNET.DLL (keep only this newest one in MODELS).

TEST STATUS
V1.0: verified in Proteus 8.5 on 27 Oct 2026 with the demo project as shipped. What the Proteus run showed:
* Teensy-4-1-CAN-Logger: the Teensy found the MCP2515 (500 kbps, 8 MHz crystal), the card (CANLOG.CSV) and the
  W5500 (192.168.1.94, link ON); the engine node's ID 0x100 arrived twice a second, every frame acknowledged, and the
  Teensy's ID 0x200 reached the node every second - 0 error frames, TEC 0, REC 0 on both modules all run long.
* LED ON on the phone lit the LED on the UNO's D7 ("from node 2: LED ON" on its monitor); LED OFF put it out.
* OVER-REV at 2800 rpm on each sweep, HOT at 85 C; LOG on the laptop showed the last lines of CANLOG.CSV with the
  event lines; the card held 4867 bytes after 110 s of simulation (1423 s on our PC, with the four pop-ups, both
  serial monitors and both tools open).

INSTALLATION (about 3 minutes)
1. Close Proteus. Extract the WHOLE ZIP to a normal folder (e.g. Desktop).
2. Copy everything in "Proteus Library Files" 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). TEPTEENSY41.LIB is the board;
   the others are the demo's parts: TEPMCP2515.LIB, ArduinoV4TEP.LIB (the engine node's UNO), TEPMICROSD.LIB,
   TEPW5500MOD.LIB, TEPLAPTOP.LIB and TEPMOBILE.LIB.
3. Copy the DLLs from "Proteus Model Files" (TEPNET.DLL, TEPMCP2515.DLL, TEPARDUINO.DLL, TEPMICROSD.DLL) to the MODELS
   folder (...\Proteus 8 Professional\MODELS) - replace an older TEPNET.DLL (this one is the first that knows the
   Teensy 4.1).
4. Delete TEPTEENSY41.IDX from the LIBRARY folder if it is there.
5. The Arduino IDE (only to compile your own sketches - the demo has its HEX files): copy the folder
   "Arduino Code\TEP Boards for Proteus\hardware" into your sketchbook folder (normally Documents\Arduino), so that
   Documents\Arduino\hardware\tep\avr\boards.txt exists (replace an older copy); restart the IDE. The Arduino AVR Boards
   platform must be installed (it comes with IDE 1.8.x; in IDE 2.x install "Arduino AVR Boards" from the Boards Manager
   once). Tools > Board > TEP Boards for Proteus > Teensy 4.1 (TEP Proteus). The demo also needs autowp-mcp2515,
   Ethernet and SD (Library Manager).
6. Start Proteus. In Pick Devices (P) search "TEENSY".

RUN THE DEMO
Keep the .hex files and the DLLs beside the project in "Proteus Simulation".
Teensy-4-1-CAN-Logger.pdsprj - U1 the Teensy 4.1 (Teensy41_CAN_Logger.hex) is a CAN bus data logger: U3 = an MCP2515
CAN module (CS 9, INT 2; its 8 MHz crystal, 500 kbps), U4 = a micro SD card module (CS 4, an empty card) and U2 = a
W5500 Ethernet module (CS 10; the fixed address 192.168.1.94) share SPI (11 MOSI, 12 MISO, 13 SCK). ARD1 = an Arduino
UNO V4.0 running CAN_Node1.hex (the engine node of our MCP2515 library) with U5 = its MCP2515 (CS D10, INT D2) and D1 =
its LED on D7 (R1 220R); CANH and CANL join U3 and U5. PC1 the Laptop WiFi Monitor and MOB1 the Mobile WiFi Monitor
open http://192.168.1.94/. The MCP2515 and micro SD modules are the Advance versions: each opens its pop-up window at
Run, as the W5500 does.
The engine node sends ID 0x100 every 500 ms: the engine speed (800 .. 3000 rpm, up and down), the coolant (rising from
60 C) and the road speed. The Teensy logs every frame to CANLOG.CSV (time_s,id,rpm,coolant_c,speed_kmh) with event
lines for OVER-REV (2800 rpm and up), HOT (85 C and up), LED ON and LED OFF; it writes the card every 2 s. It answers
on the bus with ID 0x200 every second: byte 0 switches the engine node's LED. The page has REFRESH, LOG (the last
lines of the file), LED ON, LED OFF and NEW LOG.
Press Run. Open the page on the phone and tap LED ON: the LED on the UNO's D7 lights. Wait for OVER-REV and HOT, open
LOG on the laptop, tap LED OFF. The micro SD pop-up shows CANLOG.CSV on the card.
The modules' supplies: in the demo the VCC of the MCP2515s, the micro SD module and the W5500 go to Proteus' power rail
(their models read the supply as a digital level). On a real Teensy 4.1 the pins are NOT 5 V tolerant: run the MCP2515
at 3.3 V (or put a level shifter on its SO line) and use 3.3 V micro SD / W5500 modules. Closed the monitor? Click the
board's micro-USB.
The monitor (115200) takes STATUS, LOG, NEW, ON, OFF and HELP.

THE PINS (the label on the board, what it can do in the simulation)
  0 / 1              Serial1 RX1 / TX1 (not the USB), GPIO, PWM, interrupt
  2 .. 12            GPIO, PWM, interrupt; 10 .. 12 are also SPI CS / MOSI / MISO
  13                 SCK of SPI and the orange LED (it flickers with SPI traffic, as on the real board)
  14 .. 27           A0 .. A13: analogRead 0 .. 1023 for 0 .. 3.3 V, GPIO, interrupt; 18 / 19 are Wire SDA / SCL
  28 .. 37           GPIO, interrupt (PWM on 28, 29, 33, 36, 37)
  38 .. 41           A14 .. A17: analogRead, GPIO; interrupt on 38 / 39 only
  VIN, 3.3V, GND     5 V in, 3.3 V (the logic), ground
Serial is the USB (the board's monitor), not pins 0 / 1. analogRead(0) is A0, as on the Teensy. The pins are 3.3 V
logic. The bottom pads (34 .. 54 on the real board), the VBAT / PROGRAM / ON-OFF pins and the USB host pins are not
modelled.

PROPERTIES (double-click the board > Edit Properties)
  PROGRAM   the sketch's HEX (Arduino IDE: Sketch > Export Compiled Binary with Teensy 4.1 (TEP Proteus))
  MONITOR   YES = the built-in serial monitor on the USB (Serial);  BAUD  its speed (115200, or AUTO)
  AUTOOPEN  YES = the monitor window opens at Run (the demo: YES)
One Teensy 4.1 per design (its USB serial lines are hidden pins, and Proteus joins hidden pins of the same name across
parts).

TROUBLESHOOTING
* Nothing happens at Run: the HEX was not built with TEP Boards for Proteus - select Teensy 4.1 (TEP Proteus) and
  export the binary again.
* "MCP2515 NOT ANSWERING": CS on 9, SI on 11, SO on 12, SCK on 13; setBitrate(CAN_500KBPS, MCP_8MHZ) for the module's
  8 MHz crystal (without MCP_8MHZ the library assumes 16 MHz and the bus speeds differ).
* No frames: both modules need CANH to CANH and CANL to CANL, the same bit rate, normal mode; the engine node needs
  its HEX (CAN_Node1.hex beside the project).
* "NO SD CARD": CS on 4 and the module's CARD property not NONE; one SPI device talks at a time (every CS HIGH first).
* "No W5500 found" or "link OFF": SCS on 10, SCLK 13, MISO 12, MOSI 11; the module's CABLE property is IN.
* An integer goes wrong above 32767: int is 16 bits on the hidden AVR - use long.
* The page shows old values: tap REFRESH (the monitors do not reload by themselves).

BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot and the Serial Monitor text:
  https://www.theengineeringprojects.com/forum/category/teensy-4-1-proteus-library

LICENCES AND THIRD-PARTY NOTES
* The board model and the network (TEPNET.DLL, which also runs the W5500 module), the symbols and artwork
  (TEPTEENSY41.LIB, TEPW5500MOD.LIB, TEPLAPTOP.LIB, TEPMOBILE.LIB, ArduinoV4TEP.LIB) and the module models
  (TEPMCP2515, TEPMICROSD .LIB / .DLL, TEPARDUINO.DLL) are made by The Engineering Projects. The board's processor is
  Proteus's own ATmega2560 model. The source code of the models is not included.
* TEP Boards for Proteus (Arduino Code): its core, the variants and the EEPROM, SPI and Wire libraries are modified
  copies of the Arduino AVR core 1.8.6 - GNU Lesser General Public License 2.1 (LGPL 2.1, the text:
  LICENSE-LGPL-2.1.txt); its other libraries and our core files are MIT (LICENSE-MIT.txt).
* The demo sketches use autowp-mcp2515 (autowp, MIT), Ethernet and SD (Arduino, LGPL / GPL) - install them in the
  Arduino IDE (Library Manager) to compile; the .hex files are included.
* Proteus is a product of Labcenter Electronics and is not included. Teensy is a trademark of PJRC.COM, LLC; i.MX is a
  trademark of NXP. This library is not made or endorsed by PJRC, NXP or Labcenter.

REBUILDING THE FIRMWARE (OPTIONAL)
The HEX files are supplied. Install TEP Boards for Proteus (INSTALLATION step 5) and the libraries, open Arduino
Code\Teensy41_CAN_Logger, select Teensy 4.1 (TEP Proteus) and use Sketch > Export Compiled Binary. The engine node
(Arduino Code\CAN_Node1) compiles for the Arduino UNO. For a real Teensy 4.1 install Teensyduino (the Boards Manager
URL from pjrc.com), select "Teensy 4.1" and upload with the Teensy Loader - the same sketch.

MODEL SCOPE AND LIMITS
Modelled: the Teensy 4.1's 42 pins on a hidden ATmega2560 (Proteus's AVR model, 16 MHz, 3.3 V); digital I/O,
analogRead (A0 .. A17) 0 .. 1023 for 0 .. 3.3 V, PWM (analogWrite) and attachInterrupt through the board model
(interrupts on pins 0 .. 39); the orange LED on pin 13, the power LED; Serial (the USB, the board's monitor), Serial1
on 0 / 1, Wire on 18 / 19 and SPI on 10 .. 13 (the AVR's hardware); Ethernet through a TEP W5500 module or Ethernet
shield.
Not modelled: the i.MX RT1062 itself (600 MHz, 1 MB RAM, the FPU, its timers, DMA, the USB device and host), the three
CAN ports (FlexCAN), the built-in micro SD socket (SDIO), the Ethernet PHY, Serial2 .. Serial8, Wire1 / Wire2, SPI1 /
SPI2, the audio pins, the PSRAM / flash pads, the PROGRAM button and the ON / OFF pin (drawn). The simulation runs
below real time.

VERSION
TEP Teensy 4.1 library V1.0 (Oct 2026). Device TEENSY 4.1 (TEPTEENSY41.LIB / TEPNET.DLL), TEP Boards for Proteus 1.30.0
(adds the Teensy 4.1). Demo sketch Teensy41_CAN_Logger V1.0, engine node CAN_Node1 V1.0. Demo parts: MCP2515 and Micro
SD Card Module (the Advance versions), ARDUINO UNO V4.0, W5500 ETHERNET MODULE, LAPTOP WIFI MONITOR and MOBILE WIFI
MONITOR.
Advertisement

Development1 release

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

Installation10 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
  • The compiler named in the tutorialto build the source files into firmware
  • Any archive toolWindows, macOS and Linux extract ZIP files on their own

Steps

  1. 1

    Extract the archive

    Right-click teensy-4-1-tep-v1-0-5c661dddb459469b94821c68fc44440b.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (Teensy-4-1-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move ArduinoV4TEP.LIB, TEPLAPTOP.LIB and TEPMCP2515.LIB and 4 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. 3

    Add the simulation model

    Copy TEPARDUINO.DLL, TEPMCP2515.DLL and TEPMICROSD.DLL and 1 more 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

    Install the Arduino library

    In the Arduino IDE choose Sketch → Include Library → Add .ZIP Library and pick the library, or copy its folder into Documents\Arduino\libraries. Restart the IDE to see its examples.

  6. 6

    Open the sketch in the Arduino IDE

    Open CAN_Node1.ino, Teensy41_CAN_Logger.ino and eeprom_clear.ino and 16 more, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.

  7. 7

    Build the source code

    Open abi.cpp, Arduino.h and binary.h and 49 more in the compiler named in the tutorial (MikroC, Keil, MPLAB, Code Composer or the Arduino IDE) and build it to get the firmware.

  8. 8

    Load the HEX file

    In Proteus double-click the microcontroller, set Program File to CAN_Node1.hex and Teensy41_CAN_Logger.hex and run the simulation. For real hardware, flash the same file with your programmer.

  9. 9

    Open the example simulation

    Open Teensy-4-1-CAN-Logger.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.

  10. 10

    Follow the tutorial

    Teensy 4.1 Library for Proteus: MCP2515 CAN Logger, SD, W5500 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 Teensy 4.1 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?

Teensy 4.1 Library for Proteus V1.0 comes as a ZIP archive of 192 files (4.2 MB, 9.2 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch, an Arduino library, compiled HEX firmware and source code. Open the File Structure tab for the full list of 192 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, f67caa833b927ef85a564bcf997530536054987e0db706197769803987c04626. In PowerShell run Get-FileHash "teensy-4-1-tep-v1-0-5c661dddb459469b94821c68fc44440b.zip"; on macOS or Linux run shasum -a 256 "teensy-4-1-tep-v1-0-5c661dddb459469b94821c68fc44440b.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 · teensy-4-1-tep-v1-0-5c661dddb459469b94821c68fc44440b.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
  • 27 Oct 2026Uploaded at
Last 14 days0 downloads
SHA-256 f67caa833b927ef85a564bcf997530536054987e0db706197769803987c04626
DocumentationTeensy 4.1 Library for Proteus: MCP2515 CAN Logger, SD, W5500
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.