Advanced Search

Search Results (Searched for: raspberry pi 3)

  • unknown
  • unknown
16 Feb 2025 05:57

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

Category: Installing LinuxCNC

Ethercat Update Sun, 16th Feb 2025

Ethercat installs and kernel modules build, some will build for running kernel, some build for 6.1.x kernel, but load with just a message about tainting kernel in logs. Just need someone with Ethercat hardware to confirm operation.
  • 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
  • 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.
Displaying 511 - 518 out of 518 results.
Time to create page: 2.242 seconds
Powered by Kunena Forum