10

I am interested in obtaining an ADC (Analog to Digital Converter) or Analog input for the Raspberry Pi. I understand that various boards exits to use an Arduino as input to the Pi and that Libellium has an arduino-like adapter containing Analog inputs as well as in theory the I2C and SPI interfaces possible with ADC chips. Does anyone have a daughter board with multiple ADC inputs, and/or is their a software library for any of the available USB data capture devices that would meet this neet without considerable interfacing expertise and level shifting?

Ira Laefsky
  • 101
  • 1
  • 3

2 Answers2

6

A good starting point is adafruit's tutorial at http://learn.adafruit.com/reading-a-analog-in-and-controlling-audio-volume-with-the-raspberry-pi/overview. Adafruit also has breakout boards for the RasPi to make things a little easier... This post is also useful: How can I connect an analog to digital converter (ADC)?

The MCP3008 seems to be one of the more popular ADC's for the RasPi and it uses the SPI interface for communications

If you want to attach an Arduino via USB and read out its ADC's check this posting: How to attach an Arduino?

BobT
  • 794
  • 4
  • 6
1

Another alternative is the PCF8591 which uses the I2C bus. It's only 8bit vs the MCP3008 (10bit) but with the PCF8591 you only have to use 2 pins (SDA/SCL) vs the 5 pins of the SPI (MOSI/MISO/CLK/CE0/CE1) (really 4 for I2C and 7 for SPI including the VCC and GND pins) so if you need the extra pins and are ok with the 8bit vs 10bit, check out the PCF8591.

linuxgnuru
  • 605
  • 8
  • 19