Cover image
Try Now
2021-10-17

Arduino library to support Microchip ADC342x analogue to digital converters

3 years

Works with Finder

5

Github Watches

22

Github Forks

23

Github Stars

MCP342x ADC library

Arduino library to support Microchip MCP342x analogue to digital converters. The devices utilise the I2C bus. For the low level I2C protocol this library depends on the Arduino Wire library.

Supported devices

  • MCP3422: 2 channel, 12, 14, 16, or 18 bit
  • MCP3423: 2 channel, 12, 14, 16, or 18 bit
  • MCP3424: 4 channel, 12, 14, 16, or 18 bit
  • MCP3426: 2 channel, 12, 14, or 16 bit
  • MCP3427: 2 channel, 12, 14, or 16 bit
  • MCP3428: 4 channel, 12, 14, or 16 bit

The MCP3422 and MCP3426 use I2C address 0x68, all other devices can be configured to use any address in the range 0x68 - 0x6F (inclusive).

License

Released under the GNU Lesser General Public License, version 2.1. See license.txt for details.

Examples

ListDevices

List all devices which respond to a request for one byte. Useful to debug the I2C bus.

ConvertAndRead

Demonstrate the use of the convertAndRead() function.

ConvertAndReadNoDelay

Demonstrate the use of the convert() and read() functions to implement non-blocking analogue to digital conversion. Example makes use of the built-in LED to demonstrate how a slow 18-bit conversion need not interfere with other actions.

GeneralCallConversion

Demonstrate the general call conversion command which can be used to instruct several analogue to digital converters to begin conversion simultanteously.

Contributors

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

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

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

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • 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.

  • jae-jae
  • MCP server for fetch web page content using Playwright headless browser.

  • ravitemer
  • A powerful Neovim plugin for managing MCP (Model Context Protocol) servers

  • patruff
  • Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools

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

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

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

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

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

  • chongdashu
  • Enable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).

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

  • alexander-zuev
  • Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning, access to logs and much more.

    Reviews

    4 (1)
    Avatar
    user_ihiNpbgt
    2025-04-17

    I am thoroughly impressed with the MCP342x by stevemarple. This precision ADC module is incredibly easy to use and offers excellent performance for any project requiring high-resolution analog-to-digital conversion. The documentation on GitHub is comprehensive and the community support is fantastic. Highly recommend checking it out!