Advanced Search

Search Results (Searched for: raspberry pi 3)

  • 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.

 
  • Ul
  • Ul
08 Oct 2025 15:09 - 08 Oct 2025 15:25

Tipps für aktuelle LinuxCNC Hardware gesucht

Category: Deutsch

Vergiss den "Parallel Hat". Es gibt seit ein paar Wochen auf Aliexpress die 7I92 oder 7I98 für sehr kleines Geld zu kaufen, vermutlich sogar billiger als das "Parallel Hat" aus den USA:
de.aliexpress.com/item/1005009563621594.html
de.aliexpress.com/item/1005009714713471.html
Die schließt du einfach an den Ethernet-Port des Raspberrys an.

Falls du nicht vor hast Glasmaßstäbe nachzurüsten, ist die 7I92 mehr als ausreichend. Die Schrittmotortreiber kannst du auch direkt an die Pins anschließen (das gilt genauso für die GPIO Ausgänge des Raspberrys, da du nur die LED im Optokoppler der Schrittmotorendstufe betreibst, wofür 3.3V mehr als ausreichend sind, also ein "Parallel Hat" völlig überflüssig).

Ich persönlich habe vor genau einer Woche zwei von den chinesischen 7I98 und eine 7I92 bestellt und werde die testen und hier berichten, wenn sie da sind.

Ps: Die HAL-Datei von byte2bot funktioniert nicht mit dem RPi5. Man muss erst den SPI-Port abschalten (Anleitzung dazu steht ganz oben in der HAL-Datei) und die vierte Achse in der HAL abschalten oder so, genau habe ich das aber gerade nicht im Kopf. 
Auch die Signallänge sollte angepasst werden, da die standardmäßig zu kurz eingestellt wurde. Ich werde die Sache aber nicht weiter verfolgen, da ich lieber auf die Mesakarten warte. GPIO mit seinen paar KHz ist sowieso viel zu langsam zum Fräsen, auch für meine kleine Tischfräse.
  • meister
  • meister
07 Oct 2025 13:34
Replied by meister on topic Tipps für aktuelle LinuxCNC Hardware gesucht

Tipps für aktuelle LinuxCNC Hardware gesucht

Category: Deutsch

jenachdem wie dein bob aufgebaut ist, also das hinter dem 25pol stecker,
kann man die auch mit 3.3v betreiben, also direkt am GPIO vom raspberry.
Diese china bob's www.amazon.de/Fasizi-5-Achsen-CNC-Breako...reiber/dp/B09Z29TYNL
hatte ich schonmal direkt am 3.3v FPGA vertratet
  • meister
  • meister
07 Oct 2025 11:47 - 07 Oct 2025 11:53
Replied by meister on topic Tipps für aktuelle LinuxCNC Hardware gesucht

Tipps für aktuelle LinuxCNC Hardware gesucht

Category: Deutsch

Hi Bernhard,
verstehst du richtig so, RPI + Parallel Hat is das selbe wie PC mit Parport,
die step-signale werden im Raspberry erzeugt und an den GPIO pins ausgegeben.

Nachteil: Jitter und nicht allzu hohe beschleunigungen/geschwindigkeiten möglich.
Vorteil: günstiger

bei Mesa werden die schnellen stepper-impulse im FPGA erzeugt und der Raspbi gibt nur die befehle an die Mesa per Ethernet oder SPI und erhält den aktuellen status zurück

Gruß,
Olli

EDIT: für so ne diadrive reicht der RPI mit Hat völlig aus, die geben 'max. 20 mm/Sek.' an, dafür brauch man keinen FPGA
 
  • Gartenzwerg
  • Gartenzwerg
07 Oct 2025 09:06
Replied by Gartenzwerg on topic Tipps für aktuelle LinuxCNC Hardware gesucht

Tipps für aktuelle LinuxCNC Hardware gesucht

Category: Deutsch

Danke, das ist schon mal ein Ansatz! 

Im Moment sehe ich da zwei Möglichkeiten:
- Raspberry Pi 5 + ein Parallel Hat von byte2bot
byte2bot.com/products/parallel-port-rasp...gak8F2DJq1o7WoFK2x-g

Verstehe ich das richtig, dass damit die Erzeugung der Signale die an meine Fräse gesendet werden im Raspberry stattfindet, und somit von der Systemauslastung, Latenz, etc.. abhängt?

- Raspberry Pi 5 + MESA 7C81
Während hier die Signale in/von der Mesa Karte erzeugt werden?

In beiden Fällen muss ich die .hal Dateien so anpassen dass die korrekten Pins angesprochen werden, das ist mir klar.

Aber funktioniert das grundsätzlich so, oder liege ich daneben?
  • Gartenzwerg
  • Gartenzwerg
06 Oct 2025 13:36

Tipps für aktuelle LinuxCNC Hardware gesucht

Category: Deutsch

Hallo zusammen!

Ich heiße Bernhard, bin Mitte 40 und komme aus dem Osten Österreichs.
Beruflich bin ich in der IT unterwegs, und habe auch etwas Erfahrung mit Linux.

Daher war das ausstatten meiner vor 5 Jahren angeschafften kleinen CNC Fräse (Mutronic Diadrive) mit LinuxCNC logisch, und das funktionierte auch im großen und ganzen sehr gut.

Die letzten 5 Jahre lief ein PC mit einem ASUS Mainboard aus 2005, an dessen Parallel-Port direkt die Fräse hing.

Wie zu erwarten, macht das natürlich irgendwann Probleme. Im Moment wird die Festplatte (SSD) nicht mehr erkannt.
Ich krieg das grundsätzlich zwar sicher wieder hin, aber möchte das eigentlich gleich nutzen um auf aktuelle Hardware umzusteigen.
PCs mit Parallel-Port zu finden die dann auch akzeptabel funktionieren dürfte eher die Nadel im Heuhaufen sein.
Alles was mir so in den letzten Jahren vor die Füße gefallen ist, hat im Latency Test grausam abgeschnitten.

Daher meine Frage an die Wissenden:
Was nehme ich 2025 für Hardware, um eine Fräse anzusteuern die einen Parallel-Port Eingang hat.

Ich lese was von Raspberry Pi, Mesa Karten, ..., blicke aber ehrlich gesagt nicht durch wie das alles zusammenspielt.
Eine Raspberry Lösung fände ich sehr sexy, aber was nehme ich dann als Umsetzer zur Fräse?

Habt ihr eventuell Links zu funktionierenden und dokumentierten Setups, oder Tipps in welche Richtung ich mich weiter schlau machen sollte?

hilfesuchende Grüße,
Bernhard


 
Displaying 61 - 75 out of 810 results.
Time to create page: 0.918 seconds
Powered by Kunena Forum