Hello Guest it is March 29, 2024, 03:45:16 AM

Author Topic: Turning on the relay causes a 'limit switch triggered' error  (Read 4681 times)

0 Members and 1 Guest are viewing this topic.

Re: Turning on the relay causes a 'limit switch triggered' error
« Reply #20 on: April 07, 2019, 08:51:53 AM »
  I'm curious as to how opto-isolation would be able to isolate noise...

I've seen mention that it interrupts the mechanical connection therefore helping to prevent ground loops in the circuit.

Offline reuelt

*
  •  520 520
    • View Profile
Re: Turning on the relay causes a 'limit switch triggered' error
« Reply #21 on: April 08, 2019, 02:32:39 AM »
I don't really want to keep spending more money on this

Hi
Sorry, may I suggest you scrap your circuit and you buy this proven MACH3 Break Out Board
https://www.ebay.com/itm/MACH3-CNC-5-Axis-Interface-Breakout-Board-For-Stepper-Motor-Driver-CNC-Mill/172256512913?epid=22019898979&hash=item281b49cb91:g:734AAOSwLs9aWaON
for $5.38 + delivery.
It has a built in relay for your spindle, opto isolated inputs for limit switches and buffered IO for the motor drivers.
You will need a 12V-24V PSU for the opto isolated inputs to work.
I have the manual for this card. It works well with MACH3.
« Last Edit: April 08, 2019, 02:37:39 AM by reuelt »
"the gift of God is eternal life through Jesus Christ our Lord"