Advanced Search

Search Results (Searched for: raspberry pi 3)

  • unknown
  • unknown
17 Oct 2025 20:23
Replied by unknown on topic Update LinuxCNC 2.9.5 on debian 13

Update LinuxCNC 2.9.5 on debian 13

Category: Installing LinuxCNC

With your 20 years experience if you really want 2.9.5 on arm you can always build it yourself. ;)
As for the version differences that will depend on the system the packages were built on.
Was there any reason, apart from the official arm image being based on Bookworm, that you went with Raspberry Pi OS Lite ?
Does that give you the choice of Wayland or X11.
Look we get a lot of users with varying degrees of Linux Experience, as we can't tell your experience usually we start advice with the basics. So no it's not a waste of time starting with said basics.
From memory when I attempted to build an RPi image based on Devuan, based on Trixie or maybe unstable, there was an issue with the libgpiod library. At the time the libgpiod driver would not compile against version 2.0 so I abandoned that idea due to that. As far as I know I'm unaware of that situation has changed. Bear in mind that there are some issues that affect Axis in 2.9.5 and 2.9.6 that have been well reported on the forum. It would appear they have been resolved but looks like we need to wait for a 2.9.7 version.
  • f355
  • f355's Avatar
17 Oct 2025 18:25
Replied by f355 on topic Update LinuxCNC 2.9.5 on debian 13

Update LinuxCNC 2.9.5 on debian 13

Category: Installing LinuxCNC

Thank you for fixing this, Andy, the new key works just fine!

However, the debian package itself seems to have a broken python3 dependency. I'm on the latest Raspberry Pi OS Lite (which is basically trixie with a custom kernel and a few Pi-specific tools installed). Any particular reason for the arm64 package to want python3 < 3.12? amd64 one depends on 3.13, and so does linuxcnc-uspace 2.9.4 that comes with trixie.
$ sudo apt-get install linuxcnc-uspace
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Solving dependencies... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 linuxcnc-uspace : Depends: python3 (< 3.12) but 3.13.5-1 is to be installed
                   Depends: libboost-python1.74.0 (>= 1.74.0+ds1) but it is not installable
                   Depends: libboost-python1.74.0-py311 but it is not installable
                   Depends: libgpiod2 (>= 1.5.1) but it is not installable
                   Depends: libpython3.11 (>= 3.11.0) but it is not installable
                   Recommends: linuxcnc-doc-en but it is not going to be installed or
                               linuxcnc-doc
                   Recommends: librsvg2-dev but it is not going to be installed
                   Recommends: hostmot2-firmware-all but it is not installable
                   Recommends: python3-pil but it is not going to be installed
                   Recommends: python3-pil.imagetk but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
E: The following information from --solver 3.0 may provide additional context:
   Unable to satisfy dependencies. Reached two conflicting decisions:
   1. linuxcnc-uspace:arm64=1:2.9.6 is selected for install
   2. linuxcnc-uspace:arm64=1:2.9.6 Depends python3 (< 3.12)
      but none of the choices are installable:
      [no choices] 
  • unknown
  • unknown
14 Oct 2025 06:19
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

D'oh

really got to stop trying to use forum on my phone.
  • Ul
  • Ul
13 Oct 2025 18:22 - 13 Oct 2025 18:36

Tipps für aktuelle LinuxCNC Hardware gesucht

Category: Deutsch

Habe ich das mit der Konfig der mesa Karten richtig verstanden, dass ich zuerst herausfinden muss wieviele Ein- und Ausgänge ich brauche um dann die passende Konfig auf die Karte zu spielen?

Installiere linuxcnc auf den Raspberry und starte einfach pncconf, dann kannst du dir die Mesakarte aussuchen und siehst selber was man braucht.
Du brauchst die Steigung deiner Spindeln (der Hersteller gibt 0.00375mm/schritt an, also vermutlich 1.5 oder 3 mm).
In pncconf werden Takt/Richtung für die Achsen fix vergeben sein, du musst den Pins nur korrekte Achsen zuordnen. Dann noch angeben an welchen Pins welche Endschalter hängen und das war eigentlich schon alles. Also praktisch nur von deiner HAL-Datei abschreiben.
Oder du schaust hier:  linuxcnc.org/docs/html/config/pncconf.html
  • Ul
  • Ul
12 Oct 2025 21:31

Tipps für aktuelle LinuxCNC Hardware gesucht

Category: Deutsch

Was braucht so eine Karte an Stromversorgung? Die 24V werden doch nur benötigt wenn die Stepper (+Treiber) da direkt
draufhängen, oder?
 

5V. Die Treiber haben eine eigene getrennte Versorgung, die du ja schon hast. Wenn die Maschine per DB25 Kabel am Parallelport betrieben wurde, hat deine Maschine auch ein BOB, um den Parallelport zu schützen.
Das gezeigte BOB aus China ist nicht nur völlig nutzlos und überflüssig, sondern würde bei Direktverbindung die GPIO-Pins des Raspberrys ausknipsen, da die nicht 5V-tolerant sind. Das "Parallel Hat" von byte2bot hat deswegen vier Pegelwandler von 3.3V auf 5V und umgekehrt verbaut. Wenn man auf die verzichtet und die Maschine direkt am Raspberry betreibt, muss man die Eingangssignale auf 3.3V bringen.
Weiters muss man die Eingangspins gegen negative Spannungen schützen, indem man zumindest jeweils einen Vorwiderstand in Serie schaltet, am Besten in Verbindung mit einer Schottky-Diode mit möglichst kleinem Spannungsabfall (1N5817 oder so). Die Raspberry GPIO-Pins haben integrierte Schutzdioden, die laut meiner kurzer Recherche nur 1mA vertragen.

Die Chinesen scheinen bei deren Karten den falschen Busschalter verbaut zu haben: CBT16211A statt CBT16211. Laut Datenblatt ist das ein reiner Schalter ohne Pegelwandelfunktion, müsste also entweder gegen welche ohne A getauscht werden, oder die Pins dürfen nicht mehr als 3.3V sehen. Die chinesische 7I92 hat Vorwiderstände an den Pins, vermutlich weil den Chinesen beim ersten Test die FPGA-Pins wegen zu hoher Eingangsspannung gestorben sind. Falls die Widerstände 220Ohm haben, weiß ich woher sie die Idee haben 
Die Widerstände werden aber vermutlich zu klein sein, um die Maschine da einfach direkt anzuschließen.

Die Mesakarten laufen über TCP/IP. Die Adressen sollten fix sein. Man kann die Adresse der Karte per Jumper von 10.10.10.10 auf 192.168.1.121 oder so umschalten können. 

Da deine Maschine noch läuft, musst du die Pinbelegung eh im Computer haben. Ansonsten im Schaltplan oder in der Gebrauchsanweisung nachzulesen. Falls die nicht mehr vorhanden sind, einfach an den Kundendienst wenden. 
Wir können aber auch im Forum demokratisch abstimmen welche Pinbelegung deine Maschine hat.  
  • unknown
  • unknown
12 Oct 2025 10:52
Replied by unknown on topic Probleme WIFI Rasperry Pi5 mit 2.9.6

Probleme WIFI Rasperry Pi5 mit 2.9.6

Category: Deutsch

Index for known RPi issues& solutions.

forum.linuxcnc.org/38-general-linuxcnc-q...official-images-only

On board Rpi Wifi does work, version of installed Linuxcnc does not matter, if you used the official images.

Any USB Dongle that works with Debian will work as the image is soley based on Debian with Linuxcnc installed and some stuff from the Official RPi github, kernel sources and so on.

Sorry I can only speak English.
  • unknown
  • unknown
12 Oct 2025 03:37

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

This is kind of preplexing, shouldn't the architecture be arm or similar
Package: raspi-firmware
Architecture: all
Version: 1.20220830+ds-1
Priority: optional
Section: non-free-firmware/misc
Maintainer: pkg-raspi <pkg-raspi-maintainers@lists.alioth.debian.org>
Installed-Size: 22281
Pre-Depends: dpkg (>= 1.17.14)
Depends: dosfstools
Suggests: firmware-brcm80211, firmware-misc-nonfree, bluez-firmware
Breaks: linux-firmware-raspi3 (<< 1.20161123-2), raspi3-firmware (<< 1.20190718-1~)
Replaces: linux-firmware-raspi3 (<< 1.20161123-2), raspi3-firmware (<< 1.20190718-1~)
Filename: pool/non-free-firmware/r/raspi-firmware/raspi-firmware_1.20220830+ds-1_all.deb
Size: 4815784
MD5sum: 02766adeeeea1246010c8a3c2851a73b
SHA1: f37dba3e827325667381703815ac227ee1aa9b64
SHA256: 0094ced47a7fbb6a220ff83e7b43aa637a5d8f6802461e2e4e474597fb796f62
SHA512: 2ef6547b160b9207ce6bdf33572a4eed389c56db0b7172e049c5bf4c8471ee60f7fd5f05fd8bf08075ec4e8baae8a602e219b5592a854ed3e6678222a989a2d7
Homepage: https://github.com/raspberrypi/firmware
Description: Raspberry Pi family GPU firmware and bootloaders
 This package contains all the proprietary files necessary to boot a
 Raspberry Pi board. This should work with all models in the 0, 1, 2, 3 and
 4 families.
 .
 Raspberry Pi is a trademark of the Raspberry Pi Foundation.
  • unknown
  • unknown
11 Oct 2025 21:45
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

First of all I really want to say thanks for all the work you've put into your projects, you really deserve a couple of beers, if that's your poison ;) or a least a good coffee, damn mate whatever you like to drink. Honestly thanks.
Haven't had a chance to use it or try it out but it looks great. One of the things that has been missing for the RPi IMHO, would be great to see in the mainline Linuxcnc tree.
Would be great if you could add this to the RPi "mega thread" and I'll add a link in the index.

Now a request for an extra feature, any chance for ADC support. Would be great for things that a user wants or needs an analogue input.
  • meister
  • meister
11 Oct 2025 17:54
Replied by meister on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

i build a new component to use the I2C port on the RPI4/5 for extra Digital-IO's and ADC's
can be used standalone, no rio needed: github.com/multigcs/riocore/blob/dev/rio...ins/rpii2c/rpii2c.py
  • meister
  • meister
11 Oct 2025 17:44

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

That makes it easier to imagine :)



It should now also be possible to mix FPGA and RPI/Parport configurations.

Oh, there's a new I2C plugin for the Raspberry with pcf8574 and ads1115 support (digital IO + analog inputs / non-real-time).
  • Dragan
  • Dragan
10 Oct 2025 20:37

NEW BUILD, need help with e-stop in tklinuxcnc

Category: Basic Configuration

c@raspberrypi:~/linuxcnc/configs/microcarve$ LINUXCNC - 2.9.6
Machine configuration directory is '/home/cnc/linuxcnc/configs/microcarve'
Machine configuration file is 'microcarve.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./microcarve.hal
task: main loop took 0.100768 seconds
task: main loop took 0.113741 seconds
task: main loop took 0.140260 seconds



this is what i get running it from commandline. task: main loop ........
  • Dragan
  • Dragan
10 Oct 2025 09:55

NEW BUILD, need help with e-stop in tklinuxcnc

Category: Basic Configuration

For weeks, I've been working on my own CNC machine and have made good progress, but I need help with some small details from experts.The machine is a MicroCarve MV3 with 3x 23-305-DS8A steppers in bipolar parallel mode, connected to a TB6600, which is connected to a Raspberry Pi 4. I don’t have a stop button yet.I’ve managed to wire the motors and Pi to test the axes with a Python script. I also created a minimalist INI and HAL file and started TkLinuxCNC. However, I can’t move the motors because the software shows an E-stop, and despite my efforts, I can’t get the machine to move.I access the Pi via VNC without a connected monitor. The image used is rpi-4-debian-bookworm-6.1.54-rt15-arm64-ext4-2023-11-17-1731.img.xz, updated to LinuxCNC 2.9.6.Friends, I need help. I’ve spent many hours on this and am close to getting the machine running.My test script works; HAL and INI files are attached.Thanks,
Dragan
  • marcelovx23
  • marcelovx23
09 Oct 2025 03:02
Replied by marcelovx23 on topic XHC-WHB04B-04 Got it working

XHC-WHB04B-04 Got it working

Category: Advanced Configuration

[SOLVED] XHC-WHB04B-6 on LinuxCNC 2.9.6 (QtDragonHD + 7i96S) — Beginner notes
(I am sharing the exact steps I followed, written simply. Many threads assume advanced users; I am a beginner.)My machine / system
  • Gantry router XYYZ (dual Y motors), work area approx. 1300 x 1210 mm
  • Controller: Mesa 7i96S (Ethernet, step/dir)
  • Spindle: 2.2 kW, 24,000 RPM
  • UI: QtVCP / QtDragon_HD
  • OS: Raspberry Pi 5, Debian 12 (Bookworm)
  • LinuxCNC 2.9.6
What actually fixed it (short version)
  1. Load the pendant HAL file as a HALFILE (before the post-GUI), same as the donor machine.
  2. Add MDI_COMMAND lines under [HALUI] so pins halui.mdi-command-XX exist.
  3. Keep qtvcp_postgui.hal clean (only GUI signals, no pendant driver).
  4. In my case, moving the WHB USB dongle to another port made the wheel/jog and DRO updates work.
STEP 1 — Copy the pendant HAL file
Place xhc-whb04b-6.hal in your config folder (the same folder that has your .ini and main .hal), e.g.:
~/linuxcnc/configs/YOUR-MACHINE/xhc-whb04b-6.hal
STEP 2 — Load the pendant before the post-GUI
Open your .ini and in the [HAL] section add this line and keep this exact order:
[HAL]
HALUI = halui
HALFILE = CNC-CARPINTERA.hal
HALFILE = custom.hal
HALFILE = xhc-whb04b-6.hal ; <<< NEW: load the pendant here
POSTGUI_HALFILE = qtvcp_postgui.hal ; keep this AFTER
SHUTDOWN = shutdown.hal
Important: do not load the WHB driver inside qtvcp_postgui.hal.STEP 3 — Create MDI pins under [HALUI]
In the same .ini, find (or create) the [HALUI] section and paste this block right under it:
[HALUI]
MDI_COMMAND = (DEBUG,<1>) ; <<< NEW (good for testing macros)
MDI_COMMAND = G10 L20 P0 X[#<_x>/2.0] ; <<< NEW (zero X at part center)
MDI_COMMAND = G10 L20 P0 Y[#<_y>/2.0] ; <<< NEW (zero Y at part center)
MDI_COMMAND = (DEBUG,<4>) ; <<< NEW
MDI_COMMAND = (DEBUG,<5>) ; <<< NEW
MDI_COMMAND = G10 L20 P0 X0 ; <<< NEW (Zero X)
MDI_COMMAND = G10 L20 P0 Y0 ; <<< NEW (Zero Y)
MDI_COMMAND = G10 L20 P0 Z0 ; <<< NEW (Zero Z)
This creates halui.mdi-command-00..07 (indexes follow the order above).
Add more MDI_COMMAND lines if your xhc-whb04b-6.hal uses higher indices.Notes so jogging actually works
  • E-STOP released, Machine ON
  • Manual mode
  • Fully homed (for XYYZ: X, Y1, Y2, Z)
  • On the pendant, use Continuous, or Step + Step size
  • If the wheel does nothing or DRO does not update: try a different USB port/dongle (this was the final fix for me)
Thanks and request
Many thanks to the original thread’s author for sharing files and guidance.
If possible, could you post a short summary of the final button mapping (what each macro-N does, Continuous/Step, ABS/REL, etc.)? That would help beginners keep their configs consistent.If anyone needs it, I can share my final .ini, xhc-whb04b-6.hal, and a minimal qtvcp_postgui.hal exactly as they ended up.
  • meister
  • meister
08 Oct 2025 18:49 - 08 Oct 2025 18:51
Replied by meister on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

to make the NVME working on the original linuxcnc rpi image,
i need to add this options to /boot/broadcom/cmdline.txt:
nvme_core.default_ps_max_latency_us=0 pcie_aspm=off


cnc@raspberrypi:~$ cat /boot/broadcom/cmdline.txt
console=serial0,115200 console=tty1 root=PARTUUID=a27d77aa-02 rootfstype=ext4 fsck.repair=yes loglevel=5 nvme_core.default_ps_max_latency_us=0 pcie_aspm=off pcie_port_pm=off net.ifnames=0 processor.max_cstate=1 isolcpus=2,3 firmware_class.path=/lib/firmware/updates/brcm rootwait

the 2nd ethernet-port works out of the box (eth1)
i used this for the normal network and eth0 for the FPGA connection:
cnc@raspberrypi:~$ cat /etc/network/interfaces
# Interfaces
source /etc/network/interfaces.d/*

# Loopback network interface
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet static
    address 192.168.11.11
    netmask 255.255.255.0
    hardware-irq-coalesce-rx-usecs 0

auto eth1
iface eth1 inet dhcp
  • meister
  • meister
08 Oct 2025 16:12 - 08 Oct 2025 16:14
Replied by meister on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I now have my RPI5, just as it should be.

 
Displaying 46 - 60 out of 823 results.
Time to create page: 0.931 seconds
Powered by Kunena Forum