pi-MCP4725


Namepi-MCP4725 JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/sergiocaponi/pi_MCP4725
SummaryPython module to use the MCP4725 DAC with the Raspberry Pi
upload_time2023-04-10 18:57:28
maintainer
docs_urlNone
authorSergio Caponi
requires_python
licenseMIT
keywords raspberry pi dac mcp4725
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            A Python module for the Raspberry Pi to interface with the [MCP4725](https://ww1.microchip.com/downloads/en/devicedoc/22039d.pdf) I²C Digital-to-Analogue Converter.

## Compatibility

Tested on Python 3.9 on a Raspberry Pi Zero W v1.1, but should be compatible with most Raspberry Pi models running the latest version of Python.

Module works with Microchip's MCP4725 DAC.

## Pre-requisites

- `smbus2` library

	The MCP4725 module uses the Raspberry Pi's built-in I²C driver to communicate with the chip. This is done on Python using the SMBus protocol. However, due to SMBus incorporating only a subset of I²C features, it is not fully compatible with I²C commands. This is fixed by using `smbus2`, a drop-in replacement of the `smbus` module with extra functionality permitting the extra I²C features. It can be imported as `smbus` to be backward compatible. See below for more details.

	The module must be imported within the main code (it is not imported within the module).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sergiocaponi/pi_MCP4725",
    "name": "pi-MCP4725",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Raspberry Pi,DAC,MCP4725",
    "author": "Sergio Caponi",
    "author_email": "contactme@sergiocaponi.com",
    "download_url": "https://files.pythonhosted.org/packages/ca/02/f8a8289b76c4d79c38cac040f0fc2c831a61cc3108570e154b3ecfa6a5d9/pi_MCP4725-0.1.3.tar.gz",
    "platform": null,
    "description": "A Python module for the Raspberry Pi to interface with the [MCP4725](https://ww1.microchip.com/downloads/en/devicedoc/22039d.pdf) I\u00c2\u00b2C Digital-to-Analogue Converter.\r\n\r\n## Compatibility\r\n\r\nTested on Python 3.9 on a Raspberry Pi Zero W v1.1, but should be compatible with most Raspberry Pi models running the latest version of Python.\r\n\r\nModule works with Microchip's MCP4725 DAC.\r\n\r\n## Pre-requisites\r\n\r\n- `smbus2` library\r\n\r\n\tThe MCP4725 module uses the Raspberry Pi's built-in I\u00c2\u00b2C driver to communicate with the chip. This is done on Python using the SMBus protocol. However, due to SMBus incorporating only a subset of I\u00c2\u00b2C features, it is not fully compatible with I\u00c2\u00b2C commands. This is fixed by using `smbus2`, a drop-in replacement of the `smbus` module with extra functionality permitting the extra I\u00c2\u00b2C features. It can be imported as `smbus` to be backward compatible. See below for more details.\r\n\r\n\tThe module must be imported within the main code (it is not imported within the module).\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python module to use the MCP4725 DAC with the Raspberry Pi",
    "version": "0.1.3",
    "split_keywords": [
        "raspberry pi",
        "dac",
        "mcp4725"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ca02f8a8289b76c4d79c38cac040f0fc2c831a61cc3108570e154b3ecfa6a5d9",
                "md5": "d1f955fc7cb9f55c19433c9c46a8cdd4",
                "sha256": "f42f54045d41cad010605b17019047f993f7e5bd82a3fa55dc25f5abd22dc656"
            },
            "downloads": -1,
            "filename": "pi_MCP4725-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "d1f955fc7cb9f55c19433c9c46a8cdd4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4953,
            "upload_time": "2023-04-10T18:57:28",
            "upload_time_iso_8601": "2023-04-10T18:57:28.440311Z",
            "url": "https://files.pythonhosted.org/packages/ca/02/f8a8289b76c4d79c38cac040f0fc2c831a61cc3108570e154b3ecfa6a5d9/pi_MCP4725-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-10 18:57:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "sergiocaponi",
    "github_project": "pi_MCP4725",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pi-mcp4725"
}
        
Elapsed time: 0.05274s