Raspberry Pi CNC Controller

Sdílet
Vložit
  • čas přidán 20. 02. 2018
  • Ever wanted to keep your computer away safe the dust and chips of your CNC router? With a Raspberry Pi running Universal GCode Sender, you can keep your laptop out of the shop, and its cheap to replace if anything does go wrong. We'll walk you through the setup in this video.
    Find more at the Maker Shed: makershed.com
    Learn about CNC Machinining with this ebook: www.makershed.com/products/ma...
    Universal GCode Sender: github.com/winder/Universal-G...
    Touchscreen case: www.thingiverse.com/thing:158...
    Undershelf Rails: www.thingiverse.com/thing:280...
    Pi Bakery: www.pibakery.org/
  • Jak na to + styl

Komentáře • 270

  • @WillWinder
    @WillWinder Před 6 lety +198

    Nice setup, always fun to see how people are using my little program. Thanks for the shout out!

    • @ThinkinThoed
      @ThinkinThoed Před 6 lety +5

      Thanks for the great software! :) Made jumping into CNC that much easier for me.

    • @chaddanylak8706
      @chaddanylak8706 Před 6 lety +1

      good software but evertime i use the program it crash half way in a job any idea to prevent this

    • @WillWinder
      @WillWinder Před 6 lety +4

      @chad danylak It's not supposed to do that, create a ticket on github and I can help you out.

    • @markyu70
      @markyu70 Před 5 lety +3

      I have a problem. Visualizer in UGS on Raspberry Pi 3 B+ doesnt' work. I tried python bCNC and it works but I prefer to use UGS.

    • @Jimehh30
      @Jimehh30 Před 5 lety +2

      when a development spread a lot, make a great reputation for the developer

  • @jmpattillo
    @jmpattillo Před 6 lety +2

    I’ve been meaning to do this with my x carve for two years. Thanks for the step by step

  • @freeelectron8261
    @freeelectron8261 Před 6 lety +3

    Sweet! Just what I'm looking for as I have a nice clean dust free laptop and an unused Pi. Raspberry Pi's are becoming so useful now.

  • @yummo6209
    @yummo6209 Před 6 lety

    Very nicely done ... to the point and matching your dialog to the action in the video made everything easy to follow.

  • @rstiekema
    @rstiekema Před 4 lety +22

    I love how you make every sentence count. No bullshit, a lot of great info. Thanks for making this.

  • @taylorwight5856
    @taylorwight5856 Před 6 lety

    I have been trying to figure out how to do this for a while. Thanks for breaking that down so simply!

  • @LDWorkshop
    @LDWorkshop Před 6 lety

    Congratulations for this nice setup. I did install UGS on a RasberryPi a few weeks ago to run my Sahpeoko3 and I unfortunately have some trouble with it (crash during jobs). It seems you run an older version of UGS, I'll try this same version to see if it works better. If only I saw your video a few weeks earlier, I would earn lot of time and pain ! Thanks again.

  • @dirk-janfaber
    @dirk-janfaber Před 6 lety

    Thanks for the video. It was just what I needed. Don't forget to install `sudo apt-get install oracle-java8-jdk`, if it hasn't been installed already (it wasn't on my pi).

  • @donfillenworth1721
    @donfillenworth1721 Před 6 lety

    OK, that does it! I’m subscribing. Great idea. Thanks for sharing.

  • @zbesh
    @zbesh Před 2 lety

    Now I am changing my setup to make it Pi-based, thank you for the video, great help

  • @RinksRides
    @RinksRides Před 6 lety

    bruh! just ordered the 3-axis Nema 34 kit from fleabay that uses a parallel port and linuxCNC, and a laptop dock for my DELL 6410... Ur mesin with my head now, lol! Great vid!

  • @chips4289
    @chips4289 Před 4 lety

    I have been thinking about this to make a plasma table cnc. I have a laser engraver so its basically the same idea. I have the fabrication skills to build a table but had no idea of what to do for the electronics.. I also use fusion360 more for 3d printing and laser engraving but a plasma table would be awesome..I see no reason why I couldnt use a home plasma cutter ..I just have to figure out how to wire everything so it tells my plasma when to fire. This is awesome!

  • @jul10199555
    @jul10199555 Před 6 lety +1

    ASDDDSAFSFSFDA THANKS, I'VE BEEN WANTING TO DO THIS WITH MY CNC FOR MONTHS AND I COULDN'T FIND ANYTHING "FREE" ABOUT IT, THANKS MAN

  • @JohnColgan.
    @JohnColgan. Před 3 lety

    Nice build, expand my knowledge & experience

  • @dineshvyas
    @dineshvyas Před 3 lety

    The shortest and the most informative video.

  • @joeltyler3427
    @joeltyler3427 Před 6 lety

    1:05 That ribbon cable does the touch screen as well display.

  • @SirValiantIII
    @SirValiantIII Před 6 lety

    This is great. Saved to come back to later

  • @Chrismoughan
    @Chrismoughan Před 6 lety +1

    Dude. Great video!

  • @patrickdekker3934
    @patrickdekker3934 Před 6 lety

    solid build man

  • @jratha1
    @jratha1 Před 6 lety +1

    Interesting Project, Have you got a full walk through on how to program the Pi?

  • @kevincoleman5223
    @kevincoleman5223 Před 5 lety +1

    Definitely doing this

  • @kishoremn191
    @kishoremn191 Před 5 lety

    This is really cool...!! Thanks a lot for sharing.

  • @Duraltia
    @Duraltia Před 6 lety

    Suddenly and out of nowhere comes G28.1 without any further explanation as to what its purpose is like telling some guy on the street to turn the switch on a console of a device he just saw for the first time.
    Certainly for anyone vaguely familiar with the topic this video made kind of sense but for anyone else this was like a rollercoaster of a how-to xD

  • @bentebrunsvelt319
    @bentebrunsvelt319 Před 6 lety +1

    Thanks for good tips
    Greets from Holland

    • @IgnoreMyChan
      @IgnoreMyChan Před 6 lety +1

      Die Ben. (No, English speakers, I'm not telling Ben to die!)

  • @38KSW
    @38KSW Před 5 lety

    I am very interested how you interfaced the Raspberry Pi to the cnc machine

  • @victor21209
    @victor21209 Před 3 lety

    Nice video, thank you for share, I have a question, can you see a preview of the piece on raspberry pi??

  • @adelolly07
    @adelolly07 Před 3 lety

    Thanks, very informative and very well presented :)

  • @ROARitstiffanyyy
    @ROARitstiffanyyy Před 6 lety

    Fantastic video!

  • @knartfocker00
    @knartfocker00 Před 6 lety

    Dude, that was exceptional. Do you take apprentices?

  • @nigelhungerford-symes5059

    Nicely done

  • @glennedward2201
    @glennedward2201 Před 5 lety

    Any improvement in performance? Or same? I’ve been looking at the high powered orange pi plus 2e 2gb 64 bit board for this process.

  • @CiaranWhelan
    @CiaranWhelan Před 5 lety +2

    Any way to add touch screen for the UGS on that screen since it is a touch screen? Seems a waste not to use it.

  • @HerrDoktorK0v0
    @HerrDoktorK0v0 Před 5 lety

    I don't think you need to install maven. I believe this is only needed to do development on UGS. I've got GRBL 1.1 running on an Arduino Uno with a grblshield doing the actual controlling. This seems to be just the thing to get my old Shapeoko working again with a nice, light weight control system.

  • @RyuuzakiJulio
    @RyuuzakiJulio Před 5 lety

    Would it connect to an Arduino with the motor driver shield?

  • @Ishalak
    @Ishalak Před 3 lety

    Excelent video, this helped me a lot.. but i was wondering if is there a way or any script for autmatically conect the usb port when the platform starts? thank you.

  • @SloanThrasher
    @SloanThrasher Před 5 lety +10

    Nice setup. Can you add links to text files with the commands and config options you used in the video?

  • @mestevep12
    @mestevep12 Před 5 lety

    great Vid..but was wondering can UGCS be used to carve 3d objects ie carvings ???..I can not get it to do 3d but flat 2d code runs OK

  • @williamcabanjr8947
    @williamcabanjr8947 Před 4 lety

    Would this set-up work for a 2.5 laser on GRBL ? Thanks for Sharing !

  • @eformance
    @eformance Před 6 lety

    The native resolution of the Pi touchscreen is 800x480, you will find everything is crisper if you set that as the FB size.

    • @MAKE
      @MAKE  Před 6 lety

      Yeah, but I found that the UGS interface is just a little too cramped to use at that size. I've found that 960x540 has enough space for the critical stuff, and still scales nicely.

  • @TheCalibso
    @TheCalibso Před 4 lety

    Thanks for this video, but is there a way to use Candle instead UGS ?

  • @dunichtich100
    @dunichtich100 Před 6 lety

    This is just perfect!!!

  • @yash1152
    @yash1152 Před 6 lety

    First video I have ever seen, which brought my Electronics/Computer's love with my Mechanical wife (LOL).

  • @DanRegalia
    @DanRegalia Před 6 lety +1

    Got any links to the side covers for your CNC? Also, Do you have a walk thru on using pi-bakery to setup everything? I want to make this same setup. Thanks! This video is really awesome.

  • @bscottmartyn
    @bscottmartyn Před 4 lety +1

    How is the Raspberry Pi connected to the motor and spindle controllers?

  • @raifhanna1120
    @raifhanna1120 Před 5 lety +1

    Can I use Raspberry pi for rotary knife CNC?

  • @diegogarrido6935
    @diegogarrido6935 Před 6 lety

    Great Video!

  • @messygreasyhand5465
    @messygreasyhand5465 Před 6 lety

    Great vid thanks

  • @jratha1
    @jratha1 Před 6 lety

    OK, I've now got all this working and its certainly better than using the laptop (old laptop and very slow) I've found that the classic script is a lot better for running on the pi though, not as resource hungry. I'm just trying to work out how to create a shortcut for the desktop so I can run this with just a touch screen rather than mouse an keyboard. Any ideas how I can do this as all my attempts have failed

  • @danielrj3000
    @danielrj3000 Před 4 lety

    I have one question you can use te visualizer Real Time when you Run the .GNC code ???

  • @diegomestrecam7674
    @diegomestrecam7674 Před 6 lety

    grate video. really looking foward to try it. the only thing is that when I do the: sudo apt-get install maven it is not working reom there. it tells me that there are a buch of URL´s not found 404. im i doing something wrong, or what other thing kan I do there to fix it?
    thanks

  • @TheFeralEngineer
    @TheFeralEngineer Před 3 lety

    Got a pi running Linuxcnc on my emco CNC lathe 👌

  • @brennonrose3827
    @brennonrose3827 Před 4 lety

    would the software work with a laser as well? with control of guide lights and beam power

  • @ajaykrishnana3763
    @ajaykrishnana3763 Před 5 lety

    sir,what thing i want to do if i want to instal mach 3 software on raspberry pi

  • @PatrickRabarison
    @PatrickRabarison Před 4 lety

    Hi, how do you wire up and control he stepper motors?

  • @jasondevault5066
    @jasondevault5066 Před 4 lety

    What break out board did you use, stepper motors, and drivers?

  • @alexrand6796
    @alexrand6796 Před 6 lety

    Awesome! dunno why ppl buy a Intelboxstick to run esltcam on it.

  • @djtyros
    @djtyros Před 6 lety

    Using the run_platform.sh to open seems to take forever. I look at the output terminal, and its just saying theres nothing to update... etc.... but still takes 3-5mins to open. Any advice on how to fix? thanks

  • @MyDream1612
    @MyDream1612 Před 2 lety

    Greate and useful info, nice setup!
    Can you send me link where you buy the keyboard, or what is the brand of the keyboard you use, ilove it. Thanks

  • @VitaliyElyashevskiy
    @VitaliyElyashevskiy Před 5 lety

    Which controller and drivers you are using? I plan to build my first cnc, but all controllers I have seen hahave only LPT. Im looking at lv8727 based drivers, but I'm not sure about controller. Could you please give some piece of advice?

  • @arielgilg
    @arielgilg Před 2 dny

    ¡Que buen video!, excelente presentación, información precisa y concreta. Gracias por compartir su valisoso conocimiento.

  • @ALFAHOBBIES
    @ALFAHOBBIES Před 6 lety +2

    Nice idea but now that I set everything up like you have in your video, how do you start UGS without digging deep into the file folders trying to find the program to run. I can get it to run once I dig through lots of folders but there has to be a better way. making a desktop icon to make it easy to start universal gcode sender would be great but I can't figure out how to do that.

  • @ssfdre38
    @ssfdre38 Před 6 lety +10

    I would use the touch scree for a lot of those buttons as it would be easier to control then the keyboard just to make the process faster

    • @MAKE
      @MAKE  Před 6 lety +2

      The interface gets pretty tiny on the screen. and there's a lot of minuscule screen elements - like the arrows to change your step increments. But, the solution is there for you if you want it!

  • @usmanwijanarto8608
    @usmanwijanarto8608 Před 5 lety

    i love u Bro ..
    thanks for sharing

  • @SebastiaanSwinkels
    @SebastiaanSwinkels Před 6 lety +39

    So it's not really a controller but just a gcode streamer. A controller is the part that actually sends the step command to the individual stepper drivers etc.

    • @rondlh20
      @rondlh20 Před 6 lety

      Unfortunately yes, the Pi lacks IO functionality to be a flexible CNC/3D printer controller. Adding an IO expander via I2C or SPI could solve that

    • @Richard.Andersson
      @Richard.Andersson Před 6 lety +4

      Ron DLH : I still think that the Pi will not work well for this since it is running an entire OS in the background and thus the timing for controlling the motors will not be precise. You need a real-time OS for the timing to work properly or just stick to a dedicated microcontroller.

    • @gfc62
      @gfc62 Před 6 lety +4

      Sebastiaan, yep this was disappointing, from the title and intro I thought he was showing a CNC controller - not just a shop computer used to connect to his stock X-Carve controller.
      Others have built out RasPi CNC controllers so I was curious if his approach would be different than the popular RasPi / Protoneer board formula.
      Of course we shouldn’t expect much from any Make: video on CNC; it doesn’t appear that hard core CNC projects are their forte

    • @rondlh20
      @rondlh20 Před 6 lety +2

      You can run an OS on the Pi, but you don't have to. There is no reason why it couldn't run any the 3D printer platforms like Marlin. Some changes in the software are required of course. You could also run an real-time OS on the board.

    • @sir_wolfart4733
      @sir_wolfart4733 Před 6 lety +2

      There are people that have make rpi it to a controller for a CNC, and 3D printer using LinuxCNC or Machinekit with a real time kernel running. The rpi is a lot more to get its set up. I use the Beagle-bone Black with a per made os img for Machinekit and you can get up and running real fast. Both use GPIO pins to talk to the stepper motor drivers. czcams.com/video/vNkgUlXdiHE/video.html for the rpi gpio test. czcams.com/video/AK_OYoNOBDQ/video.html for the Beagle-bone Black.

  • @carlchrzan8072
    @carlchrzan8072 Před 3 lety

    Hello do you have a step-by-step guide for the install? You said things faster than I can understand. I’m good with electronics but not software. Thanks

  • @kamilhashmi1
    @kamilhashmi1 Před 6 lety

    Awesome video :)

  • @sumerrana6805
    @sumerrana6805 Před 3 lety

    will this work if I make the machine larger with larger stepper motors?

  • @Atxcmtb
    @Atxcmtb Před 6 lety

    could i just use a monitor through hdmi?

  • @nixonyh06
    @nixonyh06 Před 6 lety

    how do you connect your motors

  • @williamstorey5024
    @williamstorey5024 Před 6 lety

    2 rookie questions new to git. I git cloned and compiled ugs as you showed. A is it going to run through all that stuff every time I launch or is there another method of launching besides run_platform.sh? second how do I update the git he makes nightly builds?

  • @cdl1701
    @cdl1701 Před 6 lety

    I must be missing something.. If I shut down how do I restart UGS?

  • @gadget_hack
    @gadget_hack Před 6 lety

    Can this work on a PI zero W?

  • @kleidaras900900
    @kleidaras900900 Před 5 lety

    Hello! I want to built a cnc machine with some intelligence. Is there a way to send the zero point of the workpiece from a camera to the controller?

  • @valcic1993
    @valcic1993 Před 5 lety

    Can i use mach 3? For lathe cnc?

  • @zebilaweed
    @zebilaweed Před 6 lety

    nice vid man ;)

  • @johnross3752
    @johnross3752 Před 6 lety

    Hi i want to run my CNC table with a raspberry pi & an exterior hard drive. I have large table 10 foot by 20 foot I would like to run Mach3 because of the fitures My question is can I run windows 7 as my O/S and then load programs on windows like normal

  • @tomadams1066
    @tomadams1066 Před 6 lety

    I would like to build this project. Is there a way to use Protoneer Raspberry Pi CNC hat v2.58 (I will use this to drive my TB6600 stepper motors), and connect it to your system? Would I need to use an additional Raspberry Pi ?

  • @jimviau327
    @jimviau327 Před 2 lety

    Sorry for the dumb question but what is actually the interface between the Pi computer and your stepper motors? What's under the hood ? By the way nice video.

  • @J5Jonny5
    @J5Jonny5 Před 5 lety

    If you run into maven install error problems run the following lines.
    sudo apt-get update
    sudo apt-get install git

    • @SeniorRed1337
      @SeniorRed1337 Před 5 lety

      did it.. dindt work :( still not able to run it

  • @chriswagner7208
    @chriswagner7208 Před 5 lety

    How do i do a tool change in UGS?

  • @bitsinmyblood
    @bitsinmyblood Před 6 lety

    Fantastic!

  • @tomadams1066
    @tomadams1066 Před 5 lety

    I have loaded the raspberrypi and using PuTTY. I am using the Protoneer. I am trying to get from the Linux program to the GUI. Can you tell me how to get my Lenux to go to the GUI
    screen? Thanks, Tom

  • @msdesignru
    @msdesignru Před 6 lety

    Pretty interesting...

  • @haroldmeid7791
    @haroldmeid7791 Před 3 lety

    Can I use an old small laptop as a controller? And if so how do I do it

  • @pucomponent
    @pucomponent Před 3 lety

    where you bought keyboard with buildin pad
    could you guide the link please

  • @andyherbert2304
    @andyherbert2304 Před 5 lety

    So I tried using this set up but I ran into a problem where it stops half way through the gcode does anyone know how to fix this issue?

  • @Sammy44111
    @Sammy44111 Před 5 lety

    How many axis can can it handle ?

  • @hafo821
    @hafo821 Před 6 lety

    amazing!

  • @AntzyX
    @AntzyX Před 6 lety +6

    Another benefit you get using a raspebrry pi is that you then have your PC free for other tasks.

  • @5thCOLLABSE
    @5thCOLLABSE Před 5 lety

    Can it be don with mach3?

  • @JeffSwenson
    @JeffSwenson Před 4 lety

    great video! Going to get a pi right meow

  • @jotirlingswami4426
    @jotirlingswami4426 Před 2 lety

    Hi, Will this work on the raspberry pi zero W model ?

  • @Bianchi77
    @Bianchi77 Před 2 lety

    Nice info, thanks :)

  • @38KSW
    @38KSW Před 5 lety

    I wonder if I can use a X-Carve CNC controller board on my Dahlgren System 300...? My controller for the Dahlgren is toast it's never going to run again, also the computer for thatt controller is toast also, it has a 5 1/4 floppy drive which I don't have any software for it.
    Anyone know of a way to upgrade my machine I think this would be the best way.
    Send me messages I will reply

  • @fromdarktolight6353
    @fromdarktolight6353 Před 4 lety

    Is that rasberry pi 3,?
    Is it overkill to use rasberry pi 4?

  • @milthon57
    @milthon57 Před 3 lety

    Great. I wonder it can be used for plasma CUTTING. Arduino is not a good choice because of plasma interferences

  • @mamoshimamoshian9078
    @mamoshimamoshian9078 Před 3 lety

    Hi Even thou 3 years has gone, But I really DO Hope that you still look at your post here :) ? I have several questions but the most important is how do you get that black screen is it a dos screen or another software.I will be Grateful . Thank you very much for sharing.....:)

  • @CesarOlesk
    @CesarOlesk Před 3 lety

    Very good

  • @pfabiszewski
    @pfabiszewski Před 6 lety

    Very nice project! I'm curious what are benefits of your approach comparing to Android tablet with OTG cable pluged in. I'm thinking on both. Does anyone have any ideas?

    • @IgnoreMyChan
      @IgnoreMyChan Před 6 lety

      Is there gcode-software for Android? The great thing of a Raspberry is that you can run virtually any software (that compiles for ARM) on it. A lot easier and open than Android, imho.

    • @pfabiszewski
      @pfabiszewski Před 6 lety

      IgnoreMyChan yes, it is. It can be used via bluetooth or USB as well.
      Link: play.google.com/store/apps/details?id=in.co.gorest.grblcontroller
      IMO the solution showed on the clip is more elegant, but not only though.

  • @aplavins
    @aplavins Před 6 lety

    Nice!