430BOOST-SENSE1 - Capacitive Touch BoosterPack for the LaunchPad User's Guide Literature Number: SLAU337A April 2011 – Revised September 2011
SLAU337A – April 2011 – Revised September 2011 Submit Documentation Feedback Copyright © 2011, Texas Instruments Incorporated
Contents Preface ....................................................................................................................................... 5 1 430BOOST-SENSE1 Overview .............................................................................................. 7 .................................................................................................................. 7 ..............................................................................................................
www.ti.com List of Figures 1 Capacitive Sense BoosterPack With LaunchPad ....................................................................... 7 2 PC GUI Looking for LaunchPad ......................................................................................... 11 3 PC GUI in Sleep Mode 4 PC GUI in Active Mode ................................................................................................... 12 5 MediaPad ......................................................................
Preface SLAU337A – April 2011 – Revised September 2011 Read This First If You Need Assistance If you have any feedback or questions, support for MSP430 devices, the MSP-EXP430G2 LaunchPad, and the 430BOOST-SENSE1 Capacitive Touch BoosterPack for the LaunchPad is provided by the Texas Instruments Product Information Center (PIC) and the TI E2E Forum (https://community.ti.com/forums/12.aspx). Contact information for the PIC can be found on the TI web site at support.ti.com.
Read This First SLAU337A – April 2011 – Revised September 2011 Submit Documentation Feedback Copyright © 2011, Texas Instruments Incorporated
User's Guide SLAU337A – April 2011 – Revised September 2011 430BOOST-SENSE1 - Capacitive Touch BoosterPack for the LaunchPad 1 430BOOST-SENSE1 Overview 1.1 Overview The 430BOOST-SENSE1 Capacitive Touch BoosterPack is the first extension module for the MSP-EXP430G2 MSP430 LaunchPad Value Line Development Kit (see Figure 1).
430BOOST-SENSE1 Overview www.ti.com The Capacitive Sense BoosterPack features the new MSP430G2xx2 devices, which are capable of driving up to 16 touch-sense enabled I/O pins. The included MSP430G2452 device allows for low-cost capacitive-sensing and approximation-sensing applications without the use of any external components. The BoosterPack includes a capacitive sense board and an MSP420G2452 device preprogrammed with a demo application.
Getting Started With 430BOOST-SENSE1 BoosterPack www.ti.com 2 Getting Started With 430BOOST-SENSE1 BoosterPack The following sections describe the preparation necessary to run the user experience application demo and to start developing applications with the MSP430G2452 for the Capacitive Touch BoosterPack. 2.1 Hardware Preparation To prepare the Capacitive Touch BoosterPack hardware for its first use: 1. Solder both 10-pin male headers onto the LaunchPad's breakout pin connections J1 and J2.
Getting Started With 430BOOST-SENSE1 BoosterPack 2.2.1 www.ti.com LaunchPad USB Driver For the PC to communicate with the LaunchPad hardware, the LaunchPad USB driver must be installed. If this is the first time the LaunchPad is connected to the PC, install the USB serial COM port driver located at [INSTALL_PATH]\LaunchPad_Driver\LaunchPad_Driver.exe. NOTE: The LaunchPad USB drivers are integrated into the IDE installer packages from Code Composer Studio (version 4+) or IAR Embedded Workbench (version 5.
Getting Started With 430BOOST-SENSE1 BoosterPack www.ti.com 2.3.2 LaunchPad Capacitive Touch BoosterPack GUI Demo This section describes how to run the application on both the LaunchPad Capacitive Touch BoosterPack and the PC. It assumes that the hardware is connected to the PC via USB cable (see step 1 of Section 2.3.1) and that the software has been installed (see Section 2.2). The following steps correspond to the instructions in Section 2.3.1. 1. Start the CapTouch_BoosterPack_UserExperience_GUI.
Getting Started With 430BOOST-SENSE1 BoosterPack www.ti.com 4. The gesture tracking (Start, Stop, and Update) is visualized on the wheel with the coloring of the wheel slices (see Figure 4). Gesture can be tracked for several revolutions of the wheel, in both clockwise and counter-clockwise directions (1). Figure 4. PC GUI in Active Mode 5. After a short time when no capacitive touch activity is detected, the board returns to sleep mode and the GUI is disabled. 2.3.
Getting Started With 430BOOST-SENSE1 BoosterPack www.ti.com Figure 5. MediaPad NOTE: The Microsoft .NET runtime library is required to run the MediaPad software. While most recent Windows PCs have the .Net runtime library installed, a new or reinstall of the library might be necessary.
Capacitive Touch BoosterPack Hardware 3 www.ti.com Capacitive Touch BoosterPack Hardware As shown in Figure 6 and Table 1, the Capacitive Touch BoosterPack is a typical capacitive touch application example for the new MSP430G2xx2 touch-sense enabled I/O pins. The board shows three different capacitive sensor types: a single button in the middle, a wheel made of four single capacitive sensors, and a proximity sensor around the edge of the PCB.
Capacitive Touch BoosterPack Hardware www.ti.com 3.1 Driving the LEDs The white center LED is connected to port P1.0 of the Value Line device and can be turned on by setting this port as output. The other eight LEDs are multiplexed as shown in Figure 7. Four LEDs are connected with the diode cathodes to the ports P1.4 to P1.7, and the other four LEDs are connected with the diode anodes. All LEDs are connected to port P1.3 to either source or drain four LEDs at any one time.
Capacitive Touch BoosterPack Hardware 3.2 www.ti.com Capacitive Touch Sensors The six different capacitive touch sensor areas are connected to the Port 2 of the device. On the MSP430 Value Line devices with enabled touch-sense, Port 2 I/Os have no analog functionality. These I/Os also have a smaller internal capacitance than Port 1, which make these them more sensitive than the capacitive touch sensors on Port 1. Figure 9 shows the connection of the capacitive touch sensor areas to the MSP430. Figure 9.
LaunchPad Capacitive Touch BoosterPack User Experience Firmware www.ti.com 4 LaunchPad Capacitive Touch BoosterPack User Experience Firmware This section describes the firmware application that is provided with the project. Detailed information on the project construction, use of the Capacitive Touch Sense Library, and how to set up and import the projects is included. Source code for the MSP430G2452 firmware application is installed to the [INSTALL_PATH]\Source\ folder as described in Section 2.2.
LaunchPad Capacitive Touch BoosterPack User Experience Firmware 4.3 www.ti.com Capacitive Touch Sense Library The Capacitive Touch Sense Library (CAPSENSELIBRARY) is a configurable tool to abstract the various peripheral settings from the application and perform several capacitive touch functions through API calls.
LaunchPad Capacitive Touch BoosterPack User Experience Firmware www.ti.com 3. API Calls There are five API functions that are called several times in the application. • The TI_CAPT_Init_Baseline and TI_CAPT_Update_Baseline functions initialize and update, respectively, the baseline tracking performed by the library. Typically, these functions are called at the beginning of an application or after long periods of inactivity.
LaunchPad Capacitive Touch BoosterPack User Experience Software www.ti.com 5 LaunchPad Capacitive Touch BoosterPack User Experience Software 5.1 LaunchPad Capacitive Touch BoosterPack User Experience GUI Written in Processing, this Windows PC GUI application communicates with the LaunchPad to receive specific capacitive touch data from the LaunchPad Capacitive Touch BoosterPack and provides the visualization of that data in the GUI.
LaunchPad Capacitive Touch BoosterPack User Experience Software www.ti.com 5.3 UART Communication Protocol For each event (wake up, go to sleep, touch/press, or gesture), a UART packet of two bytes is sent via the application UART backchannel of the LaunchPad.
Frequently Asked Questions (FAQ), Tips, and Tricks 6 www.ti.com Frequently Asked Questions (FAQ), Tips, and Tricks 1. The LaunchPad is unable to program the MSP430G2452. Some of the revision 1.4 LaunchPad kits must have a firmware update to support the MSP430G2452 devices. Update the LaunchPad firmware with the application provided at processors.wiki.ti.com/index.php/MSP430_LaunchPad_Firmware_Update. 2. The touch-sense I/Os are not working when the LaunchPad is picked up.
Schematics and PCB Layout www.ti.com 8 Schematics and PCB Layout 8.1 Schematics Figure 10.
Schematics and PCB Layout 8.2 www.ti.com PCB Layout Figure 11. Capacitive Touch BoosterPack Layout, Top Layer Figure 12. Capacitive Touch BoosterPack Layout, Bottom Layer and Silkscreen 8.3 Bill of Materials (BOM) Table 2. Bill of Materials 24 Pos. Ref Name Number per Board 1 R1 to R8 8 390-Ω SMD0603 resistor 2 R9 1 180-Ω SMD0603 resistor 3 LED1 to LED8 8 Top LED red wtr clr 631NM 1206 4 LED9 1 LED white round diffused 1206 5 J1, J2 2 Female header SSM-110-L-SV 2.
Revision History www.ti.com Revision History Changes from Original (April 2011) to A Revision .......................................................................................................... Page • Clarified import instructions in Section 4.1 ........................................................................................... 17 NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.