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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

one_axis_stage-0.3.0.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

one_axis_stage-0.3.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file one_axis_stage-0.3.0.tar.gz.

File metadata

  • Download URL: one_axis_stage-0.3.0.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for one_axis_stage-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e665bc2bb703181aebe86eafe3cade70369634504041873e4025397884a42477
MD5 af135be78c324e05df3e7e0bf956934a
BLAKE2b-256 9c4ea48cfcb3665fb9547d8e7bb10f495524bcce2ddff95e643256b35cd3701b

See more details on using hashes here.

File details

Details for the file one_axis_stage-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: one_axis_stage-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for one_axis_stage-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da66f5ba863799498f7a20a35119f52faaada5386de1cbd2d3e59684365659e9
MD5 c1d8bcd6287a28a9dad05455c13f17ec
BLAKE2b-256 9bcbf9c76fe03d177876fcc0861d6ca7c194fe6634bdfc4e1d64b330faf97466

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

0.0.2

2 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