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.11.tar.gz
(8.2 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.0.11.tar.gz.
File metadata
- Download URL: moons_motor-0.0.11.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 |
dbf2bc886e08946f039477333f879764342a01220d43852a9e6d43a9de12a0f6
|
|
| MD5 |
b7f20463bf7debac592c798531fa14d3
|
|
| BLAKE2b-256 |
21f174143b05f47b834d4f1449b1d073f9e4178327bc44c27e3df85caf02002d
|
File details
Details for the file moons_motor-0.0.11-py3-none-any.whl.
File metadata
- Download URL: moons_motor-0.0.11-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 |
b1002d34c4956e570b782656929c42b22fc6b1be11aef58c2db600fe4aea9f8c
|
|
| MD5 |
9ce0c951b2b3ec779645e0e9e8396856
|
|
| BLAKE2b-256 |
e65b5702a0821cbe073c96a00d37f26ea010115760f630327bba4656ba0eb3bf
|