- LinuxCNC
- General LinuxCNC Questions
- is it possible to use raspberry pi and slaved Adafruit Grand Central M4 Express
is it possible to use raspberry pi and slaved Adafruit Grand Central M4 Express
- tony978
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
24 Jan 2019 02:01 #124706
by tony978
is it possible to use raspberry pi and slaved Adafruit Grand Central M4 Express was created by tony978
It been while seance I've looked at switching from flashcuts controller to Linuxcnc , The mcu's out currently for the hobbyist are starting have more power than what is in the flashcut controller . My question can run a raspbery pi and slave a/or some Adafruit Grand Central M4 Express boards? The end goal is to have 3-4 axis close loop servo with gecko 320x drive . I want linuxcnc to control the pid . Am I asking to much out of that class hardware ?
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 355
24 Jan 2019 09:21 #124716
by pl7i92
Replied by pl7i92 on topic is it possible to use raspberry pi and slaved Adafruit Grand Central M4 Express
If you mean by closed loop HYBRID stuff with no Return to the Controller YES
if the Servos communicate with the Running controller PC NO
Better to use a REAL PC at 40USD and a Parport BOB at 10USD
you can get up to 2Mio steps while raspberry alows a max of 100k
if the Servos communicate with the Running controller PC NO
Better to use a REAL PC at 40USD and a Parport BOB at 10USD
you can get up to 2Mio steps while raspberry alows a max of 100k
Please Log in or Create an account to join the conversation.
- tony978
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
24 Jan 2019 21:01 #124763
by tony978
Replied by tony978 on topic is it possible to use raspberry pi and slaved Adafruit Grand Central M4 Express
so for running the encoder loop to linuxcnc I'm better off with a desktop pc then ? A usb parallel port wouldn't work do to timing ?
Please Log in or Create an account to join the conversation.
- wicki
- Offline
- Elite Member
Less
More
- Posts: 183
- Thank you received: 21
25 Jan 2019 06:55 #124794
by wicki
as fas as I know: no
which latency-time do you need?
last days, I got 125usec. to slow for me
but I think, its a problem of the RT-configuration at both sides
(raspberry & PC).
erste.de/rasPiCat.html
more tests will follow....
Replied by wicki on topic is it possible to use raspberry pi and slaved Adafruit Grand Central M4 Express
so for running the encoder loop to linuxcnc I'm better off with a desktop pc then ? A usb parallel port wouldn't work do to timing ?
as fas as I know: no
which latency-time do you need?
last days, I got 125usec. to slow for me
but I think, its a problem of the RT-configuration at both sides
(raspberry & PC).
erste.de/rasPiCat.html
more tests will follow....
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4865
25 Jan 2019 14:11 #124815
by andypugh
You can't do anything realtime with USB.
Which isn't to say that is isn't technically possible, but the USB spec allows multi-mS latency, and the only way to access USB is through the OS handlers. There have been attempts at guaranteed-latency and thread-safe USB drivers, but i don't know of any that got anywhere.
Replied by andypugh on topic is it possible to use raspberry pi and slaved Adafruit Grand Central M4 Express
so for running the encoder loop to linuxcnc I'm better off with a desktop pc then ? A usb parallel port wouldn't work do to timing ?
You can't do anything realtime with USB.
Which isn't to say that is isn't technically possible, but the USB spec allows multi-mS latency, and the only way to access USB is through the OS handlers. There have been attempts at guaranteed-latency and thread-safe USB drivers, but i don't know of any that got anywhere.
Please Log in or Create an account to join the conversation.
- tony978
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
29 Jan 2019 11:27 #125154
by tony978
Replied by tony978 on topic is it possible to use raspberry pi and slaved Adafruit Grand Central M4 Express
I totally scraped the idea . I realized I have to go with a PC for running my a axis as a lathe spindle and to use some of the more advanced features of this software .
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- is it possible to use raspberry pi and slaved Adafruit Grand Central M4 Express
Time to create page: 0.070 seconds