Sensor Input with Circuit Playground
In addition to the on-board sensors of the Circuit Playground, external sensors can be used via I2C and voltage measurements on four analog input channels.
Table of contents
Input Pads
In addition to the built-in sensors for sound, temperature, incident light and acceleration, the Circuit Playground can make voltage readings on four of the pads around the perimeter of the board. The Circuit Playground can also communicate with digital sensors (sensors that have additional built-in communications) via the I2C pads. The following image shows the locations and labels of the pads used for sensor input.
Channels linked to input pads
The following lists the association between the pad
number and internal label used by the analogRead
function.
Pad Number Channel
#6 A7
#9 A9
#10 A10
#12 A11