# Spindle Automation Issue

**URL:** <https://forums.maslowcnc.com/t/spindle-automation-issue/3445>\
**Category:** Hardware\
**Created:** [April 18, 2018, 12:16am UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445 "2018-04-18T00:16:22Z")\
**Posts on this page:** 18\
**Page:** 2

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [April 19, 2018, 8:21pm UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/22 "2018-04-19T20:21:28Z")

</div>

> [@blurfl](#):
>
> spindle automation

Just to flog this horse one more time, in Advanced settings, the one named ‘Spindle Auromation’ is ‘On’, yes? It must be so to work the way you need.

 ![59%20PM](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/f/f92272e619476892a3ad4ec549624eb5f31e9d23.jpg)

Did a schematic come with the relay board? A manual? If you unplug just the signal wire from the relay board and leave the 5V and GND connected, does the relay pick up, the router get power? I hope not, but we’re trying to wring out the signal logic that the boatd needs.

---

<div class="post-metadata">

**Author:** ![Keith](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/keith/32/1332_2.png) [@Keith](https://forums.maslowcnc.com/u/Keith)\
**Post date:** [April 19, 2018, 8:32pm UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/23 "2018-04-19T20:32:15Z")

</div>

> [@blurfl](#):
>
> in Advanced settings, the one named ‘Spindle Auromation’ is ‘On’, yes?

Thanks @blurfl, I forgot to mention that. It would be a good idea to double check that setting even though:

> [@TalleyMakeWork](#):
>
> In the advanced settings of GC I switched the spindle automation to on.

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [April 19, 2018, 8:46pm UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/24 "2018-04-19T20:46:20Z")

</div>

Ok, I found the schematic [here](http://henrysbench.capnfatz.com/wp-content/uploads/2015/05/5V-Arduino-Four-Channel-Relay-Schematic.pdf). Unfortunately, the relay board is designed to use ‘negative logic’, that is asserting 0V on an input causes the relay to pick up (change from its unpowered state).  
I don’t think there is a safe way to use that relay board to control the router. If the router is connected to the relay N.O. pins, it will start if the Arduino resets. If the router is connected to the N.C. pins, it will start if the Arduino loses power or is not connected.  
sorry for the bad news ☹

---

<div class="post-metadata">

**Author:** ![Keith](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/keith/32/1332_2.png) [@Keith](https://forums.maslowcnc.com/u/Keith)\
**Post date:** [April 19, 2018, 11:37pm UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/25 "2018-04-19T23:37:42Z")

</div>

> [@blurfl](#):
>
> I don’t think there is a safe way to use that relay board to control the router

That is a bummer. For the time being, you can continue to use it until you get a replacement (as long as it is supervised, obviously). Sparkfun is where I got my [relays](https://www.sparkfun.com/products/13815), but those require some soldering knowledge. The ones on Amazon do not clearly state the logic used, which is unfortunate. You might be able to get your money back because of that, and perhaps get the relay board you need. Were you planning to use the other three channels? If not, a single relay board is pretty inexpensive.

Also, if anyone really likes coding, perhaps there could be a choice for Active Low or Active High relays under the Spindle Automation option.

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [April 20, 2018, 12:13am UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/26 "2018-04-20T00:13:24Z")

</div>

[Here](https://www.adafruit.com/product/2935) is a well-designed power-control strip which uses positive logic. It has four outlets, 1 always on + 1 normally on + 2 normally off, surge supression and a 12A thermal safety circuit breaker. More money to be sure, but well engineered and tested. It won’t be the thing that started the fire in the woodshop.

---

<div class="post-metadata">

**Author:** ![Keith](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/keith/32/1332_2.png) [@Keith](https://forums.maslowcnc.com/u/Keith)\
**Post date:** [April 20, 2018, 3:40pm UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/27 "2018-04-20T15:40:08Z")

</div>

> [@Keith](#):
>
> a choice for Active Low or Active High relays under the Spindle Automation option.

another low cost option would be to make a logic inverter with a transistor or [mosfet](http://www.learningaboutelectronics.com/Articles/Transistor-inverter-circuit.php):  
 ![log47](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/d/d01cf23750a34afc0b78f610ae1be7e8604b5f90.gif)  
 ![Transistor-inverter-circuit](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/4/46913b02f0d45e163e687b3309498d725f81477f.png)

relatively easy to implement on the three wires between the arduino and the relay board if you have some  
decent dead bug soldering skills.

---

<div class="post-metadata">

**Author:** ![TalleyMakeWork](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/talleymakework/32/2442_2.png) [@TalleyMakeWork](https://forums.maslowcnc.com/u/TalleyMakeWork)\
**Post date:** [April 26, 2018, 1:14am UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/28 "2018-04-26T01:14:56Z")

</div>

Thank you @bar for adding active spindle automation for low relay voltage in the latest FW and GC setup. I was able to test this setup tonight and it worked flawlessly.

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [April 26, 2018, 3:54pm UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/29 "2018-04-26T15:54:09Z")

</div>

Don’t thank me, I didn’t do it 😉

@LakeWorthB deserves all the credit there.

Be a little careful with it. I think there might still be some concerns about what happens if the board looses power and what happens to that pin when the board is booting up. Def always use the power switch on the router when changing bits!

---

<div class="post-metadata">

**Author:** ![Keith](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/keith/32/1332_2.png) [@Keith](https://forums.maslowcnc.com/u/Keith)\
**Post date:** [April 26, 2018, 7:07pm UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/30 "2018-04-26T19:07:25Z")

</div>

> [@bar](#):
>
> Def always use the power switch on the router when changing bits!

And when shutting down for the day, or an extended period of being away from the machine. Better safe than sorry

---

<div class="post-metadata">

**Author:** ![Bee](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bee/32/2160_2.png) [@Bee](https://forums.maslowcnc.com/u/Bee)\
**Post date:** [April 26, 2018, 8:11pm UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/31 "2018-04-26T20:11:21Z")

</div>

FWW - I have everything on a power strip. I have a hanging spot for the sled on the frame. And a preflight check list. I run and extension cord to the power strip. On shut down I plug the plug of the power strip into it’s self. This ensures I can not leave the system powered.

I plan to use this for spindle control -

> **[SparkFun Beefcake Relay Control Kit (Ver. 2.0) - KIT-13815 - SparkFun...](https://www.sparkfun.com/products/13815)**
>
> Your 5V system can wield great power with this big, beefy relay board. How does 10A on the NC contacts and 20A on the NO contacts at 220VAC sound? The Spar

Looks like you already have suggested it once. Note to get MAX Amps you need to solder to the board directly.

Thank you

---

<div class="post-metadata">

**Author:** ![mrfugu](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/mrfugu/32/22_2.png) [@mrfugu](https://forums.maslowcnc.com/u/mrfugu)\
**Post date:** [April 26, 2018, 10:46pm UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/32 "2018-04-26T22:46:27Z")

</div>

> Def always use the power switch on the router when changing bits!

Not safe enough.

ALWAYS unplug the router before changing bits or handling the router outside the Collar for ANY reason.

Pro-Benefit: Keep all of your fingers, all of the time, always attached to your hand.

---

<div class="post-metadata">

**Author:** ![TalleyMakeWork](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/talleymakework/32/2442_2.png) [@TalleyMakeWork](https://forums.maslowcnc.com/u/TalleyMakeWork)\
**Post date:** [May 3, 2018, 6:59pm UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/33 "2018-05-03T18:59:38Z")

</div>

You know I ordered one of these and then they updated the logic. Go figure!

---

<div class="post-metadata">

**Author:** ![Keith](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/keith/32/1332_2.png) [@Keith](https://forums.maslowcnc.com/u/Keith)\
**Post date:** [May 3, 2018, 7:35pm UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/34 "2018-05-03T19:35:22Z")

</div>

> [@TalleyMakeWork](#):
>
> updated the logic

I still prefer an active high relay. Especially for situations such as if you have a connection error, then the likelihood of the relay defaulting to the on position for the router is lower.

---

<div class="post-metadata">

**Author:** ![clintloggins](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/clintloggins/32/56_2.png) [@clintloggins](https://forums.maslowcnc.com/u/clintloggins)\
**Post date:** [July 12, 2018, 4:31am UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/35 "2018-07-12T04:31:15Z")

</div>

@blurfl this worked like a charm  
Iot Relay - Enclosed High-power Power Relay for Arduino, Raspberry Pi, PIC or Wifi, … [https://www.amazon.com/dp/B00WV7GMA2/ref=cm\_sw\_r\_sms\_c\_api\_vzSrBbFD1H111](https://www.amazon.com/dp/B00WV7GMA2/ref=cm_sw_r_sms_c_api_vzSrBbFD1H111)  
Im sure there are cheaper sellers and alternate options but super easy!!! I have my router and vacuum plugged in to turn on and off.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/f/f918f0ab812c72288b1a45de81a8b09901e22dc9.jpeg)  
Here it is in action (should be able to hear when code triggers)  
[https://drive.google.com/open?id=12vi54qYLlUwqazxWZdoKM6u3jrd9DWbR](https://drive.google.com/open?id=12vi54qYLlUwqazxWZdoKM6u3jrd9DWbR)  
Also, I want to give a big thanks to @Bee for answering my questions about the setup!

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [July 12, 2018, 4:48am UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/36 "2018-07-12T04:48:04Z")

</div>

Glad to hear it’s working for you. That DLI unit is the good one, well engineered. [Here’s](https://www.adafruit.com/product/2935) a link to a slightly less expensive source for it.

---

<div class="post-metadata">

**Author:** ![Bee](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bee/32/2160_2.png) [@Bee](https://forums.maslowcnc.com/u/Bee)\
**Post date:** [July 12, 2018, 4:48am UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/37 "2018-07-12T04:48:26Z")

</div>

@clintloggins, always welcome! Do you have a 3D printer?

Thank you

---

<div class="post-metadata">

**Author:** ![clintloggins](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/clintloggins/32/56_2.png) [@clintloggins](https://forums.maslowcnc.com/u/clintloggins)\
**Post date:** [July 12, 2018, 5:12am UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/38 "2018-07-12T05:12:34Z")

</div>

Yes I do! But that is a sore subject 😫 🤣  
Mp mini delta, had about 6 great prints and of course modifying became my priority 😂  
E3d v6 hot end upgrade and this

> **[Monoprice Mini Delta Effector / Mount by mfink70](https://www.thingiverse.com/thing:2488711)**
>
> This is not my design, I just made some modifications. Thank the original designer for the great design!
> See the source files for the layer fan part number, the other is the standard 30mm fan.
> Got it printing great with the e3d v6. Check out the...

Got it from Mark (designer and awesome dude). Put it on and didnt realize I had tightent the top mount too tight and actually split it. Hot end is jammed up w abs because again I had to test the limits (had enclosed but the bed could barely reach 80C) So my one and only 3d printer is out of commission at the time until I can figure out the best coarse of action.  
That Creality or Prusa(if I really want to splurge) is looking better and better.  
By the way I can guess why you were asking if I had a 3d printer… need to cover that pcb n duino and the mount I have is cracked 😜 told ya I have a tendency to over tighten. Knew you would like the 3dp talk leading up to the enclosure 😁

---

<div class="post-metadata">

**Author:** ![Bee](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bee/32/2160_2.png) [@Bee](https://forums.maslowcnc.com/u/Bee)\
**Post date:** [July 12, 2018, 6:15am UTC](https://forums.maslowcnc.com/t/spindle-automation-issue/3445/39 "2018-07-12T06:15:18Z")

</div>

I would print some brackets to hold the IOT Switch - on a hotday the glue could give way. Sounds like you might ned to wait on it. If you need input one of the guys I brought into 3D printing is working at Monoprice on the mini deltas this week.

Thank you

[Previous page](https://forums.maslowcnc.com/t/spindle-automation-issue/3445.md?page=1)
