
Adafruit_Python_MCP3008
Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black.
3 years
Works with Finder
18
Github Watches
67
Github Forks
82
Github Stars
DEPRECATED LIBRARY: Adafruit Python MCP3008
This library has been deprecated! We are leaving this up for historical and research purposes but archiving the repository.
We are now only supporting the use of our CircuitPython libraries for use with Python.
Please see the CircuitPython MCP3xxx library for using the MCP3008: https://github.com/adafruit/Adafruit_CircuitPython_MCP3xxx/
Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black.
Installation
To install the library from source (recommended) run the following commands on a Raspberry Pi or other Debian-based OS system:
sudo apt-get install git build-essential python-dev
cd ~
git clone https://github.com/adafruit/Adafruit_Python_MCP3008.git
cd Adafruit_Python_MCP3008
sudo python setup.py install
Alternatively you can install from pip with:
sudo pip install adafruit-mcp3008
Note that the pip install method won't install the example code.
相关推荐
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Advanced software engineer GPT that excels through nailing the basics.
跟在天堂的亲人对话。Talk to loved ones in heaven. Sponsor:小红书“ ItsJoe就出行 ”
OrchestratorofexpertagentsincybersecurityandOSINT
MCP server to provide Figma layout information to AI coding agents like Cursor
Put an end to hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
AI Agents & MCPs & AI Workflow Automation • (280+ MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Reviews

user_IeDg6Q4w
Adafruit_Python_MCP3008 is an excellent library for interfacing with the MCP3008 ADC using Python. The documentation is clear, and the setup is straightforward. I found it highly reliable for reading analog sensors. Highly recommended for anyone working on Raspberry Pi projects requiring analog input! Great job, Adafruit!