SLAA891B April   2019  – February 2020 MSP430FR2512 , MSP430FR2512 , MSP430FR2522 , MSP430FR2522 , MSP430FR2532 , MSP430FR2532 , MSP430FR2533 , MSP430FR2533 , MSP430FR2632 , MSP430FR2632 , MSP430FR2633 , MSP430FR2633 , MSP430FR2672 , MSP430FR2672 , MSP430FR2673 , MSP430FR2673 , MSP430FR2675 , MSP430FR2675 , MSP430FR2676 , MSP430FR2676

 

  1.   Automating Capacitive Touch Sensor PCB Design Using OpenSCAD Scripts
    1.     Trademarks
    2. 1 Introduction
    3. 2 Getting Started
      1. 2.1 Prerequisites
      2. 2.2 Workflow
      3. 2.3 Creating a Sensor
      4. 2.4 Output DXF
      5. 2.5 Batch Files
    4. 3 Slider
    5. 4 Wheel
    6. 5 Curved Slider
    7. 6 Touchpad
    8. 7 PCB CAD Tool
    9. 8 Summary
  2.   Revision History

Introduction

OpenSCAD is a free software application for creating solid 3D CAD objects. It is a script-only based modeler that uses its own description language; parts can be previewed but cannot be interactively selected or modified by the mouse in the 3D view. OpenSCAD is free and released under the General Public License version 2. OpenSCAD is available from http://www.openscad.org/. It is also available for macOS® and Linux® operating systems.

The version at the time of this writing is 2019-05. Although the primary strength of OpenSCAD is 3D rendering, its 2D capabilities are perfect for creating 2D capacitive electrode shapes that can be quickly manipulated by simple modifications to the script parameters that control the various attributes of the design.

The sensor design scripts are provided by Texas Instruments under a BSD license so you are free to modify them if needed. These scripts create and manipulate primitive objects that are assembled into complex slider and wheel sensor designs, using only these seven OpenSCAD commands:

square()

circle()

translate()

rotate()

hull()

difference()

intersection()

For information about these commands, refer to the OpenSCAD user guide.

This document does not cover the theory of capacitive touch or provide design guidelines for construction and layout of capacitive sensors on a PCB, but it does illustrate common slider, wheel and, touchpad sensor designs and their geometric features that relate to the corresponding script parameters.

It is assumed the reader has some familiarity with capacitive touch technology, slider or wheel sensors and sensor design principles. If new to capacitive touch, visit http://www.ti.com/captivate for information about MSP430™ capacitive touch sensing microcontrollers and http://www.ti.com/captivatetechguide for sensor design guidelines.

NOTE

The PCB examples provided in this document are demonstrated using Altium Designer 19. Refer to your PCB CAD tool documentation to perform the equivalent steps.