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.1.3.tar.gz
(8.4 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.3.tar.gz.
File metadata
- Download URL: moons_motor-0.1.3.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09dad79c6a525b3b778eb607a4d3cca07b33707b7ce5f10c039910675a98ec0f
|
|
| MD5 |
7857bab440059a63107c70ea6a738a16
|
|
| BLAKE2b-256 |
36cb89f2ed71720789ed775ff053a6e03fe3be48cfdf21a833bbc2dc87a4d168
|
File details
Details for the file moons_motor-0.1.3-py3-none-any.whl.
File metadata
- Download URL: moons_motor-0.1.3-py3-none-any.whl
- Upload date:
- Size: 8.9 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 |
a03d2dfda94c9b670c44117244e26cf54c4fc4db0af54d5d5bf28084f59b1821
|
|
| MD5 |
c35cc284d58ab313abe5b18889c2d11c
|
|
| BLAKE2b-256 |
18db07f7923ccd174b2945ab77562ce694931e93b35946a33858a6a7a14a8d69
|