Comments (2)
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.
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)
- [FR] Support SCARA machines with 2 fixed motors HOT 4
- Sketch to big to fit into Arduino UNO memory HOT 6
- Running ucnc on NUCLEO-F411RE (STM32F411RET6)??? HOT 13
- [BUG] Using automatic extensions macro causes part of the extensions to not be rewritten
- [BUG] If a timeout assert loop using mcu_millis is called inside an ISR the program stalls
- [BUG] STM32F4 fails to compile when using HW I2C
- [BUG] SPI configuration of STM32F4 incorrect/incomplete
- [BUG] Plasma THC speed range function outdated
- PWM Laser or PPI Laser
- [BUG] DSS_CUTOFF_FREQ build error HOT 2
- [FR] Default servo position HOT 4
- [BUG] Compiling Error with STM32 Blackpill (Arduino AND Platformio) HOT 10
- Ask if it has the function of PCB cutting proximity switch to test the flatness of the mesh bed HOT 3
- [BUG] zero after hmap results in non-zero work position HOT 2
- [ask] ramps 1.4 beeper and read sd card feature HOT 4
- [BUG] Y axis endstop triggered after a period of time and hold in this position HOT 3
- [BUG] ESP32 SPI should use Arduino SPI by default
- Module event listeners with locks issue HOT 1
- Amazing! Admirable! You are still updating and maintaining it. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ucnc.