
simultaneously. The serial interface operates at 9600 baud. The I C
interfaces is a 7-bit slave with a maximum clock rate of 100 kHz. It does not
support General Call or 10-bit addressing.
Pin Label Function
GND Ground
VIN +5-12 Volt power input
SDA I C SDA (Data)
SCL I C SCL (Clock)
RX Serial TTL RX Input
TX Serial TTL TX Output
PWM Pulse-width Modulation Output
Power
The Touch Pot has a 5V LDO voltage regulator (Vreg) to allow the board to
be powered from external sources that are larger than 5V (great for lighting
and audio systems that require 9-12V). The VIN pin can be powered with
any voltage between 4.6-12V. The datasheet for the Vreg can be found
here.
Important Note about Power Supplies
The capacitive sensors may be adversely affected by electrical noise.
They are sensitive to 50 and 60-Hz energy that may be coupled
through power supplies with inadequate line filtering or configurations
with a ground loop (for example, a system that has a DC power supply
and is also connected to a computer with its own power supply). It
may be necessary to include an AC line filter in front of some cheap
switch-mode power supplies to eliminate ground loop conditions.
Serial Communication
A computer with a USB interface and terminal emulator program can
access the Touch Potentiometer using the serial interface connected to a
USB-to-serial device like a FTDI Basic Breakout Board or a micro-controller
like the 5V Pro Micro that has both a USB interface with Communications
Device Class (CDC) support and a serial port. The Touch Potentiometer
serial interface operates at 5V logic levels with a data rate of 9600 baud,
eight data bits, no parity and one stop bit (8N1).
I C Communication
The Touch Pot communicates over I C just as any other I C sensor would.
It supports 7-bit addressing and a maximum transfer rate of 100 kHz. It may
be connected to a 5V Arduino I C peripheral (A4/A5) directly. Level
translators should be used for 3.3V Arduino boards (or other 3.3V micro-
controllers). The Touch Potentiometer activates weak pull-ups on its I C
signals, so pull-up resistors are not necessary for short connections (a few
inches). Pull-up resistor values of 4.7kΩto 10kΩmay be used.
The default I C address is 0x08. There are 64 available I2C addresses.
The Touch Pot uses two consecutive I2C addresses, which is why only 64
are available. Details on changing that address in the utility app and on the
fly will discussed later in the tutorial.
2
2
2
2
22
2
2
2
Page 3 of 1