Welcome to Our Community

Unlock hidden features. Sign Up for Free Today!

Sphinx XL/R7

Discussion in 'CNC Mills/Routers' started by Hisha, Jun 18, 2017.

  1. Hisha

    Hisha Well-Known
    Builder

    Joined:
    Jun 23, 2014
    Messages:
    16
    Likes Received:
    21
    swohnrade and Paul Stoller like this.
  2. Hisha

    Hisha Well-Known
    Builder

    Joined:
    Jun 23, 2014
    Messages:
    16
    Likes Received:
    21
    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.

    20170618_142715.jpg 20170618_152843.jpg 20170618_152854.jpg 20170618_152859.jpg 20170618_152904.jpg
     
    Kyo and James1949 like this.
  3. Hisha

    Hisha Well-Known
    Builder

    Joined:
    Jun 23, 2014
    Messages:
    16
    Likes Received:
    21
    So just some pictures of some of the wiring I got done tonight.

    20170618_223004.jpg 20170618_223035.jpg 20170618_223249.jpg 20170618_223256.jpg
     
    Kyo likes this.
  4. Mohammad Kokash

    Mohammad Kokash Well-Known
    Builder

    Joined:
    Aug 1, 2016
    Messages:
    4
    Likes Received:
    4
    hi Hisha
    what pieces you use for controller box can you explain more.
     
  5. Mark Carew

    Mark Carew OpenBuilds Team
    Staff Member Moderator Resident Builder Project Maker Builder

    Joined:
    Jun 28, 2013
    Messages:
    1,902
    Likes Received:
    1,036
    Really nice Build @Hisha and a beautiful job on your electronics :thumbsup:
     
    Hisha likes this.
  6. Hisha

    Hisha Well-Known
    Builder

    Joined:
    Jun 23, 2014
    Messages:
    16
    Likes Received:
    21
    @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.
     
    Mohammad Kokash likes this.
  7. Hisha

    Hisha Well-Known
    Builder

    Joined:
    Jun 23, 2014
    Messages:
    16
    Likes Received:
    21
    James1949 likes this.
  8. JustinTime

    JustinTime Master
    Builder

    Joined:
    Dec 18, 2013
    Messages:
    902
    Likes Received:
    177
    I didn't realize you need both. I thought the Pi3 will be enough.
     
  9. Hisha

    Hisha Well-Known
    Builder

    Joined:
    Jun 23, 2014
    Messages:
    16
    Likes Received:
    21
    @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.
     
    Kyo likes this.
  10. Kyo

    Kyo Master
    Staff Member Resident Builder Builder

    Joined:
    Feb 27, 2014
    Messages:
    585
    Likes Received:
    493
    Build is coming right along, you will be up and cutting in no time. :thumbsup:
     
  11. Mohammad Kokash

    Mohammad Kokash Well-Known
    Builder

    Joined:
    Aug 1, 2016
    Messages:
    4
    Likes Received:
    4
    thanks
    can you send me the diagram of electronics connection
     
  12. Hisha

    Hisha Well-Known
    Builder

    Joined:
    Jun 23, 2014
    Messages:
    16
    Likes Received:
    21
    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.
     
    Mohammad Kokash likes this.
  13. Hisha

    Hisha Well-Known
    Builder

    Joined:
    Jun 23, 2014
    Messages:
    16
    Likes Received:
    21
    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!
     
  14. Hisha

    Hisha Well-Known
    Builder

    Joined:
    Jun 23, 2014
    Messages:
    16
    Likes Received:
    21
    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.

    20170621_201126.jpg 20170621_201132.jpg 20170621_201148.jpg 20170621_201154.jpg 20170621_201203.jpg 20170621_201211.jpg 20170621_201339.jpg

    And first movements!!
     

    Attached Files:

    Gary Caruso, ChadRat6458 and Kyo like this.
  15. Hisha

    Hisha Well-Known
    Builder

    Joined:
    Jun 23, 2014
    Messages:
    16
    Likes Received:
    21
    So I come home today to another work of art from @Chris Laidlaw Now more wiring to do!!
    20170622_162408.jpg 20170622_162414.jpg
     
  16. Hisha

    Hisha Well-Known
    Builder

    Joined:
    Jun 23, 2014
    Messages:
    16
    Likes Received:
    21
    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.

    20170624_153046.jpg 20170624_153052.jpg 20170624_153058.jpg
     
  17. CRG Au

    CRG Au New
    Builder

    Joined:
    Feb 13, 2016
    Messages:
    3
    Likes Received:
    0
    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.
     
  18. Hisha

    Hisha Well-Known
    Builder

    Joined:
    Jun 23, 2014
    Messages:
    16
    Likes Received:
    21
    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.
     

Share This Page

  • About Us

    The OpenBuilds Team is dedicated helping you to Dream it - Build it - Share it! Collaborate on our forums and be sure to visit the Part Store for all your Building needs!
  • Like us on Facebook

  • Support Open Source FairShare Program!

    OpenBuilds FairShare Give Back Program provide resources to Open Source projects, developers and schools around the world. Invest in your future by helping others develop theirs!

    Donate to FairShare!