TEP DOWNLOAD CENTER

Project Files of Touchless Gesture Lamp with APDS-9960 and ESP32 - Proteus Simulation

Libraries Code Projects Simulation
tep://download-terminal 76038878aa664273a49d84bb1d9da938.zip ZIP archiveV1.0Verified0 downloadsFree
Touchless Gesture Lamp with APDS-9960 and ESP32 - Proteus Simulation: the ESP32, the APDS-9960 sensor, the WS2812B ring in RAINBOW and the OLED
Proteus library · File 1 of 1

Touchless Gesture Lamp with APDS-9960 and ESP32 - Proteus Simulation V1.0

Touchless Gesture Lamp with APDS-9960 and ESP32 - Proteus Simulation V1.0 comes as a ZIP archive of 18 files (4.0 MB, 9.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

Touchless-Gesture-Lamp-APDS-9960-ESP32-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (an ESP32 DevKit V1, an APDS-9960 gesture sensor, a WS2812B ring of 16, a 128x64 OLED, the Laptop and Mobile WiFi Monitors), the sketch, every LIB and DLL and a README.

Read Touchless Gesture Lamp with APDS-9960 and ESP32 - Proteus Simulation

File Structure

76038878aa664273a49d84bb1d9da938.zip18 files · 5 folders · 9.9 MB unpacked
ESP32-Gesture-Lamp-TEP-v1.0/18 files · 9.9 MB
Arduino Code/1 file · 14.3 KB
ESP32_Gesture_Light/1 file · 14.3 KB
INO ESP32_Gesture_Light.inoArduino sketch 14.3 KB
Proteus Library Files/6 files · 1.8 MB
LIB TEPAPDS9960.LIBProteus library 16.6 KB
LIB TEPESP32V1.LIBProteus library 36.6 KB
LIB TEPLAPTOP.LIBProteus library 39.5 KB
LIB TEPMOBILE.LIBProteus library 13.1 KB
LIB TEPOLED12864.LIBProteus library 112.4 KB
LIB TEPWS2812.LIBProteus library 1.6 MB
Proteus Model Files/4 files · 4.0 MB
DLL TEPAPDS9960.DLLSimulation model 328.5 KB
DLL TEPNET.DLLSimulation model 3.0 MB
DLL TEPOLED.DLLSimulation model 342.5 KB
DLL TEPWS2812.DLLSimulation model 312.5 KB
Proteus Simulation/6 files · 4.1 MB
DSN ESP32-Gesture-Lamp.pdsprjProteus simulation 42.1 KB
HEX ESP32_Gesture_Light.hexCompiled HEX file 110 KB
DLL TEPAPDS9960.DLLSimulation model 328.5 KB
DLL TEPNET.DLLSimulation model 3.0 MB
DLL TEPOLED.DLLSimulation model 342.5 KB
DLL TEPWS2812.DLLSimulation model 312.5 KB
TXT README.txtText file 8.7 KB

README

README.txt 122 lines
===============================================================================================================
  Touchless Gesture Lamp with APDS-9960 and ESP32 - 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/touchless-gesture-lamp-apds-9960-esp32-proteus-simulation.html
  The libraries this project is built from (each post has its own full download and tutorial):
    ESP32 DevKit V1 board:
      https://www.theengineeringprojects.com/2026/10/esp32-devkit-v1-library-for-proteus-v2-0.html
    APDS-9960 gesture sensor:
      https://www.theengineeringprojects.com/2026/11/apds9960-gesture-sensor-library-for-proteus.html
    WS2812B NeoPixel:
      https://www.theengineeringprojects.com/2026/10/ws2812b-neopixel-library-for-proteus-v1-0.html
    OLED SSD1306:
      https://www.theengineeringprojects.com/2026/10/oled-ssd1306-library-for-proteus-v1-0.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
ESP32-Gesture-Lamp-TEP-v1.0/
|-- Proteus Library Files/
|   |-- TEPAPDS9960.LIB                                16.6 KB   a part of the project -> LIBRARY folder
|   |-- TEPESP32V1.LIB                                 36.6 KB   a part of the project -> LIBRARY folder
|   |-- TEPLAPTOP.LIB                                  39.5 KB   a part of the project -> LIBRARY folder
|   |-- TEPMOBILE.LIB                                  13.1 KB   a part of the project -> LIBRARY folder
|   |-- TEPOLED12864.LIB                              112.4 KB   a part of the project -> LIBRARY folder
|   |-- TEPWS2812.LIB                                  1.59 MB   a part of the project -> LIBRARY folder
|-- Proteus Model Files/
|   |-- TEPAPDS9960.DLL                               328.5 KB   a model -> MODELS folder
|   |-- TEPNET.DLL                                     3.01 MB   a model -> MODELS folder
|   |-- TEPOLED.DLL                                   342.5 KB   a model -> MODELS folder
|   |-- TEPWS2812.DLL                                 312.5 KB   a model -> MODELS folder
|-- Proteus Simulation/
|   |-- ESP32_Gesture_Light.hex                       110.0 KB   the firmware U1 runs
|   |-- ESP32-Gesture-Lamp.pdsprj                      42.1 KB   the project simulation
|   |-- TEPAPDS9960.DLL                               328.5 KB   copy of the model
|   |-- TEPNET.DLL                                     3.01 MB   copy of the model
|   |-- TEPOLED.DLL                                   342.5 KB   copy of the model
|   |-- TEPWS2812.DLL                                 312.5 KB   copy of the model
|-- Arduino Code/
|   |-- ESP32_Gesture_Light/ESP32_Gesture_Light.ino    14.3 KB   the sketch (source of the .hex)
|-- README.txt                                         ~9.2 KB   this file
Total: 9.92 MB (unzipped). The C++ source code of the models is not included.

WHAT IS IT?
  A lamp you never touch: swipe a hand over it to change the scene or the brightness, hold the hand over it to
  switch it on or off, and it dims itself when the room is bright. An ESP32 reads an APDS-9960 gesture, light and
  colour sensor with plain I2C - no library - and drives a ring of 16 WS2812B LEDs.
    * U1 ESP32 DEVKIT V1 runs ESP32_Gesture_Light.hex on TEP-WiFi at 192.168.1.101.
    * U2 the APDS-9960 (GESTUREAPDS9960TEP, I2C 0x39, PROFILE STEADY, LUX 300) on D21 (SDA) / D22 (SCL), VIN on the
      VCC rail (its regulator makes 3.3 V); INT open - the sketch polls the gesture FIFO's level.
    * NEO1 a WS2812B ring of 16 (WS2812RING16ADVTEP): 5V on VCC, DIN on D13, GND.
    * OLED1 an SSD1306 128x64 OLED (OLED12864WHITEADVTEP, 0x3C) on the same I2C bus, VCC +3.3V.
    * Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.101/.
  What the sketch does:
    gestures      the gesture engine starts when a hand comes near (PDATA over GPENTH) and fills its FIFO with
                  datasets - what the Up, Down, Left and Right photodiodes see; the sketch keeps the first and the
                  last dataset and compares the U-D and L-R balance at the start and at the end: a swipe to the right
                  starts on the left photodiode and ends on the right one
                  LEFT / RIGHT = the previous / next scene, UP / DOWN = brighter / dimmer (25 % steps), NEAR (a hand
                  held still) = the lamp on / off
    the scenes    WARM (about 2700 K), COOL (about 6500 K), RED, GREEN, BLUE, RAINBOW (turning) and MATCH (the lamp
                  takes the colour of the light the sensor sees)
    AUTO          the lamp gives what the room lacks: up to 300 lux (a lit living room) the set brightness, then less,
                  down to 20 % at 2000 lux and more (the clear count: about 2.96 counts a lux at gain 4x and 37 cycles)
    the OLED      the scene, the lamp and the set brightness, the room light, the last gesture as an arrow
  Its pages:
    /             the dashboard with the links Refresh, ON/OFF, NEXT, BRIGHTER and DIMMER        /data   JSON
  Libraries: WiFi and WebServer (part of the ESP32 core), Wire, Adafruit NeoPixel, Adafruit SSD1306 and Adafruit GFX.

TEST STATUS
  Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (the sketch's times):
  - Start: "APDS-9960 found (ID 0xAB)"; the room lamp: clear 888 = 300 lux; WARM at 75 %.
  - 12.1 s: gesture RIGHT (L-R 69 -> -78; 73 of 92 datasets) -> COOL.
  - 14.7 s: gesture DOWN (U-D 61 -> -79) -> 50 %.
  - 17.3 s and 19.4 s: gesture LEFT twice (L-R -75 -> 80, -43 -> 77) -> WARM, then MATCH; a red room light (clear 352,
    R 277 G 46 B 32, about 119 lux): the ring red, 127 / 21 / 14 at 50 %.
  - 25.8 s: gesture LEFT -> RAINBOW. Daylight (clear 2375 = 804 lux): AUTO dimmed the ring to 38 % (set 50 %).
  - The room lamp again; a hand held still: 42.9 s gesture NEAR (no balance change, 404 datasets) -> OFF; 48.5 s NEAR
    again -> on (RAINBOW). 7 gestures, every one decoded right. 59.3 s of simulation in 450 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 the files from "Proteus Model Files" into the MODELS folder (next to LIBRARY).
  4. Start Proteus. Press P in the schematic and search for ESP32 DEVKIT V1 or GESTUREAPDS9960TEP to check that the
     parts are there.

RUN THE SIMULATION
  1. Open "Proteus Simulation\ESP32-Gesture-Lamp.pdsprj". Keep ESP32_Gesture_Light.hex and the DLL files beside it.
  2. Press Play. The ring lights WARM at 75 %. Click U2 for the sensor's pop-up: swipe Right, Left, Up or Down, Hover,
     and change the light (Lamp, Red, Green, Blue, Day, Dark).
  3. Open the Laptop or the Mobile WiFi Monitor and press Go for the dashboard.

PROPERTIES USED IN THIS PROJECT
  U1 ESP32 DEVKIT V1           PROGRAM=ESP32_Gesture_Light.hex
  U2 GESTUREAPDS9960TEP        PROFILE=STEADY, LUX=300, REFLECT=60, HEIGHT=4
  NEO1 WS2812RING16ADVTEP;    OLED1 OLED12864WHITEADVTEP;  PC1, MOB1 HOMEPAGE=http://192.168.1.101/

TROUBLESHOOTING
  * "No APDS-9960 at 0x39": SDA / SCL on D21 / D22, VIN on the VCC rail.
  * The swipes are read as NEAR: the hand moved too slowly or too high - the balance must change by 30 % or more.
  * The ring stays dark: DIN on D13, 5V on VCC; the lamp may be OFF (hold a hand over the sensor) or dimmed by AUTO
    in bright light.

LICENCES
  * The project, the sketch, 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.
  * The .hex file is built with the TEP Boards for Proteus and the Adafruit NeoPixel / SSD1306 / GFX libraries.
  * Proteus is a product of Labcenter Electronics and is not included. ESP32 is a product of Espressif Systems;
    APDS-9960 of Broadcom. This project is not made or endorsed by them.

VERSION
  V1.0 - the first release of the project.
===============================================================================================================
Advertisement

Development1 release

  1. V1.0Touchless Gesture Lamp with APDS-9960 and ESP32 - 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.

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. 1

    Extract the archive

    Right-click 76038878aa664273a49d84bb1d9da938.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (ESP32-Gesture-Lamp-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move TEPAPDS9960.LIB, TEPESP32V1.LIB and TEPLAPTOP.LIB and 3 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 TEPAPDS9960.DLL, TEPNET.DLL and TEPOLED.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

    Open the sketch in the Arduino IDE

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

  6. 6

    Load the HEX file

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

  7. 7

    Open the example simulation

    Open ESP32-Gesture-Lamp.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.

  8. 8

    Follow the tutorial

    Touchless Gesture Lamp with APDS-9960 and ESP32 - Proteus Simulation 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 Touchless Gesture Lamp with APDS-9960 and ESP32 - 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?

Touchless Gesture Lamp with APDS-9960 and ESP32 - Proteus Simulation V1.0 comes as a ZIP archive of 18 files (4.0 MB, 9.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 18 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, 2202ca76148f5698adc0d51771713809453d883e8493c47f25844c4b443ed887. In PowerShell run Get-FileHash "76038878aa664273a49d84bb1d9da938.zip"; on macOS or Linux run shasum -a 256 "76038878aa664273a49d84bb1d9da938.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 · 76038878aa664273a49d84bb1d9da938.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

Last 14 days0 downloads
SHA-256 2202ca76148f5698adc0d51771713809453d883e8493c47f25844c4b443ed887
DocumentationTouchless Gesture Lamp with APDS-9960 and ESP32 - Proteus Simulation
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.