Raspberry Pi 4 - USB not working under LinuxCNC

More
27 Apr 2022 23:36 #241417 by andypugh

despite the 3GB memory limit workaround, I am very interested in a "how to" compile LinuxCNC from source. You mentioned it isn't particularly difficult and I would like to dive into this topic 
...
PS: I am into programming embedded systems (ATMEL chips), and Windows systems, using C/C++, 

Well, in that case you can probably teach me a thing or two :-) I am not a real programmer. 

You basically just need to clone the git repository, then use make in the source directory. 

linuxcnc.org/docs/stable/html/code/building-linuxcnc.html

It has become easier now that there is  packaged realtime kernel to install. 

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

More
28 Apr 2022 06:03 #241434 by MTronics
Ok & thanks Andy.
Playing around with the RasPi is quite fun, a lot of fun. A few days ago, I decided to give this platform a serious try and I must say, so far I am very happy with it. I want to use it as a "clonable" CNC controller platform i.e., quickliy recplicate and set-up additional machine controllers - we will see :) Along the first set-up steps, I experienced that the RasPi also serves quite well as an "update" free (at least I have control over it), low power (environment), zero fan noise (quiet office/living), and no personal data bleeding platform.

Again, thanks for sour support!

Stefan, Germany.

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

More
30 Apr 2022 07:35 - 30 Apr 2022 07:37 #241700 by fletch
From a professional/industrial perspective, I'm completely sold on Pis. We did an emergency replacement of £400 'industrial' x86 boards that were too slow to calculate new certs for contactless card processing. We fitted the Pis with industrial 4Gb SD cards (that cost more that the Pis) and >4 years on, we have yet to have a failure in a pretty harsh environment.
As I said to our customer, if they can survive school children, they can survive anything.
Last edit: 30 Apr 2022 07:37 by fletch.
The following user(s) said Thank You: MTronics

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

More
30 Apr 2022 09:36 #241705 by rodw
I've got 2 of them and once I worked out how to install preempt-rt, the 64 bit Pi4b has latency for Lcnc is very good but for me  they are of limited use because of the inability to install VTK so I can use QTpyvcp and QTvcp GUI's and also I was unable to install ethercat. I'm a bit dissappointed about that! 

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

More
30 Apr 2022 15:57 - 30 Apr 2022 16:04 #241719 by MTronics
Rod,

do you/did you use them to control your Plasma table ... or any other setup?
If so, what kind of HW/controller setup was employed?

Reason for asking - I am interested in your (latency) experience using the RasPi standalone, directly connected with e.g. stepper driver via its GPIOS, or in combination with Mesa cards inbetween to take over the intensive control work. Clearly, RasPi standalone would be great (less HW/cost). I am planning on using them as a low cost CNC controller primarily for mill, lathe and plasma applications.

Thanks.
Last edit: 30 Apr 2022 16:04 by MTronics.

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

More
30 Apr 2022 23:21 #241747 by rodw
I did not buy these for linuxcnc controllers.
I just wanted to try them out with recent advances.
I was able to install Debian Bullseye Pi OS 64 bit
I was able to install the PREEMPT_RT patch by following some Pi howto on the net.
I was able to install QT5
I was unable to install VTK.
I was expecting to  be able to install ethercat from  a unofficial repository per this method as the pi is supported in their builds:
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step
But it did not work for me.

After 2-3 days tag wrestling the two I moved on.
I've had much more luck with USFF PC's and find the J1900/J1415  industrial fanless PCs on Aliexpress. They come with twin ethernet NICs and twin serial ports (for RS485)

I have not run any cnc gear with the pi as I never got that far using the later operating systems. But the latency is not much different to the J1900's so I'm sure they would work OK if you don't need to run. If the VTK issue was solved, I could find a use for them :)

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

More
01 May 2022 09:10 #241778 by MTronics
Thanks Rod for the quick response!

I quickly looked into Qt5 (GUI?) & VTK (Visualizer). Seems to be less an issue for my use case i.e., using the RasPi mainly as a CNC controller together with Axis and maybe a simple self-developed GUI. Although, since I got two of them a few days ago, I started using them in my office for Internet and Email because of the positive experience I have with them (that doen't mean everything works flawless :). My goal is to reduce time spent on my noisy Windows machines to a minimum. Lets see where thie leads to ...

Stefan

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

Time to create page: 0.164 seconds
Powered by Kunena Forum