Advanced Search

Search Results (Searched for: )

  • unknown
  • unknown
06 Feb 2025 21:05
Replied by unknown on topic Raspberry Pi5 GPIO setup

Raspberry Pi5 GPIO setup

Category: Configuration Tools

This may be a starting point
forum.linuxcnc.org/9-installing-linuxcnc...i-5?start=350#320817

But continue reading, as the user did make a few mistakes in the hal file, but these were pointed out in the next post. May not be exactly want you want, being 6 aixs, but it's a starting point.

But yeah it's hal_gpio for the PI5
linuxcnc.org/docs/devel/html/drivers/hal_gpio.html
  • unknown
  • unknown
06 Feb 2025 20:59
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Got a strange one with a Pi5...   Network seems fine when I am just pinging my Mesa card (a 7i76e) but when I run Linux CNC, things kick on but then the network crashes and I get a bazillion (technical term) hm2/hm2_7i76e.0: error queuing read iter=xxxx) and everything turns back off.. 

Once it dies I can't even ping the Mesa card (10.10.10.10) until I unplug and plug back in the ethernet cord... Then its happy as a clam pinging.. but once I start up Linux CNC again same crash right as the UI inits. 

(Linux CNC 2.9.3, PI5 8Gb, NVMe Boot)
 

You may want to start reading from here:
forum.linuxcnc.org/27-driver-boards/4223...read?start=20#207308

Unfortunately I don't have any ethernet hardware to test with (only SPI), I have a 7i92 but that's in the mill enclosure and is a PITA to access. From reports the 6.12 kernel on the most recent RPi images have better latency, but I can't say whether that would solve your issue.
  • h_munktell
  • h_munktell
06 Feb 2025 20:47
Replied by h_munktell on topic Versa Probe with Qtdragon hang

Versa Probe with Qtdragon hang

Category: Basic Configuration

I'm on 2.9.3, to my knowledge, I have not seen any changes in the values on the probe screen when it fails. I "think" I have seen a command in the linux status window, indicating a retract command when it is halting. But will double check next time.
 
This is how it looks when it works at least
 
  • unknown
  • unknown
06 Feb 2025 20:44 - 06 Feb 2025 21:17
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I do not know how you guys even got so far: i have a Raspberry Pi 5 Modell B, 4x 2,4 GHz, 4 GB DDR4 and created images of v. 2.9.4 to SD card & USB drive with 3 different burning software including balenaEtcher. When i boot the RPi5 the drives are not recognized (as bootable) at all. With an image of vanilla Ubuntu it works just fine.

 
According the the RPi docs there is no RPi5 Model B, hmm screwed up on this, should have read further down, it does identify as 5-model-b, which can be found out by the following code snippet.
cat /proc/device-tree/compatible | tr '\0' '\n'

First thing I would is check the integrity of the download.
linuxcnc.org/iso/rpi-5-debian-bookworm-6...7-0140.img.xz.sha256
I test all images prior to uploading on a RPi5 4GB bought around Nov\Dec 2023 with latest EEPROM and on a RPi400 with latest EEPROM.
What I would suggest is boot to Ubuntu, then with a USB drive that you have written the Linuxcnc image to attempt to mount it.[/quote]
  • Wagon56
  • Wagon56
06 Feb 2025 20:42
Replied by Wagon56 on topic Raspberry Pi5 GPIO setup

Raspberry Pi5 GPIO setup

Category: Configuration Tools

I see, what do i need to do to get it configured for the RP1? Might be a very obvious answer but im a newbie and dont really yet know exactly what im doing.

Do i have to do anything other than redoing the hal file? This issue seems to be a bit deeper than just the hal file (or atleast thats what makes ĺ
sense to me)
  • beauxnez
  • beauxnez
06 Feb 2025 20:39 - 06 Feb 2025 20:57

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I managed to send the remora firmware to the card but I'm stuck on the config txt file I have an error message ?


attached the videos

youtube.com/shorts/RS7OnZ3ts2o?si=CMQ5Cg7p2Btm-zWb
youtube.com/shorts/JX6X--eaXos
 
  • jhandel
  • jhandel
06 Feb 2025 20:34
Replied by jhandel on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Got a strange one with a Pi5...   Network seems fine when I am just pinging my Mesa card (a 7i76e) but when I run Linux CNC, things kick on but then the network crashes and I get a bazillion (technical term) hm2/hm2_7i76e.0: error queuing read iter=xxxx) and everything turns back off.. 

Once it dies I can't even ping the Mesa card (10.10.10.10) until I unplug and plug back in the ethernet cord... Then its happy as a clam pinging.. but once I start up Linux CNC again same crash right as the UI inits. 

(Linux CNC 2.9.3, PI5 8Gb, NVMe Boot)
  • slowpoke
  • slowpoke
06 Feb 2025 20:29

How to get MPG input (hm2_7i96s.0.inm.00.enc0-count) to move axis

Category: HAL

its a bit involved, you can look here for the basic hal setup

linuxcnc.org/docs/html/examples/mpg.html

(that happens to use a software encoder counter but the basics are the same)

Note that there are jog enable,count and scale pins for both axis and joints
The joint pins are active before homing and the axis pins are active after homing.

You could also search the forum for "MPG" as there may be a MPG setup using similar
hardware as yours.
 

Well thanks for that.

I now have the MPG working for the X axis and it was super simple (the example above gave me what I needed, and I only needed 4 lines to get it working

#MPG 
setp axis.x.jog-scale 0.001
setp axis.x.jog-enable true
net encoder-counts  <= hm2_7i96s.0.inm.00.enc1-count
net encoder-counts => axis.x.jog-counts
#MPG ENDS

I have switches to manually jog, so I will use those to move significant distances, and then use the MPG to home in on the desired position, should make for a user friendly experience.

I will likely upgrade to ball-screws to fix the backlash, however at least now when I change direction the backlash is automatically dealt with.

I 3D printed a belt cover and mounted the X-MPG where the old manual cross slide hand wheel was.

Thanks for all your help, a Mesa board and HAL make customization really easy.
 


 
  • MarkoPolo
  • MarkoPolo
06 Feb 2025 20:27
Replied by MarkoPolo on topic qtdragon additonal buttons

qtdragon additonal buttons

Category: Qtvcp

The menu will automatically expand as you add additional values ​​in the machine configuration file.

INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
ANGULAR_INCREMENTS = 0.1, 1, 5, 10, 15, 30, 45, 90, 180, 360, 3600, 36000
  • scotta
  • scotta's Avatar
06 Feb 2025 20:24

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I think your confusing this with the earlier DAPlink firmware that allowed drag and drop upload.

The CMSIS-DAP-STLINK21.hex firmware converts the STLink into a CMSIS-DAP probe that can be used the MCUxpresso or pyOCD.
  • scotta
  • scotta's Avatar
06 Feb 2025 20:16
Replied by scotta on topic Raspberry Pi5 GPIO setup

Raspberry Pi5 GPIO setup

Category: Configuration Tools

Looking at the source for hal_pi_gpio it's setup for the BCM2835 (RPi 4). The RPi 5 uses the new RP1 southbridge chip for IO.
  • slowpoke
  • slowpoke
06 Feb 2025 20:06
Replied by slowpoke on topic Lathe Macros

Lathe Macros

Category: Other User Interfaces

I had the link for that one. Perhaps I wandered off this thread when I found it. It was a compilation of I think all of the macros showing the actual operation on a lathe much like the video you referenced, just for all the different operations quite a good video, no idea where I found it and can't seem to find it.

Thanks
I think this video does a good job of going through the macros but I don't know if it's the one you had in mind:

 

That is a different video, however somewhat similar. For a small lathe he sure is getting good results.

I'm a bit clueless regarding the available lathe type GUI's (I'm starting with axis), what version is this fellow using?

Are those the "lathe macros" he is using?



 
  • Wagon56
  • Wagon56
06 Feb 2025 20:00
Raspberry Pi5 GPIO setup was created by Wagon56

Raspberry Pi5 GPIO setup

Category: Configuration Tools

Hello everyone, ive been trying to set up linuxcnc to work with my Raspberrypi 5 for a week or two now, ive gotten to a point where i can load the hal_pi_gpio driver with no errors showing up, i have a config running in linuxcnc and i can see in halshow that the pins are activating and deactivating, the issue i have is that the pins only activate and deactivate in the software and not physically, i cannot measure any difference on the physical pin itself, i can use gpioset command to set the pins to high or low manually and that works well, but as soon as i try setting it to high/low using halcmd it just doesnt change state, i would greatly appreciate some assistance in setting this up correctly.

The hal file below was given as an example somewhere online, dont remember exactly where i got it but it is as mentioned supposed to work considering that halshow shows the pins and the fact that they should be changing state.
  • TooTall18T
  • TooTall18T's Avatar
06 Feb 2025 17:10
Replied by TooTall18T on topic tool length probe subroutine for Probe Basic

tool length probe subroutine for Probe Basic

Category: Mill Library

I made the 5.0.0 develop to the main branch and made a release for it.
The way the routine works is the same as you can see in the video of version 4. Also the way to install it is the same.

I was not able to make a version that is usable with all versions of Probe Basic. So I need to make a cut.
Version 4.0.1 is for Probe Basic up to 0.5.4-stable.
Version 5.0.0 is for Probe Basic 0.6.0 and it is also usable with every other GUI.
  • Mr. Mass
  • Mr. Mass's Avatar
06 Feb 2025 16:38
Replied by Mr. Mass on topic qtdragon additonal buttons

qtdragon additonal buttons

Category: Qtvcp

Quick question: how can I increase jogging linear and angular increment drop-down menu? Is it also in stylesheets like you did for G5x button?
Displaying 18091 - 18105 out of 21668 results.
Time to create page: 0.468 seconds
Powered by Kunena Forum