Advanced Search

Search Results (Searched for: raspberry)

09 Apr 2024 10:54

Unable to set boot order on Raspberry PI5 with pcie NVMe on HAT.

Category: Computers and OS's

yeah there's a bit missing from the image, that makes life easier.
I found the easiest route was install the RasPiOS image, change from wayland to X via raspiconfig.
Then install the RT kernel & Linuxcnc.

One of the RPi5 threads has the info to do this.

There's an update version here github.com/raspberrypi/rpi-eeprom/blob/master/rpi-eeprom-config
09 Apr 2024 10:25

Unable to set boot order on Raspberry PI5 with pcie NVMe on HAT.

Category: Computers and OS's

I've installed the rpi-5-debian-bookworm-6.1.61-rt15-arm64-ext4-2023-11-17-1520.img to the drive, and can see it under lsblk.
PI is booted from the same OS on SD card.
To change the boot order, I believe I need to edit the BOOT_ORDER=0xf416 entry
sudo rpi-eeprom-config  --edit  however fails with:-
ERROR: --edit/--apply must run on Raspberry Pi4
sudo rpi-eeprom-update -a   
Message is :- This tool only works on Raspberry Pi4
Is there another way to change the boot order?


 
09 Apr 2024 07:04 - 09 Apr 2024 07:22

Low Cost Raspberry Pi Contoller Board

Category: Driver Boards


Normally i would ask "where is the price", but given the current state of RPI exorbitant prices, i am skipping it for the foreseeable future. :
This is the current actual pricing here, see if you can spot a glaring issue:



The prices of that supplier are exaggerated.
This is the site of a distributor in Italy  (www.melopero.com/shop/raspberry-pi/raspberry-pi-5-8gb/)

 
09 Apr 2024 03:22

Low Cost Raspberry Pi Contoller Board

Category: Driver Boards

dont worry tommy, you can use ethernet also
09 Apr 2024 03:06

Low Cost Raspberry Pi Contoller Board

Category: Driver Boards

Tommy I can actually believe that, but those prices look really high for both models. The RPi5 "broke" a lot of what works with the RPi4, especially if you want to play with gpios.
09 Apr 2024 01:54

Low Cost Raspberry Pi Contoller Board

Category: Driver Boards


github.com/cakeslob/RRW_LAB

Normally i would ask "where is the price", but given the current state of RPI exorbitant prices, i am skipping it for the foreseeable future. :)
This is the current actual pricing here, see if you can spot a glaring issue:
08 Apr 2024 23:54

Low Cost Raspberry Pi Contoller Board

Category: Driver Boards

ok cool, if its RC servos, check out remora

github.com/scottalford75/Remora

remora-docs.readthedocs.io/en/latest/

and since im here, shameless self plug for an ultra low cost educational cnc controller

github.com/cakeslob/RRW_LAB
08 Apr 2024 21:28
Replied by Krister on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Hi I have make two linuxcnc on raspberry pi 5 both on a HAT from bot 2 byte page byte2bot.com/products/parallel-port-raspberry-pi-hat and the mill setup is working fine and the other is a lathe setup , the lathe setup is working but I dont understand why I cant get the spindle indexing work in labour ,i dont understand the behavior of that part in the Hal file and why it dont show upp in the Hal test window as working  

File Attachment:

File Name: My-lathe-KT.zip
File Size:7 KB
 

File Attachment:

File Name: My-Mill.zip
File Size:7 KB
I hope som helpfull can help me with this matter
Sinserly Krister
 
08 Apr 2024 16:18

Low Cost Raspberry Pi Contoller Board

Category: Driver Boards

Hi means an output for RC-Servos

Yes, exactly, a three wire RC servo to control the gripper.  I overlooked how to control this pseudo axis.
08 Apr 2024 14:51 - 09 Apr 2024 01:24

rpi-4-debian-bookworm-6.1.54-rt15-arm64-ext4-2023-11-17-1731.img - TigerVNC?

Category: Installing LinuxCNC

Good day.  Installed tigervnc-standalone-server on title iso.  Lots of examples of how to install it, tried all, none worked.  Big issue here is the vncserver will not start.  Unsure if this is due to the windowing system or what.  Could get the server to start against /usr/bin/xfce-terminal, but viewer couldn't connect to it.

Has anyone gotten any remote-control software to work on this Debian Bookworm (aarch64) release?

Edit1: after booting the system today, the display goes black right when the logon prompt would appear.  Can SSH into it, and lo and behold, tigervncserver just worked!  Could remotely view it just fine.  However, no local display.  So reloading the .iso and trying again.

Edit 2: after retry, can confirm that vncserver will work, but only for root.  Here is as far as I've gotten:
sudo apt update  # note, have NOT updated any packages yet!
sudo apt install ssh tigervnc-standalone-server
vncpasswd  # this is for the cnc account only
sudo vncpasswd  # apparently this will allow root to login as well
vncserver -localhost no  # does not work, our cnc user
sudo vncserver -localhost no  # no error, but note this is root!
# try remotely connecting to the machine's IPaddress:5901

This was the bare minimum to get any sort of VNC connection to stay running.  Of course, not done yet, as the client window displays a big, fat Unable to contact settings server. Failed to execute child process "dbus-launch" (No such file or directory.)

Checking, package dbus-user-session is installed, but not dbus-x11.  Installed the latter, tried VNC again, and BAM, works!  Except that the root account is served.  Attempting (non-root) vncserver -localhost no gives the following:
cnc@raspberrypi:~$ vncserver -localhost no

New Xtigervnc server 'raspberrypi:1 (cnc)' on port 5901 for display :1.
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /tmp/tigervnc.xtgF1d/passwd raspberrypi:1 to connect to the VNC server.


=================== tail /home/cnc/.vnc/raspberrypi:1.log ===================
[mi] mieq: warning: overriding existing handler (nil) with 0x557683ad10 for event 2
[mi] mieq: warning: overriding existing handler (nil) with 0x557683ad10 for event 3
X connection to :1 broken (explicit kill or server shutdown).

Mon Apr  8 20:35:30 2024
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:nan ratio)
Killing Xtigervnc process ID 5967... success!
=============================================================================

Session startup via '/etc/X11/Xtigervnc-session' cleanly exited too early (< 3 seconds)!

Maybe try something simple first, e.g.,
    tigervncserver -xstartup /usr/bin/xterm
The X session cleanly exited!
The Xtigervnc server cleanly exited!

Any ideas why the sudoed command would work, while the non-sudoed does not?

Here is the journalctl of a working (root) tigervnc startup:
Apr 08 21:14:05 raspberrypi sudo[6345]: pam_unix(sudo:session): session closed for user root
Apr 08 21:14:11 raspberrypi sudo[6354]: cnc : TTY=pts/1 ; PWD=/home/cnc/.vnc ; USER=root ; COMMAND=/usr/bin/vncserver -localhost no
Apr 08 21:14:11 raspberrypi sudo[6354]: pam_unix(sudo:session): session opened for user root(uid=0) by cnc(uid=1000)
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=0 pid=6437 comm="systemctl --user list-jobs")
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.a11y.Bus' requested by ':1.3' (uid=0 pid=6371 comm="xfce4-session")
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'org.a11y.Bus'
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.xfce.Xfconf' requested by ':1.5' (uid=0 pid=6371 comm="xfce4-session")
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'org.xfce.Xfconf'
Apr 08 21:14:12 raspberrypi org.a11y.Bus[6446]: dbus-daemon[6446]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=0 pid=6371 comm="xfce4-session")
Apr 08 21:14:12 raspberrypi org.a11y.Bus[6446]: dbus-daemon[6446]: Successfully activated service 'org.a11y.atspi.Registry'
Apr 08 21:14:12 raspberrypi org.a11y.Bus[6455]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.gtk.vfs.Daemon' requested by ':1.8' (uid=0 pid=6467 comm="xfwm4")
Apr 08 21:14:12 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'org.gtk.vfs.Daemon'
Apr 08 21:14:14 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.freedesktop.thumbnails.Thumbnailer1' requested by ':1.13' (uid=0 pid=6503 comm="xfdesktop")
Apr 08 21:14:14 raspberrypi sudo[6354]: pam_unix(sudo:session): session closed for user root
Apr 08 21:14:14 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='ca.desrt.dconf' requested by ':1.17' (uid=0 pid=6526 comm="light-locker")
Apr 08 21:14:14 raspberrypi polkitd[464]: Registered Authentication Agent for unix-session:4 (system bus name :1.99 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Apr 08 21:14:14 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'ca.desrt.dconf'
Apr 08 21:14:15 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.gtk.vfs.UDisks2VolumeMonitor' requested by ':1.22' (uid=0 pid=6509 comm="/usr/lib/aarch64-linux-gnu/tumbler-1/tumblerd")
Apr 08 21:14:15 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
Apr 08 21:14:15 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
Apr 08 21:14:15 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Activating service name='org.gtk.vfs.Metadata' requested by ':1.13' (uid=0 pid=6503 comm="xfdesktop")
Apr 08 21:14:15 raspberrypi dbus-daemon[6416]: [session uid=0 pid=6414] Successfully activated service 'org.gtk.vfs.Metadata'

And a non-working (cnc) tigervnc startup:
Apr 08 21:04:21 raspberrypi dbus-daemon[1327]: [session uid=1000 pid=1327] Activating service name='org.xfce.Xfconf' requested by ':1.150' (uid=1000 pid=6253 comm="xfce4-session")
Apr 08 21:04:21 raspberrypi dbus-daemon[1327]: [session uid=1000 pid=1327] Successfully activated service 'org.xfce.Xfconf'
Apr 08 21:04:21 raspberrypi systemd[1306]: Started gpg-agent.service - GnuPG cryptographic agent and passphrase cache.
Apr 08 21:04:21 raspberrypi gpg-agent[6323]: gpg-agent (GnuPG) 2.2.40 starting in supervised mode.
Apr 08 21:04:21 raspberrypi gpg-agent[6323]: using fd 3 for browser socket (/run/user/1000/gnupg/S.gpg-agent.browser)
Apr 08 21:04:21 raspberrypi gpg-agent[6323]: using fd 4 for std socket (/run/user/1000/gnupg/S.gpg-agent)
Apr 08 21:04:21 raspberrypi gpg-agent[6323]: using fd 5 for extra socket (/run/user/1000/gnupg/S.gpg-agent.extra)
Apr 08 21:04:21 raspberrypi gpg-agent[6323]: using fd 6 for ssh socket (/run/user/1000/gnupg/S.gpg-agent.ssh)
Apr 08 21:04:21 raspberrypi gpg-agent[6323]: listening on: std=4 extra=5 browser=3 ssh=6
Apr 08 21:04:21 raspberrypi systemd[1306]: Started gpg-agent.service - GnuPG cryptographic agent and passphrase cache.
Apr 08 21:04:21 raspberrypi gpg-agent[6326]: gpg-agent (GnuPG) 2.2.40 starting in supervised mode.
Apr 08 21:04:21 raspberrypi gpg-agent[6326]: using fd 3 for browser socket (/run/user/1000/gnupg/S.gpg-agent.browser)
Apr 08 21:04:21 raspberrypi gpg-agent[6326]: using fd 4 for std socket (/run/user/1000/gnupg/S.gpg-agent)
Apr 08 21:04:21 raspberrypi gpg-agent[6326]: using fd 5 for extra socket (/run/user/1000/gnupg/S.gpg-agent.extra)
Apr 08 21:04:21 raspberrypi gpg-agent[6326]: using fd 6 for ssh socket (/run/user/1000/gnupg/S.gpg-agent.ssh)
Apr 08 21:04:21 raspberrypi gpg-agent[6326]: listening on: std=4 extra=5 browser=3 ssh=6
08 Apr 2024 13:41
Replied by rdtsc on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

...For my final design, I will add a 4,700 or 10,000 uF/ 6.3 V (or 10V or 16V) electrolytic across the 5 V rail (close to the Pi power input) because I have noticed that plugging in the Mesa card causes the Pi to reboot. The Pi evidently has very little on board power supply capacitance.
 

Just be careful not to exceed any "maximum load capacitance" of the supply.  All switching supplies will oscillate (or worse) if loaded with too much capacitance.  Sometimes this limit is mentioned in their datasheet, sometimes not.  If you can access an oscilloscope, 'scope the power to ensure there isn't any ringing or other oddness happening (this can be in the MHz range, completely invisible to multimeters.)
08 Apr 2024 08:23

Low Cost Raspberry Pi Contoller Board

Category: Driver Boards

Hi means an output for RC-Servos
08 Apr 2024 04:09
08 Apr 2024 00:58

Low Cost Raspberry Pi Contoller Board

Category: Driver Boards

RPi4 can do ethernet, gpio & SPI

RPI5 can do ethernet, maybe able to do gpio can't do SPI (no idea if or when that will happen)

You would have to check availability of 7i90, 7c80 & 7c81 for RPI4 Spi at Mesa.

I've been experimenting with some FPGA dev boards I've bought from Aliexpress that run 7c81 firmware, & a customised firmware.

Here's an example of what I've done.
forum.linuxcnc.org/show-your-stuff/51142...pga-card-9d60#289226

There's also a couple of projects such as:
github.com/multigcs/LinuxCNC-RIO SPI or Ethernet
github.com/sensille/litehm2

I don't know if the Remora project has the IO you need.

Bit of a warning tho, litehm2 requires some modding of the board.
LinuxcncRIO requires the building of external board to get 3.3v to 5v translation.
My own project requires that as well, but has been designed to work with standard parallel port Bob and mesa DB25 daughter boards & smart serial, tho does require a RS-422 board, cheap as chips from Aliexpress.
At the end of the day the "roll your own boards" can get close to the cost of a genuine Mesa board.
If the 7i90 were available I'd go that way, about the cheapest Mesa board you can get & has 72 IO only "issue" is that the IO connector is not DB25 compatible but I think there is an adapter available, 7c81 would be next as it makes a compact unit with the RPi4, but requires a breakout board between it and you hardware.

At the end of the day it really pays to work out the cost of the board itself & any any items needed to connect to your electronics, sometimes what does look expensive turns out to be cheaper in the long run.
07 Apr 2024 23:20

Low Cost Raspberry Pi Contoller Board

Category: Driver Boards

I'm running a 7i96e Mesa card on my CNC router and am very happy with it.  But I'm thing it is over kill and lacks a channel.

For a hobby/educational project I need 5 stepper channels and a servo channel.  I was thinking of using a Raspberry Pi 4 or 5.

What would be the cheapest option for a LinucCNC compatible card driven off a Pi?  What are the options today?
Displaying 106 - 120 out of 974 results.
Time to create page: 0.679 seconds
Powered by Kunena Forum