LinuxCNC at RPI4 with using IO Pins only ?

More
28 Mar 2021 19:07 - 28 Mar 2021 19:07 #203927 by PCW
Yes, if its a slow serial setup thing then a separate comp makes sense.
If you can setup chip parameters via SPI (like some chips I am familiar with),
hal parameters should be fine as they are not transmitted so take near 0 CPU
if not changed (and allow real time adjustments if needed)
Last edit: 28 Mar 2021 19:07 by PCW.

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

More
28 Mar 2021 23:47 #203965 by andypugh
Replied by andypugh on topic LinuxCNC at RPI4 with using IO Pins only ?
Are you saying that some Trinamic chips can take position commands over SPI and effectively generate steps internally?

The datasheet that I just glanced at didn't seem to be saying that, for the one that I looked at.

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

More
29 Mar 2021 01:11 #203968 by PCW
Yes, the TMC5160 can do this and probably others
Also the ST Micro PowerStep01

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

More
17 Jan 2024 01:25 #290919 by rufino
Replied by rufino on topic LinuxCNC at RPI4 with using IO Pins only ?
Is it possible to provide a tutorial for configuring the Raspberry Pi using GPIO with LinuxCNC?

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
17 Jan 2024 09:41 #290933 by rodw

Is it possible to provide a tutorial for configuring the Raspberry Pi using GPIO with LinuxCNC?


Try linuxcnc.org/docs/stable/html/drivers/hal_gpio.html

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

More
10 Mar 2026 15:18 #344095 by masawee
Replied by masawee on topic LinuxCNC at RPI4 with using IO Pins only ?
not is problem rpi use 3,3V and then use shift level converter module, cost 1-4 $ about and convert this gpio 3,3V to 5V out, then this 5V can connect wire to stepper motor drivers ETC, DM556.

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

More
10 Mar 2026 15:22 #344096 by masawee
Replied by masawee on topic LinuxCNC at RPI4 with using IO Pins only ?
arduino shield can use only toy motors, less than 2A motors can use, not have cnc machine motors too small, normal cnc used nema 23 470 OZ 3Nm motor 3-6Ampere current minimum cnc motors. and not need BOB card use big stepper motor drivers etc, DM556 drivers,

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

Time to create page: 0.117 seconds
Powered by Kunena Forum