GRBL Enclosure! Again ;-)

Share your Shapeoko created projects!
ArtFaks
Posts: 50
Joined: Fri Sep 11, 2015 8:37 am
Location: France

GRBL Enclosure! Again ;-)

Post by ArtFaks » Sun Jan 24, 2016 11:39 pm

Hi everybody,

I currently WIP on my circuit design that will bring together all features that my electronic enclosure need for my beloved Shapeoko2.

As you can see on attached pictures, the design of the front and back panels are finalized.

For informations, i use Illustrator for create the design then i had printed all on a A4 sheet of transparent sticker, and then i've them paste on the front and back panel of my "control box".

As you can see on the pictures, all functions that i wish to add listed below :

- Bicolor LED (green & red) to indicate the limits switch activity (2 per axis - top & bottom)
- LED to indicate the stepper motors activity.
- LED to indicate the RX/TX serial activity.
- A simple ON/OFF switch to enable/disable one or more FANs.
- A simple ON/OFF switch to enable/disable the spindle.
- A simple ON/OFF switch to enable/disable the LED strip that illuminates the Machine.

And now what is not seen and which in heart of the "control box".
- A board that distributes needed supplies +5V and +12V with +24V input (which matches my power supply).
- A simple fuses protection board for fans.
- A board for the "Endstop Activity" LEDs.
- A circuit for the "Motors Activity" LEDs.
- A circuit for the "Serial Activity" LEDs.

Ideally, I would also add a single LED to indicate whether the fans are, and ditto for the spindle.

I would also add, and this is one of my "BIG PLUS" ;-), a simple switch that would allow me to turn ON/OFF the steppers starting from PIN 8 of GRBL.
Because i wish could find a simple and effective solution to allow me to change tools without having to set "$1=255", which have the effect of heater more than my DRV8825 reasons (and I can be that they burn).


For those of you who so wish, i can seamlessly convert and simplify the .ai file in svg format into gcode file to facilitate the machining of front and rear panel.

Ideally, i would also add a simple LED to indicate if the fans are turning on or off, and Ditto for the spindle but this is pretty simple to implement.

For all those of you who would be interested by this little project and who would like to help for create this board design, you'll find perform much of the work already in the archive. This archive contains all necessary eagle files and also all the ancillary files (bom, ai, eps, etc).

The three Eagle files present in this archive are :
- Schematic of the power supply +5V and +12V. (not totally finished, need a verification and validation)
- Schematic of limit switches activity indicators. (need information for how to wiring)
- Schematic of RX/TX serial activity indicators.

I just need help to validate (or not) these circuits/schematic that i've already created and then needs a fairly competent person in electronics to consolidate all my circuits on a single and same board design of 4.5x12cm maximum size.

The errors that i could have in my eagle files are mainly at the level of "board design" and routages.

Here, you all know, you have all on hand to help me and especially to create also a super dupper "control box" ;-)

I would like to clarify that to keep this 'control box' modular and upgradable i've voluntarily separate the spindle power supply. For the moment i yet to take the time to look at the question and i didn't yet connect the PWM output of my spindle.

I would like to thank @trimarco232 that got me much help and as that create most of the electronic scheme provides here.

B.O.M of this "control box" :

- 1x Universel Enclosure - http://www.conrad.fr/ce/fr/product/5204 ... -110-1-pcs
- 1x 24V/10A Power Supply - http://www.banggood.com/Wholesale-24V-1 ... 50578.html
- 1x Arduino Uno
- 1x CNC Shield Protoneer
- 4x Stepstick or Pololu DRV8825/A4988
- 1 or 2x 24V FANs - http://www.conrad.fr/ce/fr/product/1808 ... 5-mm-1-pcs
- 1 or 2x FAN Protector - http://www.conrad.fr/ce/fr/product/1895 ... 0-mm-1-pcs
- 3x Push buttons - http://www.banggood.com/3A-250V-Off-on- ... 15925.html
- 1x Emergency stop button - http://www.banggood.com/N-or-O-N-or-C-E ... 18865.html
- 4x Aviator connectors - http://www.banggood.com/GX164-4Pin-16mm ... noir-1-pcs
- 1x Presse-etoupe cable - http://www.conrad.fr/ce/fr/product/5337 ... 9005-1-pcs
- 1x Fuse + Fuse Holder - http://www.banggood.com/10A-15A-Fuse-Ca ... 18569.html
- 1x RCA male connector - http://www.banggood.com/4Pcs-Gold-Plate ... 36477.html
- 1x RCA female connector - http://www.banggood.com/2pcs-Gold-Plate ... 93537.html
- 1x USB B 30cm - http://www.banggood.com/30cm-USB-20-B-M ... 23586.html
- 3x switch SP - http://www.banggood.com/5Pcs-SPDT-3-Pin ... 46744.html
- 1x Switch DPST with indicator - http://www.banggood.com/5Pcs-Red-Light- ... 46986.html
- 11x LED Holder mount - http://www.conrad.fr/ce/fr/product/5337 ... 9005-1-pcs

- 6x Bi-color LED (green & red)
- 4x Red LED
- 1x Green LED
- 8x Transistor MOSFET, Canal-P BS250P
- 8x Résistance 150Ω - SMD 1206
- 5x Résistance 10kΩ - SMD 1206
- 6x Résistance 120Ω - SMD 1206
- 6x Diodes 1N4148
- 6x Capacitors 100nf
- 2x PTC Fuses MF-RX020 - http://www.conrad.fr/ce/fr/product/1055 ... 1-mm-1-pcs
- ??x Block screw terminals - http://www.banggood.com/50pcs-2pins-Pri ... 43634.html

___________________


Image

Image

Image

Image

Image

Image
Eagle-Control-box.zip
Eagle Files
(134.17 KiB) Downloaded 338 times
Last edited by ArtFaks on Mon Jan 25, 2016 5:52 pm, edited 1 time in total.
Shapeoko2 - Homemade CNC Control box - 400W/48V Chinese Spindle - Protoneer V3 Shield + DRV8825
Process - Illustrator > Makercam > UGCS

AnonymousPerson
Posts: 758
Joined: Sun Apr 26, 2015 1:16 pm
Location: 3753 Cruithne

Re: GRBL Enclosure! Again ;-)

Post by AnonymousPerson » Sun Jan 24, 2016 11:52 pm

Very clean, industrial design look. ;)
Shapeoko 3 #516

xfredericox
Posts: 292
Joined: Mon May 04, 2015 10:46 am

Re: GRBL Enclosure! Again ;-)

Post by xfredericox » Mon Jan 25, 2016 11:56 am

very clean!

what's behind the motor LEDs internally? I mean what pin do you read of and what's between the pin and ground?
did you screenprint the panels?

one remark: you should put an emergency stop on top. It is a more natural movement slamming it from the top, than sideways, and you risk just pushing the whole case backwards instead of triggering the button. Every second counts when it comes to that! :mrgreen:
Visit my blog for updates on my current SO2/lasercutting/... projects.
http://www.manmademayhem.com

AnonymousPerson
Posts: 758
Joined: Sun Apr 26, 2015 1:16 pm
Location: 3753 Cruithne

Re: GRBL Enclosure! Again ;-)

Post by AnonymousPerson » Mon Jan 25, 2016 5:12 pm

With the fan, would it make sense to put some kind of filter between the fan and the fan protector, to reduce the amount of dust (etc) getting inside?

eg maybe one of these premade ones:
They don't have MERV ratings, but that might be overthinking things. ;)

Or for a more DIY approach (and they have MERV ratings):
The premade ones in the first list would probably keep with the look you're going for. :)
Shapeoko 3 #516

ArtFaks
Posts: 50
Joined: Fri Sep 11, 2015 8:37 am
Location: France

Re: GRBL Enclosure! Again ;-)

Post by ArtFaks » Mon Jan 25, 2016 5:48 pm

Hi, thanks for your reply !

@xfredericox

behind the motor LED's ?

After to be informed about how best to powering the LEDs that indicates motors activity, we have answered that the simplest was to connect a LED with the good resistor directly on the motor output.
Resistor is calculated based on the LED.

Your remark about the emergency stop button is supposed to, but i would like to inform that it almost impossible to move the front panel because it is set firmly with four screws. Also, place the emergency stop button on the top seems a little strange and would be detrimental to the entire design of my control box, so, if i put the e-stop on top of the enclosure i'll not put something on it. But thanks for your remark @xfredericox ;-)

@AnonymousPerson
Thanks, very very interesting ideas, i admit to not having thought!
Shapeoko2 - Homemade CNC Control box - 400W/48V Chinese Spindle - Protoneer V3 Shield + DRV8825
Process - Illustrator > Makercam > UGCS

ArtFaks
Posts: 50
Joined: Fri Sep 11, 2015 8:37 am
Location: France

Re: GRBL Enclosure! Again ;-)

Post by ArtFaks » Mon Jan 25, 2016 5:55 pm

Re, here u will find my front/back panel design finished.

Image

Image
Shapeoko2 - Homemade CNC Control box - 400W/48V Chinese Spindle - Protoneer V3 Shield + DRV8825
Process - Illustrator > Makercam > UGCS

AnonymousPerson
Posts: 758
Joined: Sun Apr 26, 2015 1:16 pm
Location: 3753 Cruithne

Re: GRBL Enclosure! Again ;-)

Post by AnonymousPerson » Mon Jan 25, 2016 6:01 pm

Yeah, the black/red look also seems ok. My personal preference between the two... I like the aluminium colouring of the first one. I haven't really thought about the button layout for either though. 8-)

Hmmm... actually... both of the "end stops" have the same "ENDSTOP" label. Should that be "END STOP"? Also, should those labels be the same, or should one be something like "X END STOP" "Y END STOP" ???
Shapeoko 3 #516

PsyKo
Posts: 430
Joined: Thu Aug 30, 2012 8:42 pm
Location: France

Re: GRBL Enclosure! Again ;-)

Post by PsyKo » Tue Jan 26, 2016 11:48 am

Nice enclosure :)

I'm working on mine too. Ho wdid you stick the transparent slides on the panel ? Using lazertran ?

PS : ca fait plaisir de voir un français :) (It's nice to see french people around)
Shapeoko #736
Kress 800, Z Axis upgrade, dual Y, 600mm X&Y rails, metal spacers and V Wheels, home switches, 4th axis
Goko - Free CNC Control Software - http://www.shapeoko.com/forum/viewtopic ... 380#p44380

SmokyRick
Posts: 168
Joined: Sun May 11, 2014 7:22 pm

Re: GRBL Enclosure! Again ;-)

Post by SmokyRick » Tue Jan 26, 2016 12:01 pm

Did you make and use a silkscreen for the lettering on the panel? It sure looks nice whatever you did.
Smoky Rick Crawford in the middle of Northern Illinois, USA.
ShapeOko2 s/n 5200 all stock. Arduino, gshield, Grbl Controller, Autodesk Fusion 360.
Mods: Quiet cut spindle, grbl v0.9g w/ spindle control enabled.

ArtFaks
Posts: 50
Joined: Fri Sep 11, 2015 8:37 am
Location: France

Re: GRBL Enclosure! Again ;-)

Post by ArtFaks » Tue Jan 26, 2016 1:18 pm

Hi,

@PsyKo, for the transparent adhesive film, you have two simple solutions:
  - First way, you've an inkjet printer and you use this transparent film -> http://www.amazon.fr/sheets-transparenc ... B001AO1VPS
  - Either you find a "Top Office" store that will make you your print on a transparent adhesive film not too expensive (about 4 euro if i remember correctly).

PS: oui ca fait plaisir, je voit qu'il y en as quand même pas mal de français ici. Si tu as besoin de moi pour ton design front panel de ta box, contact moi ;-)
Si tu es doué en electro, tu peut m'aider si tu veut, car je suis pas trop fort avec ca.

@SmokyRick

No, i simply use a transparent adhesive film.
Shapeoko2 - Homemade CNC Control box - 400W/48V Chinese Spindle - Protoneer V3 Shield + DRV8825
Process - Illustrator > Makercam > UGCS

Post Reply