|
Post by Bruce on Dec 14, 2017 14:48:47 GMT
I was reading this exact instructable page the other day. You think you might buy this Alamode board and try it out?
|
|
|
Post by notso on Dec 14, 2017 15:07:28 GMT
Probably, I already have a spare arduino Uno, and a rasp 3. So more than likely I would flash my Uno so as not to screw up the one provided. Worth a shot, be nice to have everything all in 1.
|
|
|
Post by aforww on Dec 14, 2017 16:27:38 GMT
So, instead of all that, why not just get a CNC shield by protoneer, (same ones who make what's on your machines) with a PI capability already integrated. wiki.protoneer.co.nz/Raspberry_Pi_CNC
|
|
|
Post by notso on Dec 14, 2017 18:28:22 GMT
Yeah, they mention that in the comments, get the new cnc shield with hat... Still looks like a good project, and I love the way he has his wires. Almost as clean as my computer builds.... My profile picture is a PC in a desk without the glass top on it, almost no wires visible...Seems I have lots of work when I get my kit.
|
|
|
Post by jrbean67 on Dec 15, 2017 22:08:42 GMT
That's cool! It is going to be a second step for me, but one of the things I was considering was how I would get the Arduino and the Pi into the same housing.
That Alamode shield solves a lot of the packaging problems. I like the way they solved the connection issues also, making the controller freestanding.
It looks like the Alamode would still just look like a TTY port from the Pi side. On the Ardiuno side, it would have to be configured to use the GPIO pins rather than the USB serial interface.
Can the standard grbl firmware be used with the Carve King, or is there something special about the firmware that is loaded onto the controllers?
I'll start a thread over on the project area to talk about this...
John
|
|
|
Post by jrbean67 on Dec 15, 2017 22:16:11 GMT
The CNC shield looks like an even better solution. That really cleans things up. Strap that to the back of a RasPI 7" touchscreen, and you have a pretty cool setup.
John
|
|
|
Post by yasamoka on Feb 25, 2018 0:15:25 GMT
Are you using our standard hex file? I know there has been a switcheroo on things somewhere along the way in Grbl versions whereby the M codes got jostled around a bit, but I was remembering this as controllable via options in the config file prior to compiling. I know M3 is working in the conventional sense with the hex files we have been using. Any chance that VFD of yours is inverting that input signal? Been testing recently, and if I am correct about this... In Grbl v0.9, Spindle Direction was pin 13: github.com/grbl/grbl/wiki/Connecting-GrblIn Grbl v1.1, Spindle Direction is also pin 13 if the default configuration is used. Snippet from cpu_map.h: This would mean that aforww might have been connecting to SpnDir on the CNC Shield rather than SpnEn. M3 CW: SpnEn = 1, SpnDir = 0 M4 CCW: SpnEn = 1, SpnDir = 1 M5: SpnEn = 0, SpnDir = 0 I had this happen to me. M4 turns the spindle on when SpnDir is used as an enable pin because it sets SpnDir to 1. M3 does not work since it sets SpnDir to 0. M5 sets SpnDir to 0, similar to M3. Effectively, then, both M3 and M5 end up turning the spindle off, while M4 turns the spindle on. Since the spindle's direction pin is not connected to SpnDir, it will behave by default by turning CW, similar to what SpnDir = 0 would have achieved had the connections been right. I bought the M3 kit with the DeWalt DWP611, so to control the router, I used a 40A solid state relay ( SSR40DA) and connected SpnEn to the relay. 5V DC would turn the solid state relay on, and the DWP611 would power up provided I had set the physical switch to ON first. Might need to use an amplifier / transistor to provide more current to the relay as it seems to bungle up the startup sometimes. The DWP611 LEDs are also slightly on all the time, might need to add another relay on the second wire / find an alternative solution to that specific problem.
|
|
|
Post by Derek the Admin on Feb 25, 2018 4:22:56 GMT
You are correct about Grbl if I am remembering things right.
I wouldnt think that you would need an amp for the SSR. I’m not an expert in that though so that advice is probably what you paid for it.
|
|
|
Post by yasamoka on Feb 25, 2018 14:29:45 GMT
You are correct about Grbl if I am remembering things right. I wouldnt think that you would need an amp for the SSR. I’m not an expert in that though so that advice is probably what you paid for it. Weirdly enough, that relay quotes a super low 7.5mA @ 12V to be activated. The Arduino supplies 40mA per pin @ 5V, so it seems more than enough. Still getting an intermittent response, so I went back to powering it on manually for now. Going to look into this powering something else while supplying 5V from elsewhere in order to test a single variable at a time.
|
|
|
Post by Derek the Admin on Feb 26, 2018 23:36:25 GMT
That SSR is probably switched off voltage so if it wants 12v the. 5V probably isn’t enough.
|
|