MCP3208 - RaresPlescan/daisypi GitHub Wiki
MCP3208
MCP3208 is an ADC with 12 bit resolution, the bigger brother of the already popular MCP3008 used in various extension boards for Raspberry Pi.
Ratings :
Supply voltage : 2.7 .. 5.5 V
Output : digital, SPI protocol
Measurings : 0 .. Vref, 12 bit resolution, 50 ksps @ 2.7 V
Producer's page and documentation :
[Producer's page] (http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010533)
[PDF] (http://ww1.microchip.com/downloads/en/devicedoc/21298e.pdf)
The Python code is taken from the [Adafruit Industries repository] (https://gist.github.com/ladyada/3151375) and modified in order to read all the channels ( 8 ), display their values and make some calculations for the channel 8 ( which reads the internal voltage supply via a resistance divider). Here is our version of the code : [MCP 3208 python script fot Daisy Pi] (https://github.com/RaresPlescan/daisypi/blob/master/sense/mcp3208/adc_3.py)