TEP DOWNLOAD CENTER

Project Files of TTP229 Touch Keypad Library for Proteus V1.0: 16-Key Capacitive Keypad

Libraries Code Projects Simulation
tep://download-terminal ttp229-tep-v1-0-aa78fb94517a470384b5008f09951c50.zip ZIP archiveV1.0Verified7 downloadsFree
TTP229 Touch Keypad Library for Proteus V1.0: the 16-key capacitive touch keypad with its STATUS panel
Proteus library · File 1 of 1

TTP229 Touch Keypad Library for Proteus V1.0

TTP229 Touch Keypad Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.2 MB, 2.7 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

Looking for the files of TTP229 Touch Keypad Library for Proteus V1.0: 16-Key Capacitive Keypad? TTP229 Touch Keypad Library for Proteus V1.0 is the ZIP package (1.2 MB) you need. It holds the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware. Below are the file structure, the README and the installation steps, so you can go from download to a working Proteus simulation in a few minutes.

What this library is

TTP229-Touch-Keypad-Library-for-Proteus-v1.0.zip with the TTP229 16-key capacitive touch keypad (clickable pads and option pads, the 2-wire serial interface with DV and the 2 ms reset, 8 / 16 keys, single and multi-key), Simple and Advance (TEPTTP229.LIB and TEPTTP229.DLL), our Arduino UNO V4.0 library with its built-in serial monitor (ArduinoV4TEP.LIB and TEPARDUINO.DLL), the two-UNO simulation with its HEX file, the demo sketch and a README.

This is version 1.0; older or newer releases, when they exist, are listed in the Development tab.

What is inside the ZIP file

  • ArduinoV4TEP.LIB – Proteus library, 201.9 KB
  • TEPTTP229.LIB – Proteus library, 93.4 KB
  • TEPARDUINO.DLL – Simulation model, 883.5 KB
  • TEPTTP229.DLL – Simulation model, 311.5 KB
  • TTP229-Touch-Keypad-ArduinoUnoV4.pdsprj – Proteus simulation, 24.8 KB
  • TTP229_Touch_Keypad_Demo.ino – Arduino sketch, 6.2 KB
  • and 4 more, all listed in the File Structure tab

The archive unpacks to 2.7 MB and carries its own README (README.txt), shown in the README tab above.

How to download

Use the download panel at the top of this page: after the counter (30 seconds for guests, 10 for members) the black button unlocks and the ZIP file comes straight from our content network. If the browser opens it instead of saving, use Save as; extract the whole archive before using anything inside it.

How to install

  • Step 1: Extract the ZIP file with Windows (Extract All), 7-Zip or WinRAR, keeping its folders.
  • Step 2: Close Proteus and copy ArduinoV4TEP.LIB and TEPTTP229.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
  • Step 3: Copy TEPARDUINO.DLL and TEPTTP229.DLL into the MODELS folder next to it, so the part simulates.
  • Step 4: Start Proteus, press P and search for "ArduinoV4TEP"; place and wire it as in the tutorial.
  • Step 5: Open TTP229_Touch_Keypad_Demo.ino in the Arduino IDE, pick board and port and Verify (Export Compiled Binary gives the HEX).
  • Step 6: In Proteus set the controller's Program File to TTP229_Touch_Keypad_Demo.hex; on hardware, flash the same file.
  • Step 7: Open TTP229-Touch-Keypad-ArduinoUnoV4.pdsprj in Proteus and press Play.

Read the detailed guide

This page is for the files. The full tutorial, TTP229 Touch Keypad Library for Proteus V1.0: 16-Key Capacitive Keypad, explains the circuit and the code step by step and shows the working results and the simulation; read it before you build. Questions about the download or the installation go in the comments below; more Proteus downloads are listed further down this page.

Read TTP229 Touch Keypad Library for Proteus V1.0: 16-Key Capacitive Keypad

File Structure

ttp229-tep-v1-0-aa78fb94517a470384b5008f09951c50.zip10 files · 5 folders · 2.7 MB unpacked
TTP229-TEP-v1.0/10 files · 2.7 MB
Arduino Code/1 file · 6.2 KB
TTP229_Touch_Keypad_Demo/1 file · 6.2 KB
INO TTP229_Touch_Keypad_Demo.inoArduino sketch 6.2 KB
Proteus Library Files/2 files · 295.3 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPTTP229.LIBProteus library 93.4 KB
Proteus Model Files/2 files · 1.2 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPTTP229.DLLSimulation model 311.5 KB
Proteus Simulation/4 files · 1.2 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPTTP229.DLLSimulation model 311.5 KB
DSN TTP229-Touch-Keypad-ArduinoUnoV4.pdsprjProteus simulation 24.8 KB
HEX TTP229_Touch_Keypad_Demo.hexCompiled HEX file 21.4 KB
TXT README.txtText file 20.7 KB

README

README.txt 354 lines
TTP229 TOUCH KEYPAD LIBRARY FOR PROTEUS - V1.0 (16-KEY CAPACITIVE TOUCH KEYPAD)
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/10/ttp229-touch-keypad-library-for-proteus-v1-0.html
Report a bug or suggest a feature (our forum):
  https://www.theengineeringprojects.com/forum/category/ttp229-touch-keypad-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
The built-in monitor is our TEP Serial Monitor Advance - its own article:
  https://www.theengineeringprojects.com/2026/10/serial-monitor-advance-proteus-library.html
Support us (the libraries are free):
  https://www.theengineeringprojects.com/donate

FILE STRUCTURE
TTP229-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                              201.9 KB   TEP Arduino boards V4.0 (UNO), to LIBRARY
|   |-- TEPTTP229.LIB                                  93.4 KB   the TTP229 16-key touch keypad (2 parts), to LIBRARY
|-- Proteus Model Files/
|   |-- TEPARDUINO.DLL                                883.5 KB   the Arduino board model, to MODELS
|   |-- TEPTTP229.DLL                                 311.5 KB   the TTP229 model, to MODELS
|-- Proteus Simulation/
|   |-- TEPARDUINO.DLL                                883.5 KB   copy of the board model
|   |-- TEPTTP229.DLL                                 311.5 KB   copy of the model
|   |-- TTP229_Touch_Keypad_Demo.hex                   21.4 KB   both UNOs (demo sketch V1.0)
|   |-- TTP229-Touch-Keypad-ArduinoUnoV4.pdsprj        24.8 KB   demo: 2 UNOs, two TTP229 boards
|-- Arduino Code/
|   |-- TTP229_Touch_Keypad_Demo/TTP229_Touch_Keypad_Demo.ino    6.2 KB   the demo sketch (source of the .hex)
|-- README.txt                                        ~22.0 KB   this file
Total: 2.69 MB (unzipped). The C++ source code of the model is not included.

WHAT IS IT?
A simulation model of the TTP229 16-key capacitive touch keypad module sold
for Arduino: the square red board with 16 round touch pads (1 - 16), the
TTP229-BSF chip, the option pads TP0 - TP7 and the header VCC GND SCL SDO
OUT1 - OUT8. Our own model, written from the TTP229-BSF datasheet (V1.1):
  * The 2-wire serial interface (not I2C): SCL is the clock input, SDO the
    data output. Active-low as the board comes: SCL rests HIGH, each falling
    edge puts the next key's bit on SDO - D0 (key 1) first, LOW = touched.
    Active-high with TP1 bridged.
  * 8 keys as the board comes - pads 9 - 16 do nothing until TP2 is bridged
    (16 keys). The chip reads its option pads only at power-on.
  * Single-key as the board comes: of several pads touched, only the lowest
    (TP0 first) is reported. TP3 + TP4 bridged = multi-key; one of them =
    two groups (TP0 - 3 + TP8 - 11 and TP4 - 7 + TP12 - 15).
  * The timing: 0.5 s of calibration after power-on (a pad touched then
    becomes its own baseline and answers again only after a re-calibration
    without the finger - every 4 s while no key is detected); asleep until a
    touch, waking 8 times a second (64 with TP5); a scan every 32 ms with 16
    keys, 16 ms with 8 (a touch must cover one whole scan); asleep again 8 s
    after the last key; with TP7 a pad touched for 80 s is let go.
  * Data valid (DV): while a key is reported the chip pulses SDO active for
    93 us after each scan - a sketch can wait for it instead of polling.
  * The 2 ms reset (Tout): no SCL edge for 2 ms resets the interface; a read
    that starts sooner goes on where the last one stopped.
  * In 8-key mode OUT1 - OUT8 follow keys 1 - 8: CMOS active-high as the
    board comes, CMOS active-low (TP1), open drain active-low (TP0), open
    collector active-high (TP0 + TP1). In 16-key mode they are the touch
    inputs of pads 9 - 16: the model lets them float.
  * The reader, as the model sees it: how often the sketch reads (or that it
    waits for DV), the clocks per read, the clock frequency, the level SCL
    rests at, reads closer than 2 ms, a clock faster than 512 kHz, keys no
    read got.
  * The pads: click them on the board while the simulation runs - a pad is
    touched while the mouse button is down, at least PRESS ms (150 by
    default, 50 - 1000). Click an option pad TP0 - TP7 to bridge or open it
    (the model powers the chip again). Four actions: SWEEP 1-16 (the pads one
    after the other), HOLD 1 2 3 (three pads at once; a second click lets them
    go), LATCH (a click puts a finger on a pad, the next click lifts it) and
    ALL OFF.
The board is drawn at about one and a half times its real size: the red board
with the white rings of the 16 pads, the TTP229-BSF, the option pads in two
groups (P1 = TP0 - TP3, P2 = TP4 - TP7) and the header on the left (the
symbol's pins point left). TEP additions: the SIMPLE / ADVANCE badge, the PWR,
KEY and READ LEDs, the panel button, a pad drawn lighter while touched, a
green ring while the chip reports it, an amber ring while the chip ignores it
(8-key mode, single-key mode, touched at power-on), a solder blob on a bridged
option pad. The badge, the LEDs, the button and the panels are TEP additions.

TWO DEVICES IN ONE LIBRARY (search "TTP229" in Pick Devices):
  Simple    TTP229TEP     "TTP229 Touch Keypad V1.0 - Simple"
  Advance   TTP229ADVTEP  (the same, "- Advance")
            (pins VCC GND SCL SDO OUT1 - OUT8 on the left; category
            Switches & Relays > Keypads)
  Simple    On-Sheet Panel: the STATUS panel beside the board - the banner
            (what the chip reports and what the reads get; amber for pads the
            chip ignores and short reads; red for a wrong clock, reads closer
            than 2 ms, a key nothing reads; grey while it calibrates), PRESS -
            / +, the option pads bridged, the keys the reads got, four
            actions, ten readouts (STATE, TOUCHED, CHIP REPORTS, LAST READ,
            KEY MODE, READS, CLOCKS, SCL CLOCK, RESPONSE, LAST KEY) and the
            last four events. The red X closes the panel; the PANEL button
            opens it again.
  Advance   Pop-Up Panel: only the board on the schematic; at Run a TEP
            pop-up window opens - the look of the TEP Serial Monitor. Tabs
            Keypad, Event log and Tests; gear and ? icons for Settings and
            Help; the palette icon switches the theme:
              Keypad     the actions on the toolbar; THE 16 PADS (click one;
                         PRESS - / +; the option pads TP0 - TP7 to click; the
                         keys the reads got); WHAT THE CHIP REPORTS (the
                         banner and four tiles: touched, the chip's report,
                         the last read, how the sketch reads); THE LAST READ -
                         SCL and SDO through the sketch's last read, the bits
                         D0 - D15 named on the clock edges
              Event log  the touches, the chip, the reads, the actions, notes
                         and warnings (filters, pause, clear)
              Tests      Options & mode, Serial read, Touch & timing (THE TEST
                         TOOLS)
              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
            The OPEN PANEL button opens the window again. The pads on the
            schematic can be clicked on the Advance device too.
Both devices use one model, TEPTTP229.DLL.

TEST STATUS
V1.0: verified in Proteus 8.5 on 18 Oct 2026 (the demo project as shipped:
two Arduino UNO V4.0 boards with their built-in monitors; node 1 with the
Simple board, TP2 bridged, node 2 with the Advance board as it comes, the
same sketch). One run: node 2 and its monitor first, then node 1 with the
guarded real mouse (every click read back from the model).
What the run showed:
  * Both boards saw the sketch at once: a read every 20.0 ms, 16 clocks on
    SCL at about 68 kHz, SDO active-low.
  * ARD2, the board as it comes (8 keys): pad 5 - "key 5 touched"; pad 12
    held - no line, and the pop-up's banner "PAD 12 TOUCHED - IGNORED: THE
    BOARD IS IN 8-KEY MODE (BRIDGE TP2 FOR 16 KEYS)". TP2 clicked in the
    pop-up: the chip started again (0.5 s) and pad 12 printed "key 12
    touched".
  * HOLD 1 2 3 in single-key mode printed key 1 only (pads 2 and 3 ringed
    amber); with TP3 and TP4 bridged, keys 1, 2 and 3.
  * READ DV with pad 7 held: a read every 32 ms, each after the chip's
    93 us DV pulse - the pop-up's LAST READ showed the pulse, then 16 clocks
    with D6 LOW.
  * RATE 1 (reads 1.0 ms apart): pad 6 held printed nothing - the reads came
    before the 2 ms reset. RAW 1 and pad 8: "SDO bits D0-D15:
    1111111011111111". POL HIGH: all 16 keys printed as touched and the
    banner "SCL RESTS LOW - WITH TP1 OPEN THE CLOCK IS ACTIVE-LOW". KEYS 8:
    pad 12 printed nothing ("THE SKETCH CLOCKS 8 BITS - THE CHIP SENDS 16").
  * SWEEP 1-16: keys 1 - 16 one after the other, touched and released.
  * Node 1 with the real mouse: pads 1, 6 and 16 clicked on the board -
    their lines; LATCH with pads 1 and 2 - "key 1 touched" only, pad 2 ringed
    amber; TP3 and TP4 clicked on the board, then HOLD 1 2 3 - keys 1, 2
    and 3; PRESS + / -; SWEEP 1-16; the red X closed the panel, PANEL opened
    it again.
  * 111.3 s of simulation took 276 s (about 0.40 x real time) with the
    pop-up and both monitors open.

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" (TEPTTP229.LIB with the two
   parts, 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
   (on some PCs: C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\
   LIBRARY - use the folder that already holds Proteus's own .LIB files).
3. Copy TEPTTP229.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the
   MODELS folder (...\Proteus 8 Professional\MODELS).
   ArduinoV4TEP.LIB and TEPARDUINO.DLL are the files of our Arduino Library
   V4.0 - if you have it, they are the same.
4. Delete TEPTTP229.IDX from the LIBRARY folder if it is there (Proteus
   makes a new index).
5. Start Proteus. In Pick Devices (P) search "TTP229".

RUN THE DEMO
"Proteus Simulation\TTP229-Touch-Keypad-ArduinoUnoV4.pdsprj" - keep the .hex
file and the two DLLs beside the project.
  ARD1: Arduino UNO V4.0 + U1 = the TTP229 board (Simple) with TP2 bridged
        (16 keys): SCL on D8, SDO on D2.
  ARD2: Arduino UNO V4.0 + U2 = the TTP229 board (Advance) as it comes (no
        pad bridged: 8 keys): SCL on D8, SDO on D2.
  OUT1 - OUT8 stay open. Both UNOs run TTP229_Touch_Keypad_Demo.hex and each
  has its serial monitor built in ("TEP Arduino UNO - ARD1" / "- ARD2").
  1. Press Run. Both UNOs' monitor windows open (9600 baud) and so does the
     pop-up of U2 (move it aside - it opens over the schematic).
  2. Click pads on a board (or SWEEP 1-16 on the panel / in the pop-up).
     Each touch and each release prints a line.
  3. On node 2, pads 9 - 16 print nothing: the board is in 8-key mode. Click
     TP2 in the pop-up (or on the board) - the chip starts again with 16
     keys.
  4. HOLD 1 2 3: single-key mode reports key 1 only; bridge TP3 and TP4 for
     all three.
  5. READ DV in a monitor: the sketch reads only after the chip's data-valid
     pulse. READ POLL again.
Closed a monitor window? Click the UNO's USB port.

WIRING
  Board pin   Arduino UNO (the demo)
  VCC         5V (the TTP229 works from 2.4 V to 5.5 V)
  GND         GND
  SCL         D8 (any digital pin, an OUTPUT)
  SDO         D2 (any digital pin, an INPUT; D2 / D3 for READ DV's interrupt)
  OUT1 - OUT8 open (8-key mode: one output per key 1 - 8)
In the demo the power pins go to VCC / GND terminals and SCL / SDO to labels
(SCL_1 / SDO_1, SCL_2 / SDO_2) at the UNO's header. The serial monitor needs
no wires: it is built into the Arduino UNO V4.0.
REAL HARDWARE:
 * From the factory the board has 8 keys: bridge TP2 (on many boards P1 pin
   3) for 16 keys. Multi-key: TP3 and TP4 (P1 pin 4 and P2 pin 5). Power the
   board again after a change.
 * Do not touch the pads while the board powers up.
 * The SCL / SDO pins are not I2C: do not put them on A4 / A5 with the Wire
   library.
 * Wait more than 2 ms between two reads.

THE TEST TOOLS (Advance, Tests tab) - what they really measure
Every tool reads the model during the running simulation; each shows one
"Good for:" line and, where it judges, a verdict per row (green = fine, amber
= check, red = wrong, grey = only an explanation).
  Options & mode
                Good for: keys 9 - 16 that never answer, only one key of
                several, the 8 outputs, the polarity of SCL and SDO. The pads
                bridged and what each of TP0 - TP7 does now.
  Serial read   Good for: no key in the sketch, keys one place off, keys
                that come only sometimes, all keys at once. The reads a
                second (or after DV), the clocks per read, the clock
                frequency, the level SCL rests at, the 2 ms reset, DV, the
                keys no read got.
  Touch & timing
                Good for: a first touch that is slow or lost, a key that
                never answers after power-on, very short taps. The
                calibration, pads in the baseline, sleep and wake-up, the
                last response time, touches the chip never reported.

THE DEMO SKETCH ON THE SERIAL MONITOR (TTP229_Touch_Keypad_Demo V1.0)
  KEYS 8 / 16       the clocks a read makes (16 at the start)
  READ POLL / DV    a read every RATE ms, or after each data-valid pulse
                    (an interrupt on D2, then 20 us, then the clocks)
  RATE ms           the time between two reads, 1 - 500 (20 at the start)
  POL LOW / HIGH    the board's TP1: active-low (open) or active-high
  RAW 0 / 1         also print the SDO bits of each new read
  STATUS, HELP
Commands are not case-sensitive; type them in the UNO's built-in monitor and
press Enter. A touch prints "t=3.563 s  key 5 touched", a release "t=3.723 s
key 5 released (0.16 s)".

EXPECTED MONITOR OUTPUT (the start)
ARD2 at Run, then pad 5 and (TP2 bridged) pad 12 held:
  TEP TTP229 touch keypad - demo V1.0
  SCL on D8, SDO on D2: 16 clocks, active-low, a read every 20 ms
  Commands: KEYS 8/16, READ POLL/DV, RATE ms, POL LOW/HIGH, RAW 0/1, STATUS, HELP
  t=5.344 s  key 5 touched
  t=5.424 s  key 5 released (0.08 s)
  t=13.004 s  key 12 touched
  t=14.244 s  key 12 released (1.24 s)
(the times depend on when you click; a short tap from sleep is reported
late and briefly - the chip wakes 8 times a second)

PROPERTIES (double-click the part > Edit Properties)
  OPTIONS      the option pads bridged at the start: NONE (as the board
               comes), TP2, TP2 TP3 TP4 ... (any of TP0 - TP7)
  PRESS        the shortest touch of a click, ms (default 150, 50 - 1000)
  PANEL        Simple only: the STATUS panel at the start, OPEN or CLOSED
Every run starts again from the properties.
The demo's UNOs (ARDUINO UNO V4.0): PROGRAM TTP229_Touch_Keypad_Demo.hex,
MONITOR YES (the built-in monitor), BAUD 9600, AUTOOPEN YES, BOOTLOADER YES.

LINKS.INI (OPTIONAL)
The Help page cards of the Advance device open web pages. To point them
somewhere else without a new DLL, put a text file named links.ini next to
TEPTTP229.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
* Keys 9 - 16 never answer: the board is in 8-key mode - bridge TP2.
* Only one of several pads comes: single-key mode - bridge TP3 and TP4.
* No key at all: nothing clocks SCL, or the pins in the sketch are not the
  wired ones - Serial read. A read less than 2 ms after the last one gets no
  key data.
* Every key reads as touched, or the keys come one place off: the clock is
  upside down - with TP1 open SCL must rest HIGH (POL LOW in the demo).
* A key after power-on never answers: it was touched during the 0.5 s
  calibration - lift the finger and wait 4 s.
* A short tap gets lost: shorter than one scan (32 ms with 16 keys), or the
  chip was asleep (the first touch after 8 s answers up to 161 ms later).
* The parts are not simulated: TEPTTP229.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.
* Advance: the pop-up does not appear - click OPEN PANEL on the board, or
  turn "Open the panel at Run" on its Settings page back on.

BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the
simulation log and (Advance) the Copy diagnostics text:
  https://www.theengineeringprojects.com/forum/category/ttp229-touch-keypad-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 TTP229 model (TEPTTP229.DLL), the symbols and artwork 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 model is
  an independent implementation written from the TTP229-BSF datasheet. The
  model uses 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 demo sketch uses no library - none is needed (16 clock pulses on SCL,
  SDO read after each).
* 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
  The demo sketch's source is in "Arduino Code", so the .hex can be rebuilt
  with other versions of the core (REBUILDING THE FIRMWARE).
* TonTouch and TTP229 are names of Tontek Design Technology. 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 Tontek,
  by the boards' makers or by 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\TTP229_Touch_Keypad_Demo\TTP229_Touch_Keypad_Demo.ino
in the Arduino IDE, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX.
The sketch needs 7,766 bytes of flash and 398 bytes of RAM.

MODEL SCOPE AND LIMITS
Modelled: the option pads TP0 - TP7 (read at power-on), 8 / 16 keys, single
and multi-key with the two groups, the calibration, sleep and the wake-up
samples, the response time, re-calibration, the maximum key-on time, the
2-wire serial interface (active-low / active-high, D0 - D15, DV, the 2 ms
reset), the 8 direct outputs (CMOS / open drain / open collector), the power
pins, the reader as seen on SCL.
How the part works with the circuit: digital pins; SDO is a push-pull output
(it floats without power), SCL an input; OUT1 - OUT8 are driven in 8-key mode
and float in 16-key mode.
Not modelled: the capacitance of the pads and the touch's strength (a touch
is on or off), the sensitivity capacitors and the cover's thickness, the
supply current and the regulator, noise and water on the pads, a load on
OUT1 - OUT8 in 16-key mode. The model's own choices: SDO 0.3 us after a clock
edge, a touch counts when it covers a whole scan, a read sooner than 2 ms
goes on where the last stopped (the bits after the last key read the idle
level), DV at each scan while a key is reported and once when the last key
goes, PRESS, the SWEEP timing (150 ms apart), the HOLD keys.

VERSION
TEP TTP229 Touch Keypad library V1.0 (Oct 2026). Devices TTP229TEP /
TTP229ADVTEP (TEPTTP229.LIB / TEPTTP229.DLL). Demo sketch
TTP229_Touch_Keypad_Demo V1.0 (SCL D8, SDO D2, a read every 20 ms, no
library). Demo board: ARDUINO UNO V4.0 (TEP Arduino Library V4.0) with its
built-in serial monitor.
Advertisement

Development1 release

  1. V1.0TTP229 Touch Keypad 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. 1

    Extract the archive

    Right-click ttp229-tep-v1-0-aa78fb94517a470384b5008f09951c50.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (TTP229-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move ArduinoV4TEP.LIB and TEPTTP229.LIB 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 TEPARDUINO.DLL and TEPTTP229.DLL 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 TTP229_Touch_Keypad_Demo.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 TTP229_Touch_Keypad_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open TTP229-Touch-Keypad-ArduinoUnoV4.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

    TTP229 Touch Keypad Library for Proteus V1.0: 16-Key Capacitive Keypad 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 TTP229 Touch Keypad 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?

TTP229 Touch Keypad Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.2 MB, 2.7 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 10 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, 8cd7ae9888fefd72b037a74566ee170cb4837125c29f6b9c6366d2148ef6096b. In PowerShell run Get-FileHash "ttp229-tep-v1-0-aa78fb94517a470384b5008f09951c50.zip"; on macOS or Linux run shasum -a 256 "ttp229-tep-v1-0-aa78fb94517a470384b5008f09951c50.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 · ttp229-tep-v1-0-aa78fb94517a470384b5008f09951c50.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

  • 7Total downloads
  • 4%Popularity
  • ProteusCategory
  • 0Comments
  • ssyedzainnasirUploaded by
  • 18 Oct 2026Uploaded at
Last 14 days5 downloads
SHA-256 8cd7ae9888fefd72b037a74566ee170cb4837125c29f6b9c6366d2148ef6096b
DocumentationTTP229 Touch Keypad Library for Proteus V1.0: 16-Key Capacitive Keypad
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.