Separate names with a comma.
Unlock hidden features. Sign Up for Free Today!
Discussion in 'CNC Mills/Routers' started by Hisha, Jun 18, 2017.
Discussion in 'CNC Mills/Routers' started by Hisha, Jun 18, 2017.
A 1000mm x 1000mm Sphinx/R7 build.
Hisha published a new build:
Read more about this build...
So I ran out of shielded cable for the limit switches, which let me take the time to start working on my controller box. I picked up some acrylic and a bunch of M3 and M4 hardware from Lowes. Using some 20x80 I had left over from the Routy build I used those for the sides and the acrylic for the top and bottom and the panel to hold all the parts. This will give me some room under the panel to run wires maybe.
So just some pictures of some of the wiring I got done tonight.
what pieces you use for controller box can you explain more.
Really nice Build @Hisha and a beautiful job on your electronics
@Mohammad Kokash The controller box is made from some .080in acrylic I picked up from Lowes. I picked up 2 sheets, one 18" x 24" and the other was 28" x 30". The sides are scrap 20x80 I had left over from another build. The electronics are Qty: 4 Stepper Drivers, Qty: 1 Power Supply, Qty: 1 Arduino Uno, Qty: 1 Raspberry Pi 3, Qty: 1 24V to 5V Converter and there is a 120v relay that I picked up locally. I placed the parts where I thought would work for them, and then flipped everything upside down so I could mark the drill holes. Using some M3 hardware I picked up from Lowes I mounted everything.Since the plate I mounted everything on will slide into the v-slot, I spaced it up into the second slot up on the 20x80. This gave me room to run the wires under that plate and leave plenty of room for airflow from the handful of 24v fans I have.
I then started drilling holes sort of aligned with where the wire was going to be going, then routed the wires a needed. I added a couple of barrier strips on the bottom of the plate to breakout the 24v positive and ground. For the top and bottom of the box I just cut some bigger pieces of acrylic, and using t-nuts and M5 bolts will be mounting them to the top and bottom of the rails.
If there is anything else you want a better explination on let me know.
@Mark Carew Thanks for the compliment.
I didn't realize you need both. I thought the Pi3 will be enough.
@JustinTime I believe I have seen that you can control a stepper motor with just a PI3, but I want to use GRBL so that's why I have the Arduino. You will still need something to send the gcode to the Arduino, which the PI3 will do using bCNC and a usb cable to the Arduino. The PI3 also lets me basically control the CNC from anywhere on my network. I can either VNC into the PI3 or I can add CNCJS to the PI3 and then using a url control it from anywhere in my house.
Build is coming right along, you will be up and cutting in no time.
can you send me the diagram of electronics connection
I don't have a diagram at this time. After I get everything wired, I could draw something up. Kind of winging it as of right now.
So last night the beast came to life!!!! I finished soldering the aviation plugs for the stepper motors, and did a temp soldering job on the limit/homing switches. Plugged everything up and other than having the Z stepper going the wrong direction everything worked. I didn't take any pictures last night but after work today I will try to take some pictures and video maybe. I stole my initial settings for GRBL from Kyo's in his Sphinx build video. I did turn on homing, hard and soft limits and set my soft limits to X = 792, Y = 812 and Z = 88 if I remember correctly. So as long as I have the steps setting of 200 being correct, that is my available cut area.
So now there is a bit more wiring work to do, namly the 110v output relay for my router and shopvac. That might be a little bit of fun figuring out since since v0.9 of GRBL they don't have just a spindle enable/disable but pwm control. I'm sure the google will help me there!
So after adding in aviation connections to the limit homing switches and wiring up the 110v relay to the Arduino, I started playing around with watching the machine go in squares!! A spoilboard and a few more bits of wiring and I can start cutting the acrylic for the front and back of the controller box.
And first movements!!
So I come home today to another work of art from @Chris Laidlaw Now more wiring to do!!
Today was an interesting day. Found out that a 4'x8' sheet of MDF cut in half, both of the sheets just barely fit in the back of a Grand Cherokee. Hopefully the wife doesn't notice the scratches on the plastic in the back!!
I wired up the outlet for the router and shopvac, which is controlled by the Arduino through a solid state relay. Went into the config.h of GRBL and commented out the VARIABLE_SPINDLE option. Of course once I uploaded it to the Arduino, I started having hard limit problems, they forgot to mention in the fine print that if you comment that out it flips the pins for Z axis limit and spindle enable to pre 0.9 settings. Flipped the pins on the Arduino and life was good. Till I clicked the button in bCNC to start the spindle. The spindle is not steady, it seems to be surging and when I put a meter on it the voltage is jumping from 120V to 30V. If I jump the AC side of the relay it smooths out and if I turn off the router it does as well. I'm sure some googling tomorrow will show me the light about either needing to use a different relay or some other way of getting this to work.
I also installed a run of slot cover from the parts store to cover a limit switch wire and then used 2 more runs of it on my controller box to help make the plate holding all the electronics tighter. It just fits the .080 acrylic I'm using.
Finally for today I also started playing with adding an Xbox 360 controller to jog the machine. I got it playing using xboxdrv and qjoypad. I'm going to be looking into ditching the qjoypad and building a correct config file for xboxdrv, that way I can just have the xboxdrv start as a service and once bCNC is open I can jog with the xbox controller.
Hi Hisha. Great build. I have been following intently! Just about to start on my build. Kyo's brilliant design with a few add-ons. What will be you cutting limits? Approximately? Keep up the good work! Thanks.
Will measure for sure in the morning, but currently have my soft limits at X = 792mm, Y = 813mm and Z = 88mm. So safe to say my cut area is 790mm x 810mm x 85mm. This is probably limited a little bit by the fact of the way I have my limit switches mounted, but I would rather be safe then sorry.