Project Files of IoT Robot Arm Controller with Raspberry Pi 5 - Proteus Simulation
33120f3f8f9e4e9b9f12cb457b3ca52a.zip

IoT Robot Arm Controller with Raspberry Pi 5 - Proteus Simulation V1.0
IoT Robot Arm Controller with Raspberry Pi 5 - Proteus Simulation V1.0 comes as a ZIP archive of 135 files (13.4 MB, 26.0 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, source code and a nested archive.
- LIBProteus library
- DLLProteus model
- DSNProteus simulation
- SRCSource code
- ZIPNested archive
Description
IoT-Robot-Arm-Controller-Raspberry-Pi-5-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (Raspberry Pi 5, PCA9685 servo driver, 4-DOF robot arm, the Laptop and Mobile WiFi Monitors), the Python program robot_arm.py, every LIB and DLL the simulation needs, the TEPPi Python runtime and a README.
File Structure
39.5 KB13.1 KB129.4 KB11 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 KB2.9 MB323 KB317.5 KB30.6 KB17 KB2.9 MB323 KB317.5 KB17 KB10.6 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in IoT Robot Arm Controller with Raspberry Pi 5 - Proteus Simulation. Open an image for its full size.












README
===============================================================================================================
IoT Robot Arm Controller 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/iot-robot-arm-controller-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
PCA9685 16-channel PWM / servo driver:
https://www.theengineeringprojects.com/2026/10/pca9685-servo-driver-library-for-proteus-v1-0.html
4-DOF robot arm (four SG90 servos):
https://www.theengineeringprojects.com/2026/11/4-dof-robot-arm-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-Robot-Arm-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPLAPTOP.LIB 39.5 KB a part of the project -> LIBRARY folder
| |-- TEPMOBILE.LIB 13.1 KB a part of the project -> LIBRARY folder
| |-- TEPPCA9685.LIB 129.4 KB a part of the project -> LIBRARY folder
| |-- TEPROBOTARM.LIB 11.0 KB a part of the project -> LIBRARY folder
| |-- TEPRPI5.LIB 60.5 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPNET.DLL 2.89 MB a model -> MODELS folder
| |-- TEPPCA9685.DLL 323.0 KB a model -> MODELS folder
| |-- TEPROBOTARM.DLL 317.5 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/
| |-- Pi-5-Robot-Arm.pdsprj 30.6 KB the project simulation
| |-- robot_arm.py 17.0 KB the program PI1 runs
| |-- TEPNET.DLL 2.89 MB copy of the model
| |-- TEPPCA9685.DLL 323.0 KB copy of the model
| |-- TEPROBOTARM.DLL 317.5 KB copy of the model
|-- Python Code/
| |-- robot_arm.py 17.0 KB the program (the same file)
|-- README.txt ~11.2 KB this file
Total: 26.01 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A robot arm controller you can run in Proteus: a Raspberry Pi 5 drives a 4-DOF desktop robot arm (four SG90
servos) through a PCA9685 16-channel PWM / servo driver on I2C, works out the joint angles for a point (inverse
kinematics), moves smoothly, carries a block between two stands, jogs the claw in millimetres, records and plays
poses, and serves a web dashboard.
* PCA9685 board (PCA9685ADVTEP, PCA1) at 0x40 on I2C1: SDA = GPIO2 (pin 3), SCL = GPIO3 (pin 5), OE = GPIO4
(pin 7, HIGH = every output off), GND (pin 6). VCC on a +3.3V power terminal (it stands for the Pi's 3.3 V pin
1: the Pi model's supply pins are digital); V+ (the servo headers) on the 5 V rail. PRE_SCALE 121 = 50.03 Hz,
one count = 4.88 us.
* 4-DOF robot arm (ROBOTARM4DOFTEP, M1): BASE on PWM0, SHOULDER on PWM1, ELBOW on PWM2, GRIP on PWM3; V+ on the
5 V rail. Each SG90: a pulse every 20 ms, 544 - 2400 us = 0 - 180 degrees. Drawn at true scale from the side;
click it at Run for its pop-up (the side view, the top view with the stands and the block, the servos).
* RASPBERRY PI 5 (PI1) runs robot_arm.py on Ethernet at 192.168.1.51 (port 8000).
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.51:8000/.
The geometry (at the top of the program): the shoulder pivot 55 mm above the table, the upper arm 80 mm, the
forearm 80 mm (ELBOW 90 = level, a parallel linkage), the claw 45 mm past the wrist and always level.
claw out = 80 cos(SHOULDER) + 80 cos(ELBOW - 90) + 45 mm; up = 55 + 80 sin(SHOULDER) + 80 sin(ELBOW - 90) mm
The joints the program asks: BASE 0 - 180, SHOULDER 45 - 145, ELBOW 25 - 155, GRIP 60 - 120 (120 open, 85 holds
the 16 mm block). Every move at 60 degrees a second, 50 steps a second; at power-up OE stays HIGH until every
channel has its home pulse (no jump).
PICK AND PLACE: open; above the block (139 mm out, 100 mm up); down (139, 63); close (85); lift (120, 105); turn
the base to the other stand (90 straight ahead, 150 = 60 degrees left); lower (139, 65); let go; up; home. The
next one carries the block back; after a STOP with the block in the claw it finishes the move.
Its pages:
/ the dashboard: the controls, the claw, the joints, the counts, the events
/home /pick /stop the home pose, a pick-and-place cycle, stop where it is
/left /right /up /down /out /in the base 15 degrees, the claw 10 mm (refused when out of reach)
/open /close the claw
/record /play /clear up to 8 stored poses
/data everything as JSON
No extra Python library: lgpio (in the TEPPi runtime, and on Raspberry Pi OS), math, threading, http.server.
TEST STATUS
Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (the program's times):
* Start: "PCA9685 at 0x40: PRE_SCALE 121 = 50.03 Hz, one count = 4.88 us"; HOME (the claw 125 mm out, 135 mm up).
The PCA9685: RUNNING 50.0 Hz, 4 servo pulses - 1474 us (302 counts) on CH0 - CH2, 1781 us (365) on CH3;
VCC 3.30 V, V+ 5.00 V, OE LOW. The arm: 0.02 A at rest.
* PICK AND PLACE (laptop) at 17.7 s: above the block 18.5 s; down to the block 19.4 s (SHOULDER 58.7, ELBOW 41.0
asked; 59.8 / 41.9 real); the claw closed 20.5 s - the jaws stopped at 92 deg on the block (85 asked), HOLDING,
0.56 A; lift 21.4 s; turned to the place stand 22.9 s; lowered 23.8 s; let go 24.9 s; home 27.3 s; "cycle 1
done: the block on the PLACE STAND" at 27.7 s (10 s a cycle).
* OUT x5 from the phone: 135 / 145 / 155 / 165 / 175 mm out at 135 mm up (SHOULDER 49.0, ELBOW 104.2 at 175);
the 6th "OUT refused: (185, 135) mm is out of reach" (the wrist 161.2 mm from the shoulder).
* Teach: RECORD pose 1; LEFT x2 (base 120); DOWN x3 (175 mm out, 105 mm up: 50.5 / 81.6); RECORD pose 2; HOME;
RECORD pose 3; PLAY at 81.2 s - the poses at 81.9, 82.9 and 84.0 s, "PLAY done" at 84.4 s.
* PICK AND PLACE back at 87.8 s; STOP at 92.7 s while the base turned with the block in the claw - the arm held
it; PICK AND PLACE at 100.7 s: "the block is in the claw - on to the PICK STAND"; "cycle 2 done" at 106.0 s.
An earlier run showed why go() checks STOP after a move: STOP sets every target to the present angle, so the move
in progress looked "arrived" and the sequence printed its next point before it stopped.
116 s of simulation took about 7.5 minutes on our PC with all the captures.
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, PCA9685ADVTEP or ROBOTARM4DOFTEP to
check that the parts are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\Pi-5-Robot-Arm.pdsprj". Keep robot_arm.py and the DLL files beside it.
2. Press Play. The Pi's terminal opens, the arm goes to its home pose (the claw 125 mm out, 135 mm up).
3. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1) and press Go.
4. Press PICK AND PLACE and watch the arm on the sheet; click the arm for its pop-up.
5. Try the jogs, RECORD a few poses and PLAY them, STOP the arm in the middle of a move.
Your own program: edit robot_arm.py beside the project (PI1's PROGRAM property) and press Play again.
PROPERTIES USED IN THIS PROJECT
PI1 RASPBERRY PI 5 PROGRAM=robot_arm.py, ETHERNET=IN (192.168.1.51)
PCA1 PCA9685ADVTEP (no changes: address 0x40, oscillator 25 MHz)
M1 ROBOTARM4DOFTEP (no changes)
PC1, MOB1 HOMEPAGE=http://192.168.1.51:8000/
TROUBLESHOOTING
* The program stops with an I2C error: SDA / SCL swapped, or the PCA9685's address jumpers not 0x40.
* No servo moves: OE is HIGH (all outputs off) or V+ has no supply.
* The servos buzz or the angles are wrong: not 50 Hz - PRE_SCALE is ignored unless the chip sleeps (MODE1 0x10).
* A jog does nothing: the point is out of reach - the dashboard's events say so.
* The claw misses the block: the arm's lengths in the program do not match the arm.
* The terminal cannot start Python: the TEPPi folder is not in MODELS.
LICENCES
* The project, the program, 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; PCA9685 is a product of NXP Semiconductors; the arm is a generic kit. This project is not made or endorsed
by them.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0IoT Robot Arm Controller 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.
Installation7 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
- 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 33120f3f8f9e4e9b9f12cb457b3ca52a.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-Robot-Arm-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPLAPTOP.LIB, TEPMOBILE.LIB and TEPPCA9685.LIB and 2 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 TEPNET.DLL, TEPPCA9685.DLL and TEPROBOTARM.DLL and 7 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
Build the source code
Open robot_arm.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.
- 6
Open the example simulation
Open Pi-5-Robot-Arm.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 7
Follow the tutorial
IoT Robot Arm Controller with Raspberry Pi 5 - Proteus Simulation explains every connection and setting in order; keep it open beside the files while you build.
FAQs8 questionsContact TEP
How do I download IoT Robot Arm Controller 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?
IoT Robot Arm Controller with Raspberry Pi 5 - Proteus Simulation V1.0 comes as a ZIP archive of 135 files (13.4 MB, 26.0 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, source code and a nested archive. Open the File Structure tab for the full list of 135 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, 7653497b6d8dd28f8a9596228750ebc39f6c046249f3280135dc3d14998c9fe1. In PowerShell run Get-FileHash "33120f3f8f9e4e9b9f12cb457b3ca52a.zip"; on macOS or Linux run shasum -a 256 "33120f3f8f9e4e9b9f12cb457b3ca52a.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.
Members skip the wait. Log in or join TEP.
- 0Total downloads
- 4%Popularity
- Raspberry PiCategory
- 0Comments
- ssyedzainnasirUploaded by
- 15 Nov 2026Uploaded at
7653497b6d8dd28f8a9596228750ebc39f6c046249f3280135dc3d14998c9fe1






















Comments
0