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.2.3.tar.gz (17.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.2.3-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: one_axis_stage-0.2.3.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","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.2.3.tar.gz
Algorithm Hash digest
SHA256 508b59bf39ae765cb3dbdd8306e75059068fdf5c6dfdffcfb3070dba6e0e8a6c
MD5 e50fbf784f543756042b2f27bb034186
BLAKE2b-256 ad0cf0bc0b83f0a298eccdab836a9314d9d65106fdafb00d88c3a7c31047851a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: one_axis_stage-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","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.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 92a6bab8d51ca469c9b13f64c2785e9c228612d75b9f8d9b89a4dde73eb14a27
MD5 33a73eca6aec035a5fcb24ce12d4086a
BLAKE2b-256 e5ea73d71d7741f0a538ccf1870196cd2a85857c8867d54b2b7753da76fcb44d

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

2 files

This release

0.2.3 This release

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