Running LinuxCNC with RaspberryPi stand alone (without any driver board)

More
12 Aug 2023 06:42 #277708 by AlexeKh
Hello All,

I'm new to this forum.

Tried to find some information on running linux on RPI4 solely.
Is there any manuals/documentation on how to run LinuxCNC on Raspberry Pi and controlling the machine using GPIO only?

Thanks,
Alexey

Please Log in or Create an account to join the conversation.

  • cornholio
  • cornholio's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
More
  • lauryfriese
  • lauryfriese's Avatar
  • Visitor
  • Visitor
15 Aug 2023 06:56 - 15 Aug 2023 10:36 #278030 by lauryfriese
LinuxCNC is a popular open-source software for controlling CNC (Computer Numerical Control) machines. While LinuxCNC is primarily designed to run on x86-based systems, there have been efforts to port it to the ARM architecture, which includes the Raspberry Pi.

Running LinuxCNC on a Raspberry Pi and controlling the machine using GPIO (General Purpose Input/Output) pins is indeed possible, but it requires some additional steps and considerations. Here are some resources and steps you can follow to get started:

1. LinuxCNC on Raspberry Pi: The official LinuxCNC website (linuxcnc.org) has a section dedicated to running LinuxCNC on Raspberry Pi. You can find information, guides, and forums discussing the process and considerations specific to running LinuxCNC on the Raspberry Pi platform. Visit their website and search for "LinuxCNC on Raspberry Pi" for more details.

1. Preconfigured Images: Some community members have created preconfigured LinuxCNC images specifically for Raspberry Pi. These images come with LinuxCNC pre-installed and preconfigured for GPIO control. Search for "LinuxCNC Raspberry Pi image" or similar keywords to find such images and instructions on how to use them.

1. GPIO Configuration: To control your CNC machine using GPIO pins, you'll need to configure the GPIO pins for specific functions like stepper motor control, limit switches, and other inputs/outputs. LinuxCNC provides configuration files and documentation for setting up GPIO control. The LinuxCNC documentation and community forums can be valuable resources for understanding and implementing the GPIO configuration.

1. Hardware Considerations: While the Raspberry Pi can handle simple CNC tasks, it may not be suitable for more complex or demanding CNC applications. Factors like real-time performance, processing power, and I/O capabilities should be carefully considered. Make sure to review the LinuxCNC documentation and community discussions regarding the limitations and best practices for using Raspberry Pi with LinuxCNC.

Remember that the information and resources mentioned here are based on my knowledge cutoff in September 2021. It's always recommended to refer to the latest documentation, forums, and community resources for the most up-to-date information on running LinuxCNC on Raspberry Pi and controlling the machine using GPIO pins.
Last edit: 15 Aug 2023 10:36 by tommylight. Reason: link removed, spammer banned

Please Log in or Create an account to join the conversation.

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
15 Aug 2023 07:57 #278032 by rodw
The 2.9 docs outline how to install Debian for the Pi 4b using ARM64.
linuxcnc.org/docs/2.9/html/getting-start...etting-linuxcnc.html
But the gpio is not working in Bookworm.
It has been fixed per this issue
linuxcnc.org/docs/2.9/html/getting-start...etting-linuxcnc.html
But currently, there are no automatically built debs to get that change.
The only way to update Linuxcnc on a Pi is to build from source. That's not very hard and its well documented here
linuxcnc.org/docs/2.9/html/code/building-linuxcnc.html

Please Log in or Create an account to join the conversation.

More
15 Aug 2023 10:42 #278039 by tommylight
Lauryfriese got banned for spamming, embeded links.

Please Log in or Create an account to join the conversation.

More
15 Aug 2023 19:29 #278067 by cakeslob
Tommy, did you put all those words in there, or are the spammers using chatgpt to look legit then hiding links in the post?

Please Log in or Create an account to join the conversation.

More
15 Aug 2023 20:04 #278074 by tommylight

Tommy, did you put all those words in there, or are the spammers using chatgpt to look legit then hiding links in the post?

LOL, no i did not type all that! :)
Most probably GPT, from a quick glance looked like OK info so i left it and edited out the links.
Same person, 3 user names, even putting several hours between posts, posted all from the same IP address.
Took 10 minutes of my coffee time to figure out and ban and edit on a mobile phone with my huge hands! :)
He also owes me a coffee...

Please Log in or Create an account to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum