Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

Using MCP3008 with Arduino
Moderators: adafruit_support_bill, adafruit

Using MCP3008 with Arduino

by rahatmaini on Thu Feb 21, 2013 5:33 pm

I know how to use this chip with the Raspberry Pi thanks to Adafruit, but I am confused on how to add this to the Arduino (wiring and code) because of the pin layout in the datasheet. How do I add 8 analog pins to my Arduino Uno?

Thanks, any help is appreciated. 8)

Posts: 167
Joined: Wed Aug 29, 2012 5:15 pm

Re: Using MCP3008 with Arduino

by adafruit_support_mike on Thu Feb 21, 2013 9:54 pm

The 3008 uses the SPI interface, so you'll want to use Arduino digital pins 10-13. Here are a couple of articles about using SPI with the Arduino:

This one talks about using the AVR's built-in SPI port: ... e-spi-bus/

And here's one that shows examples of talking to various devices using SPI: ... s-part-ii/
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.

Posts: 15828
Joined: Thu Feb 11, 2010 2:51 pm