DFR0129

DFR0129 Datasheet


Capacitive Touch Kit For Arduino SKU:DFR0129

Part Datasheet
DFR0129 DFR0129 DFR0129 (pdf)
PDF Datasheet Preview
Capacitive Touch Kit For Arduino SKU:DFR0129

Contents
• 1 Introduction
• 2 Connection Diagram
• 3 Sample Code

Introduction

Now, it is time to add a more fancy interactive way to your project. This DFRobot touch kit comes with three types touch sensors. An ipod styple wheel touch, a keypad touch which supports backlit and a grid touch pad which can recoginze something unique. This kit utilizes the not very "latest" capactive touch technology which make the sensing very sensitive. The kit is designed to be compatible with Arduino.

Connection Diagram

Keypad CD

Wheel pad CD

Touch pad CD

NOTE The pin number is the same to the PCB board one.

Sample Code

Please download the touch kit library first. This code is for WheelPad. /*

TouchWheel.pde MPR121 WhellPad Example Code by:Waiman Zhao created on 11/2/14
license CC-SA

Hardware 3.3V Arduino Pro Mini SDA -> A4 SCL -> A5 IRQ -> D2
#include <Wire.h> #include <mpr121.h>
int key = 0;
// ========= setup ========= void setup
// initialize function Serial.begin 19200 Wire.begin CapaTouch.begin ;
delay 500 Serial.println "START" ;
// ========= loop ========= void loop
key=CapaTouch.keyPad ;
if key==1

Serial.print "wheel:" Serial.println "0" ;
if key==4 Serial.print "wheel:" Serial.println "1" ;
if key==7 Serial.print "wheel:" Serial.println "2" ;
if key==11 Serial.print "wheel:" Serial.println "3" ;
if key==2 Serial.print "wheel:" Serial.println "4" ;
if key==5 Serial.print "wheel:" Serial.println "5" ;
if key==8 Serial.print "wheel:" Serial.println "6" ;
if key==0 Serial.print "wheel:" Serial.println "7" ;
if key==3 Serial.print "wheel:" ;

Serial.println "8" ;
delay 200 ;

This code is for KeyPad.
/* TouchWheel.pde MPR121 WhellPad Example Code
by:Waiman Zhao created on 11/2/14 license CC-SA

Hardware 3.3V Arduino Pro Mini SDA -> A4 SCL -> A5 IRQ -> D2
#include <Wire.h> #include <mpr121.h>
int key = 0;
// ========= setup ========= void setup
More datasheets: 5670H5_5 | 5670H1_1 | 5670H5LC_1LC | 5670H5_7 | 5670H1LC_1LC | 5670H3_3 | 5670H7LC_7LC | 5670H3-5V_5-5V | 72103R-462 | 72103R-442


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived DFR0129 Datasheet file may be downloaded here without warranties.

Datasheet ID: DFR0129 508651