Advanced Search

Search Results (Searched for: raspberry pi 3)

01 Mar 2024 22:03

Notes from installation of ethercat on Raspberry Pi 4

Category: EtherCAT

Sorry, newbie, but there is one question from the experience of forum members, because time has passed, and experience is power.
Is the Raspberry Pi4 network controller with Ethercat stable?
If so, on which versions of Linuxcnc and on which Linux kernel?
Thank you all for your responses and feedback.
01 Mar 2024 21:54

Trying to install LinuxCNC on Raspberry Pi Zero 2 W

Category: Installing LinuxCNC

Here is how to do this on the Raspberry Pi,
docs.google.com/document/d/1S0K-UBlXnsYC...b_0/edit?usp=sharing
BUt to install linuxcnc, try the script I mentioned first.
 
01 Mar 2024 21:51

Trying to install LinuxCNC on Raspberry Pi Zero 2 W

Category: Installing LinuxCNC

Sometimes you need to google a bit to find what package to install
Debian 11 support was not great.
A alternative might be to use a Debian Bookworm image instead of the pi raspi.debian.net/tested-images/
They appear to have one for your hardware. You can also look at the daily images if you know what one to use.
You will also need to create a user as it just gives you a root user, then add it to the sudoers group.
the PREEMPT_RT kernel should be able to be installed from the debian repositories
You can install a gui  while logged in as the root user with
apt install tasksel
tasksel

then select the XFCE desktop.

If you look at the 2.9 getting linuxcnc doc, there is a script which will install linuxcnc for you without building from source. It may work for you but not sure if you are going to end up with 32 bit or 64 bit.
01 Mar 2024 16:16

Trying to install LinuxCNC on Raspberry Pi Zero 2 W

Category: Installing LinuxCNC

Yes, I have already attempted this operation, but unfortunately, it didn't work. I also tried "sudo apt-get install lxml" based on some online suggestions. It showed that I have already installed this package under Python 3, but it seems that what is needed now is lxml for Python 2, which is causing me quite a headache.

Additionally, I can install the dh-python package, but it brings up another issue: "The following packages have unmet dependencies: dh-python : Breaks: python E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages." This results in two other dependencies, python and python-dev, being unable to be detected.
01 Mar 2024 15:47

Trying to install LinuxCNC on Raspberry Pi Zero 2 W

Category: Installing LinuxCNC

Did you do
sudo apt update
Before trying to install missing packages?
01 Mar 2024 15:36

Trying to install LinuxCNC on Raspberry Pi Zero 2 W

Category: Installing LinuxCNC

I hope this message finds you well. I am currently trying to install LinuxCNC on a Raspberry Pi Zero 2 W for a course requirement. Unfortunately, most of the installation guides I have found online are outdated.The Raspberry Pi's current system version is Debian 11 Bullseye. I have successfully applied real-time patches to the Raspberry Pi, and the system version is as follows:
Linux raspberrypi 6.1.74-rt13-v7 #1 SMP PREEMPT_RT Thu Feb 29 16:17:14 CST 2024 armv7l GNU/Linux.My main issue arises when following the official LinuxCNC build instructions. When I use dpkg-checkbuilddeps, it prompts me with the following error: "dpkg-checkbuilddeps: error: Unmet build dependencies: dh-python python-lxml." However, when I try to install these two packages, I receive an error indicating that the packages cannot be located. I have tried several methods to resolve this issue but have been unsuccessful.I would greatly appreciate any assistance or guidance you can provide on how to resolve this issue. Thank you very much for your time and support.Best regards
01 Mar 2024 13:12
Replied by zarfld on topic Pokeys

Pokeys

Category: HAL

I can't help you with as I don't have the hardware. But I can put you on the right track!.
Homing is managed in Linuxcnc by homing.c
github.com/LinuxCNC/linuxcnc/blob/master.../emc/motion/homing.c

Master branch has recently released the homecomp.comp compoonent
linuxcnc.org/docs/devel/html/man/man9/homecomp.9.html
and the source file here github.com/LinuxCNC/linuxcnc/blob/master...onents/homecomp.comp
The purpose of homecomp is to give a method to override homing.c behaviour to build a custom homing behaivour

You should also look at Domminic Braun's ethercat cia402.comp and supporting hal file github.com/dbraun1981/hal-cia402
which predates homecomp and also attempts to deal with hardware which homes externally. He also deals with the conversion of motion units between Linuxcnc and external hardware. Look at how he uses read and write functions. This might be able to be done in halcomp as there are procedures that read all pins and writes all pins.
Your homecomp needs to be able to deal with following errors that will ocur when the extenral drives move without lcnc's knowledge. This can be done by equating the feedback position with current position during external homing.
There are a large number of homing states that can be skipped or ignored when external homing is done so you homecomp basically just needs to initiate homing and wait intil homing is completed ,Tell Linuxcnc you are homed, and then let Linuxcnc continue on.

God luck with this, its complex because in a homecomp, you need to deal with all joints at a time where a component like cia402.comp has a seperate instance of the component for each drive being homed...
 
 



some time left after that - but i continued working on that. firs a short update on current status:

-> for homing 2.9+ is necessary (took some time that i recognized that i was still on 2.8. on my raspberry)
-> on my Raspberry the user COMP does not work on 2.9.2 (first i tried the bookworm image of dec23, and also tried to run on Buster with manual install based on instruction and froum thread)
-> anyway my pokeys.comp seems to work fine on a laptop using the "linuxcnc_2.9.2-amd64.hybrid.iso"
-< for the problems due to not yet created pins when halfile tries to write on them, i created two dummy components that add some millisecond delay during loading of Hal (e.g. loadusr -W start_delay_5000), these use the extra_setup option during start to wait for 5000 ms or 3000 ms.

i created a first version of pokeys_homecomp.comp. As pokeys.comp itself is userspace and the homecomp is RT, as a first step the homecomp is a dummy, which receives the hal-commands and routes it to the pokeys.comp using pins and signals.
-> it seems to compile fine BUT when i try to load that in [EMCMOT]HOMEMOD=pokeys_homecomp i get a cyclic errors like "USRMOT: ERROR: command timeout", so i added some debugmessages in hope that it helps to find out which function is causing that.
-> so far no idea yet.

on a second path i try to get that poKeysLib usable in a RT. Currently it compiles and EMC was starting but it did not show up in HALMonitor. But since i added references & calls for PokeysLib i get a "undefined symbols" when i try to start a hal that contains that comp.
-> here i assume that pokeyslib is not yet ready to run on RT (i assume because lubusb1.0) so i started to create a copy of that H file which excludes that (using the #undef POKEYSLIB_USE_LIBUSB), but it seems that there's more work on that to do.
01 Mar 2024 08:02

Preparing native Raspberry Pi OS for LinuxCNC

Category: Installing LinuxCNC

You would be better off looking for debian packaged VNC software here packages.debian.org/index
It will tell you if there are ARM64 packages but the way debian works, it builds for all platforms 
01 Mar 2024 00:04

Preparing native Raspberry Pi OS for LinuxCNC

Category: Installing LinuxCNC

Rods tool chain creates a Debian based image, not a Raspberry Pi OS based image. Whilst the are similar there are some differences, you lose some of the customizations that Raspberry Pi Foundation has.
On my Raspberry Pi based image I used this tutorial:
pimylifeup.com/raspberry-pi-vnc-server/

Can't remember if I checked latency, if I did it doesn't stick in my mind there were any latency issues. One thing I forgot to add is I changed from the wayland backend to the X11 backend using raspi-config. The X11 layer in wayland was very very slow in some of the tests I tried.
29 Feb 2024 22:55

Preparing native Raspberry Pi OS for LinuxCNC

Category: Installing LinuxCNC

just a brief status of my experiments...

I spent several days trying to setup the feasible VNC server on the Debian 12 LinuxCNC image but unfortunately looks like I can't. The only successful result was reached with x11vnc, but jitter grew up to ~280 μs (280,000 ns) just after I run x11vnc process (even with no connections).

I also tried to install there wayvnc like on raspberry OS, but debian sources contains too old version 0.5xx. On raspberry it is 0.8xx RC and several days ago they released regular 0.8. But I didn't understand how to resolve the dependency hell with all the required packages...

Will try to use Rod's toolchain to prepare the image based on the Raspberry Pi OS — I'm really loved in the way how can I customize all the required packages and appearance before the image has been flashed.

If someone resolved the lightsweight enough VNC server on Debian, I would be pleased to take a look. Thanks,
29 Feb 2024 21:43
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

1, You can wire the drives with either
common ground:
= drive step-/dir- --> GND,  BOB step/dir --> drive step+,dir+
or common +5V:
= drive step+,dir+ --> 5V, BOB step/dir --> drive step-,dir-

If you use common 5V, you must invert the step outputs
as they are now active low

Typically you would not use an axis for the spindle


 
29 Feb 2024 21:22

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

Regarding the Sain Smart 5-Axis CNC Break Out Boards (ST-V3)  and lathe spindle, is the A axis used for the spindle?  Or is that somehow configured in LinuxCNC?
29 Feb 2024 21:20

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

I have received the two Sain Smart 5-Axis CNC Break Out Boards (ST-V3) which connected easily to the Mesa 7C81. 

When I connect these BOBs to the StepperOnline DM542T drivers, it seems that the common connection is +5V, not GND.  Does it seem right that it would be connected this way?

BOB                    DM542T
+5V                      PULse +
                             ENAble +
                             DIRection +

ENable                ENAble -

DIRection           DIRection -

STEP                    PULse -
27 Feb 2024 17:03
Replied by NT4Boy on topic Hurco KMB-1 Retrofit options

Hurco KMB-1 Retrofit options

Category: Milling Machines

I'm another with a KMB-I. Mine is 1981 B control, and is fully functional as is. Pretty much original. Parajust VFD, ServoMate ±12V signal Servo boards and has the same Electro-craft 90volt brushed motors with built in tachos and Litton 200 cpr quadrature encoders almost as described here. forum.linuxcnc.org/12-milling/39662-hurc...s-cnc-update?start=0  It has the Bristol Erickson quick change #30 spindle. Oh yes, I do also have Buddy Maughon's tape emulator. It had stood unused in a private workshop from 2001 to 2021. Had to replace a variety of electronic pieces in the control and parajust to get it to start and run, six month entertainment, prodding with a scope and voltmeter, but worth is as only run for 1938 hours, so straight and true. Oiler, spindle, brake safety pressure switch coolant systems, flood and mist etc all in good order.

My requirement is 'only' that I want to be able to send it some G-code so I can machine some weird 3D shapes.
So, I'd like to be able to swap to a Linuxcnc front end, but in a way I could perhaps swap back to the conversational system I have come to admire and like. I guess in one dream, maybe a Hurco conversational front end could be built for linuxcnc...
Yes, I know the obvious solution would be a B to BX controller upgrade. Would I think do all I need, but the current price is so much more than what I paid for the whole machine, I'm having a hard time justifying that kind of expenditure.

So, I've a running linuxcnc 2.9.2 app as well as mesact installed on a Raspberry PI-5 and a 7i95T ethernet on order from JT, too many axes I know, I am also aware the the three shaft encoders will need more pulses, and can handle that as have already fitted one USdigital item to deal with the Y encoder that had a chip out of the glass scale and several lines missing. The USD part needed a mounting base making, but otherwise worked straight out of the box. 
But then I kind of missed the point with all the daughter board options, and I would appreciate some clear sighted and informed opinions on which ones I really need to make this dream a possibility. 7i77 or 7i83 for instance might be ok for the servos, but then they've 10V versus 12V output that the ServoMate is expecting. Secondly I probably also need maybe a 7i73 to interface with any jog generator and buttons on the panel.

Apologies for writing so much, but I'm hoping that the detail will be helpful to someone some day.

Fingers crossed.
27 Feb 2024 09:31

Preparing native Raspberry Pi OS for LinuxCNC

Category: Installing LinuxCNC

If you type sudo menu-config, you should be able to edit your username and password and other settings in a graphical environment. Refer the screen dump in the read.me on my repo.
Displaying 556 - 570 out of 945 results.
Time to create page: 0.807 seconds
Powered by Kunena Forum