Project Files of PS2 Wireless Controller Library for Proteus Simulation
9491e9e03edd48d7a9dfefc7d2276ec1.zip

PS2 Wireless Controller Library for Proteus V1.0
PS2 Wireless Controller Library for Proteus V1.0 comes as a ZIP archive of 16 files (1.8 MB, 3.9 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
PS2-Wireless-Controller-Library-for-Proteus-v1.0.zip with the PS2 wireless controller receiver for Proteus simulation (TEPPS2PAD.LIB and TEPPS2PAD.DLL), our L298N and 36GP-555 motors, our Arduino UNO V4.0, the A3 demo, its sketch and a README.
File Structure
4.8 KB201.9 KB21.4 KB13 KB14.4 KB883.5 KB319 KB309 KB311 KB23.1 KB15 KB883.5 KB319 KB309 KB311 KB13.6 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in PS2 Wireless Controller Library for Proteus Simulation. Open an image for its full size.
README
PS2 WIRELESS CONTROLLER LIBRARY FOR PROTEUS SIMULATION - V1.0 (a 2.4 GHz game pad and its receiver, a pop-up)
Designed by The Engineering Projects
www.TheEngineeringProjects.com
IMPORTANT LINKS
Article (read it first - pictures, step by step, every feature explained):
https://www.theengineeringprojects.com/2026/12/ps2-wireless-controller-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/joystick-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
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
PS2-Wireless-Controller-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPL298N.LIB 21.4 KB a part the demo uses -> LIBRARY folder
| |-- TEPPLANETARY.LIB 13.0 KB a part the demo uses -> LIBRARY folder
| |-- TEPPS2PAD.LIB 14.4 KB the library -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPL298N.DLL 319.0 KB its model -> MODELS folder
| |-- TEPPLANETARY.DLL 309.0 KB its model -> MODELS folder
| |-- TEPPS2PAD.DLL 311.0 KB the model -> MODELS folder
|-- Proteus Simulation/
| |-- PS2_RobotCar.hex 15.0 KB the demo firmware
| |-- PS2-Robot-Car-ArduinoUnoV4.pdsprj 23.1 KB the demo project
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPL298N.DLL 319.0 KB copy of its model
| |-- TEPPLANETARY.DLL 309.0 KB copy of its model
| |-- TEPPS2PAD.DLL 311.0 KB copy of the model
|-- Arduino Code/
| |-- PS2_RobotCar/PS2_RobotCar.ino 4.8 KB the demo sketch (source of the .hex)
|-- README.txt ~14.4 KB this file
Total: 3.86 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
The common 2.4 GHz PS2-style wireless controller kit as makers use it with an Arduino: the receiver,
drawn from the top at its real
size (the 42 x 28 mm black receiver with its LINK and MODE LEDs and the header VCC DAT CMD ATT CLK
GND), and the controller in the pop-up.
The drawing is our own; the model follows the controller protocol:
* ATT low starts a packet; CLK idles high; bytes go LSB first; the receiver changes DAT on the
falling edge and reads CMD on the rising
edge; DAT is open drain (give it a pull-up - INPUT_PULLUP on the Arduino).
* 0x42 poll: the ID (0x41 digital = 2 data bytes, 0x73 analog = 6), 0x5A, the 16 buttons (active
low), then RX RY LX LY (0 - 255, centre
128, up and left = 0). The host's bytes 3 and 4 drive the small and large rumble motors once
0x4D has mapped them.
* The config commands: 0x43 enter / leave (ID 0xF3), 0x44 analog / digital and the lock of the
MODE button, 0x45 status, 0x4D rumble.
* The controller pairs 0.6 s after power-on (LINK blinking, then on); until then, or when it is
off, the receiver answers 0xFF.
* The buttons and sticks: a DEMO sequence (a robot car's drive), the pop-up's chips, or nothing
(DEMO NO).
* Click the receiver for the pop-up: the controller with every button and both sticks, the last
packet byte by byte and decoded, the
polls, the mode and the rumble; graphs, an event log and a check page.
The body is drawn as on the real part and to true scale against our Arduino.
The TEP signature and the pop-up are TEP additions.
ONE DEVICE (search "PS2" or "receiver" in Pick Devices):
PS2RECEIVERTEP "PS2 Wireless Controller V1.0" in TEPPS2PAD.LIB (Modules > Wireless), prefix U,
model TEPPS2PAD.DLL (mixed).
Pins: VCC DAT CMD ATT CLK GND (left).
The demo also uses our L298N motor driver (L298NDRIVERTEP, TEPL298N) and our 36GP-555 planetary
gear motors (PLANETARYGM36TEP, TEPPLANETARY).
THE POP-UP
Click the part at Run. The toolbar: Controller ON / OFF, Analog (the MODE button), Demo, and Up Down
Left Right Tri Circle Cross Square
Start (hold a button; click again to release). Tabs:
Controller The game pad (the buttons light while held, the sticks move, ANALOG lights in analog
mode, marks beside the grips while it
rumbles), the last packet (CMD and DAT byte by byte, the ID, the buttons, the
sticks, the motor bytes); tiles: the link,
the mode, the polls, the buttons held, both sticks, the rumble motors, the last
press.
Graphs the live values over the last 2, 6 or 15 s. Live / Freeze.
Event log every change and warning; filters All / Changes / Warnings, Pause, Clear
Check what the part is doing and what to look at, each with a verdict (green = fine, amber
= check, red = wrong)
Settings theme, text size, open at Run, window size
Help report a bug, suggest a feature, article, updates, donate, forum; Copy diagnostics
for a bug report
TEST STATUS
V1.0: verified in Proteus 8.5 on 21 Nov 2026 (the demo project as shipped: an A3 sheet, an Arduino UNO V4.0).
What the runs showed (the model's own numbers and the sketch's monitor):
* The project loads and starts cleanly; the demo ran 4.8 simulated seconds in a little under two
minutes on our PC with the pop-up open
and the pictures being taken (A3 sheet).
* The receiver powered at 5.00 V and paired at 0.601 s (LINK blinking, then on); the sketch's 11
packets before that were answered 0xFF.
The first poll: ID 0x41 (digital) at 0.645 s; then 0x43 config (0.697 s), 0x44 analog + lock
(0.700 s, MODE on), 0x4D rumble
(0.702 s), 0x43 exit (0.705 s): ID 0x73 from then on.
* The demo: START at 0.90 s (armed); the left stick forward - both wheels 165 (65 %); the right
stick right at 1.6 s - left 165, right 1;
a spin left (left -165, right 165); reverse (-164 / -164) with CROSS held from 2.70 s - the
large rumble motor at 200; TRIANGLE at
3.40 s - turbo, both wheels 255; START at 4.40 s - disarmed.
* 206 polls (50 a second), 221 packets in all; 4 button presses; no simulation error.
* The pop-up (Controller, Graphs, Event log, Check) followed the run.
INSTALLATION (about 2 minutes)
1. Close Proteus. Extract the WHOLE ZIP to a normal folder (e.g. Desktop).
2. Copy everything in "Proteus Library Files" (TEPPS2PAD.LIB, TEPL298N.LIB, TEPPLANETARY.LIB and our
Arduino library V4.0, ArduinoV4TEP.LIB, with the ARDUINO UNO V4.0 used by the demo) to the LIBRARY
folder of Proteus, for example:
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
(use the folder that already holds Proteus's own .LIB files).
3. Copy TEPPS2PAD.DLL, TEPL298N.DLL, TEPPLANETARY.DLL and TEPARDUINO.DLL from "Proteus Model Files"
to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPPS2PAD.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "PS2".
RUN THE DEMO
"Proteus Simulation\PS2-Robot-Car-ArduinoUnoV4.pdsprj" (an A3 sheet) - keep the .hex file and the
DLLs beside the project.
ARD1: Arduino UNO V4.0 running PS2_RobotCar.hex (window "TEP Arduino UNO - ARD1").
U1: the PS2 receiver (CONTROLLER ON, MODE DIGITAL, DEMO YES): DAT D12, CMD D11, ATT D10, CLK
D13, VCC +5V.
U2: our L298N (REG5V YES): ENA D9, IN1 D8, IN2 D7 (the left motor), ENB D6, IN3 D5, IN4 D4
(the right motor), +12V.
M1, M2: our 36GP-555 12 V planetary gear motors, the left and right wheels.
The sketch speaks the protocol itself (no library): it waits for the controller, sets analog mode
with the rumble motors, then polls
every 20 ms: START arms the car, the left stick is the throttle, the right stick steers (tank
mixing), TRIANGLE switches the turbo
(100 % instead of 65 %), CROSS is the horn (the controller rumbles while it is held).
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
VCC 3.3 - 5 V (follow your receiver board), GND, DAT to an input with a pull-up (INPUT_PULLUP or
10 k to VCC), CMD, ATT and CLK to
outputs. Keep the wires short; drop the clock to 50 - 100 kHz if the bits come back wrong.
REAL HARDWARE:
* Pair the controller after the receiver is powered: LINK blinks until it is found; the sketch
should wait for an ID other than 0xFF.
* Many receivers want 3.3 V; check yours before using 5 V.
* Poll at least every 50 ms or some controllers drop back to digital mode or sleep.
* The analog sticks are not perfectly centred: use a dead zone around 128.
THE DEMO SKETCH ON THE SERIAL MONITOR (PS2_RobotCar V1.0, 9600 baud)
PS2_RobotCar prints the steps and the drive. EXPECTED MONITOR OUTPUT (shortened)
PS2 robot car: waiting for the controller ...
Controller found after ... ms, ID 0x41
Analog mode, rumble on: ID 0x73
START arms the car
START: armed
LY 0 RX 255 | L 165 R 1
CROSS: horn (rumble)
TRIANGLE: turbo on
LY 0 RX 128 | L 255 R 255
START: disarmed
PROPERTIES (double-click the part > Edit Properties)
CONTROLLER The controller at the start: ON (pairs in 0.6 s) or OFF. Default ON.
MODE The mode at power-on: DIGITAL (ID 0x41) or ANALOG (ID 0x73). Default DIGITAL.
DEMO YES: a demo sequence drives the buttons and sticks after the pairing; NO: the pop-up
only. Default YES.
Every run starts again from the properties.
LINKS.INI (OPTIONAL)
The Help page cards of the pop-up open web pages. To point them somewhere else without a new DLL,
put a text file named links.ini next to TEPPS2PAD.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
* Every byte reads 0xFF: the controller is off or still pairing, or ATT is not pulled low during the
packet.
* The ID stays 0x41 and the sticks never change: the sketch never switched to analog mode (0x43 /
0x44 / 0x43).
* Garbled buttons: DAT has no pull-up, or the bits are read on the wrong clock edge (read DAT while
CLK is low).
* No rumble: 0x4D was not sent in config mode, or the motor byte is 0.
* The part is not simulated: TEPPS2PAD.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPPS2PAD.DLL is missing from MODELS and from the project folder. No
UNO / no monitor window: TEPARDUINO.DLL is missing, or click the UNO's USB port.
BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the
simulation log and the pop-up's Copy diagnostics text:
https://www.theengineeringprojects.com/forum/category/joystick-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 model (TEPPS2PAD.DLL), the symbols and artwork, the other parts of ours in the demo and the
Arduino Library V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, with its built-in TEP Serial Monitor
Advance) are made by The Engineering Projects. The models use only standard Windows libraries; no
Visual C++ redistributable is needed.
The C++ source code is not included.
* Arduino UNO V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, our Arduino Library V4.0 - its
microcontroller is Proteus's own AVR model): The Engineering Projects,
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
* The .hex file is built from the demo sketch and the Arduino AVR core 1.8.6, which includes
LGPL-licensed code; its source code is available at
https://github.com/arduino/ArduinoCore-avr/tree/1.8.6
* Proteus is a product of Labcenter Electronics and is not included. Arduino is a trademark of Arduino SA.
This library is not made or endorsed by Arduino or Labcenter.
REBUILDING THE FIRMWARE (OPTIONAL)
The HEX file is supplied; Arduino IDE is not needed to run the demo. To edit the sketch, open
Arduino Code\PS2_RobotCar\PS2_RobotCar.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 5,440 bytes of flash
and 260 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the receiver's protocol (poll, config enter / exit, analog / digital, lock, status, rumble
mapping), the buttons and the
sticks, the pairing and the LEDs, the rumble motor bytes.
Our figures: the pairing 0.6 s, the sticks moving over 120 ms, the demo sequence.
Not modelled: the ACK line (it is not on the receiver boards' header), the pressure-sensitive
buttons (0x4F), the radio range.
VERSION
TEP PS2 Wireless Controller library V1.0 (Nov 2026). Device PS2RECEIVERTEP (TEPPS2PAD.LIB /
TEPPS2PAD.DLL). Demo sketch PS2_RobotCar V1.0 (no library). Demo board: ARDUINO UNO V4.0 (TEP
Arduino Library V4.0) with its built-in serial monitor; our L298N and 36GP-555 libraries V1.0.Development1 release
-
V1.0PS2 Wireless Controller 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 9491e9e03edd48d7a9dfefc7d2276ec1.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (PS2-Wireless-Controller-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPL298N.LIB and TEPPLANETARY.LIB and 1 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, TEPL298N.DLL and TEPPLANETARY.DLL and 1 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 PS2_RobotCar.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 PS2_RobotCar.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open PS2-Robot-Car-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
PS2 Wireless Controller Library for 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 PS2 Wireless Controller 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?
PS2 Wireless Controller Library for Proteus V1.0 comes as a ZIP archive of 16 files (1.8 MB, 3.9 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 16 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, 47572c270a2420ffa3af3f8734a6551094d6d2a755750df9af79d55747f46e36. In PowerShell run Get-FileHash "9491e9e03edd48d7a9dfefc7d2276ec1.zip"; on macOS or Linux run shasum -a 256 "9491e9e03edd48d7a9dfefc7d2276ec1.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
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 1 Dec 2026Uploaded at
47572c270a2420ffa3af3f8734a6551094d6d2a755750df9af79d55747f46e36



























Comments
0