Advanced Search

Search Results (Searched for: raspberry pi 3)

  • urvilsuthar
  • urvilsuthar
15 Feb 2025 13:56
Replied by urvilsuthar on topic Change acceleration on the fly?

Change acceleration on the fly?

Category: General LinuxCNC Questions

@rodw,
I'm very grateful. The suggested external offsets operate in a manner comparable to what I require. I plan to try integrating them with my current Raspberry Pi setup.
  • unknown
  • unknown
15 Feb 2025 02:29
Replied by unknown on topic Potential All-in-One Single Board Computers

Potential All-in-One Single Board Computers

Category: Computers and Hardware

Ethercat appears to install ok, some modules are built for the current kernel, some are built for 6.1.0-31-arm64.

With no Ethercat devices connected I get this, would this indicate a good install ?
cnc@raspberrypi:~$ ethercat master
Master0
  Phase: Idle
  Active: no
  Slaves: 0
  Ethernet devices:
    Main: d8:3a:dd:ac:2e:74 (attached)
      Link: UP
      Tx frames:   28884
      Tx bytes:    1733040
      Rx frames:   0
      Rx bytes:    0
      Tx errors:   0
      Tx frame rate [1/s]:    124    124    122
      Tx rate [KByte/s]:      7.3    7.3    7.1
      Rx frame rate [1/s]:      0      0      0
      Rx rate [KByte/s]:      0.0    0.0    0.0
    Common:
      Tx frames:   28884
      Tx bytes:    1733040
      Rx frames:   0
      Rx bytes:    0
      Lost frames: 28884
      Tx frame rate [1/s]:    124    124    122
      Tx rate [KByte/s]:      7.3    7.3    7.1
      Rx frame rate [1/s]:      0      0      0
      Rx rate [KByte/s]:      0.0    0.0    0.0
      Loss rate [1/s]:        124    124    122
      Frame loss [%]:       100.0  100.0  100.0
  Distributed clocks:
    Reference clock:   None
    DC reference time: 0
    Application time:  0
                       2000-01-01 00:00:00.000000000
  • cakeslob
  • cakeslob
12 Feb 2025 16:56
Replied by cakeslob on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

bring your remora related discussion into this thread

www.forum.linuxcnc.org/18-computer/42276...rocontroller-via-spi

and upload your hal/ini files using the forums attachments please
  • jairobbo
  • jairobbo
12 Feb 2025 16:08 - 12 Feb 2025 16:11
Replied by jairobbo on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I spent some hours..

1) flashed the octopus MCU with dfu-util
2) draft version of HAL and INI files done
3) wiring pi5 correctly to the octopus
4) pi5 is running remora flexi os

The error is from linux cnc when it loads my config: joint.5.scale pin doesnt exist. If I do a show pin with halcmd it shows a bunch of joints unit joint.4.

HAL file
INI file
  • langdons
  • langdons's Avatar
12 Feb 2025 15:55
Replied by langdons on topic Pixeled screen on remote desktop

Pixeled screen on remote desktop

Category: General LinuxCNC Questions

Remote desktop has issues.

Set the CPU scaling governor to performance.

The Raspberry Pi might not be powerful enough for that.
  • Guytou
  • Guytou
12 Feb 2025 12:55

M-code to toggle macrobutton not working on QtDragon

Category: General LinuxCNC Questions

In the meantime I solved the issue. I connected the Raspberry Pi gpio output pin to motion.digital-in-00 and now I can read this RPI output pin with M66. No need for a macro anymore...
  • unknown
  • unknown
11 Feb 2025 23:47

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Basic Mill Config Using hal_gpio

forum.linuxcnc.org/media/kunena/attachme...8/my-mill-config.zip
Link to driver:
linuxcnc.org/docs/devel/html/drivers/hal_gpio.html

Note unless SPI is disabled in /boot/broadcom/config.txt GPIO07 & GPIO08 can not be used.
  • 3404gerber
  • 3404gerber
11 Feb 2025 19:13

Anyone figured out how to get Trinamic's TMC5160 drivers working with LinuxCNC?

Category: Driver Boards

Yes. I wanted to communicate via spi only. Since I also configured it in spi mode in daisy chain config in FluidNC. Remora communicate with LinuxCNC via spi. If possible I can send spi config data to tmc via some module in LinuxCNC. Or if you modded remora-spi source to suit tmc 5160
 

If you can make a direct SPI connection between the Raspberry Pi and the TMC drivers, then it should be very easy to adapt my code; all it does is sending the registers value to the drivers according to values you set via parameters until all the registers have been set, and then it reads the motor position. And another function sends velocity command. You'd just need to remove the write velocity part (or, simply said, not addf TMC5160.write) and not connect the position feedback pin. In theory you could still use the SPI line to get TMC status bit and be informed if one driver has an error.

I want to try to control the SPI device on the RPi without the use of BCM2835 library to avoid compatibility problems. Give me a week to try and I'll publish my code after that. I didn't even try to modify the spi-remora code, as this is way above my coding skills.
  • cakeslob
  • cakeslob
11 Feb 2025 15:16
Replied by cakeslob on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

If you are doing 3d printing have a look at the remora

github.com/scottalford75/Remora
  • unknown
  • unknown
11 Feb 2025 11:57
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

If you had of read the docs, the parts regarding using a parallel port and software step generation, you would have learnt that there is a limit to the stepper speed based on the latency of the base thread.
This is the problem, people don't fully research/read the docs and don't fully understand what they are doing. They also assume things that are not so.
Many times people blame Linuxcnc, 99% of the time it is a mistake they have made.
The recent rise in the availability of home CNC machines has led people to think it is easy thing to setup and use. It's not, there are many hats you have to wear. And to be fair the basis for a project for Linuxcnc, all those years ago, was for control of industrial machines. I don't think the original authors of the papers imagined the extent that small CNC machines would become available to the "average Joe".
Checkout the mesa website, see what they have available. Read the forums, see what other people are doing. Checkout the remora project, have a look at Linuxcnc-RIO, geesh I even gave a link to my own GitHub project.
  • jairobbo
  • jairobbo
11 Feb 2025 11:05 - 11 Feb 2025 11:39
Replied by jairobbo on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I'm sorry if my previous post was hard to understand or based on misread info. 

I was under the assumption that the most affordable mesa card for 6 axis (5 move and 1 extr) was around 200 bucks. But you are totally right better to ask than assume... I'm sorry for sounding stupid.

I'm still very much open to guidance for hardware selection for my 5 axis printer :)

Have a great day!
  • electrosteam
  • electrosteam
11 Feb 2025 09:29 - 11 Feb 2025 09:30
Gmoccapy Stop Mid-Run was created by electrosteam

Gmoccapy Stop Mid-Run

Category: Gmoccapy

Hobby 3-axis mill, Raspberry Pi 4B, official download - reports as Gmoccapy 3.4.6.
Done several jobs since swapping from AXIS.

Running code - then stop.
No pop-up messages.
Found the Gmoccapy Log - nothing.

Cancelled job, but machine would not jog.
De-activate controls (Green/Red PB), then activate - machine jogs.

Need some hints on where to look, or a list of typical problems.
Thanks,
John.

 
  • behai
  • behai
11 Feb 2025 03:04

Raspberry Pi OS PREEMPT RT 6.13 Kernel Cookbook

Category: Installing LinuxCNC

No always 4 cores.

For some reason the RPi docs say to use -j6.
 


Thank you Rob.
  • unknown
  • unknown
11 Feb 2025 01:33

Raspberry Pi OS PREEMPT RT 6.13 Kernel Cookbook

Category: Installing LinuxCNC

No always 4 cores.

For some reason the RPi docs say to use -j6.
  • behai
  • behai
11 Feb 2025 00:28

Raspberry Pi OS PREEMPT RT 6.13 Kernel Cookbook

Category: Installing LinuxCNC

Hi gene_weber,

Thank you for the info. Back in November, 2024, I did managed to build and install a PREEMPT_RT kernel to my Raspberry Pi 4B:

[
Linux picnc 6.6.59-rt45-v8-behai-rt-build+ #1 SMP PREEMPT_RT Sat Nov 2 10:20:46 AEDT 2024 aarch64 GNU/Linux
]

But I did not know how to make other configurations as you have done: I did not know we have different displays, etc.

I have also built LinuxCNC from source and installed it from the build: only last week, I have found out that I have done a simulated-realtime version of LinuxCNC. PnCConf reports:

[
"You are using a simulated-realtime version of LinuxCNC, so testing / tuning of hardware is unavailable."
]

I did not know we can install LinuxCNC from a prebuilt package to a Raspbian OS as you have done.

Might I have a question, please? You use -j6 in the command:

[
make -j6 Image.gz modules dtbs 2>&1 | tee make.log
]

On my Raspberry Pi 4B, nproc reports 4, I use -j4.

So is it true that later Pi 4B revisions have more cores? I bought mine back in middle 2023. I don't have Pi 5 yet.

Thank you and best regards,

...behai.

 
Displaying 421 - 435 out of 827 results.
Time to create page: 0.927 seconds
Powered by Kunena Forum