Git Product home page Git Product logo

pipicosteppermodule's Introduction

Pi Pico Stepper Module

Stepper Motor motion controller with trapezoidal motion profile and RS485 interface.

ABOUT

This microPython application runs on a Raspberry Pi Pico (RP2040) and is controlling a Stepper Motor Driver Module. The hardware is a TB6600 derivative from Toshiba, specifically the TB67S109AFTG.

The Module's enclosure is re-engineered and modified to make room for:

  1. The Pi Pico board with USB access
  2. DC/DC Converter to power the Pi Pico
  3. A serial RS-485 half-duplex converter and connectivity
  4. Opto Coupler connectivity to home the controlled axis
  5. PCB Screw Terminal Block receiver for external connectivity of item 3. and 4.

SOFTWARE

MotionControl.py

This module is the top-level module that communicates with the master on the RS485 serial interface. It monitors the RS485 bus for commands and queries and acts on those that are intended for its hardware module.

lib/CommandQueue.py

This module manages the mimicking of the AllMotion protocol as specified in Command_Set.pdf in the \Hardware\Datasheets folder.

lib/StepConfiguration/py

This module manages configuration parameters specific to this hardware. These include, but are not limited to module number (RS485 is a multi-drop communication bus), but also defaults used by StepControl.py

lib/StepControl.py

This module manages the control of the low-level stepper hardware's ENABLE, DIRECTION, and STEP signals. It takes speed, acceleration, move distance, step size etc as input, and then calculates a pulse delay table to create and execute a trapezoidal motion profile.

Utilities

Utilities/SendRs485Command.py

Run RS485 interface on Host.

Utilities/UsbCommand.py

Use the REPL Host interface available on the USB of Pi Pico

HARDWARE

The hardware files consist of:

  1. Build Instructions
  2. Wiring instruction for wiring the Pi Pico to:
  3. Datasheets for:
    • TB67S109AFTG stepper controller
    • AllMotion Command Interface
  4. CAD design files for the re-engineered enclosure in format:
    • SolidWorks .sldpt
    • .step files
    • .png file depicting the design
  5. 3D print files in:
    • .3mf format (PrusaSlicer 2.5 export)
    • .stl file
    • .step file (see CAD)
    • .png depicting the "Paint On Supports" that are recommended

pipicosteppermodule's People

Contributors

patrick-nelissen avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

vtt-info drew-28

pipicosteppermodule's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.