Skip to the content
PCBKitNew board
2 layersTinytouch, the printed circuit board in 3D

Simple and reliable finger-to-PCB capacitive touch sensing

Copper layers
2
Thickness
1.6 mm
Parts
16
Nets
10
Pads
33
Tracks, vias
38, 2
Pours
2
Routed
Yes
KiCad
KiCad 4
Created
26 Nov 2016
Updated
16 May 2017

Overview

Tinytouch is an open-source printed circuit board by conorpeterson, from the conorpeterson/tinytouch repository on GitHub. It is a 2-layer board with 16 parts on 10 nets, routed with 38 tracks and 2 vias.

Its parts include 4 resistors, 3 capacitors, 1 IC, 1 diode and 1 connector. It belongs with the AVR (ATmega, ATtiny) boards of this library.

README

README.md

pcb rendering

TinyTouch

** Simple and reliable finger-to-PCB touch sensing **
By Conor Peterson - conor.p.peterson@gmail.com 2016

License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)

This project demonstrates simple and reliable on/off capacitive touch sensing. It is designed for use in interactive artworks or museum displays but would be well-suited for any hardwired application that requires oversized, physically accessible buttons located a distance from the controlling hardware.

The project is built around an ATtiny microcontroller so is compatible with 5v and 3.3v power supplies. The output of the detection unit is a clean high/low signal. Presses of variable duration are detected within reasonable limits.

The sensing element is built into the PCB itself and is designed to be directly touched by the user for maximum reliability. Material may be placed over the sensing element but should be kept thin, no thicker than typing paper (~.003" / .08mm). Certain materials may require adjustment of sensitivity threshold, or more substantial adaptations including the sensing element resistors (R3 and R4), the sampling interval or possibly the clock speed of the microcontroller.

One of the challenges in capacitive touch sensing is that the measurements tend to drift according to changes in temperature and humidity. This design attempts to address this by calibrating the detection floor at startup and at regular intervals thereafter. Consequently the sensor is best suited for momentary presses only - continuous contact for more than several seconds is to be avoided.

Contents

Firmware

This folder contains the source code for the ATtiny25/45/85 microcontroller. It has been tested to compile within a Linux environment using avr-gcc 4.9.2 and avr-libc 1.8.0. The bin subfolder contains pre-compiled hex files suitable for flashing with avrdude. NOTE: you must alter the fuse bits so that the chip runs at 8 MHz; this can be done by invoking the "fuses" target in the supplied makefile.

Schematic

Contains a Kicad 4.x schematic for the project, plus a the reference PCB layout and fabrication-ready gerbers. The artwork in the TT_SMT_GRAPHICS subfolder can be modified and passed through Kicad's bitmap-to-component converter to create the custom touch sensor soldermask.

License

The contents of this project are provided under the Creative Commons Attribution-ShareAlike 4.0 license. (https://creativecommons.org/licenses/by-sa/4.0/legalcode)

You are free to:
Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

Parts

16
QtyValueFootprintReferences
3MountingHole_3.2mm_M3_ISO7380Mounting_Holes:MountingHole_3.2mm_M3_ISO7380SCREW_1, SCREW_2, SCREW_3
21MResistors_SMD:R_0805_HandSolderingR3, R4
222uFCapacitors_SMD:C_0805_HandSolderingC1, C2
1.1uFCapacitors_SMD:C_0805_HandSolderingC3
110kTT_PCBParts:Bourns_SMD_TrimmerRV1
110kResistors_SMD:R_0805_HandSolderingR1
12.2kResistors_SMD:R_0805_HandSolderingR2
1ATTINY45-SHousings_SOIC:SOIJ-8_5.3x5.3mm_Pitch1.27mmIC1
1CONN_01X03TT_PCBParts:CONN_1x3_DIRECTSOLDERP1
1LEDTT_PCBParts:LED_0805_HandSolderingD1
1LOGOTT_PCBParts:OSHW_LOGOG***
1LOGOTT_PCBParts:cap_touch_40mmSENS

Questions

What parts does the Tinytouch use?

16 parts. 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 Tinytouch KiCad files?

From the conorpeterson/tinytouch repository on GitHub, at the commit this page was made from: the board is Schematic/TinyTouch.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Tinytouch design in my own project?

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

Similar boards

  • 2 layers140.5 × 30 mmType e, the printed circuit board in 3D

    Type e

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    16 parts3kApache-2.0
  • 2 layers41.4 × 14.5 mmU2f zero, the printed circuit board in 3D

    U2f zero

    conorpp/u2f-zero

    U2F USB token optimized for physical security, affordability, and style

    16 parts2.4k
  • 2 layers122 × 37 mmV0-UmbilicalBoard, the printed circuit board in 3D

    V0-UmbilicalBoard

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    16 parts1.1kGPL-3.0
  • 2 layers152 × 57.6 mmVideoslotadapter, the printed circuit board in 3D

    Videoslotadapter

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    16 parts1kGPL-3.0
  • 2 layers36 × 63.4 mmSmart ringfinal layout, the printed circuit board in 3D

    Smart ringfinal layout

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    16 parts915
  • 2 layers60 × 40 mmHASwitchPlate, the printed circuit board in 3D

    HASwitchPlate

    aderusha/HASwitchPlate

    LCD touchscreen for Home Automation

    16 parts738MIT
  • 2 layers21.1 × 26.9 mmDemo, the printed circuit board in 3D

    Demo

    easyw/kicadStepUpMod

    kicadStepUp: ECAD to MCAD FreeCAD WorkBench

    16 parts704