Project Files of PAJ7620 Gesture Sensor Library for Proteus Simulation
134f4162f7bc4c129df9c98c7fe70a41.zip

PAJ7620 Gesture Sensor Library for Proteus V1.0
PAJ7620 Gesture Sensor Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.3 MB, 5.1 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
PAJ7620-Gesture-Sensor-Library-for-Proteus-v1.0.zip with the PAJ7620 gesture sensor for Proteus simulation (TEPPAJ7620.LIB and TEPPAJ7620.DLL), our I2C LCD, resistors and RGB LED, our Arduino UNO V4.0, the A4 demo, its sketch and a README.
File Structure
5.9 KB201.9 KB181.4 KB15.2 KB306.9 KB13.9 KB883.5 KB409 KB305 KB311 KB287 KB26.9 KB31.9 KB883.5 KB409 KB305 KB311 KB287 KB13.4 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in PAJ7620 Gesture Sensor Library for Proteus Simulation. Open an image for its full size.
README
PAJ7620 GESTURE SENSOR LIBRARY FOR PROTEUS SIMULATION - V1.0 (a nine-gesture sensor module, 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/paj7620-gesture-sensor-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/infrared-sensor-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
PAJ7620-Gesture-Sensor-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPI2CLCD16X2.LIB 181.4 KB a part the demo uses -> LIBRARY folder
| |-- TEPPAJ7620.LIB 15.2 KB the library -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPRGB.LIB 13.9 KB a part the demo uses -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPLCD.DLL 409.0 KB its model -> MODELS folder
| |-- TEPPAJ7620.DLL 305.0 KB the model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB its model -> MODELS folder
| |-- TEPRGB.DLL 287.0 KB its model -> MODELS folder
|-- Proteus Simulation/
| |-- PAJ7620_Demo.hex 31.9 KB the demo firmware
| |-- PAJ7620-Gesture-Lamp-ArduinoUnoV4.pdsprj 26.9 KB the demo project
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPLCD.DLL 409.0 KB copy of its model
| |-- TEPPAJ7620.DLL 305.0 KB copy of the model
| |-- TEPRESISTOR.DLL 311.0 KB copy of its model
| |-- TEPRGB.DLL 287.0 KB copy of its model
|-- Arduino Code/
| |-- PAJ7620_Demo/PAJ7620_Demo.ino 5.9 KB the demo sketch (source of the .hex)
|-- README.txt ~14.0 KB this file
Total: 5.07 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
The common purple PAJ7620U2 gesture sensor module, drawn from the top at its real size (16 x 20 mm):
the PAJ7620U2 with its IR LED window
and its lens, the two 3.3 V regulators, the pull-ups and the 5-pin header VCC GND SCL SDA INT. The
drawing is our own; the model follows
the PAJ7620U2 datasheet:
* I2C at 0x73 with two register banks (0xEF selects bank 0 or 1). After power-on the chip sleeps:
the first access is not acknowledged
but wakes it; then bank 0 register 0x00 reads 0x20 and 0x01 reads 0x76 - the ID 0x7620. Bank 1
register 0x72 = 1 enables it.
* Nine gestures 5 - 15 cm above the sensor: register 0x43 bit 0 up, 1 down, 2 left, 3 right, 4
forward, 5 backward, 6 clockwise,
7 anticlockwise; register 0x44 bit 0 wave. Reading them clears them. Masks 0x41 / 0x42.
* INT goes LOW with a new gesture and is released when the flags have been read.
* The object brightness (0xB0) and size (0xB1 / 0xB2) follow the hand.
* IMPORTANT: a real PAJ7620 needs the maker's initialisation table (about 50 register writes)
before it works - use a library's
begin() on real hardware. The simulation runs with the enable alone and the Check page reminds
you of the table.
* The hand: PROFILE DEMO does the nine gestures one after another; MANUAL waits for the pop-up's
buttons. ROTATE 180 swaps up / down and
left / right, like a module mounted upside down. At Run the IR window glows and the lens rings
at every gesture.
* Click the module for the pop-up: the hand seen from above with its trail and distance, the nine
gestures; 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 "PAJ7620" or "gesture" in Pick Devices):
PAJ7620TEP "PAJ7620 Gesture Sensor V1.0" in TEPPAJ7620.LIB (Modules > Sensors), prefix U, model
TEPPAJ7620.DLL (mixed).
Pins: VCC GND SCL SDA INT (left, the header).
The demo also uses our I2C LCD 16x2 (TEPI2CLCD16X2 / TEPLCD), resistors (TEPRESISTOR) and our RGB
LED (TEPRGB, LEDRGBCCTEP).
THE POP-UP
Click the part at Run. Tabs:
PAJ7620 The hand above the sensor (a 20 x 20 cm top view with its trail) and its distance
against the 5 - 15 cm range; the nine
gestures with the last one lit; tiles: the address and the bank, 0x43 and 0x44 as
they wait to be read, the object
brightness, the gestures seen, the flag reads, INT, the state and the mounting.
Chips: Demo and the nine gestures.
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 22 Nov 2026 (the demo project as shipped: an A4 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 6.7 simulated seconds in about 2 minutes 20
seconds on our PC with the pop-up open
and the pictures being taken.
* Wake-up: the first (empty) write NACKed, the chip awake 0.4 ms later; "PAJ7620 ID 0x7620"; masks
0x41 = 0xFF, 0x42 = 0x01; bank 1 0x72 = 1.
* Ten DEMO gestures, all nine types, each read on INT: RIGHT -> yellow 62 % ON; UP -> 87 %; RIGHT
-> green; BACKWARD -> OFF; FORWARD -> ON;
LEFT -> yellow; DOWN -> 62 %; CLOCKWISE -> 69 %; ANTICLOCKWISE -> 62 %; WAVE -> rainbow ON.
* The pop-ups at 1.24 / 2.45 / 3.64 / 5.44 / 6.74 s: the gesture's tile lit, the flag "set; the
Arduino read it, INT released".
* The Check page: ten gestures seen, none missed, twenty flag reads, INT released; six set-up
writes (a real chip needs its table).
* The pop-up (PAJ7620, 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" (TEPPAJ7620.LIB, TEPI2CLCD16X2.LIB, TEPRESISTOR.LIB,
TEPRGB.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 TEPPAJ7620.DLL, TEPLCD.DLL, TEPRESISTOR.DLL, TEPRGB.DLL and TEPARDUINO.DLL from "Proteus
Model Files" to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPPAJ7620.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "PAJ7620".
RUN THE DEMO
"Proteus Simulation\PAJ7620-Gesture-Lamp-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and
the DLLs beside the project.
ARD1: Arduino UNO V4.0 running PAJ7620_Demo.hex (window "TEP Arduino UNO - ARD1"): A4 / A5 =
I2C, D2 = INT, D9 - D11 = the lamp.
U1: the PAJ7620 gesture sensor with the DEMO hand.
LCD1: a 16x2 LCD on its I2C backpack at 0x27: the last gesture, the count, the colour, the
brightness and ON / OFF.
D1: our RGB LED (common cathode) through R1 - R3 (220 ohm): the lamp.
The sketch wakes the chip, checks the ID, unmasks the gestures, enables it, and on INT reads 0x43
/ 0x44: left / right change the
colour, up / down and the circles the brightness, forward / backward switch the lamp, wave starts
a rainbow.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
VCC to 3.3 or 5 V (the module's regulators), GND, SCL / SDA to A5 / A4, INT to D2 (an interrupt
pin). The sensor faces up, nothing
closer than 5 cm in front of it.
REAL HARDWARE:
* Call a library's begin() (it writes the full initialisation table) before reading gestures.
* Forward and backward are the hardest: some libraries wait about 0.8 s after up / down / left /
right and read again.
* Move the hand at a moderate speed, 5 - 15 cm above the sensor; too fast or too slow is ignored.
* Mounted upside down, up / down and left / right swap - map them in your code.
THE DEMO SKETCH ON THE SERIAL MONITOR (PAJ7620_Demo V1.0, 9600 baud)
PAJ7620_Demo prints the ID, then a line for every gesture. EXPECTED MONITOR OUTPUT (shortened)
Gesture lamp: PAJ7620 at 0x73 (INT on D2), RGB LED on D9-D11, LCD at 0x27
PAJ7620 ID 0x7620
... s gesture UP -> red ...% ON
PROPERTIES (double-click the part > Edit Properties)
PROFILE DEMO (the nine gestures) or MANUAL (only the pop-up's buttons). Default DEMO.
ROTATE 0 or 180 degrees (180 swaps up / down and left / right). Default 0.
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 TEPPAJ7620.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
* No ACK at all: the first access is never acknowledged - wait 1 ms and try again (the demo does).
* The ID is not 0x7620: bank 1 is selected (write 0xEF = 0) or the wiring is wrong.
* No gestures: the sensor is not enabled (bank 1 0x72 = 1) or the hand is beyond 15 cm.
* INT stays LOW: the flags were not read - read 0x43 and 0x44.
* The part is not simulated: TEPPAJ7620.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPPAJ7620.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/infrared-sensor-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 (TEPPAJ7620.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\PAJ7620_Demo\PAJ7620_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 11,590 bytes of flash
and 671 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: I2C at 0x73, the two banks, the wake-up, the ID, the enable, the masks, the nine gesture
flags cleared by reading, INT, the
object brightness and size, the 15 cm range, the mounting rotation.
Our figures: awake 0.4 ms after the first access, a gesture's flag at the end of its movement, the
brightness law, the DEMO's hand path.
Not modelled: the initialisation table (the simulation does not need it, a real chip does), the 30 x
30 image, the proximity mode, timing
limits on the hand's speed.
VERSION
TEP PAJ7620 Gesture Sensor library V1.0 (Nov 2026). Device PAJ7620TEP (TEPPAJ7620.LIB /
TEPPAJ7620.DLL). Demo sketch PAJ7620_Demo V1.0 (Wire only). Demo board: ARDUINO UNO V4.0 (TEP
Arduino Library V4.0) with its built-in serial monitor; our I2C LCD 16x2, resistor and RGB LED
libraries.Development1 release
-
V1.0PAJ7620 Gesture Sensor 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 134f4162f7bc4c129df9c98c7fe70a41.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (PAJ7620-Gesture-Sensor-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPI2CLCD16X2.LIB and TEPPAJ7620.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 TEPARDUINO.DLL, TEPLCD.DLL and TEPPAJ7620.DLL and 2 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 PAJ7620_Demo.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 PAJ7620_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open PAJ7620-Gesture-Lamp-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
PAJ7620 Gesture Sensor 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 PAJ7620 Gesture Sensor 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?
PAJ7620 Gesture Sensor Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.3 MB, 5.1 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 19 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, c3e1f67186db65d46d8b135f16cd4d7002b099e3d383a7f6c517e1404f91032f. In PowerShell run Get-FileHash "134f4162f7bc4c129df9c98c7fe70a41.zip"; on macOS or Linux run shasum -a 256 "134f4162f7bc4c129df9c98c7fe70a41.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
- 4 Dec 2026Uploaded at
c3e1f67186db65d46d8b135f16cd4d7002b099e3d383a7f6c517e1404f91032f



























Comments
0