EasyMCP2221


NameEasyMCP2221 JSON
Version 1.8.2 PyPI version JSON
download
home_pageNone
SummaryPython module to interface with MCP2221 focused on ease of use.
upload_time2025-01-14 20:53:02
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements hidapi
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =====================================================
Easy MCP2221
=====================================================

Easy MCP2221 is a Python module to interface with Microchip MCP2221 and MCP2221A.

Connected to the USB port, this 14 pin chip part can provide a **normal computer** with the capabilities of a **basic microcontroller**.


MCP2221's peripherals:

- 4 GPIO
- 3 channel ADC
- DAC
- I2C
- UART
- Clock Output
- USB Wake-up via Interrupt Detection.

So you can practice the basics of digital electronics, microcontrollers, and robotics using nothing more than a regular computer, a breadboard, a few parts, and Python.


Quick start
-----------

Install:

.. code-block:: console

	$ pip install EasyMCP2221


First run:

.. code-block:: python

    >>> import EasyMCP2221
    >>> mcp = EasyMCP2221.Device()
    >>> print(mcp)
    {
        "Chip settings": {
            "Power management options": "enabled",
            "USB PID": "0x00DD",
            "USB VID": "0x04D8",
            "USB requested number of mA": 100
        },
        "Factory Serial": "01234567",
        "GP settings": {},
        "USB Manufacturer": "Microchip Technology Inc.",
        "USB Product": "MCP2221 USB-I2C/UART Combo",
        "USB Serial": "0000000000"
    }


GUI
---

*EasyMCP2221 Workbench* is a GUI to play with MCP2221 and MCP2221A chips based on EasyMCP2221 library.

https://github.com/electronicayciencia/EasyMCP2221-GUI


Documentation
-------------

Read the Install Guide, Examples and full API Reference here: https://easymcp2221.readthedocs.io/

Illustrative blog post with examples, pictures and schematics (spanish): `El integrado MCP2221(A) <https://www.electronicayciencia.com/2023/09/integrado-mcp2221.html>`_


Author
----------------------------------------------------

Reinoso Guzman (https://www.electronicayciencia.com).

Initially based on PyMCP2221A library by Yuta Kitagami (https://github.com/nonNoise/PyMCP2221A).


License
----------------------------------------------------

The MIT License (MIT).


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "EasyMCP2221",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Reinoso Guzman <electronicayciencia@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/bb/44/b2066cd3ee9c1079ce18b076eae796ce1a2298aa43364b5373b34465f736/easymcp2221-1.8.2.tar.gz",
    "platform": null,
    "description": "=====================================================\nEasy MCP2221\n=====================================================\n\nEasy MCP2221 is a Python module to interface with Microchip MCP2221 and MCP2221A.\n\nConnected to the USB port, this 14 pin chip part can provide a **normal computer** with the capabilities of a **basic microcontroller**.\n\n\nMCP2221's peripherals:\n\n- 4 GPIO\n- 3 channel ADC\n- DAC\n- I2C\n- UART\n- Clock Output\n- USB Wake-up via Interrupt Detection.\n\nSo you can practice the basics of digital electronics, microcontrollers, and robotics using nothing more than a regular computer, a breadboard, a few parts, and Python.\n\n\nQuick start\n-----------\n\nInstall:\n\n.. code-block:: console\n\n\t$ pip install EasyMCP2221\n\n\nFirst run:\n\n.. code-block:: python\n\n    >>> import EasyMCP2221\n    >>> mcp = EasyMCP2221.Device()\n    >>> print(mcp)\n    {\n        \"Chip settings\": {\n            \"Power management options\": \"enabled\",\n            \"USB PID\": \"0x00DD\",\n            \"USB VID\": \"0x04D8\",\n            \"USB requested number of mA\": 100\n        },\n        \"Factory Serial\": \"01234567\",\n        \"GP settings\": {},\n        \"USB Manufacturer\": \"Microchip Technology Inc.\",\n        \"USB Product\": \"MCP2221 USB-I2C/UART Combo\",\n        \"USB Serial\": \"0000000000\"\n    }\n\n\nGUI\n---\n\n*EasyMCP2221 Workbench* is a GUI to play with MCP2221 and MCP2221A chips based on EasyMCP2221 library.\n\nhttps://github.com/electronicayciencia/EasyMCP2221-GUI\n\n\nDocumentation\n-------------\n\nRead the Install Guide, Examples and full API Reference here: https://easymcp2221.readthedocs.io/\n\nIllustrative blog post with examples, pictures and schematics (spanish): `El integrado MCP2221(A) <https://www.electronicayciencia.com/2023/09/integrado-mcp2221.html>`_\n\n\nAuthor\n----------------------------------------------------\n\nReinoso Guzman (https://www.electronicayciencia.com).\n\nInitially based on PyMCP2221A library by Yuta Kitagami (https://github.com/nonNoise/PyMCP2221A).\n\n\nLicense\n----------------------------------------------------\n\nThe MIT License (MIT).\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python module to interface with MCP2221 focused on ease of use.",
    "version": "1.8.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/electronicayciencia/EasyMCP2221/issues",
        "Documentation": "https://easymcp2221.readthedocs.io/",
        "Homepage": "https://github.com/electronicayciencia/EasyMCP2221"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b3a75faddd8bdcbfad2801780571b614aebdbf9b0ef61942d4a23b93ec521be9",
                "md5": "d7c1340592f0abb2e7b870bddfb29832",
                "sha256": "61ed6c9d36748d78acecd6fafc304c668807d8f759ad7395bb62468aa127097f"
            },
            "downloads": -1,
            "filename": "easymcp2221-1.8.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d7c1340592f0abb2e7b870bddfb29832",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 32650,
            "upload_time": "2025-01-14T20:52:58",
            "upload_time_iso_8601": "2025-01-14T20:52:58.606603Z",
            "url": "https://files.pythonhosted.org/packages/b3/a7/5faddd8bdcbfad2801780571b614aebdbf9b0ef61942d4a23b93ec521be9/easymcp2221-1.8.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bb44b2066cd3ee9c1079ce18b076eae796ce1a2298aa43364b5373b34465f736",
                "md5": "de10d825e2fc2a40e0619d70bb444ebc",
                "sha256": "8ecb99e7fd2298f87fb857ce6a63affcdec93174bf3c91e9d9f24fb85e451e1e"
            },
            "downloads": -1,
            "filename": "easymcp2221-1.8.2.tar.gz",
            "has_sig": false,
            "md5_digest": "de10d825e2fc2a40e0619d70bb444ebc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 29675,
            "upload_time": "2025-01-14T20:53:02",
            "upload_time_iso_8601": "2025-01-14T20:53:02.529676Z",
            "url": "https://files.pythonhosted.org/packages/bb/44/b2066cd3ee9c1079ce18b076eae796ce1a2298aa43364b5373b34465f736/easymcp2221-1.8.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-14 20:53:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "electronicayciencia",
    "github_project": "EasyMCP2221",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "hidapi",
            "specs": []
        }
    ],
    "lcname": "easymcp2221"
}
        
Elapsed time: 0.52221s