587,833 active members*
3,588 visitors online*
Register for free
Login
IndustryArena Forum > OpenSource CNC Design Center > OpenSource Software > For nerds only: Raspberry Pi for EMC2 controller?
Results 1 to 20 of 160

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Posts
    82
    A lot of arguing going on here...

    I think it would be great to see the RPI run LinuxCNC, although even if the LinuxCNC team decided to get it running on there, the support would probably be not much. How much of their limited resources are they going to put into a platform that is used by 0.01% of the userbase? The only hope would be that one of the programmers there goes crazy over RPI and decides it's his life mission to get it working on it. RTAI does have some work done on it if you search for it, here's from the website:
    ARM (StrongARM; ARM7: clps711x-family, Cirrus Logic EP7xxx, CS89712, PXA25x)

    I'm not sure if RPI falls into that, I don't think it does, but i'm not expert on arm. Also I think some versions of LinuxCNC used to use rtlinux, or i'm not sure what it's called, but one of the other realtime apis, but i'm pretty sure they use RTAI exclusivily now.

    If cost is your primary purpose for attempting to use RPI, you may look at intel atom motherboards. I have used over 5 of them, and they all work fine, and they come with parallel ports (well some of them). I recently got 2 motherboards for $100 off ebay, new, but a reliable source like newegg has them for $75, you only need to add $10 worth of memory. They are not very power hungry either, although they will use more then RPI i'd imagine. So in my case, $50 motherboard, with $10 ram, that's $60 vs $35 for the RPI, and LinuxCNC works out of the box. I use a $15 USB 3.0 flash drive (not that the board even has usb 3.0, but the 3.0 flash drives are usually a bit faster), plus $15 power supply, and I made my own case out of 1/2" pvc sheet, $10. So i'm at $100 for a PC that runs some of my machines. I actually only made my own case for one, i had a bunch of old cases I threw the others into.

    Not that my intel atom has anything to do with RPI, i just thought i'd mention there are low cost alternatives that are out today. Now if your main reason for wanting to use it is size, then the RPI destroys the mini-itx intel atom boards.

    I do plan to have a RPI connect to a arduino/grbl setup.

  2. #2
    Join Date
    Mar 2012
    Posts
    0
    Quote Originally Posted by klick0 View Post
    How much of their limited resources are they going to put into a platform that is used by 0.01% of the userbase?
    It's not as bad as all that.

    First off, the CPU is an ARM (at least the CPU of concern to us is an ARM), which is already a very important platform for Linux. True, a set of drivers needs to be written for the RPi peripherals, but that's not really a big job - we don't even need a complete set, we only start with the stuff actually used by EMC.

    Of course EMC doesn't run on any old Linux, it only supports a particular few variants with (their own variant?) real time kernel. We would need to port that kernel to ARM, if it hasn't been done already.

    And I remind everyone that Linux is not a necessity. An OS is a convenience if you need a fancy shell, fancy filesystem, ability to choose any of several programs to run, run several apps at once etc... if you need none of those things then you can dispense with the OS.

    I had a look at the EMC2 sources. It does indeed have what it calls a HAL (hardware abstraction layer - which hopefully also abstracts out the OS) - but whether this is intended to do what I hope it does is too soon to tell.

Similar Threads

  1. Raspberry Pi
    By gladiopolis in forum OpenSource Software
    Replies: 11
    Last Post: 12-02-2019, 04:21 PM
  2. RC Brushless motor controller for Mach3 / EMC2
    By LOGICNC.COM in forum News Announcements
    Replies: 1
    Last Post: 05-09-2014, 02:47 PM
  3. Will a Microkinetics controller communicate with EMC2?
    By OneAndy in forum LinuxCNC (formerly EMC2)
    Replies: 3
    Last Post: 11-26-2012, 04:26 AM
  4. Not for Nerds only: MK802 II
    By BAMCNC.COM in forum LinuxCNC (formerly EMC2)
    Replies: 2
    Last Post: 11-09-2012, 02:00 PM
  5. EMC2 and Stepperworld FET3 Controller
    By kbeard in forum LinuxCNC (formerly EMC2)
    Replies: 17
    Last Post: 02-13-2012, 01:28 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •