- Posts: 19
- Thank you received: 0
LinuxCNC raspberry pi - Microcontroller to do realtime stuff
Total newbie here with regards to Linuxcnc so the question might be naive or covered elsewhere.
From what I can gather the favoured equipment to do the realtime hard grunt stuff seems to be based around some form of Mesa card. Is there information on why an FPGA is considered best option to go for.
Best regards
nick
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
Please Log in to join the conversation.
Does the Mesa card output pulses , bitstreams, etc that can't be handled by a low-cost microcontroller.
I'm interested in running LinuxCNC on a raspi and see the favoured option is to use a mesa card connected via ethernet (i think), the limitation with this is raspi v3 and lower doesn't have an ethernet port that can provide realtime output.
Could another option be to connect a microcontroller via I2C or SPI to the PI.
Thanks
Nick
Please Log in to join the conversation.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
Mesa and PiDiCnc have boards that connect to RPI3 through SPI:nickom44 wrote: Thanks Tommylight,
Does the Mesa card output pulses , bitstreams, etc that can't be handled by a low-cost microcontroller.
I'm interested in running LinuxCNC on a raspi and see the favoured option is to use a mesa card connected via ethernet (i think), the limitation with this is raspi v3 and lower doesn't have an ethernet port that can provide realtime output.
Could another option be to connect a microcontroller via I2C or SPI to the PI.
Thanks
Nick
Mesa 7c80 <<< do check if this is correct
PididCnc 3805 for steppers
Please Log in to join the conversation.
that has a built in independent microcontroller that can handle real-time tasks:
forum.linuxcnc.org/18-computer/39037-linuxcnc-orange-pi#167290
Please Log in to join the conversation.
nickom44 wrote: Hello All,
Total newbie here with regards to Linuxcnc so the question might be naive or covered elsewhere.
From what I can gather the favoured equipment to do the realtime hard grunt stuff seems to be based around some form of Mesa card. Is there information on why an FPGA is considered best option to go for.
Best regards
nick
People choose the Mesa option because it is known to work with minimal hassle and issues. When I say minimal I don't mean easy... That prize still goes to commercial solutions.
Could it be done with a RPI alone? In theory sure. There is no existing working software or hardware setup for that AFAIK. That means you have to write all the drivers and support software yourself. When you get to this point, let us know and I can retire my Mesa cards
When I had a little bit more time I played around with BeagleBone CNC hats and various microcontrollers to drive my lathe and mill. The reoccurring problem with this stuff is that the supplied software is horrendous and integrates with nothing. Some of the best open source solutions remain the GRBL and Marlin firmware, but that's geared towards 3D printers, laser cutters and small routers.
Please Log in to join the conversation.
I can get about 2400mm/s on X and 500 on Y and Z. I don't where the limitation is but I'm working through that now..
Please Log in to join the conversation.
