using linuxcnc on a raspberry pi to prog and test steppers and servos

More
23 Jul 2026 08:29 - 23 Jul 2026 08:29 #347978 by Zipdodar
Hi Group

I would like to potentially use linuxcnc on a Raspberry Pi to program and test steppers and servos
  • Are there any solutions that I can see samples of or potential uses that are using a Raspberry Pi or Arduino and LinuxCNC to control and test servo and stepping motors?
  • One plan is to have a test bench to play with ideas; this will have a controller board, some switches, sliders, connectors for motors, a variable power supply, etc..
    - Could LinuxCNC be used for this? i.e can i program it with Python or similar to run my code snippets or a full program?
    - When connecting motors that use pulse and direction, will I be able to connect any motor as long as the variable power supply is adjusted to give the right power to the motor?
    - Has anyone done this before like this?
  • Another plan is to create individual builds that will have one or more motors, sensors, switches, etc.. and will be all built into a case or item as a stand-alone solution. With a customised touch control screen. So when powered on, it boots up and is ready to use and be controlled from the touch control screen.
    can linuxCNC be used like this?
    if so is ther any links to videos or projects that do similer?

    Z

Last edit: 23 Jul 2026 08:29 by Zipdodar.

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

More
24 Jul 2026 07:55 #348022 by rodw
easisest way would be to create seperate configs for each option
The following user(s) said Thank You: Zipdodar

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

More
01 Aug 2026 03:20 #348322 by tuxcnc

I would like to potentially use linuxcnc on a Raspberry Pi to program and test steppers and servos
  • Are there any solutions that I can see samples of or potential uses that are using a Raspberry Pi or Arduino and LinuxCNC to control and test servo and stepping motors?
  • One plan is to have a test bench to play with ideas; this will have a controller board, some switches, sliders, connectors for motors, a variable power supply, etc..
    - Could LinuxCNC be used for this? i.e can i program it with Python or similar to run my code snippets or a full program?
    - When connecting motors that use pulse and direction, will I be able to connect any motor as long as the variable power supply is adjusted to give the right power to the motor?
    - Has anyone done this before like this?
  • Another plan is to create individual builds that will have one or more motors, sensors, switches, etc.. and will be all built into a case or item as a stand-alone solution. With a customised touch control screen. So when powered on, it boots up and is ready to use and be controlled from the touch control screen.
    can linuxCNC be used like this?

You can build this, but it will be absolutely useless.

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

More
01 Aug 2026 03:39 #348325 by tommylight
Yes
Yes
-yes
-yes
-yes, i did, to much for for not much use
Yes

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

More
01 Aug 2026 03:40 #348326 by NWE

Hi Group

I would like to potentially use linuxcnc on a Raspberry Pi to program and test steppers and servos
  • Are there any solutions that I can see samples of or potential uses that are using a Raspberry Pi or Arduino and LinuxCNC to control and test servo and stepping motors?
  • One plan is to have a test bench to play with ideas; this will have a controller board, some switches, sliders, connectors for motors, a variable power supply, etc..
    - Could LinuxCNC be used for this? i.e can i program it with Python or similar to run my code snippets or a full program?
    - When connecting motors that use pulse and direction, will I be able to connect any motor as long as the variable power supply is adjusted to give the right power to the motor?
    - Has anyone done this before like this?

  • Another plan is to create individual builds that will have one or more motors, sensors, switches, etc.. and will be all built into a case or item as a stand-alone solution. With a customised touch control screen. So when powered on, it boots up and is ready to use and be controlled from the touch control screen.
    can linuxCNC be used like this?
    if so is ther any links to videos or projects that do similer?

    Z

Sounds similar to some of my customizations. I get, you won't need to run G-code files?

Look at the  hal introduction , and the tutorial that follows. There are several methods of connecting your own custom gui to a stand-alone basic hal config. I tend to use glade. Yes you can then also have the app auto-start, that is configuration in the desktop environment, same as auto-starting any other app at boot.

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

More
01 Aug 2026 03:46 #348327 by NWE
I just noticed the hal tutorial is not obvious from the earlier link I shared. It is  here . Also explore the rest of the  manual .

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

Time to create page: 1.977 seconds
Powered by Kunena Forum