LinuxCNC at RPI4 with using IO Pins only ?
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17770
- Thank you received: 5197
28 Mar 2021 19:07 - 28 Mar 2021 19:07 #203927
by PCW
Replied by PCW on topic LinuxCNC at RPI4 with using IO Pins only ?
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)
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.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 19817
- Thank you received: 4616
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.
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.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17770
- Thank you received: 5197
29 Mar 2021 01:11 #203968
by PCW
Replied by PCW on topic LinuxCNC at RPI4 with using IO Pins only ?
Yes, the TMC5160 can do this and probably others
Also the ST Micro PowerStep01
Also the ST Micro PowerStep01
Please Log in or Create an account to join the conversation.
- rufino
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
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
-
- Away
- Platinum Member
-
Less
More
- Posts: 11754
- Thank you received: 3981
17 Jan 2024 09:41 #290933
by rodw
Try linuxcnc.org/docs/stable/html/drivers/hal_gpio.html
Replied by rodw 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?
Try linuxcnc.org/docs/stable/html/drivers/hal_gpio.html
Please Log in or Create an account to join the conversation.
- masawee
- Offline
- Senior Member
-
Less
More
- Posts: 69
- Thank you received: 0
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.
- masawee
- Offline
- Senior Member
-
Less
More
- Posts: 69
- Thank you received: 0
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