Skip to main content

This is a python library for controlling the Moons' motor through the serial port.

Project description

Moons Motor

This is a python library for control moons motor through serial port.

Compatibility

Now only support Windows.

Installing

Install through pip

python -m pip install moons_motor

Usage

from motor import MoonsStepper, StepperModules
import simulate
from time import sleep

motor = MoonsStepper(StepperModules.STM17S_3RN, "0403", "6001", "TESTA")

MoonsStepper.list_all_ports()
motor.connect()

motor.start_jog("", 10)
sleep(5)
motor.stop_jog()

Tested Motor

  1. STM17S-3RN

Reference

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moons_motor-0.0.4.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

moons_motor-0.0.4-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page