Giter VIP home page Giter VIP logo

touchdro-simulator-on-esp32's Introduction

TouchDRO-Simulator-on-ESP32

The first try to get a deeper understanding on the BT SPP protocol used by TouchDRO at http://www.yuriystoys.com/

            This is just some testing code for the protocol. Now some dirty code for reading one chinese caliper !!

TouchDRO doeas at the moment only work with Bluetooth Classis and Serial Port Profile (SPP). SPP does not use baudrate, the BT Device just sends as fast as the over air inteface can handle. This is the same with the well known HC05 Devices, the Baudrate is just an higlevel software implementation when it acts as a server/client and uart bridge.

X,Y and Z -Axis: What I've managed to figure out on the Serial Protocol used by TouchDRO is that it uses plain ASCII (char). The format is Axis + Absolute possition in Counts Per Inch(long) and ended with a terminating character.

Example: X1234567;Y2345678;Z3456789;

W - Axis: Configured as an A-axis A standard A-axis (This would be nice!!) ToDo: Use W-axis as an A-axis. radians to degree conversion ?

Tachometer: Same format, but uses "T" for tach and rpm in unsinged-long (Wy not a signed when reversing the spindel ?) Example T123456789; ToDo: test a signed long for negative read out then a CV and a CCV flag can be used

Probe: Uses "P" and a unsigned int (using a bool for better looking code) (ToDo: check if inverted or not9 Example: P1; and P0;

touchdro-simulator-on-esp32's People

Contributors

aggebitter 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.