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
- STM17S-3RN
Reference
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e93c25631da206d0521f0119fd36034653d152b2d9af1d8333497dce5de9837c |
|
MD5 | c15234f73153d83284582aee5d84b635 |
|
BLAKE2b-256 | b75d83d8196822d47ccd0d41d6a0910a41fd83f8b9cd89e8379e4d88a85f6048 |
File details
Details for the file moons_motor-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: moons_motor-0.0.10-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f62185fd7ba3c56450f86a0c9fd344b27c89bd6374671ac132e4f73145d28435 |
|
MD5 | 1418aefa567f83a49fc0b55f076db625 |
|
BLAKE2b-256 | 55fd9b891e8de8005b444f224a50a13061c421e613ea9a2307a3a315aca3229b |