
Hello friends, I hope you all are doing great. Today, I am going to share the new TTP229 Touch Keypad Library for Proteus V1.0. The red TTP229 16-key capacitive touch keypad is the easiest way to give an Arduino project a modern, button-free front panel: sixteen round pads under a thin cover, no moving parts, nothing to wear out. It talks to the Arduino over two wires, SCL and SDO, and for a hobby board it hides a surprising number of traps: it comes with only 8 of its 16 keys switched on, it reports one key at a time unless you bridge two pads, and its serial interface is not I2C at all. Behind the parts sits our own model, written from the TTP229-BSF datasheet. You click the pads on the board while the simulation runs, and the chip answers the way the real one does: it calibrates at power-on, sleeps and wakes up, scans its keys every 16 or 32 ms, shifts the keys out bit by bit on SDO, pulses SDO when a key is ready, and resets its interface after 2 ms without a clock. The eight option pads TP0 - TP7 are clickable too. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window that draws SCL and SDO through the last read, bit by bit. The demo runs on our Arduino UNO V4.0. NOTICE: a touch keypad is easy to fake: a part that hands the key you click straight to the sketch. We wanted more. Our TTP229 talks only the way the real chip talks - a bit on SDO for each clock on SCL - so a sketch that reads too few bits, clocks too fast, reads too often, ...








