Advanced Search

Search Results (Searched for: raspberry)

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.
27 Feb 2024 09:23
Replied by rodw on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

There is a script mentioned on tthe qtplasmac docs page for installing QT. Maybe find it and give it a try
27 Feb 2024 06:39

Preparing native Raspberry Pi OS for LinuxCNC

Category: Installing LinuxCNC

I installed the kernel using packages & info here
github.com/kdoren/linux/wiki/Installatio...ge-(Raspberry-Pi-OS)

then I used the following to prevent the kernel being upgraded
sudo apt-mark hold linux-image
sudo apt-mark hold linux-headers

reboot
used this
www.linuxcnc.org/linuxcnc-install.sh

then installed linuxcnc-uspace-dev

Seemed to work fine
27 Feb 2024 00:52
Replied by cakeslob on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

you probably need to run the daemon before qt, its probably in start menu
26 Feb 2024 21:16

Preparing native Raspberry Pi OS for LinuxCNC

Category: Installing LinuxCNC

Thank you cornholio and rodw for your answers!
- About the SD Card and I decided to think that it was some troubles with SD partition and just taken another one, if it will be reproduced - I'll dig it deeper.

- I understand the idea of selecting kernel-and-patch consistency, in my actual test I try to take fresh kernel 6.1.77 and corresponding RT patch 77-rt24.

I also excited about the way of installing additional packages from standard Debian sources as well as from additional using userscripts.

rodw, I also would suggest a small fix to support the spaces in full name, otherwise someone will receive something like that (example for full name "Andrey CNC"):
+ adduser ago --gecos Andrey CNC --disabled-password
adduser: The user `ago' does not exist.

As I understand it is placed in two places:
* github.com/rodw-au/rpi-img-builder-lcnc/...ccount#L12C29-L12C36
* github.com/rodw-au/rpi-img-builder-lcnc/.../scripts/stage2#L112
(Not sure about the correct fix, I am not very experienced with bash yet. I tried to fix it with '${NAME}' but just received name ${NAME} :)
I am very excited to the way you did this image builder!

cornholio, you said that you did something similar to my experiment with the original Raspberry Pi OS image. I slightly confused with my tutorial at the early beginning of this thread. Nevertheless I did it once, I can not repeat it anymore... Not sure what the problem is, unfortunately screen shows very fast several red lines in the console during the boot and then I see the only black screen. Did you posted your steps somewhere? I I will be very pleased if you could briefly take a look at my solution and find problems there if any.
26 Feb 2024 13:10 - 26 Feb 2024 13:12

Config Help for RPI4 + SKR E3 mini V2 + Remora or similar

Category: Driver Boards

Hello  everyone,
I need your help with my setup. LinuxCNC is already running on my Raspberry Pi 4, and I’ve also installed Remora. Unfortunately, I can’t find any information for my SKR E3 Mini board on where to connect the 5 cables coming from the Raspberry Pi. Somehow, I need to establish communication between the SKR Mini and the Raspberry Pi. The connections on the Raspberry Pi are clear, but where do I connect them on the SKR Mini? When I look at the source code on GitHub for Remora, I only find one entry for the SPI interface, but that seems to be related to the SD card. I’ve downloaded the pre-compiled firmware from Remora’s GitHub repository. Do I need to compile my own firmware to configure the SPI pins on EXP1?


It would be nice if you could help me further.


 
26 Feb 2024 10:10

Preparing native Raspberry Pi OS for LinuxCNC

Category: Installing LinuxCNC

Any kernel parameters can be set here
github.com/rodw-au/rpi-img-builder-lcnc/...rscripts/uscripts#L6
Any kernel compile time settings can be set in menuconfig and then the  defconfig file can be saved for future compiles.
26 Feb 2024 10:06

Preparing native Raspberry Pi OS for LinuxCNC

Category: Installing LinuxCNC

I read what is reported in github.com/golyakoff/linux-info/blob/mai...aspberryOS/README.md.
My suggestion is to add (as reported here ubuntu.com/blog/industrial-embedded-systems-ii and here docs.ros.org/en/foxy/Tutorials/Miscellan...ernel-for-ROS-2.html)

Set CONFIG_HZ_1000 (note: this is no longer in the General Setup menu, go back twice)
-> Processor type and features
-> Timer frequency (1000 HZ)
(X) 1000 HZ

# Set CPU_FREQ_DEFAULT_GOV_PERFORMANCE [=y]
-> Power management and ACPI options
-> CPU Frequency scaling
-> CPU Frequency scaling (CPU_FREQ [=y])
-> Default CPUFreq governor (<choice> [=y])
(X) performance
26 Feb 2024 09:00

Preparing native Raspberry Pi OS for LinuxCNC

Category: Installing LinuxCNC

Is it a known working SD card at that capacity ?
A bit of searching for that particular error points to a file system error, you may have to run fsck on the SD card on a Linux system.
I doubt that it has anything to do with the size of the drive, more likely filesystem error on the SD card.
I do a google search for the text contained in the error.
26 Feb 2024 08:14

Preparing native Raspberry Pi OS for LinuxCNC

Category: Installing LinuxCNC

I suspect your SSD is too big given the bugs in the volume sizing upstream. They never imagined people would use large volumes or build images as big as we need. I have not merged upstream changes which might fix it. I will try and do that.

If you want to add extra packages, the best method I found was to use Debian PAckage search packages.debian.org/index to locate your exact package and then add to this line
github.com/rodw-au/rpi-img-builder-lcnc/...ata.txt#L24C1-L24C11

Anything else needs to be done in  userscripts
github.com/rodw-au/rpi-img-builder-lcnc/...userscripts/uscripts
There are several section in  this file called at different times  but most of it is done in  run_function2 when the chroot exists
Files can be copied out of the chroot in run_function3  but the file paths change.
 
Displaying 571 - 585 out of 953 results.
Time to create page: 0.689 seconds
Powered by Kunena Forum