LinuxCNC on Raspberry Pi 5

More
2 years 8 months ago #293476 by RNZ
Replied by RNZ on topic LinuxCNC on Raspberry Pi 5
Mmmmmm.

Back to 10.10.10.11 on the Pi 5 and the ethernet packet losses are still there.

I have moved the Pi PSU to my iPad PSU which can supply 5V @ 3A. I am assuming that with all Apple's wealth, they have built a decent USB-C SMPSU.

sudo chrt 99 ping -i .001 -q 10.10.10.10 -c 5000

5000 packets transmitted, 4995 received, 0.1% packet loss, time 5049ms

rtt min/avg/max/mdev = 0.101/0.110/0.262/0.004 ms.

Is it the RPi OS?

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

More
2 years 8 months ago - 2 years 8 months ago #293477 by RNZ
Replied by RNZ on topic LinuxCNC on Raspberry Pi 5
After about 10 lots of 5000 packets, we lose 4 packets. Note that the time also increased from a series of 5003-5004 ms and jumped up to 5040 ms. So we lost 4 packets at a cost of 4x10 ms...

cnc@linuxcnc:~$ sudo chrt 99 ping -i .001 -q 10.10.10.10 -c 5000
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.

--- 10.10.10.10 ping statistics ---
5000 packets transmitted, 5000 received, 0% packet loss, time 5003ms
rtt min/avg/max/mdev = 0.101/0.108/0.127/0.004 ms
cnc@linuxcnc:~$ sudo chrt 99 ping -i .001 -q 10.10.10.10 -c 5000
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.

--- 10.10.10.10 ping statistics ---
5000 packets transmitted, 5000 received, 0% packet loss, time 5004ms
rtt min/avg/max/mdev = 0.102/0.110/0.134/0.004 ms
cnc@linuxcnc:~$ sudo chrt 99 ping -i .001 -q 10.10.10.10 -c 5000
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.

--- 10.10.10.10 ping statistics ---
5000 packets transmitted, 4996 received, 0.08% packet loss, time 5040ms
rtt min/avg/max/mdev = 0.102/0.109/0.242/0.005 ms
Last edit: 2 years 8 months ago by RNZ.

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

More
2 years 8 months ago #293681 by ProcksMFG
Hi RNZ,
Newbie here and very interested in the RPi5 + Mesa 7I96S combo for a new Plasma CNC build.

You mention a 5V @ 3A power supply. Raspberry Pi recommends 5.1V @ 5A. Mesa recommends 4.75 to 5.25V @ 0.4A.

Could this contribute to the issue? Thanks.
The following user(s) said Thank You: RNZ

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

More
2 years 8 months ago - 2 years 8 months ago #293713 by RNZ
Replied by RNZ on topic LinuxCNC on Raspberry Pi 5
Hi ProcksMFG,

I finally had success with my RPi 5 + 7i96s, thanks to excellent support on this forum. I have documented it on this new thread.

forum.linuxcnc.org/9-installing-linuxcnc...th-mesa-7i96s#293645

Regarding your own potential plasma set up, here are a few of my thoughts (even if you didn’t ask for them, LOL, but it does help me clarify my own thinking)…

My current thinking is that I would definitely build a new set up based around the RPi 5 but with one fullback option.

The reasons I would go with the RPi 5 are (I) the minimal form factor which does not require an external bulky PC, (ii) simplicity due to The inbuilt Wi-Fi, and ethernet ports and potential wireless keyboard / mouse via usb dongle, (iii) rapid bootup time (a few seconds) and overall speed of the Pi 5, (iv) The general of availability and future upgrade paths within the Pi family (even if difficult to purchase in the recent past), (v) ease of swapping out the micro SD card to change operating systems, (vi) Staying mainstream, rather than opting for cheaper fringe systems that are not well supported and may not be around in the future.

There are probably other reasons, but I can’t remember what they are at the moment.

The fallback option that I mentioned might be relevant if for some reason my RPi based system started having issues… In that case, I could replace the Pi simply use an external LinuxCNC PC and change one ethernet cable from the Pi---7i96s to PC---7i96s.
Last edit: 2 years 8 months ago by RNZ.

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

More
2 years 8 months ago - 2 years 8 months ago #293715 by RNZ
Replied by RNZ on topic LinuxCNC on Raspberry Pi 5
Hi ProcksMFG,

Regarding power supplies, I think you are correct about the amperage specs.

By observing the analog meter on my benchtop PSU, it would appear that the RPi 5 draws about 1-2 A depending upon what it is doing. I suspect the five amp spec is designed to allow for high current loads on the USB ports. Since I am not using those ports for anything other than keyboard/mouse wireless dongle, I chose to run from a compact Meanwell 5V/3A PSU that I bought from Mouser.com.

For my final design, I will add a 4,700 or 10,000 uF/ 6.3 V (or 10V or 16V) electrolytic across the 5 V rail (close to the Pi power input) because I have noticed that plugging in the Mesa card causes the Pi to reboot. The Pi evidently has very little on board power supply capacitance.
Last edit: 2 years 8 months ago by RNZ.

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

More
2 years 8 months ago #293814 by ProcksMFG
Hi RNZ,

Thanks for sharing your thoughts. A backup solution is not a bad idea.

I have pretty much the same reasons to go for the RPi5 route. I'm designing a system from ground up and can't picture to see a old desktop tower beside the machine. The electrical panel will also be the human interface with touchscreen. Minimal form factor is important.

I was skeptical on the early results with the RPi5 but your recent flawless experiments are very promising. By the time my machine is built, I'm now confident that any bugs will be fixed.

Do you have any issues with the display settings. I saw early posts says the resolution was stuck at 640x480.

Thanks!
The following user(s) said Thank You: RNZ

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

Time to create page: 0.557 seconds
Powered by Kunena Forum