Datasheet
Using with Arduino
Its super easy to use this sensor board with an Arduino thanks to the great Adafruit library.
Once you've installed the library you can connect the sensor board via I2C or SPI to your
Arduino, it will work with any kind or flavor. If you're using a different kind of microcontroller,
the library is a good reference to help you port the code over.
Download the library
First up, we'll download the Arduino library from github. The source code is in a repository
there, but to make it easy, we suggest just clicking the button below to get the latest
version in a Zip file.
Download CAP1188 Library
http://adafru.it/d5g
Rename the uncompressed folder Adafruit_CAP1188 and check that the
Adafruit_CAP1188 folder contains Adafruit_CAP1188.cpp and Adafruit_CAP1188.h
Place the Adafruit_CAP1188 library folder your arduinosketchfolder/libraries/
folder.
You may need to create the libraries subfolder if its your first library. Restart the IDE.
We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use (http://adafru.it/aYM)
Run Test Sketch
After you've restarted, you should be able to load up the File->Examples-
>Adafruit_CAP1188->cap1188test sketch
© Adafruit Industries https://learn.adafruit.com/adafruit-cap1188-breakout Page 11 of 19