- Posts: 99
- Thank you received: 23
Can the OPI5 be Configured to Run LCNC?
- echristley
- Offline
- Premium Member
-
Less
More
3 years 5 months ago - 3 years 5 months ago #271639
by echristley
Replied by echristley on topic Can the OPI5 be Configured to Run LCNC?
Tonight, I visited a buddy. We're both "techno hoarders". Neither of us want to throw away something that might be useful in the future. He got a Enco tapping jig, that I got with the mill. I got two FRP electronics enclosures, relays, cables, connectors, bus bars, fuse holders, and a few other odds and ends. None of that stuff seems expensive, until you have to outfit a build with it all.
When I got home, following the LinuxCNC install directions posted in the OP, I installed the Arbiam OS on the OPi5. I had to download and install Belena Etcher, a program for writing the images to SD cards. The RaspberryPi writer wouldn't work. Said the image was corrupted. Anyway, on the other computer right now, I'm watching a This Old Tony video, the one where he tries to replace the ball bearings in a ball nut. He's such a hoot. In the background, I have the linuxcnc latency test running and have 20,312 in the servo thread and 7,375 in the base thread.
I haven't figured out how to post a picture to this forum, but with six glxgears running, and browsing this forum with Firefox ESR This is with nothing more that royka's image, and the installation of linuxcnc-uspace. Is wayland really needed?
When I got home, following the LinuxCNC install directions posted in the OP, I installed the Arbiam OS on the OPi5. I had to download and install Belena Etcher, a program for writing the images to SD cards. The RaspberryPi writer wouldn't work. Said the image was corrupted. Anyway, on the other computer right now, I'm watching a This Old Tony video, the one where he tries to replace the ball bearings in a ball nut. He's such a hoot. In the background, I have the linuxcnc latency test running and have 20,312 in the servo thread and 7,375 in the base thread.
I haven't figured out how to post a picture to this forum, but with six glxgears running, and browsing this forum with Firefox ESR This is with nothing more that royka's image, and the installation of linuxcnc-uspace. Is wayland really needed?
Last edit: 3 years 5 months ago by echristley.
Please Log in or Create an account to join the conversation.
- echristley
- Offline
- Premium Member
-
Less
More
- Posts: 99
- Thank you received: 23
3 years 5 months ago - 3 years 5 months ago #271672
by echristley
Replied by echristley on topic Can the OPI5 be Configured to Run LCNC?
I changed the isolcpus to 2,5,7 and got essentially the same results. After the screenshot, I got a few outliers out to +-12us when I loaded some videos and browsers and stuff. That is about what I'm getting this morning with the updated settings.
Looking at what people are reporting from other computers, I think I can call this good enough for now and move on to the next steps? Linking the GPIO pins to the BOB and getting them configured to drive steppers? I think for that I need the dtb prepared by Guglielmi (I think)?
Looking at what people are reporting from other computers, I think I can call this good enough for now and move on to the next steps? Linking the GPIO pins to the BOB and getting them configured to drive steppers? I think for that I need the dtb prepared by Guglielmi (I think)?
Last edit: 3 years 5 months ago by echristley.
Please Log in or Create an account to join the conversation.
- Guglielmi
- Offline
- Senior Member
-
Less
More
- Posts: 78
- Thank you received: 17
3 years 5 months ago #271679
by Guglielmi
Replied by Guglielmi on topic Can the OPI5 be Configured to Run LCNC?
Hi, this is my latency test with wifi active:
and this without wifi:
Impressive!
To be honest I never tried to activate videos or other stuff, just 6 Glxgears because the OPI5 in my case will run only LinuxCNC..
I need a stable reference in order to understand the best setup.
Here I would exagerate isolating all bigger cores...
In order to use GPIOs I can provide the driver that it's currently working on my side but as I wrote I tested only one channel with oscilloscope.
I will not use BOB interface but I will build on my own, so I need some days more to create pcb and try with hardware.
After that I will share here.
and this without wifi:
Impressive!
To be honest I never tried to activate videos or other stuff, just 6 Glxgears because the OPI5 in my case will run only LinuxCNC..
I need a stable reference in order to understand the best setup.
Here I would exagerate isolating all bigger cores...
In order to use GPIOs I can provide the driver that it's currently working on my side but as I wrote I tested only one channel with oscilloscope.
I will not use BOB interface but I will build on my own, so I need some days more to create pcb and try with hardware.
After that I will share here.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- echristley
- Offline
- Premium Member
-
Less
More
- Posts: 99
- Thank you received: 23
3 years 5 months ago #271681
by echristley
Replied by echristley on topic Can the OPI5 be Configured to Run LCNC?
Wanting to see a motor move this century, I'm going to avoid building my own. I bought a BOB from Amazon. No documentation and very suspect electronics. Cold solder joints. A capacitor that looks like it fell on the board during manufacture.
I think the fastest way to the finish line, and still have use of the ethernet port, would be a "7C80 RPI interfaced Step&dir plus I/O interface".
Can anyone suggest if that would be the way to get an OPi5 to control three steppers and two fluid pumps?
I think the fastest way to the finish line, and still have use of the ethernet port, would be a "7C80 RPI interfaced Step&dir plus I/O interface".
Can anyone suggest if that would be the way to get an OPi5 to control three steppers and two fluid pumps?
Please Log in or Create an account to join the conversation.
- echristley
- Offline
- Premium Member
-
Less
More
- Posts: 99
- Thank you received: 23
3 years 5 months ago #271684
by echristley
Replied by echristley on topic Can the OPI5 be Configured to Run LCNC?
Please Log in or Create an account to join the conversation.
- echristley
- Offline
- Premium Member
-
Less
More
- Posts: 99
- Thank you received: 23
3 years 5 months ago #271685
by echristley
Replied by echristley on topic Can the OPI5 be Configured to Run LCNC?
More testing.
Why do we run glxgears? It doesn't seem to make a difference at all in the latency. If I have six running, and start the histogram, I get the same result as if I have none. The big hits are when I move windows around in the UI or start a video.
Could it be that the animation just isn't a big hit on the OPi5 like it is other architectures?
Why do we run glxgears? It doesn't seem to make a difference at all in the latency. If I have six running, and start the histogram, I get the same result as if I have none. The big hits are when I move windows around in the UI or start a video.
Could it be that the animation just isn't a big hit on the OPi5 like it is other architectures?
Please Log in or Create an account to join the conversation.
Time to create page: 0.186 seconds