Skip to main content

Hardware design and software for modular, low-cost one-axis stages

Project description

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.

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: one_axis_stage-0.2.1.tar.gz
  • Upload date:
  • Size: 17.7 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

Hashes for one_axis_stage-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f190d9820b1a11a8a77e11865db22cd63754d1ef7ca1af1655241ba134eb49d0
MD5 ce650addaad7d66a1506f7be53f7f38a
BLAKE2b-256 14153b156892445f9bd896a373c888a07d62af3a75d1da9e69b04fbff63b3c19

See more details on using hashes here.

File details

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

File metadata

  • Download URL: one_axis_stage-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.7 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

Hashes for one_axis_stage-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c051d9754ffd2e365c9c2819de9495c313dfba51cbb1b1e2385ef26d71617249
MD5 2dc58bdff2cb4cd1a8fff43973fc2d86
BLAKE2b-256 b8479dcd2612bbfe11f6021192a3972fa7c00121e613b54f60a8ecf04ba4f940

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page