servo-lock


Nameservo-lock JSON
Version 0.0.1.7 PyPI version JSON
download
home_pagehttps://github.com/Tsangares/lock_servo
SummaryServo utility for the MG996R; but any servo works.
upload_time2020-11-28 02:03:55
maintainer
docs_urlNone
author
requires_python>=3.7
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Context

This tool is showcased in the project [IotaWorkshop](https://github.com/Tsangares/iotaworkshop)

# Summary

This tool can be both used as a command line interface or be imported into your project. What this repo has that others do not is some math to calculate the estimated time it takes to rotate the servo to a sepecific destination. The utility handles all the pin IO and all you have to do is specify the location the servo needs to be in and the library will do the rest.

# Installation

This project requires `RPi.GPIO`, and I installed it using the arch repo using,

    yay -S python-raspberry-gpio
	
But ubuntu or rasbian can use,

    pip install RPi.GPIO

To install the servo library simply pull from the pip repo,

    pip install servo-lock
	
# Command Line Interface Examples

To send the servo to a sepecific location simply use the command

    servo move 19 90 #Moves the servo on pin 19 to 90 degrees
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Tsangares/lock_servo",
    "name": "servo-lock",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "william.wyatt@cgu.edu",
    "download_url": "https://files.pythonhosted.org/packages/50/34/c3632985b63a8eb38bd2df49efd369875c2c4b406542eb8406d6ec9acdb6/servo-lock-0.0.1.7.tar.gz",
    "platform": "",
    "description": "## Context\n\nThis tool is showcased in the project [IotaWorkshop](https://github.com/Tsangares/iotaworkshop)\n\n# Summary\n\nThis tool can be both used as a command line interface or be imported into your project. What this repo has that others do not is some math to calculate the estimated time it takes to rotate the servo to a sepecific destination. The utility handles all the pin IO and all you have to do is specify the location the servo needs to be in and the library will do the rest.\n\n# Installation\n\nThis project requires `RPi.GPIO`, and I installed it using the arch repo using,\n\n    yay -S python-raspberry-gpio\n\t\nBut ubuntu or rasbian can use,\n\n    pip install RPi.GPIO\n\nTo install the servo library simply pull from the pip repo,\n\n    pip install servo-lock\n\t\n# Command Line Interface Examples\n\nTo send the servo to a sepecific location simply use the command\n\n    servo move 19 90 #Moves the servo on pin 19 to 90 degrees",
    "bugtrack_url": null,
    "license": "",
    "summary": "Servo utility for the MG996R; but any servo works.",
    "version": "0.0.1.7",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "af2964953856e7f273264852e40f07d0",
                "sha256": "0cd713cd0a6a30b45c819cb289b88be164c69fc4ce46927ea9922a33df01454a"
            },
            "downloads": -1,
            "filename": "servo-lock-0.0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "af2964953856e7f273264852e40f07d0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 2831,
            "upload_time": "2020-11-28T02:03:55",
            "upload_time_iso_8601": "2020-11-28T02:03:55.908862Z",
            "url": "https://files.pythonhosted.org/packages/50/34/c3632985b63a8eb38bd2df49efd369875c2c4b406542eb8406d6ec9acdb6/servo-lock-0.0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-11-28 02:03:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": null,
    "github_project": "Tsangares",
    "error": "Could not fetch GitHub repository",
    "lcname": "servo-lock"
}
        
Elapsed time: 0.19913s