Phone

    00852-6915 1330

MCP3008 A/D Converter: Pinout, Datasheet, Raspberry Pi Setup [Video]

  • Contents

MCP3008 is a low cost 8-channel 10-bit analog to digital converter.

 

This blog covers the detailed information of the MCP3008 A/D converter, including its pinout, parameter, features, where and how to use it, etc, Raspberry Pi setup tutorial video will be attached down below as well.

This is a basic tutorial of how to setup an Analog to Digital Converter (MCP3008) with the Raspberry Pi.


Catalog

MCP3008 Description

MCP3008 Pinout

MCP3008 Features

MCP3008 Parameter

MCP3008 Functional Block Diagram

MCP3008 Equivalent &Alternative

Where to use MCP3008

How to use MCP3008

MCP3008 Simple Interfacing Example

MCP3008 Application

MCP3008 Package

MCP3008 Manufacturer

Component Datasheet

FAQ


MCP3008 Description

MCP3008 is a 10-bit Analogue to Digital converter having eight single-ended input channels. It has a 4-wire serial SPI-compatible interface that is used to get digital output for all channels. It has an onboard sample and holds circuitry. It provides both analog and digital ground connections which help in noise reduction. It is ideal for use in embedded systems applications.

 

 

MCP3008 is programmable to provide four pseudo-differential input pairs or eight single-ended inputs. Differential Nonlinearity (DNL) and Integral Nonlinearity (INL) are specified at ±1 LSB. Communication with the devices is accomplished using a simple serial interface compatible with the SPI protocol. The devices are capable of conversion rates of up to 200 ksps.

 

 

 

MCP3008 devices operate over a broad voltage range (2.7V - 5.5V). Low-current design permits operation with typical standby currents of only 5nA and typical active currents of 320 µA. The MCP3004  is offered in 14-pin  PDIP, 150 mil  SOIC and TSSOP packages, while the MCP3008  is offered in 16-pin PDIP and  SOIC packages.


MCP3008 Pinout

mcp3008 a/d converter mcp3008 a/d converter pinout
MCP3008 MCP3008 Pinout

 

Pin Number

Pin Name

Description

1-8

CH0 to CH7

These are the analog inputs for channel 0 to channel 7. These channels can be configured as four single-ended inputs or two pseudo-differential pairs. In pseudo-differential mode, each channel pair are programmed as the IN+ and IN- inputs by sending a serial command string.

9

DGND

This is the digital ground pin which is linked internally to the digital circuitry of chip.

10

CS`/SHDN

It is a Chip Select pin. This pin is used to initiate communication with the device by connecting it to low logic level. If it is already low, then it should be pulled to high and then low for initiating communication. When it is pulled to high logic, it will end a conversion.

11

Din

This is the input pin for serial data.

12

 Dout

It is the serial data output used for SPI communication. On every falling edge of clock signal, data will change, and this converted data is shifted out on this pin.

13

 CLK

It is a serial clock signal used to initiate a conversion and sends each bit out as conversion takes place

14

AGND

It is the analog ground pin which is connected internally with analog circuitry. It is connected to the reference voltage.

15

 VREF

It is connected to the reference voltage and is used to determine the range of analog voltage.

16

VDD

It is the connection for applying a positive voltage to the circuit.


MCP3008 Features

  • 10-bit resolution

  • ± 1 LSB max DNL

  • ± 1 LSB max INL

  • 4 (MCP3004) or 8 (MCP3008) input channels

  • Analog inputs programmable as single-ended or pseudo differential pairs

  • On-chip sample and hold

  • SPI serial interface (modes 0,0 and 1,1)

  • Single supply operation: 2.7V - 5.5V

  • 200 ksps max. sampling rate at VDD = 5V

  • 75 ksps max. sampling rate at VDD = 2.7V

  • Low power CMOS technology

  • 5 nA typical standby current, 2 µA max.

  • 500 µA max. active current at 5V

  • Industrial temp range: -40°C to +85°C

  • Available in PDIP, SOIC and TSSOP packages


MCP3008 Parameter

Manufacturer: Microchip Technology
Series: -
Packaging: Tube
Part Status: Active
Package / Case: 16-DIP (0.300" 7.62mm)
Supplier Device Package: 16-PDIP
Mounting Type: Through Hole
Base Part Number: MCP3008
Number of Bits: 10
Sampling Rate (Per Second): 200k
Number of Inputs: 4 8
Input Type: Pseudo-Differential Single Ended
Data Interface: SPI
Configuration: MUX-S/H-ADC
Ratio - S/H: ADC
Number of A/D Converters: 1
Architecture: SAR
Reference Type: External
Voltage - Supply Analog: 2.7V ~ 5.5V
Voltage - Supply Digital: 2.7V ~ 5.5V
Features: -
Operating Temperature: -40°C ~ 85°C

MCP3008 Functional Block Diagram

MCP3008 Functional Block Diagram


MCP3008 Equivalent &Alternative

PCF8591, ADC0808, ADC0804, ADS11115


Where to use MCP3008

The MCP3008 is an 8-Channel 10-bit ADC IC, which means it can measure 8 different analog voltages with a 10-bit resolution. It measures analog voltage from 0 to 1023 and sends the result to a microcontroller or microprocessor via SPI communication.

 

It can operate on both 3.3V and 5V, so it can be used with both 5V and 3.3V microcontrollers, such as the Raspberry Pi. It employs the SAR method to convert analog voltage to digital value; it might not the fastest or the most precise ADC on the market, but it is the cheapest and easiest to use.

 

Some devices, such as the Raspberry Pi, lack hardware for analog to digital conversion and thus cannot read analog inputs. As a result, a circuit is required for this conversion. The MCP3008  chip can be used in such devices. For communication, this chip employs an SPI interface. The  Raspberry Pi requires only four  GPIO  pins. Using this chip, you can get an additional 8 analog inputs.

 

Analog outputs are used by sensors. As a result, many devices require an ADC converter to read these outputs. The MCP3008  is capable of converting analog signals to digital signals.

 

So, if you're looking for an ADC IC with a resolution of 10-bit (0-1023), 8-channels, and a reasonable speed, this IC might be a good fit. It is very popular with Raspberry Pi because it lacks an ADC feature by default.


How to use MCP3008

It is made up of the well-known  SAR ADC  architecture technology, which includes a built-in sample and a capacitor. On the first rising edge of the clock cycle, this architecture samples with a sample/hold capacitor for 1.5 clock cycles. Following that, the ADC generates a 10-bit digital output based on the charge value of the S/H capacitor.

 

By bringing the CS line low, communication with the MCP3008  device is initiated. The first bit received on the first clock signal (when CS is low and DIN is high) will be a start bit. This is followed by the SGL/DIFF bit, which determines whether the conversion is single-ended or differential.

 

Following that, the next three bits, D0, D1, and D2, are used to select the channel. After receiving the start bit on the fourth rising edge of the clock, the sampling of analog inputs will begin.

 

Down below is the detailed diagram.

how to use mcp3008


MCP3008 Simple Interfacing Example

mcp3008 interfacing diagram


MCP3008 Application

  • Sensor Interface

  • Process Control

  • Data Acquisition

  • Battery Operated Systems


MCP3008 Package

mcp3008 package


MCP3008 Manufacturer

Microchip Technology Inc. is a leading provider of microcontroller and analog semiconductors, providing low-risk product development, lower total system cost and faster time to market for thousands of diverse customer applications worldwide. Headquartered in Chandler, Arizona, Microchip offers outstanding technical support along with dependable delivery and quality.


Component Datasheet

MCP3008 AD Converter Datasheet


FAQ

What type of interface does MCP3008 have?

4-wire serial SPI compatible

 

What does MCP3008 help in?

Noise reduction

 

What type of applications is MCP3008 ideal for?

Embedded systems applications

 

What types of packages are MCP3008 offered in?

16-pin PDIP and SOIC packages

 

How many different analog voltages does the MCP3008 measure?

8 different analog voltages with a 10-bit resolution

 

What method does the MCP3008 use to convert analog voltage to digital value?

SAR

 

How many GPIO pins does the MCP3008 require?

Four GPIO pins

 

What does the MCP3008 require to read analog outputs?

ADC converter

Kynix

Kynix was founded in 2008, specializing in the electronic components distribution business. We adhere to honesty and ethics as our business philosophy and have gradually established an excellent reputation and credibility in our international business. With the accurate quotation, excellent credit, reasonable price, reliable quality, fast delivery, and authentic service, we have won the praise of the majority of customers.

Join our mailing list!

Be the first to know about new products, special offers, and more.

Leave a Reply

We'd love to hear from you! Feel free to share your thoughts and comments below. Rest assured, your email address will remain private.

Name *
Email *
Captcha *
Rating:

Kynix

  • How to purchase

  • Order
  • Search & Inquiry
  • Shipping & Tracking
  • Payment Methods
  • Contact Us

  • Tel: 00852-6915 1330
  • Email: info@kynix.com
  • Follow Us

authentication

Kynix

© 2008-2026 kynix.com all rights reserved.