deckle studio
Open the editor
Behavioural mixed-signal modelMCP3008-I/Pmcp3008

MCP3008 (8-channel 10-bit ADC, SPI)

8 analog inputs for any microcontroller over SPI (the Raspberry-Pi classic): 10 bits, single-ended or as 4 differential pairs, code = 1024 × VIN / VREF, the frame (start bit, null bit, MSB first, then LSB first and zeros) and the 3.6 MHz clock limit as in the Microchip data sheet. Use it e.g. with Adafruit_MCP3008 (begin(cs), readADC(channel)).

VDDVREFAGNDDGNDCLKDOUTDIN/CSCH0CH1CH2CH3CH4CH5CH6CH7MCP3008-I/P
Schematic symbol

Key data

Category
ICs
Simulation model
Behavioural mixed-signal model
Manufacturer part number
MCP3008-I/P
Reference prefix
U
Pins
16
Land pattern
DIP-16_W7.62mm

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
mcp3008
Supply pins
VDD / DGND

Pins 16

PinNameUse
VDDVDDSupply pinSupply input: decouple with 100 nF close to the pin
VREFVREFAnalog pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
AGNDAGNDGround pinGround
DGNDDGNDGround pinGround
CLKCLKInput pinLogic input: never leave open (tie unused inputs to VCC or GND)
DOUTDOUTOutput pinLogic output: drives the next input; do not tie outputs together
DINDINInput pinLogic input: never leave open (tie unused inputs to VCC or GND)
CS/CSInput pinActive-low control input: low = active; tie high when unused
CH0CH0Analog pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
CH1CH1Analog pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
CH2CH2Analog pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
CH3CH3Analog pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
CH4CH4Analog pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
CH5CH5Analog pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
CH6CH6Analog pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
CH7CH7Analog pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)

PCB

Verified land patternDIP-16_W7.62mm
PackageLand patternStatusSource
DIP-16DIP-16_W7.62mmVerified land patternKiCad 10.0.7: symbol MCP3008, footprint Package_DIP:DIP-16_W7.62mm; pads by pin name from the KiCad symbol (MCP3208 pinout, the same package); Microchip MCP3008 data sheet
  • VREF Reference: to VDD (code = 1024 × VIN / VDD) or a reference voltage, with 1 µF
  • AGND To GND (analog ground)
  • VDD 2.7–5.5 V with 1 µF