MCP3008 8-channel 10-bit ADC
Adds analog inputs to a Raspberry Pi over SPI.
Function8-channel 10-bit ADC
Supply voltage2.7 to 5.5 V
Inputs and outputsSPI
SpeedUp to 200 ksps at 5 V
Integrated CircuitsReviewedMPN MCP3008-I/PUsed in 4 projects
In short
What is the MCP3008 8-channel 10-bit ADC and what is it used for?
Adds analog inputs to a Raspberry Pi over SPI. Makers use it for analog sensors on a Pi.
How it works
A successive-approximation ADC with an 8-input multiplexer on SPI.
Key specifications
| Integrated circuit spec | Value |
|---|---|
| Function | 8-channel 10-bit ADC |
| Supply voltage | 2.7 to 5.5 V |
| Inputs and outputs | SPI |
| Speed | Up to 200 ksps at 5 V |
| Package | DIP-16 |
Pinout
1to 8CH0 to CH7 analog inputs
9DGND
10CS/SHDN
11DIN
12DOUT
13CLK
14AGND
15VREF
16VDD
How to use it
Adds analog inputs to a Raspberry Pi, which has none. Connect to SPI0 (CE0) and use gpiozero's MCP3008 class. Readings are fractions of VREF, so tie VREF to a clean 3.3 V.
Applications
Analog sensors on a Pi
Builds that use it
Alternatives
- ADS1115 16-bit ADC moduleHigher resolution on I2C
Common questions
What is the MCP3008 8-channel 10-bit ADC used for?
In maker projects: analog sensors on a Pi.
How does the MCP3008 8-channel 10-bit ADC work?
A successive-approximation ADC with an 8-input multiplexer on SPI.
What voltage does the MCP3008 8-channel 10-bit ADC need?
2.7 to 5.5 V.
What can I use instead of the MCP3008 8-channel 10-bit ADC?
ADS1115 16-bit ADC module.
