MCP cover image
See in Github
2018-12-21

Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black.

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.

相关推荐

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://zenepic.net
  • 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.

  • Beria Joey
  • 你的职业规划师,不走弯路就问我。Sponsor:小红书“ ItsJoe就出行 ”

  • n8n-io
  • Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • pontusab
  • The Cursor & Windsurf community, find rules and MCPs

  • metorial
  • Containerized versions of hundreds of MCP servers 📡 🧠

  • langgenius
  • Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.

  • av
  • Effortlessly run LLM backends, APIs, frontends, and services with one command.

  • alibaba
  • an easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.

  • appcypher
  • Awesome MCP Servers - A curated list of Model Context Protocol servers

  • Azure
  • The Azure MCP Server, bringing the power of Azure to your agents.

  • 1Panel-dev
  • 🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

    Reviews

    2 (1)
    Avatar
    user_IeDg6Q4w
    2025-04-16

    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!