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.10.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

moons_motor-0.0.10-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file moons_motor-0.0.10.tar.gz.

File metadata

  • Download URL: moons_motor-0.0.10.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.6

File hashes

Hashes for moons_motor-0.0.10.tar.gz
Algorithm Hash digest
SHA256 e93c25631da206d0521f0119fd36034653d152b2d9af1d8333497dce5de9837c
MD5 c15234f73153d83284582aee5d84b635
BLAKE2b-256 b75d83d8196822d47ccd0d41d6a0910a41fd83f8b9cd89e8379e4d88a85f6048

See more details on using hashes here.

File details

Details for the file moons_motor-0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for moons_motor-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 f62185fd7ba3c56450f86a0c9fd344b27c89bd6374671ac132e4f73145d28435
MD5 1418aefa567f83a49fc0b55f076db625
BLAKE2b-256 55fd9b891e8de8005b444f224a50a13061c421e613ea9a2307a3a315aca3229b

See more details on using hashes here.

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