Code Monkey home page Code Monkey logo

sp-slider-driver's Introduction

sp-slider-driver

マイコン<->ドライバ-パラレルケーブル

PIN No./ケーブル色/機能/Arduino Pin No.

  • 21 白 GND G
  • 31 黄 PULSE + 10
  • 32 青 PULSE - G
  • 35 赤 Direction + 9
  • 36 緑 Direction - G
  • 23 橙 Current + 13
  • 22 黒 GND G
  • 2 黒 GND G
  • 20 黒 TIM - 8
  • 19 橙 TIM + 5v

ワンストローク164000 pulse

1640段階 per 0.6mm だと数えられる


マイコン<->リミットセンサケーブル

  • G G

  • 黒 220KΩ -> G

  • 赤 5V

  • 白 220Ω


##OSCプロトコル

####送信

/step [目標ステップ 0~1640] [回転スピード 0~255]

ex.

NetAddr("localhost",5100).sendMsg("/step", 1640, 20)

ステップまで移動

/reset

ex.

NetAddr("localhost",5100).sendMsg("/reset")

原点回帰

####受信

/limit_near [現在ステップ]

リミット検知、原点

/limit_far [現在ステップ]

リミット検知、端点

/ready [現在ステップ]

移動/原点回帰終了

sp-slider-driver's People

Contributors

moxuse avatar

Watchers

Yoshito Onishi avatar James Cloos avatar

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.