Project Files of OBD-II Scanner on CAN Bus with Raspberry Pi 5 - Proteus Simulation
3347a3492f394981b505be201b62459e.zip

OBD-II Scanner on CAN Bus with Raspberry Pi 5 - Proteus Simulation V1.0
OBD-II Scanner on CAN Bus with Raspberry Pi 5 - Proteus Simulation V1.0 comes as a ZIP archive of 152 files (15.6 MB, 31.4 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch, compiled HEX firmware, source code and a nested archive.
- LIBProteus library
- DLLProteus model
- DSNProteus simulation
- INOArduino sketch
- HEXHEX firmware
- SRCSource code
- ZIPNested archive
Description
OBD-II-Scanner-CAN-Bus-Raspberry-Pi-5-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (Raspberry Pi 5, two MCP2515 CAN modules, an Arduino UNO V4.0 ECU, a 20x4 I2C LCD, a potentiometer, an NTC thermistor, an LED, resistors, the Laptop and Mobile WiFi Monitors), obd_scanner.py and the ECU sketch with its .hex, every LIB and DLL, the TEPPi runtime.
File Structure
201.9 KB205.4 KB39.5 KB21.8 KB70.2 KB13.1 KB14.3 KB208.6 KB306.9 KB60.5 KB3.3 MB34.3 KB620.8 KB36 KB169.8 KB628.1 KB99.3 KB65.3 KB4.8 MB4.1 MB80 B97.8 KB26.8 KB1.2 MB1.1 MB88.9 KB27.3 KB55.8 KB79.8 KB105.8 KB193.8 KB113.8 KB48.8 KB145.8 KB36.8 KB29.3 KB42.3 KB28.8 KB67.3 KB89.3 KB153.8 KB22.8 KB38.8 KB2.1 KB9.9 KB4.1 KB1.3 KB4.7 KB431 B2.5 KB17.5 KB283 B6.5 KB37.9 KB11.1 KB5.5 KB885 B13.6 KB9 KB878 B1.5 KB4 KB1004 B10 B110 B2.6 KB1.1 KB8.9 KB58.5 KB12.4 KB6.6 KB18.5 KB20.7 KB27.8 KB21.1 KB7.1 KB7.7 KB2.7 KB51.2 KB100.9 KB1.2 KB24.3 KB7.4 KB53.6 KB26.1 KB20.5 KB60.5 KB19.6 KB1.6 KB8.4 KB20.9 KB2.6 KB539 B1.4 KB9.7 KB2.8 KB21 B92 B7.9 KB264 B3.4 KB3.8 KB17.5 KB55.2 KB3.3 KB10.8 KB1.5 KB4.2 KB7.3 KB2.5 KB32.6 KB14.5 KB283 B17.4 KB257 B691 B14.5 KB12.8 KB3.6 KB1.7 KB37 KB418 B6.2 KB7 KB37.3 KB10.6 KB23.7 KB28.7 KB8.8 KB16.9 KB883.5 KB409 KB289.5 KB313 KB3.0 MB288.5 KB310 KB311 KB40.9 KB14 KB49.3 KB883.5 KB409 KB289.5 KB313 KB3.0 MB288.5 KB310 KB311 KB5.9 KB14 KB11.4 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in OBD-II Scanner on CAN Bus with Raspberry Pi 5 - Proteus Simulation. Open an image for its full size.












README
===============================================================================================================
OBD-II Scanner on CAN Bus with Raspberry Pi 5 - Proteus Simulation - Project V1.0
The Engineering Projects - www.TheEngineeringProjects.com
===============================================================================================================
IMPORTANT LINKS
The project tutorial (circuit, code, simulation results):
https://www.theengineeringprojects.com/2026/11/obd-ii-scanner-can-bus-raspberry-pi-5-proteus-simulation.html
The libraries this project is built from (each post has its own full download and tutorial):
Raspberry Pi 5 board:
https://www.theengineeringprojects.com/2026/10/raspberry-pi-5-library-for-proteus.html
MCP2515 CAN bus module:
https://www.theengineeringprojects.com/2026/10/mcp2515-can-bus-module-library-for-proteus-v1-0.html
Arduino UNO V4.0 board:
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
I2C LCD 20x4:
https://www.theengineeringprojects.com/2026/10/i2c-lcd-20x4-library-for-proteus-v1-0.html
Potentiometer:
https://www.theengineeringprojects.com/2026/11/potentiometer-library-for-proteus.html
NTC thermistor:
https://www.theengineeringprojects.com/2026/11/ntc-thermistor-library-for-proteus.html
5mm LED:
https://www.theengineeringprojects.com/2026/11/5mm-led-library-for-proteus.html
Resistor:
https://www.theengineeringprojects.com/2026/11/resistor-library-for-proteus.html
Laptop WiFi Monitor:
https://www.theengineeringprojects.com/2026/10/laptop-wifi-monitor-library-for-proteus.html
Mobile WiFi Monitor:
https://www.theengineeringprojects.com/2026/10/mobile-wifi-monitor-library-for-proteus.html
Support our free work: https://www.theengineeringprojects.com/donate
FILE STRUCTURE
Pi-5-OBD-Scanner-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB a part of the project -> LIBRARY folder
| |-- TEPI2CLCD20X4.LIB 205.4 KB a part of the project -> LIBRARY folder
| |-- TEPLAPTOP.LIB 39.5 KB a part of the project -> LIBRARY folder
| |-- TEPLED5MM.LIB 21.8 KB a part of the project -> LIBRARY folder
| |-- TEPMCP2515.LIB 70.2 KB a part of the project -> LIBRARY folder
| |-- TEPMOBILE.LIB 13.1 KB a part of the project -> LIBRARY folder
| |-- TEPNTC.LIB 14.3 KB a part of the project -> LIBRARY folder
| |-- TEPPOT.LIB 208.6 KB a part of the project -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part of the project -> LIBRARY folder
| |-- TEPRPI5.LIB 60.5 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB a model -> MODELS folder
| |-- TEPLCD.DLL 409.0 KB a model -> MODELS folder
| |-- TEPLED5MM.DLL 289.5 KB a model -> MODELS folder
| |-- TEPMCP2515.DLL 313.0 KB a model -> MODELS folder
| |-- TEPNET.DLL 2.99 MB a model -> MODELS folder
| |-- TEPNTC.DLL 288.5 KB a model -> MODELS folder
| |-- TEPPOT.DLL 310.0 KB a model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB a model -> MODELS folder
| |-- TEPPi/python/ 17.54 MB Python 3.11 embeddable -> MODELS\TEPPi (33 files)
| |-- TEPPi/runtime/ 1.11 MB TEP Pi runtime, gpiozero -> MODELS\TEPPi (87 files)
|-- Proteus Simulation/
| |-- OBD_ECU.hex 40.9 KB the ECU firmware ARD1 runs
| |-- obd_scanner.py 14.0 KB the program PI1 runs
| |-- Pi-5-OBD-Scanner.pdsprj 49.3 KB the project simulation
| |-- TEPARDUINO.DLL 883.5 KB copy of the model
| |-- TEPLCD.DLL 409.0 KB copy of the model
| |-- TEPLED5MM.DLL 289.5 KB copy of the model
| |-- TEPMCP2515.DLL 313.0 KB copy of the model
| |-- TEPNET.DLL 2.99 MB copy of the model
| |-- TEPNTC.DLL 288.5 KB copy of the model
| |-- TEPPOT.DLL 310.0 KB copy of the model
| |-- TEPRESISTOR.DLL 311.0 KB copy of the model
|-- Python Code/
| |-- OBD_ECU/OBD_ECU.ino 5.9 KB the sketch (source of the .hex)
| |-- obd_scanner.py 14.0 KB the scan tool program (the same file)
|-- README.txt ~10.4 KB this file
Total: 31.35 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A car diagnostic scan tool on a Raspberry Pi 5: it talks OBD-II on a CAN bus to an engine control unit (an Arduino
UNO playing the ECU), shows the live data, sees the check engine lamp come on, reads the trouble code and clears it.
* PI1 RASPBERRY PI 5 runs obd_scanner.py on Ethernet at 192.168.1.51 (port 8000), the scan tool:
U1 an MCP2515 CAN module (MCP2515ADVTEP, 8 MHz crystal, TJA1050) on SPI0: SCK GPIO11 (pin 23), SI GPIO10
(pin 19), SO GPIO9 (pin 21), CS CE0 GPIO8 (pin 24), INT GPIO25 (pin 22); VCC 5V (pin 2).
LCD1 a 20x4 I2C LCD (I2CLCD20X4BLUEADVTEP, 0x27) on I2C1 (SDA GPIO2, SCL GPIO3), VCC 5V.
* ARD1 ARDUINO UNO V4.0 runs OBD_ECU.hex, the engine's ECU: U2 its MCP2515 (CS D10, SI D11, SO D12, SCK D13, INT
D2); RV1 the throttle (POTROTARY16TEP) on A0; RT1 the coolant sensor (NTCGLASS100KTEP, 100k, B 3950) from A1 to
GND with R1 100k from +5V; D1 the MIL - the check engine lamp (LED5MMORANGETEP) on D7 through R2 220 ohm.
* CANH / CANL join U1 and U2: one 500 kbit/s CAN bus, terminated at both ends.
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.51:8000/.
OBD-II on CAN (ISO 15765-4, 11-bit): a request to 7DF as one frame [length, mode, PID]; the engine answers from 7E8.
Mode 01 (live data): PID 0C RPM = (256 A + B) / 4, 0D speed = A km/h, 05 coolant = A - 40 C, 11 throttle =
A x 100 / 255 %, 04 load, 01 the MIL (bit 7) and the number of codes. Mode 03: the stored codes. Mode 04: clear.
The ECU stores P0217 (engine coolant over temperature) when the coolant stays above 108 C for 2 s.
The scan tool's pages:
/ the dashboard: RPM, speed, coolant, throttle, load, the MIL, the codes, the requests, a trend picture
/read /clear read / clear the codes /trend.bmp RPM and coolant /data JSON
No CAN library on the Pi: the MCP2515 is driven with its SPI instructions through lgpio. The ECU sketch uses
autowp-mcp2515 (the Library Manager) and SPI.
TEST STATUS
Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (the programs' times):
- 0.1 s "MCP2515 in normal mode, 500 kbit/s"; 0.2 s "ECU 7E8 found: PIDs 01 04 05 0C 0D 11 supported"; idle: 805 rpm,
0 km/h, coolant 90 C, throttle 0 %, load 14 %, MIL OFF - every answer 2.0 ms after its request.
- The throttle at 50 % (2.50 V on the wiper): 10.4 s 3541 rpm, 50 km/h, load 54 %.
- The coolant sensor's air to Boiling 100, then 110 C: the ECU stored P0217 at 108.8 C ("the MIL is on", D1
lit); the scan tool at 29.0 s "MIL ON - 1 code(s) stored", "mode 03: 1 code(s) - P0217 engine coolant over
temperature"; the LCD: P0217 COOLANT HOT.
- The coolant back to 90 C; CLEAR CODES from the laptop at 46.1 s: "mode 04: the codes cleared", 46.4 s "MIL OFF";
the ECU: "the codes cleared by the scan tool - the MIL is off".
- The throttle back to 0: 811 rpm. The bus: 3090 frames, 0 errors (1545 requests, 1545 answers).
- 57 s of simulation in 490 s.
INSTALLATION
1. Close Proteus. Extract the WHOLE zip file, for example to your Desktop.
2. Copy the files from "Proteus Library Files" into the LIBRARY folder of Proteus, for example
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
3. Copy everything in "Proteus Model Files" - the DLL files and the TEPPi folder - into the MODELS folder (next
to LIBRARY).
4. Start Proteus. Press P in the schematic and search for RASPBERRY PI 5, MCP2515ADVTEP or NTCGLASS100KTEP to check
that the parts are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\Pi-5-OBD-Scanner.pdsprj". Keep obd_scanner.py, OBD_ECU.hex and the DLLs beside it.
2. Press Play. The scan tool finds the ECU; the LCD shows 800 rpm, the coolant at 90 C, NO TROUBLE CODES.
3. On the throttle's pop-up (RV1) press 50 %: about 3550 rpm and 50 km/h.
4. On the coolant sensor's pop-up (RT1) press Boiling 100, then +10 C: P0217, the MIL lights, the LCD shows it.
5. Press -10 C twice, then CLEAR CODES on the Laptop WiFi Monitor (PC1): the MIL goes off.
The two MCP2515 pop-ups list every frame on the bus; click one to see it field by field and bit by bit.
PROPERTIES USED IN THIS PROJECT
PI1 RASPBERRY PI 5 PROGRAM=obd_scanner.py, ETHERNET=IN (192.168.1.51)
ARD1 ARDUINO UNO V4.0 PROGRAM=OBD_ECU.hex, MONITOR=YES, BAUD=9600, AUTOOPEN=YES
U1, U2 MCP2515ADVTEP CRYSTAL=8MHz; LCD1 I2CLCD20X4BLUEADVTEP
RV1 POTROTARY16TEP (B10K); RT1 NTCGLASS100KTEP AIR=90, TAU=4; R1 100k, R2 220; D1 LED5MMORANGETEP
PC1, MOB1 HOMEPAGE=http://192.168.1.51:8000/
TROUBLESHOOTING
* "Looking for the ECU" for ever: CANH to CANH and CANL to CANL; both modules at 500 kbit/s with the same crystal.
* The MCP2515 does not reach normal mode: check SCK / SI / SO / CS on GPIO11 / 10 / 9 / 8.
* No answers but frames on the bus: the ECU answers 7DF and 7E0 only; the scan tool listens for 7E8.
* The coolant reads wrong: the NTC from A1 to GND and the 100k from +5V to A1 (B 3950, 100k at 25 C).
* A code comes back after CLEAR CODES: the fault is still there - cool the engine first.
LICENCES
* The project, the programs, the parts (LIB files) and the models (DLL files) are made by The Engineering Projects
and are free for learning and for your own projects. The models use only standard Windows libraries.
The C++ source code of the models is not included; the source code is not included for any model.
* TEPPi\python is the Python 3.11 Windows embeddable package (Python Software Foundation License); TEPPi\runtime
holds our TEP Pi runtime with gpiozero and colorzero (BSD licences) - their licence files are inside the folders.
* Proteus is a product of Labcenter Electronics and is not included. Raspberry Pi is a trademark of Raspberry Pi
Ltd; the MCP2515 is a product of Microchip. This project is not made or endorsed by them. It is a teaching model of
a scan tool and an ECU, not a tool for a real car.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0OBD-II Scanner on CAN Bus with Raspberry Pi 5 - Proteus Simulation 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.
Installation9 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
- Pythonto build the source files into firmware
- Any archive toolWindows, macOS and Linux extract ZIP files on their own
Steps
- 1
Extract the archive
Right-click 3347a3492f394981b505be201b62459e.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (Pi-5-OBD-Scanner-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPI2CLCD20X4.LIB and TEPLAPTOP.LIB and 7 more and the files into the LIBRARY folder of your Proteus installation: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY for Proteus 8, or the matching Proteus 7 folder. Older versions keep it under ProgramData\Labcenter Electronics. If Proteus is open, close it first.
- 3
Add the simulation model
Copy TEPARDUINO.DLL, TEPLCD.DLL and TEPLED5MM.DLL and 12 more into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.
- 4
Restart Proteus and place the component
Start Proteus, open a schematic, press P (Pick Devices) and search for the component by the name used in the tutorial. It appears with its pins ready to wire.
- 5
Open the sketch in the Arduino IDE
Open OBD_ECU.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 6
Build the source code
Open obd_scanner.py, attr.py and color.py and 28 more in the compiler named in the tutorial (MikroC, Keil, MPLAB, Code Composer or the Arduino IDE) and build it to get the firmware.
- 7
Load the HEX file
In Proteus double-click the microcontroller, set Program File to OBD_ECU.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 8
Open the example simulation
Open Pi-5-OBD-Scanner.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 9
Follow the tutorial
OBD-II Scanner on CAN Bus with Raspberry Pi 5 - Proteus Simulation explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download OBD-II Scanner on CAN Bus with Raspberry Pi 5 - Proteus Simulation 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?
OBD-II Scanner on CAN Bus with Raspberry Pi 5 - Proteus Simulation V1.0 comes as a ZIP archive of 152 files (15.6 MB, 31.4 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch, compiled HEX firmware, source code and a nested archive. Open the File Structure tab for the full list of 152 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, b3e19cba0d184983279881d547f9e1114658c690f4d43accbe1cc4e8b788502b. In PowerShell run Get-FileHash "3347a3492f394981b505be201b62459e.zip"; on macOS or Linux run shasum -a 256 "3347a3492f394981b505be201b62459e.zip". The same value means the file is exactly the one in our storage; a different one means the download broke off, so download it again.
Do I need WinRAR to open the ZIP file?
No. Windows, macOS and Linux open ZIP archives on their own (Extract All, or double-click). WinRAR and 7-Zip work too. Extract the whole archive before using the files.
Where do I put the LIB and IDX files?
Both files go into the LIBRARY folder of your Proteus installation (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY; Proteus 7 has the same folder under its own name). Restart Proteus afterwards and search for the component with P.
Which Proteus version does the library need?
The tutorial names the Proteus version the library was made and tested with. Most TEP libraries work in Proteus 7 and Proteus 8; if the component does not appear after a restart, check that both the LIB and the IDX file were copied and that Proteus was fully closed while copying.
How do I get the HEX file into the simulation?
Compile the sketch in the Arduino IDE (Sketch → Export Compiled Binary gives you the HEX next to the sketch), then in Proteus double-click the board, set Program File to that HEX and run.
Members skip the wait. Log in or join TEP.
- 0Total downloads
- 4%Popularity
- Raspberry PiCategory
- 0Comments
- ssyedzainnasirUploaded by
- 24 Nov 2026Uploaded at
b3e19cba0d184983279881d547f9e1114658c690f4d43accbe1cc4e8b788502b






















Comments
0