- Posts: 8
- Thank you received: 0
LinuxCNC at RPI4 with using IO Pins only ?
Is it possible to use LinuxCNC at an RPI4 without a mesa card?
In other words: Can i use the IO Pins to connect the RPI4 to a BOB ( like it is possible at a PC using the parallel port ) ?
Sorry for the post at the wrong forum...
Please Log in to join the conversation.
Note that RPI GPIO pins are 3.3V only so any BOB used
must output only 3.3V max to the RPI , not 5V
Please Log in to join the conversation.
There is a sample config which seems to be the nearest thing to documentation for it:
github.com/LinuxCNC/linuxcnc/blob/2.8/sr...hal_pi_gpio_demo.hal
Please Log in to join the conversation.
One more question: Is there still the problem with the 8GB Rpi4 ? - I have a 8GB and want to use it if possible...
Please Log in to join the conversation.
herbk wrote: One more question: Is there still the problem with the 8GB Rpi4 ? - I have a 8GB and want to use it if possible...
I have no idea. I have reports of issues with every single Pi, and reports of success with them all too. So without buying myself an example of every possible Pi to test with I have little feel for what the true situation is.
Please Log in to join the conversation.
herbk wrote: Hi,
Is it possible to use LinuxCNC at an RPI4 without a mesa card?
In other words: Can i use the IO Pins to connect the RPI4 to a BOB ( like it is possible at a PC using the parallel port ) ?
Sorry for the post at the wrong forum...
One of my students modified a CNC3018 with the following scheme.
Attachment not found
A CNCShield has been used to support stepper drivers and to facilitate connections.
Attachment not found
He also used a joypad as a teach-pendant.
The related hal file is attached.
Attachment not found
The board was a Raspberry Pi 4 with 4 Gb
Please Log in to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
-
- Posts: 1018
- Thank you received: 0
I was always thinking if this wouldn't be working... Eventually with tmc2209.
Have bought those part some while ago but never found time to play with it.
I think this could be a cheepo solution for some first diy small "machines".
Would be nice if there would be a solution to preset the tmc parameters via serial.
I guess this could even be done "offline" before starting lcnc.
When I hear how silent my marlin controls the steppers with the tmc's.. This solution might have its charm.
Mike
Please Log in to join the conversation.
photos.app.goo.gl/auwbTXH2wa81cAqy7
I actually found the unused PCBs whilst moving some junk earlier today.
Pretty much worthless now, they are for the original Pi Model B, with the shorter GPIO connector.
Please Log in to join the conversation.
Mike_Eitel wrote: Thx elovalo
I was always thinking if this wouldn't be working... Eventually with tmc2209.
Have bought those part some while ago but never found time to play with it.
I think this could be a cheepo solution for some first diy small "machines".
Would be nice if there would be a solution to preset the tmc parameters via serial.
I guess this could even be done "offline" before starting lcnc.
When I hear how silent my marlin controls the steppers with the tmc's.. This solution might have its charm.
Mike
Ideally the RPI would interface to the Trinamic chips over SPI so
1. No base thread would be needed (so the step rate is not limited by latency)
2. All chip setup could be done with hal parameters
Please Log in to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
-
- Posts: 1018
- Thank you received: 0
Can't judge the spi part, just regarded a bit around Marlin and skr-pro bord the parameter settting hw side; read and write via one pin and I believe relatively slow serial.
m5c
Mike
Please Log in to join the conversation.
