Skip to content
Snippets Groups Projects
README.md 1.55 KiB
Newer Older
  • Learn to ignore specific revisions
  • Jake Read's avatar
    Jake Read committed
    # AutomataKit Stepper17
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    This is a motor driver for Nema 17 size Stepper Motors, which extends the [automatakit](https://gitlab.cba.mit.edu/jakeread/automatakit) architecture.
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    The board receives commands from an automatakit network and faithfully executes them, replying when complete. 
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    ![board](/images/fab-front.jpg)
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    ![board](/images/fab-back.jpg)
    
    Jake Read's avatar
    Jake Read committed
    ## Development Notes
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    See [circuit chatter](/circuit) and [firmware chatter](/embedded).
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    # Viable Commands
    
    Jake Read's avatar
    Jake Read committed
    ### Test
    
    Jake Read's avatar
    Jake Read committed
    Keycode: **127**
     - to test networking, this will reply with a payload packet containing ```127, 12, 24, 48``` and will toggle an LED on the board
    
    Jake Read's avatar
    Jake Read committed
    ### Reset
    
    Jake Read's avatar
    Jake Read committed
    Keycode: **128**
     - issues a software microcontroller reset
     - if the microcontroller is already hung up, this will not work
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    ### Step Trapezoid
    
    Jake Read's avatar
    Jake Read committed
    Keycode: **131**
    
    Jake Read's avatar
    Jake Read committed
    Arguments: Steps to Make, int32_t | Entry Speed, steps/s, uint32_t | Acceleration Rate, steps/s/s, uint32_t | Acceleration Length, steps to accelerate for, uint32_t | Decceleration Length, steps to deccelerate after, uint32_t
    Returns: Steps Made, int32_t | on step completion
    
    Jake Read's avatar
    Jake Read committed
     - the stepper will load this block into its stepping buffer, and if the buffer is empty will execute the trapezoid. on it's completion, the stepper will reply with an acknowledgement
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    # Reproducing This Work
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    All automatakit works are open source, and while we cannot sell you boards, if you have an interesting application, get in touch to ask about collaborating.
    
    Jake Read's avatar
    Jake Read committed
    
    
    Jake Read's avatar
    Jake Read committed
    To reproduce boards and load code, see the document ['Reproducing Automatakit Work'](https://gitlab.cba.mit.edu/jakeread/automatakit/reproducing)