IOT Relay Wiring Diagram

yep mines from walmart also - the one with the metal canister

Ran mine for 4 hours non stop.
No issue here.
Its the shop vac current draw.
My router is on the same unit and still no issues.

1 Like

Yes it will work.
I use it on mine.
Just make sure you do not exceed the ratings as Phil and others suggested.
The wiring is simple. What controller do you have?
It will be different between the X1 and X2

X2 on my doorstep within the next hour by UPS Delivery

red wire goes from ? to?
Black wire ? to ?

anything else?

Red goes to + (pos) and black is Gnd

I do not have an X2 but
On the diagram located here: A Fond Farewell to GrabCAD Workbench - GrabCAD Blog

You want the red wire on the [ spindle 0-10v ] pin 6 (The IOT can handle this voltage)
The black on the GND pin 7

Now someone who has a X2 please verify. Thanks.

Here’s my new 2.0 X-Carve with X-Controller wired to the IOT Relay and controlling the spindle


Awesome Thanks for sharing Scott!
I was correct.

1 Like

I will be getting a new controller soon.
Need to finish moving into the new place.
I now have a garage!

Excellent = looks like a piece of cake once you see how its done - 1 pic worth 1k of words!! Thanks for doing that !!!


Heres a link to Ebay for folks that would like to order one also - ot Relay PDUs - Enclosed High-power Power Relay for Arduino, Raspberry Pi, PIC for sale | eBay

What’s the difference in using the 0-10v vs the pwm?

I never understood all this nonsense about amps… but no matter how long my machines are running i have never tripped my power strip that supplies power to my entire shop. i can carve, shop vac, drill press, and use my compressor all on one outlet. Maybe im just sooooo lucky. :confounded:

This thing is awesome… 5 minutes to hook up, change Spindle control to Automatic … follow the prompts to start the carve and it stops automatically when finished. WHY isn’t this relay (or something similar… perhaps built into the X-Controller ??? ) part of the package to begin with???

1 Like

Maybe they are trying to keep the costs down.

[quote=“360icon, post:14, topic:29883”]

Hooked it up and it worked perfect first time in Easel!! - then… the next day it no longer will trigger dewalt with the exact same setup as the night before?? - tried another project sending gcode thru picsender and works perfect overtime again - so whats up with that i wonder??

1 Like

Quick question.
In Scott’s post above I see he has the relay connected to the 0-10v spindle control. While I can’t seem to find the post now, I’ve also read that you should connect it to the PWM output instead. Can anyone provide any clarification?

1 Like

I have the JTech Laser connected to the PWM (Pulse Wave Modification) connection because that’s a digital signal connection to transmit variable level codes to the laser (10%, 50%, 100%, etc). I suppose some folks might use the PWM with spindles that allow for that transmission to control spindle speeds. With the IOT and the Dewalt 611 Router I think all spindle speed is controlled via the variable dial on the Dewalt. Or at least that’s how I perceived it as happening.

The basic IT question is if it worked yesterday and today it doesn’t what have you changed in the interim. My guess is that with the installing of Picsender and maybe their version of Grbl you’ve changed some of the stored codes/variables in Grbl on the Arduino board in the X-Controller. I know when I flashed my X-Controller to their 1.0c version of Grbl that all my X-Y-Z movements were hosed. Some work (and changing my wires for my Z axis) and I’m back up and running. Easel is great because it makes everything simplistic but at the same time it hides from us all the software settings that are taking place in the background. I myself am still learning these and I’m still working on getting my Dewalt spindle control back through the IOT now that I’ve got the laser and my X-Y-Z movements correct.

If you use the PWM output for triggering the relay then your G-code has to set the spindle speed to the maximum allowed by the setting in grbl (in config.h) for versions prior to 1.0c. For 1.0c the spindle speed would have to be set to the maximum value as set in the $30 parameter or greater to get the relay to turn full on.

With the 0-10 volt output you only have to set the spindle speed high enough to output 3.3 volts or greater to get the relay to turn full on.

Another way to look at it is the Pulse Width Modulation looks like pulsing DC (on/off/on/off etc) where the 0-10 volts is a steady DC signal. When using the PWM output you have to set the spindle speed high to get a steady DC voltage out of the PWM output.

A small difference, but it might be useful information for someone.

1 Like


Sorry for your difficulties. The firmware and documentation references are here.