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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: moons_motor-0.1.2.tar.gz
  • Upload date:
  • Size: 8.1 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.1.2.tar.gz
Algorithm Hash digest
SHA256 23f3e34d10be5d60785c3a5db33e9e71b70ce112f20a47d672a829c29a3624ad
MD5 c5c2019107363bb027e2531a36b70088
BLAKE2b-256 021698cb0dfde8803b01af33408701eb075029e348ee022fd55d45129e7cd90d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: moons_motor-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.6

File hashes

Hashes for moons_motor-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f82d4683a6be4ada9318f361c81c095853e59453a3876bc86176c0f89be3cba
MD5 fc51a2046e5ae791af76274a1fa9ae03
BLAKE2b-256 50c718531ec567c3272d6c4c3bfe304e0923ca9e05de3438ac2fd319c05ba80b

See more details on using hashes here.

Supported by

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