Skip to the content
2 layersCap touch sensor, the printed circuit board in 3D

Cap touch sensor

Glebka/FancyLight1

FancyLight - an LED lamp powered by a Li-Ion battery, which can be found in used electronic cigarettes. It charges via a micro USB connector and is turned on and off using a touch button.

Copper layers
2
Thickness
1.6 mm
Parts
9
Nets
5
Pads
18
Tracks, vias
25, 4
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
15 Dec 2023
Updated
19 Jan 2025

Overview

Cap touch sensor is an open-source printed circuit board by Glebka, from the Glebka/FancyLight repository on GitHub. It is a 2-layer board with 9 parts on 5 nets, routed with 25 tracks and 4 vias.

It is built around the TTP223-BA6. Its parts include 3 connectors, 2 capacitors and 1 IC. It belongs with the power and sensors and measurement boards of this library.

Main components

1

README

README.md

FancyLight

FancyLight - an LED lamp powered by a Li-Ion battery, which can be found in used electronic cigarettes. It charges via a micro USB connector and is turned on and off using a touch button. A simple project to learn how to work with the TP4056 battery charging controller, a step-up DC-DC converter based on the SB6286 for powering LEDs, a touch switch controller based on the TTP223-BA6, as well as battery protection elements based on the DW01-P and dual MOSFET 8205A.

A touch switch controller is assembled on a separate PCB to improve touch sensing reliability.

TODO

  • Fix schematic and PCB:
    • Remap MCU pins to use benefits of builtin PWM generator
    • Fix auto-on on charging issue: add LDO for sensor and MCU, decoupling capacitors
    • Replace MURATA coil with some more common analog
    • Rework ISP connector so it compatible with programming clip, place it near the edge
    • Make 4 layers stackup
    • Update BOM and placement files to automatically mount
      • USB-C connector
      • LEDs
      • Inductor for Step-Up converter
    • Replace resistor on SENSE pin to 10k - 100k
    • Design mounting hole for PCB itself
  • Fix enclosure
    • Design mounting for the PCB for easier assembly
    • Fix the depth of mode selection pocket
  • (Minor) Update schematic and PCB
    • Introduce nRF module for BLE
    • Add wireless charger receiver as an alternative to USB-C

Parts

9
QtyValueFootprintReferences
2SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1, JP2
10.1uCapacitor_SMD:C_0603_1608MetricC2
15-10pFCapacitor_SMD:C_0603_1608MetricC1
1GNDConnector_PinHeader_1.27mm:PinHeader_1x01_P1.27mm_VerticalJ3
1SENSETestPoint:TestPoint_Pad_D4.0mmTP4
1TOGConnector_PinHeader_1.27mm:PinHeader_1x01_P1.27mm_VerticalJ2
1TTP223-BA6Package_TO_SOT_SMD:SOT-23-6U1
1VBATConnector_PinHeader_1.27mm:PinHeader_1x01_P1.27mm_VerticalJ1

More from Glebka/FancyLight

1
  • 2 layers40 × 40 mmFancyLight V2, the printed circuit board in 3D

    FancyLight V2

    Glebka/FancyLight

    FancyLight - an LED lamp powered by a Li-Ion battery, which can be found in used electronic cigarettes. It charges via a micro USB connector and is turned on and off using a touch button.

    52 parts1

Similar boards

  • 2 layersAmulet, the printed circuit board in 3D

    Amulet

    mitxela/amulet

    Source code and KiCad design files for the UV Protection Amulet.

    31 parts42
  • 4 layers46.7 × 19.3 mmQFN Touch TTP223, the printed circuit board in 3D

    QFN Touch TTP223

    Paschalis/Hardware-Login-Key

    The Hardware Login Key is an ATtiny85-based USB device that securely automates password entry using a physical button or touch sensor. It offers a simple, hardware-driven way to log into systems or websites.

    24 parts3GPL-3.0
  • 2 layers91.9 × 77.8 mmKeychain, the printed circuit board in 3D

    Keychain

    adonutartist/Nemo-PCB-Keychain

    as the title says its a pcb and a keychain

    11 parts1
  • 4 layers83.1 × 31.9 mmWeighingScalePCB, the printed circuit board in 3D

    WeighingScalePCB

    meepdong/Weighing-Scale-Coaster

    Coffee Weighing Scale using HX711

    41 parts1
  • 4 layers37 × 18 mmTouch shield, the printed circuit board in 3D

    Touch shield

    cmerbach/nixos-test

    A very basic NixOS setup

    23 parts
  • 2 layers50 × 75 mmZapper, the printed circuit board in 3D

    Zapper

    hanebuechenes/ZapZap

    Ein Blutzapper nach Dr. Robert C. Beck CC/CV Akku OLED

    78 partsGPL-3.0
  • 2 layers92.8 × 100 mmFreakeyboard, the printed circuit board in 3D

    Freakeyboard

    kasasiki3/Freakeyboard

    You enter keys into your PC by swiping and touching just like on a smartphone keyboard.

    94 parts
  • 2 layers143 × 86.9 mmGamingControler, the printed circuit board in 3D

    GamingControler

    kubascikmichal/smartclass-pcb

    KiCad projects of PCBs for smartclass

    65 parts

Questions

What parts does the Cap touch sensor use?

9 parts, built around the TTP223-BA6. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Cap touch sensor KiCad files?

From the Glebka/FancyLight repository on GitHub, at the commit this page was made from: the board is cap-touch-sensor/cap-touch-sensor.kicad_pcb and its schematic FancyLight-V2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Cap touch sensor design in my own project?

Its repository states no licence, so its author keeps all rights: ask Glebka before reusing the design.