Advanced Search

Search Results (Searched for: raspberry)

23 Oct 2023 18:20 - 23 Oct 2023 18:46

Debian 12 - 2.10 master branch image for the Raspberry Pi 4b/400

Category: Installing LinuxCNC

As webdeveloper, i have any cache disabled by default, so neither F5 (reload) nor shift-F5 (force reload) make any difference.
Did you take a look at the image, i attached?
[EDIT:] aaahhh now i understand .. the download icon flickers very briefly ... after "catching" it i was able to download the file from
drive.google.com/u/0/uc?id=10lxh9Icf07pw...X9dC&export=download
 
23 Oct 2023 18:09

Debian 12 - 2.10 master branch image for the Raspberry Pi 4b/400

Category: Installing LinuxCNC

If you press 'F5' does the download icon appear in the top right corner?
If so then position your mouse over the icon, press 'F5' on the keyboard and left click your mouse.
23 Oct 2023 17:52 - 23 Oct 2023 17:54

Debian 12 - 2.10 master branch image for the Raspberry Pi 4b/400

Category: Installing LinuxCNC

i am clicking on the link - not copy pasting it ... maybe you have it in your cache ... google states clearly:

Download Permission: Viewers cannot download


btw: copy and pasting should work too, if download is possible at all
23 Oct 2023 17:29 - 23 Oct 2023 17:47
23 Oct 2023 17:25 - 23 Oct 2023 17:47

Debian 12 - 2.10 master branch image for the Raspberry Pi 4b/400

Category: Installing LinuxCNC

I tried to download, but it says "File is in owner's trash"

Worked fine for me just now.

[edit]
Just left-click on the link in the post do not copy/paste it
23 Oct 2023 17:04
23 Oct 2023 04:49

configuring my GPIO pins to linuxcnc with Raspberry pi 4

Category: HAL

There is a dedicated GPIO driver available in 2.91 linuxcnc.org/docs/devel/html/drivers/hal_pi_gpio.html
The final (I hope) Raspberry Pi image for 2.91 is sitting in my google drive pending release since the weekend just gone:
drive.google.com/file/d/1IhrrdGRNvsdclVi...nUu/view?usp=sharing
Give it a go.
23 Oct 2023 04:28

configuring my GPIO pins to linuxcnc with Raspberry pi 4

Category: HAL

Hi everyone, I'm fairly new to this. You can say I am a noob in Linux.

We want to build a CNC machine for testing stuff. I'll be using nema 23 and 17 motors connected to TB6600 motor drivers as well as limit switches and other components down the line. This will all be connected to a raspberry pi 4 and we want to use the linuxcnc to control the motors and send gcode onto them.

I wanted to know if I would I go about the configurations on my Raspberry pi4 and the components so that the software can recognize these and give them control. i searched that i need to configure or map the GPIO pins in the HAL? any responses would be greatly appreciated. Thanks!
22 Oct 2023 16:18

Installing troubles Rasberry Pi 4 model B 4 GB

Category: Installing LinuxCNC

i flashed the new version onto raspberry and also ran the menu-config tool where is selected a "local" en_US.UTF-8 now i am no longer getting the errors on PNCconf and can configure with it.

Thanks a million rodw

in case any other non linux people want to try, this is what i did to run it. Not sure if there is better way but seem to work for me...

#flash memory card
Download Raspberry PI Imager
Download Linux CNC-Raspberry Image drive.google.com/file/d/1IhrrdGRNvsdclVi...nUu/view?usp=sharing
On Raspberry Pi imager select operating system [other] – the downloaded linuxcnc image file ____.xz
Stick the card in raspberry and start it up

#log in with
User: cnc, Password: cnc

#Open terminal

#Configure WIFI and location/time stuff
sudo menu-config
- Connect to wifi network
- Change host name to cnc001
- local: en_US.UTF-8
- Quit

sudo nano /etc/hosts
- Change hostname to cnc001 [the pc name]
Save[write].Quit

hostnamectl [this check that hosname is updated]

#Run operating system updates
sudo apt update
Note: Do not run upgrade! >> sudo apt upgrade aparently will overwrite some cnc stuff.

#enable remote Desktop
sudo apt install xrdp
hostname -I [display host ip address]
#now you can use windows remote desktop to connect to raspberry]


#configure network wired lan address with static ip address
- still need to figure this out

run linux cnc stuff
- Pncconf
- ....
21 Oct 2023 08:53 - 21 Oct 2023 09:03

Installing troubles Rasberry Pi 4 model B 4 GB

Category: Installing LinuxCNC

Thanks rodw

The image from link burnet successfully using Raspberry pi imager 1.7.5 with zero issues.
On the imager select operating system “Other” and then selected the “rpi-4-debian-bookworm-6.1.54-rt15-arm64-ext4-2023-10-21-0424.img.xz” file.

I’m no Linux expert but on the bootup all the checks was green so that I guess is good
Found the Linux login in other thread User:cnc Password:cnc and log in successfully.
Ran hal/latency test successfully. PS was around max jitter [1ms] 50,000 [25ms] 227,000 until open browser it jumped to 1,800,000 [while it was opening the browser] but then even when watching youtube videos stayed around 1,000,000 + 25,000. New to linuxcnc so will google if that is good or not.
Running in terminal: cat/etc/os-release gives output: Name=Debian GNU/Linux 12 (Bookworm)

Was also able to successfully open the Pncconf tool, and select mesa 7i96s,
Can complete the forms but get error on the screen where you select stepper drivers and calculate sterpper scales.
PNCconfig encountered an error. The following information may be usefull in troubleshooting: ..... [screen shot attached]
“locale.Error: unsupported local setting. Not sure if this is a issue with the build, Pnconfig tool, or me not doing it correctly. 
21 Oct 2023 05:58

RPi4 with 7i96: LinuxCNC wont start

Category: Driver Boards

Incorrect network settings, this:
linuxcnc@raspberrypi:~/mesaflash $ ifconfig -a eth0: flags=4163 mtu 1500 inet 169.254.38.74
should be
linuxcnc@raspberrypi:~/mesaflash $ ifconfig -a eth0: flags=4163 mtu 1500 inet 10.10.10.11
Search for "network setup for mesa cards".
Also, do not use MesaFlash unless explicitly needing firmware flash or reading HMID info.
21 Oct 2023 04:27 - 21 Oct 2023 04:54

RPi4 with 7i96: LinuxCNC wont start

Category: Driver Boards

Hi Friends, 

I am having an issue getting LCNC to start on my new RPi4 with the mesa 7i96s.  I set the jumpers to W4 up and W5 down which should have set the ip to 10.10.10.10 (i think) and have the mesa card connected to a 5v PSU and the pi via ethernet. 

After running a basic setup through PNCconf Wizard I tried open LinuxCNC and get the below error (I will move to the pi and edit/reply to this post with exact output)

hm2_eth : ERROR: could not retrieve hardware address (MAC): of 10.10.10.10: Resources temporarily unavailable Below is the exact output copied and pasted:
Print file information: RUN_IN_PLACE=no LINUXCNC_DIR= LINUXCNC_BIN_DIR=/usr/bin LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc LINUXCNC_SCRIPT_DIR= LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.6 LINUXCNC - 2.9.0~pre0 Machine configuration directory is '/home/linuxcnc/linuxcnc/configs/WorkBeeCutter' Machine configuration file is 'WorkBeeCutter.ini' INIFILE=/home/linuxcnc/linuxcnc/configs/WorkBeeCutter/WorkBeeCutter.ini VERSION=1.1 PARAMETER_FILE=linuxcnc.var TPMOD= HOMEMOD= TASK=milltask HALUI=halui DISPLAY=gmoccapy COORDINATES=XYZ KINEMATICS=trivkins coordinates=XYZ Starting LinuxCNC... Starting LinuxCNC server program: linuxcncsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Starting LinuxCNC IO program: io Starting HAL User Interface program: halui linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod Found file(REL): ./WorkBeeCutter.hal Shutting down and cleaning up LinuxCNC... Running HAL shutdown script hm2: loading Mesa HostMot2 driver version 0.15 hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2 hm2_eth: ERROR: Could not retrieve hardware address (MAC) of 10.10.10.10: Resource temporarily unavailable hm2: unloading Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Debug file information: Note: Using POSIX realtime hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11) ./WorkBeeCutter.hal:9: waitpid failed /usr/bin/rtapi_app hm2_eth ./WorkBeeCutter.hal:9: /usr/bin/rtapi_app exited without becoming ready ./WorkBeeCutter.hal:9: insmod for hm2_eth failed, returned -1 11230 Stopping realtime threads Unloading hal components Note: Using POSIX realtime

Here's what i've tried:
I am able to ping 10.10.10.10 and get the following output, which tells me that the IP should be set correctly
--- 10.10.10.10 ping statistics --- 10 packets transmitted, 10 received, 0% packet loss, time 9015ms rtt min/avg/max/mdev = 16.609/22.012/57.478/11.908 ms

from other similar threads on here i also ran 
ifconfig -a

and got this output
linuxcnc@raspberrypi:~/mesaflash $ ifconfig -a eth0: flags=4163 mtu 1500 inet 169.254.38.74 netmask 255.255.0.0 broadcast 169.254.255.255 inet6 fe80::a998:e092:b503:7931 prefixlen 64 scopeid 0x20 ether d8:3a:dd:75:c3:aa txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 867 bytes 155099 (151.4 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 35 bytes 3266 (3.1 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 35 bytes 3266 (3.1 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0: flags=4163 mtu 1500 inet 192.168.0.60 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 2600:8800:520a:5b00:5a60:c90a:ef25:a812 prefixlen 64 scopeid 0x0 inet6 fe80::bb7:c629:94:de1c prefixlen 64 scopeid 0x20 ether d8:3a:dd:75:c3:ab txqueuelen 1000 (Ethernet) RX packets 43364 bytes 41763515 (39.8 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 28694 bytes 4055965 (3.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0



I saw an ip in there that i didn't recognize and tried to put that in my .hal file but to no avail. 

The next thing i tried was to use mesaflash and i got it all installed but wasn't able to find the device. 

I have a feeling its an easy fix but i am just a little over my ski's here. attached is my .hal file as well. (once i move to the pi)

also unsure if this is related but after running the pncconf wizard I have two folders that have the exact same files one is in the Linuxcnc folder(and based on the error logs it looks like thats the one its using) and the other on my desktop, am i good to delete the des ktop repository?
Any help is appreciated
James

File Attachment:

File Name: WorkBeeCutter.hal
File Size:10 KB
21 Oct 2023 00:57 - 21 Oct 2023 09:54

Installing troubles Rasberry Pi 4 model B 4 GB

Category: Installing LinuxCNC

Please try this version that runs Debian 12.2 and Linuxcnc 2.9
drive.google.com/file/d/1IhrrdGRNvsdclVi...nUu/view?usp=sharing
I just finished this this morning and It is the final version that will be uploaded to the Linuxcnc site for the Version 2.91 release that is pending.

Also note these comments I just made about it forum.linuxcnc.org/9-installing-linuxcnc...-400?start=10#283403




 
21 Oct 2023 00:49

Debian 12 - 2.10 master branch image for the Raspberry Pi 4b/400

Category: Installing LinuxCNC

Please download this version of the Rpi image 
drive.google.com/file/d/10lxh9Icf07pw9ki.../view?usp=share_link
This should be the final version that goes into the 2.9.1 release of linuxcnc
Because Andy has built the 2.9.1 debs, we use those instead of building from source and the image size has shrunk to 1.2 Gb!
New in this release are repositories for ethercat including the hal driver. 

To install ethercat and the hal driver (I hope):
sudo apt install ethercat-master libethercat-dev linuxcnc-ethercat
Then follow the sticky in the ethercat section to complete installation
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step

I'd love to hear feedback on the ethercat installation. I dopn't have a working pin anymore.

I can't include QTPYVCP repositories as they don't publish debs for the Raspberry Pi.
Displaying 691 - 705 out of 966 results.
Time to create page: 1.474 seconds
Powered by Kunena Forum