Advanced Search

Search Results (Searched for: raspberry)

  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
01 Jan 2025 17:11
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

As far as my testing has shown, on my cobbled together 7c81 clone SPI works on the RPi 5.
I received my RPi5 around Nov\Dec 2023 and can't say I've noticed any hardware issues. Booting from a NVME drive has shown no issues, I've run octoprinter on it, once again no issues.
Speed wise even when running via a SD card is night and compared to my RPi400, which has a slightly faster CPU than the RPi4. Actually to be fair it is a bit of a beast.
No trouble building Linuxcnc packages, even with 2 cores isolated, tho I suspect this may not be needed when connected to a Mesa board.
Bang for buck a PC from the last ten years is far better value.

Personally I'm still undecided whether to use my clone with an EPP interface with a PC or with the RPi5 via SPI.

To tell the truth I'm in 2 minds whether I actually want to CNC the lathe, the only reason I started to convert it is the AUD $600 to get hold of a new screw, maybe it would be worth it, if only to have one of the few Myfords with a leadsrew that isn't worn.

Back to topic.
Whilst the RPi is able to run Linuxcnc not a lot of info for the official Raspberry Pi foundation images are applicable, as it is only really the RPi kernel sources that are used, needed for use of loading overlays, the rest is pulled from Debian arm64 repos. Config.txt must be edited to enable the SPI interfaces. And Linuxcnc will need building from source to have the hm2_spix driver. Last time I looked the pre built packages pre dated the new driver.
Re Tommy's comment regarding a small SBC controlling a large CNC machine, how would you feel riding a bike at 220-240 kph ( on a race track of course) that's ecu is controlled by a Motorola microcontroller ? Cos that's the brains used in a lot of Ducati's and Moto Guzzis around 2000 vintage. Very hackable, very easy to download the operating code off and disassemble. Even a fully unqualified shit kicker like myself was able to do, the one and only time I did anything with C Sharp.
  • _skinner
  • _skinner
01 Jan 2025 16:47
Replied by _skinner on topic Spindle speed and instatnly powered led

Spindle speed and instatnly powered led

Category: Qtvcp

Your remedy is working as it should and now i can set correct value, thank You. But I forgotten to tell that linearity of voltage 0-10V is terrible, I used scale for make it "more linear" and that works like a charm. Before on raspberry pi 4 i didn't noticed that strange behavior, it was simple as that to calculate resolution etc, but I also didn't use qtdragon display, when I switched to rpi5 then I noticed those strange things.
Now I bend it little by cheat real max rpm so its almost fit, but I don't like doing things in a slapdash way.
Below table how analog output voltage works for me...
value [RPM] / VFD frequency [Hz] / Uout [V] .
3000 30 0.8
6000 93 2.36
12000 220 5.6
18000 350 8.6
20000 396 9.6
21000 400 9.7
  • tommylight
  • tommylight's Avatar
01 Jan 2025 16:11
Replied by tommylight on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Not exactly sure what this is all about, but
1. RPI is not a good choice anymore, there were several hardware versions of RPI5 with many issues
2. There is a ready made image for RPI5 that works out of the box
3. SPI does/did not work at all on RPI5, but Scot has done some work on it so by now it probably works
4. To expensive for what it is
and personally (after buying 3 of RPI3)
5. having a very small SBC controlling a big machine is ...
6. to damn weak for comfortable use
7. to much hoops to jump just to get things working, so utmost respect for whoever made the images
8. for the same price a good used PC or laptop can be bought, and everything works.
-
As for making user experience better, utmost respect, see with ScotA if he needs help with SPI
  • TomAlborough
  • TomAlborough's Avatar
01 Jan 2025 14:59
Replied by TomAlborough on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Thank you cornholio.

I'm looking to cut wood for building boats.

If I run into issues doing the above well, I earned a living doing Unix driver and kernel work a while ago; I would like to contribute now if I could. I have experience with a number of device driver debugging and kernel development techniques.

Let me get some hardware and software in. Again, if there is a certain feature that doesn't work that should work, let me know.

Thanks,
Tom Alborough
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
01 Jan 2025 12:49
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

You coming at this arse about. Which makes me wonder if this is for academic purposes, a potential commercial endeavor or a tech blog.
First one decides on the type of cnc machine they want to build, then they choose the controller to suit.
The simplest entry point for one who has no plan for their actual "cnc machine" would be.

A Lenovo M73e tower, preferably with an i5, the appropriate MB to Parallel Port cable ( there's some trickery with the cable that enables the PP hardware) and a generic Parallel Port breakout board. I've recommended this combination as I know it works, I have tested it with a lathe for basic functionality. I actually found this machine on the side of road with a celeron processor, which I swapped out for an i5 (3470 I think) and an SSD from the "useful box".

What people want is something that will run their hardware (their cnc machine be it a plasma cutter, lathe, mill router, laser tube profiler, PnP machine, cnc soldering machine) at a price point they can afford. As you can guess this is quite an expansive list.
  • TomAlborough
  • TomAlborough's Avatar
01 Jan 2025 06:46 - 01 Jan 2025 06:46
Replied by TomAlborough on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Hello cornholio,

I get your point.

I would like to buy (some kind of a) Raspberry Pi 5 and the electrical hardware needed to make a CNC machine. The reason I'm writing to you is to ask you this: What should I buy? I'm not looking for a configuration that works. I'm interested in a configuration that people want to work. What hardware do the readers want to load software on and run without any hitches?

Thanks,
Tom Alborough
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
01 Jan 2025 05:37 - 01 Jan 2025 05:37
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

If you want true "as easy as an installing an app on your cell phone" buy a commercial cnc machine from one of the Big Boys.

This is all I have left to say on the matter.
  • TomAlborough
  • TomAlborough's Avatar
01 Jan 2025 03:53
Replied by TomAlborough on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Hello cornholio,

Thank you for your reply!

I see your point about "AI".

In your reply you separated the "CNC" part of the task (feed speed, etc.) from the "system" part of the task (boards, drivers, etc.). I agree with your split and then assert the "system" part of the solution should "just work".

LinuxCNC on Pi 5 should work as easily as say Google Maps on Android, with no system experience required to install and use the application.

Do you see folks in this thread who believe a better experience is possible? Who exactly would champion a better experience for Pi 5 and LinuxCNC? I believe many of the people who answer the system questions posed in this thread would also be contributors to an effort to revise the code. I have seen similar efforts succeed.

Let me know!

Thanks,
Tom Alborough
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
01 Jan 2025 02:04 - 01 Jan 2025 03:27
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Economically the RPi5 or RPi4 is not a great choice when compared to an ex corporate PC. The only advantage is a very small foot print and the ability to use a SPI interface board.
 
  • TomAlborough
  • TomAlborough's Avatar
31 Dec 2024 23:41 - 31 Dec 2024 23:43
Replied by TomAlborough on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Hello cornholio,

Thank you for your response!

Have you read the entire thread ? I have browsed the beginning and the end of the thread. I noticed the need for both new and experienced users to ask for and get high-level support from this thread. My observation is that over time, it would be good for the need for high-level support to go down rather than stay the same or go up.

I have seen situations like this and I have seen a group of people improve the situation. I would be happy to talk more about it.


Have you downloaded and written the LinuxCNC image to an SD card ? I have done the exact same thing with a variety of mass storage devices and operating system images.


What hardware are you wanting to use ? I haven't gotten to with that yet. My observation is that (ChatGPT) is warning people away because the Pi 5 / LinuxCNC combination has issues.


What is your end goal ? I would like to buy (a Pi 5) and some popular controller and stepper motor hardware and load LinuxCNC with as much as much of a chance of success as loading and running an application on my cell phone.

(-- Out for the evening...)

Thanks,
Tom Alborough
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
31 Dec 2024 22:22
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Have you read the entire thread ?
Have you downloaded and written the Linuxcnc image to an SD card ?

What hardware are you wanting to use ?

What is your end goal ?
  • TomAlborough
  • TomAlborough's Avatar
31 Dec 2024 21:57
Replied by TomAlborough on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Hello,

I have run into a need for LinuxCNC. I'm wondering if some kernel / device driver work is needed for supporting LinuxCNC on Pi 5. I would look for a user to be able to download, install and use the software without high-level technical support.

Please let me know your thoughts.

Thanks,
Tom Alborough
----
Some of my related work:

"Thomas Alborough Unix" - (Use citations that contain "Unix" and "Alborough")
"Thomas Alborough Guide to Writing a Unix Device Driver" - (Search for "Alborough")
LinkedIn... Search for "Thomas Alborough"
  • elovalvo
  • elovalvo
31 Dec 2024 07:21 - 31 Dec 2024 07:29

Newbie looking for a hardware configuration based on Raspberry Pi

Category: Computers and Hardware

This is the download link

drive.google.com/file/d/1pmV587gXFEvznQB...00x/view?usp=sharing

Something has changed on linuxcnc between then and now, but not much.
In particular, the function for using GPIOs which was previously hal_pi_gpio and is now hal_gpio
linuxcnc.org/docs/devel/html/drivers/hal_gpio.html
forum.linuxcnc.org/24-hal-components/504...-with-raspberry-pi-4

The image of RaspiOS with Linuxcnc is available in this link

forum.linuxcnc.org/9-installing-linuxcnc...pi-5?start=40#303752

Let me know if you need further guidance
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
29 Dec 2024 20:45
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Use the one Rod linked to on his google drive as it handles screen resolutions much much better.

With Linuxcnc is somethings works generally users stick with it. There is still many machines running earlier versions of Linuxcnc on Ubuntu 10 series.

Think of a machine running Linuxcnc the same as an ECU on a pre 2000's car or bike, if it works don't mess with it..........unless you're racing ;)
  • PCW
  • PCW's Avatar
29 Dec 2024 20:43
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

You can connect TTL level encoders directly to 7C81 I/O pins
_but_ I would at the minimum add say 220 Ohm resistors in series
with each signal to protect the inputs from negative input spikes.
(encoder signals tend to pick up motor drive noise so are fairly hard
on unprotected inputs)
Displaying 541 - 555 out of 903 results.
Time to create page: 0.689 seconds
Powered by Kunena Forum