Cover image

MCP23008的Arduino库(和'9)I2C I/O扩展器

3 years

Works with Finder

27

Github Watches

50

Github Forks

58

Github Stars

ARCHIVED !!!

This library has been archived. Please use the replacement library: https://github.com/adafruit/Adafruit-MCP23017-Arduino-Library

Adafruit MCP23008 Library Build StatusDocumentation

To download, click "Download Source" in the top right corner. Then install as indicated in our tutorial: --> http://www.ladyada.net/library/arduino/libraries.html in a folder called Adafruit_MCP23008.

You will also need the Adafruit BusIO library: https://github.com/adafruit/Adafruit_BusIO

This is very much beta, it seems to work fine but its not optimized and doesn't currently suport the interrupt capability of the chip

Currently it can do: setting pin directions, inputs and outputs and turning on/off the pull-up resistors

To use: Connect pin #1 of the expander to Analog 5 (i2c clock) Connect pin #2 of the expander to Analog 4 (i2c data) Connect pins #3, 4 and 5 of the expander to ground (address selection) Connect pin #6 and 18 of the expander to 5V (power and reset disable) Connect pin #9 of the expander to ground (common ground) Pins 10 thru 17 are your input/output pins

Check the datasheet for more info: http://ww1.microchip.com/downloads/en/DeviceDoc/21919b.pdf

Enjoy and send pull requests!

相关推荐

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

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

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

  • 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就出行 ”

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • GeyserMC
  • 与Minecraft客户端/服务器通信的库。

  • appcypher
  • 很棒的MCP服务器 - 模型上下文协议服务器的策划列表

  • awslabs
  • AWS MCP服务器 - 将AWS最佳实践直接带入您的开发工作流程的专门MCP服务器

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

    Reviews

    4 (1)
    Avatar
    user_76tNb5yr
    2025-04-17

    I have been using the Adafruit-MCP23008-library for several of my projects and it works flawlessly. The library is well-documented and easy to integrate, making it ideal for expanding the GPIO capabilities of a microcontroller. Thanks to Adafruit for creating such a reliable and efficient library! Highly recommended for anyone looking to extend their I/O options.