is it possible to use raspberry pi and slaved Adafruit Grand Central M4 Express

More
24 Jan 2019 02:01 #124706 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.

More
24 Jan 2019 09:21 #124716 by pl7i92
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

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

More
24 Jan 2019 21:01 #124763 by tony978
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.

More
25 Jan 2019 06:55 #124794 by wicki

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.

More
25 Jan 2019 14:11 #124815 by andypugh

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.

More
29 Jan 2019 11:27 #125154 by tony978
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.

Time to create page: 0.070 seconds
Powered by Kunena Forum