- Posts: 2
- Thank you received: 0
LinuxCNC on Raspberry
I have to control a CNC machin with a Raspberry PI 2, I have to use Linux, LinuxCNC is not obligatory, but strongly recommanded. The problem is that I'm new to Linux and I don't know how works LinuxCNC. I have installed Linux on my Raspberry with Raspbian NOOBS ( www.raspberrypi.org/downloads/noobs/ ), but I dont know how to install LinuxCNC, I have tried a lot of things, but nothing worked. Can someone explaine me hoe to install LinuxCNC on a Raspberry PI 2.
Thanks in advance.
Please Log in to join the conversation.
Machinekit does and this has a link to an image for the rpi2
groups.google.com/forum/#!topic/machinekit/HGolUP511ps
However please read the comments on the rpi's suitability as a controller,
it isn't suitable.
The people saying this are not just shooting the breeze, they know what they are talking about.
They cannot do adequate software stepping and adding hardware boards to do it defeats the initial attraction of a cheap board.
Save yourself a lot of time and effort and buy a second hand desktop x86 from ebay (of a type recommended in the latency test wiki, or elsewhere on the forum).
You will get much better results.
regards
Please Log in to join the conversation.
kamkill wrote: Hello,
I have to control a CNC machin with a Raspberry PI 2, I have to use Linux, LinuxCNC is not obligatory, but strongly recommanded. The problem is that I'm new to Linux and I don't know how works LinuxCNC. I have installed Linux on my Raspberry with Raspbian NOOBS ( www.raspberrypi.org/downloads/noobs/ ), but I dont know how to install LinuxCNC, I have tried a lot of things, but nothing worked. Can someone explaine me hoe to install LinuxCNC on a Raspberry PI 2.
Thanks in advance.
is this a student project ?
as Arceye has said their are far better ways ,
although a little out of date you can follow this :
wiki.linuxcnc.org/cgi-bin/wiki.pl?RaspbianXenomaiBuild
you would be better off with machinekit , and it would be more up to date
Please Log in to join the conversation.
Please Log in to join the conversation.
- jepler
- New Member
-
- Thank you received: 0
ArcEye wrote: Linuxcnc does not run on ARM processors.
LinuxCNC 2.7 and master branches do build and run on armhf systems using uspace realtime (this is continuously tested by our buildbot using an odroid u3 board). However, there are no hardware drivers for any of the popular ARM boards in the main tree, and linuxcnc.org doesn't package realtime kernels for any of the popular ARM boards either.
So the advice that there's no LinuxCNC solution that is ready to go on this hardware today is correct, but writing a hardware driver is a simpler matter than porting all of LinuxCNC, if you have the inclination to do the work.
Please Log in to join the conversation.
I had some folks asking, and was curious myself... still thinking the PC or Beaglebone are better options... but I wanted t verify.
Thanks in advance,
Jerry
Please Log in to join the conversation.
I work on control cards communicating through SPI, which layout is designed for use with Raspberry Pi. One of the boards is designed for stepper motor control and has a hardware FPGA step generator. I think the latest version of Pi has more than enough power to drive any CNC machine.
I'm currently driving our boards using the LinuxCNC system, which has been compiled by the group Machinekit.
Everything around RT tasks and motion control works fine, but there is problem with GPU performance, when I load a bigger nc file, FPS decrease to ~1fps and response of system is too delayed.
Short video:
At the beginning is GUI switched to DRO and response of buttons under mouse is ok, when I switch to preview animation, the response will decrese.
I hope that linuxcnc community will support at least Raspberry Pi and BeagleBone soon. I see the increasing number of attempts to drive some machine by raspberry pi
Some important benefits of RasPi:
- Powerful CPU and GPU for numerical control and GUI
- More suitable peripherals for hardware development such as SPI, compared to x86 motherboards where advanced experience is necessary for develop any PCI, PCI-express, Ethernet boards
- Powerful CPU and GPU for numerical control and GUI
- The board size allows you to build a compact controller
Regards, Viktor
Please Log in to join the conversation.
sourceforge.net/p/emc/mailman/emc-users/...ail.com/#msg35823678
Please Log in to join the conversation.
I think I tried the last raspbian and it worked the same way. I'll try again.
I assume the problem is in the OpenGL or OpenGL ES support for that preview animation.
Please Log in to join the conversation.
