https://github.com/jposada202020/MicroPython_MOTOR
⛔️ DEPRECATED MicroPython Helper for controlling PWM based motors
https://github.com/jposada202020/MicroPython_MOTOR
dc drv8833 helper micropython motor pca9685 servo
Last synced: 29 days ago
JSON representation
⛔️ DEPRECATED MicroPython Helper for controlling PWM based motors
- Host: GitHub
- URL: https://github.com/jposada202020/MicroPython_MOTOR
- Owner: jposada202020
- License: mit
- Archived: true
- Created: 2023-07-08T23:55:52.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-20T03:54:55.000Z (6 months ago)
- Last Synced: 2025-05-06T14:43:37.596Z (about 1 month ago)
- Topics: dc, drv8833, helper, micropython, motor, pca9685, servo
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-micropython - MicroPython_MOTOR - MicroPython Helper for controlling PWM based motors. (Libraries / Motion)
README
⛔️ DEPRECATED
===============This repository is no longer supported, please consider using alternatives.
.. image:: http://unmaintained.tech/badge.svg
:target: http://unmaintained.tech
:alt: No Maintenance IntendedMicroPython Helpers for controlling PWM based motors and servos This has been adapted to use in the
Raspberry Pi Pico from the excellent Adafruit_CircuitPython_Motor Library here:
https://github.com/adafruit/Adafruit_CircuitPython_MotorThis library can work with other MCU (Not tested) that used the following PWM methods:
* freq
* duty_u16Installing with mip
====================
To install using mpremote.. code-block:: shell
mpremote mip install github:jposada202020/MicroPython_MOTOR
To install directly using a WIFI capable board
.. code-block:: shell
mip.install("github:jposada202020/MicroPython_MOTOR")
Installing Library Examples
============================If you want to install library examples:
.. code-block:: shell
mpremote mip install github:jposada202020/MicroPython_MOTOR/examples.json
To install directly using a WIFI capable board
.. code-block:: shell
mip.install("github:jposada202020/MicroPython_MOTOR/examples.json")
Installing from PyPI
=====================On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI `_.
To install for current user:.. code-block:: shell
pip3 install micropython-motor
To install system-wide (this may be required in some cases):
.. code-block:: shell
sudo pip3 install micropython-motor
To install in a virtual environment in your current project:
.. code-block:: shell
mkdir project-name && cd project-name
python3 -m venv .venv
source .env/bin/activate
pip3 install micropython-motorUsage Example
=============Take a look at the examples directory
Documentation
=============
API documentation for this library can be found on `Read the Docs `_.