Hardware design and software for modular, low-cost one-axis stages
Project description
one-axis-stage
Hardware design and Python software for modular, low-cost one-axis stages using Dynamixel XL-320 servo motors.
Provides a serial API, high-level controller, and stage CLI for
scanning, configuring, and jogging stages from the command line.
Installation
pip install one-axis-stage
For interactive jog mode:
pip install "one-axis-stage[cli]"
Quick start
from one_axis_stage.api import StageAPI
api = StageAPI(serial_port="/dev/ttyUSB0")
api.connect()
print(api.get_info(device_id=21))
api.set_position(device_id=21, position=400)
api.disconnect()
CLI
stage scan --port /dev/ttyUSB0
stage info --port /dev/ttyUSB0 --id 21
stage move --port /dev/ttyUSB0 --id 21 --position 400
stage jog --port /dev/ttyUSB0 --id 21
Hardware
Arduino Mega 2560 + Dynamixel shield + XL-320 motors + linear slides.
Firmware source in firmware/.
License
BSD 3-Clause. See LICENSE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 one_axis_stage-0.2.0.tar.gz.
File metadata
- Download URL: one_axis_stage-0.2.0.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46cfa020f23e7623d3e6b451a9eece17fe97e6041f37508904ded75a0e72be63
|
|
| MD5 |
e941b8987594e42fec0787ebcc40675a
|
|
| BLAKE2b-256 |
a0b5574a6461e76403910cd4a9e792db4c770b9b3521d652bff049cb69ace617
|
File details
Details for the file one_axis_stage-0.2.0-py3-none-any.whl.
File metadata
- Download URL: one_axis_stage-0.2.0-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfa8d4725190f4d6c027956a3d40033361d2cbe9276bc14fdedf8a7cd1bd6e7d
|
|
| MD5 |
2a43258021b59d97e0aab28c66f742cc
|
|
| BLAKE2b-256 |
cb9d26bb3bfd339dae6aebcb38ed03541d6f7900ceaffd6c20d148d88a4097a3
|