GithubHelp home page GithubHelp logo

rcktom / smd-tape-cutter Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 18 KB

A machine to cut smd tapes to specific lengths

License: GNU General Public License v3.0

CMake 3.50% C 96.50%
smd tape cutter zephyr zephyr-rtos stepper electronics soldering

smd-tape-cutter's Introduction

Firmware

The firmware is based on the zephyr rtos. The integrated shell over uart is used to control the machine.

Requirements

A working zephyr environment version >= v2.5 is required to build the firmware. (Zephyr getting started)

Supported boards

The firmware should run on every board supported by zephyr that has gpio and uart support and is clocked fast enough. Tested on a nucleo_f303re board.

Configuration

To configure what pins control the stepper motors edit the stepper_config.overlay file.

Build and flash

west build --board nucleo_f303re
west flash

Usage

To use the machine connect to the interactive shell over the serial connection (use screen or putty for example).

For commands that require a stepper id the following mapping applies:

  • Stepper id 1: Cutter
  • Stepper id 2: Mover

Disable steppers

To disable all steppers, for example to load a new tape or position the knife manually, exeute:

hacker disable_steppers

Knife

To manually lower or rise the knife execute

hacker knife knife_pos

knife_pos can either be "up" or "down"

Move

There are two move commands

  • hacker move_rel stepper_id length Move relative to current position
  • hacker move_abs stepper_id position Move to absolute position

Cutting jobs

To performe a cutting job execute

hacker hack length amount

Length is the number of holes every cut piece has. Amount is the number of pieces to cut. Make sure to properly set the cutting position prior to executing a job.

smd-tape-cutter's People

Contributors

rcktom avatar

Watchers

 avatar  avatar

Forkers

erwzqsdsdsf

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.