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.2.tar.gz
(8.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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23f3e34d10be5d60785c3a5db33e9e71b70ce112f20a47d672a829c29a3624ad
|
|
| MD5 |
c5c2019107363bb027e2531a36b70088
|
|
| BLAKE2b-256 |
021698cb0dfde8803b01af33408701eb075029e348ee022fd55d45129e7cd90d
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f82d4683a6be4ada9318f361c81c095853e59453a3876bc86176c0f89be3cba
|
|
| MD5 |
fc51a2046e5ae791af76274a1fa9ae03
|
|
| BLAKE2b-256 |
50c718531ec567c3272d6c4c3bfe304e0923ca9e05de3438ac2fd319c05ba80b
|