Skip to main content

one-axis-stage

PyPI

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.

→ Full documentation

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.

Metadata

Release files for one-axis-stage 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for one-axis-stage 0.3.0
File Size Uploaded
one_axis_stage-0.3.0.tar.gz 19.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for one-axis-stage 0.3.0
File Interpreter ABI Platform
one_axis_stage-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 38.6 kB

Release files / one_axis_stage-0.3.0.tar.gz

Download URL one_axis_stage-0.3.0.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e665bc2bb703181aebe86eafe3cade70369634504041873e4025397884a42477
BLAKE2b-256 checksum
How to use checksums
9c4ea48cfcb3665fb9547d8e7bb10f495524bcce2ddff95e643256b35cd3701b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}

Release files / one_axis_stage-0.3.0-py3-none-any.whl

Download URL one_axis_stage-0.3.0-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da66f5ba863799498f7a20a35119f52faaada5386de1cbd2d3e59684365659e9
BLAKE2b-256 checksum
How to use checksums
9bcbf9c76fe03d177876fcc0861d6ca7c194fe6634bdfc4e1d64b330faf97466
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page