We use cookies to personalize content, interact with our analytics companies, advertising networks and cooperatives, and demographic companies, provide social media features, and to analyze our traffic. Our social media, advertising and analytics partners may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services. Learn more.
The source files files for the power supply interface PCB and enclosure are now available in GrabCAD. The “.art” files in the PCB_FAB folder are the Gerber files to make the PCB. Unfortunately GrabCAD does not have a built in viewer for them.
I recently purchased the 300w QC spindle, 48v power supply , speed control, and optical relay.
If I read your schematic correctly, can I use the no D11 pin to trigger the relay powering up the spindle?
In anything I have found on the forum regarding triggering seems to be pre arduino/gshield and indicates pin d12 which is now in use by the limit/homing switches.
I would really like to be able to control the spindle via software yet having manual speed control is attractive too.
@JkWestphal Pin D11 (Port B.3) is used for spindle control in the configuration of grbl we ship. The pin is setup for PWM speed control. You should not drive a relay with PWM. If you set the speed higher than 12000 RPM (the max) the PWM is steady state and can drive a relay, but that is not a very robust way of doing it because it is prone to errors. You can recompile grbl to not use variable speed, but that requires some Ardunio programming skills.
Thanks for the reply Bart, I’ve been scratching my head for a while on ths.
That is the relay circuit that I purchased, (yay ,no shipping delay!) apologies offered that I wasn’t clear on this.
Again my question is where would I acquire the signal to trigger it? Based on your reply, just making connections and seeing what happens probably would not be the best approach I would not do that anyway (See the part about shipping delays…)
@JkWestphal You need to modify config.h to comment out (add // in front) this line,
#define VARIABLE_SPINDLE // Default enabled. Comment to disable.
This will also swap the Z limit and spindle pins due to some legacy grbl issues and what pins can do PWM. Spindle will now be on D12 and the Z limit on D11.
The issue of having to recompile for speed control comes up a lot lately with all the AC spindles in use. @SungeunJeon is seeing if there is a simple solution that will fit in the the code. Having a $ setting for max speed, where you can set max speed to 1 for on/off would be cool.
grbl has very little code space left so it will take some tricky code work to pull it off.
Ok, I think I will run the spindle manually for the time being while I work on full understanding of what you are saying. I tend to move slowly on things that I need a better grasp on. I avoids breaking things. This type of tech is a new area for me but a welcome challenge, It exercises the mental muscles.
When I do get this working the way I want, i’ll post here and let you know.
I am replicating this using a 3D printed enclosure from the GrabCad files. The GRBL enclosure I have is the silver-colored one from the 2014 ShapeOko 2, and the fins are a bit wider than the one shown here.
Is the black GRBL enclosure shown the one from Inventables? Or did you purchase it elsewhere?