Coder Social home page Coder Social logo

Comments (2)

Paciente8159 avatar Paciente8159 commented on August 28, 2024

If this only happens when you run the spindle...most probably it's not a bug but a noise issue.
If you can run GCODE ok and nothing goes wrong and when you turn the spindle on it trips an alarm now and then you have a noise issue.

You can confirm this by running the same GCODE with the spindle unpowered (but still using M3, M4 and M5 commands) and nothing trips.

You can solve this with hardware. I recommend using some optocouplers (like the inexpensive PC817) and work with 2 voltage levels. 5V on the Arduino side (near the board) and 12V or 24V (or whatever power supply you are using on the other side (on the limits wires).

Here is an example:
https://planet-cnc.com/wp-content/uploads/2016/02/switch.png

I've also had this issue with my Spindle+VFD. The optocouplers solved it.

EDIT
Actually I use a circuit like the one above but use N.C. switches. That allows me to detect also unconnected limits or faulty wires.

from ucnc.

andy0983 avatar andy0983 commented on August 28, 2024

You were right, there are interferences with the Spindle+VFD and the relay that turns on the spindle cooling
Thank you for your help

from ucnc.

Related Issues (20)

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.