Git Product home page Git Product logo

magneticencoder's People

Contributors

chrissbarr avatar jaysonkelly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

magneticencoder's Issues

M860-M869 - I2C Position Gcode commands

I have connected an AS5600 magnetic encoder to a Rumba32 board and configured it as mentioned in the configuration-adv.h (Marlin 2.0.9.3).
Carefully I started with only the X. No errors occurred during the building, uploading, and startup of the printer.

When I wanted to check the status of the AS5600 with the Gcode command M862 X, the response of the board was: "echo:Unknown command: "M862 X"
I have tried all M860-M869 - I2C Position commands, but each time the answer is: "echo:Unknown command".
I double checked the connections "+, -, D and C" both on the board and on the AS5600.

However, something is wrong here, is it that the AS5600 is NOT compatible, or is there perhaps a bug in this Marlin version?

Anyone have an idea what's going on here? Help is greatly appreciated!

Closed loop doesn't work

Hello

I want to control 3 axis by sending Grbl commands in the USB port by using pronterface software. I succeed to move every axis but I need to be sure of the position (closed loop).
So I rebuild 3 magnetic encoders (V1 with Atmega) by using the manufacturing files and soldering components on the PCB. I made some tests with the encoders and I can measure the position of the system (M860 command) but it didn't work in closed loop.
Received value in ticks :
image

This is what I've done to verify closed loop function:

  1. I send a GRBL command to make relative positioning -> G91 G0 X100
  2. I block the system during movement (just like the video at the bottom of the encoder wiki)
  3. Thanks to magnetic encoder I measure position in ticks at the end of movement and the reached distance was 97mm instead of 100mm

When I enable the correction (M867 command) it responds the correction is enabled for all axis. However it doesn't correct the position. And the returned position doesn't include home offset.

image

I'm using Marlin 2.1.2.1

Does Somebody know why ?

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.