

This guide will show you an easier way to install and use new Python code to talk to the MCP3008 ADC. However don't use the code from the older guide as it's deprecated. If you need more precision or features, check out the ADS1x115 series on the next page.īefore you use the MCP3008 it will help to skim this older Raspberry Pi MCP3008 guide for more information about using it with the Raspberry Pi. This chip is a great option if you just need to read simple analog signals, like from a temperature or light sensor. The precision of this ADC is similar to that of an Arduino Uno, and with 8 channels you can read quite a few analog signals from the Pi. The MCP3008 is a low cost 8-channel 10-bit analog to digital converter.

Check out the Learn Raspberry Pi series for more information.Īlso make sure your Raspberry Pi is running the latest Raspbian Jessie operating system (either the full or lite version) before starting the guide.Ĭontinue on to learn about using the MCP3008, or the ADS1015 / ADS1115 analog to digital convert with the Raspberry Pi.

Or use a fancier ADS1x15 series ADC to read 4 channels with 12 to 16-bit precision, and a programmable gain stage-wow, fancy! You'll be up and running in no time with a Python library and examples to read analog inputs from both these ADCs.īefore you get started you'll want to be familiar with the basics of using a Raspberry Pi like loading an operating system, setting up networking, and connecting to a terminal using SSH. You can use a simple MCP3008 analog to digital converter (ADC) to read up to 8 channels of analog input with 10-bit precision.

This guide will show you a couple great options for reading analog values from Python with a Raspberry Pi. However what do you do when you want to read an analog signal, like what you might get from a thermistor, potentiometer, or many other types of sensors? Don't give up! By connecting a small analog to digital converter (ADC) chip to the Pi you can open up the world of analog signals to your Raspberry Pi programs! The Raspberry Pi is an excellent small board computer that you can use to control digital inputs & outputs.
