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, StepperCommand
import simulate
from time import sleep
motor = MoonsStepper(StepperModules.STM17S_3RN, "0403", "6001", "TESTA")
MoonsStepper.list_all_ports()
motor.connect()
motor.send_command(address="@", command=StepperCommand.JOG)
sleep(5)
motor.send_command(address="@", command=StepperCommand.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.1.4.tar.gz
(9.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file moons_motor-0.1.4.tar.gz.
File metadata
- Download URL: moons_motor-0.1.4.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
482c5e5ccc91820692dadf240f2a03bff4a3359e382c28e60b9f854f9060eb64
|
|
| MD5 |
fa0402ae43772d8dc42fc3d40960336f
|
|
| BLAKE2b-256 |
cac0167b99cd148f82a31f4d822f25d635a8fc47022c3fa00e992050e34023c4
|
File details
Details for the file moons_motor-0.1.4-py3-none-any.whl.
File metadata
- Download URL: moons_motor-0.1.4-py3-none-any.whl
- Upload date:
- Size: 9.5 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 |
17799aea74a3ee9c7e5f91a0d0e5170d8b89c3ba988fda7d2781f21b1072b644
|
|
| MD5 |
52d037409d7c9c1e6336c7f3d5b3ee41
|
|
| BLAKE2b-256 |
98cb8efee955aaaa216996b01b4c08a8a07f1267e3e96548c6dd5d875878f9e4
|