Advanced Search

Search Results (Searched for: raspberry)

13 May 2023 20:08

Raspberry PI4, MESA 7I96S problems

Category: General LinuxCNC Questions

I was asking what the servo thread period was (it should be 1 ms or 2 ms for a RPI)
and also making sure that you had no base thread enabled
13 May 2023 17:26

Raspberry PI4, MESA 7I96S problems

Category: General LinuxCNC Questions

No. It's an 3 axis mini milling machine, with three steppers. I use step-dir interfaces.
13 May 2023 17:22

Raspberry PI4, MESA 7I96S problems

Category: General LinuxCNC Questions

Is this with a 1ms servo thread? (and no base thread)
13 May 2023 17:12

Raspberry PI4, MESA 7I96S problems

Category: General LinuxCNC Questions

Yes, linuxcnc is work fine. If I use it with simulation or directly on GPIO pins, everything is OK. The problems are only when I want to control the movement with the 7i96S. I tried creating the config files with PNCONF without starting the test. The config file is created and everything seems OK. Then LinuxCNC starts, I select the new configuration in the menu, then the whole system freezes (In this case, the RPI reacts to anything only after the power is turned off and on). If I choose the old GPIO configuration, it works, the milling machine works fine (except that it can be worked slowly due to speed problems)..
13 May 2023 16:47
13 May 2023 09:30

Raspberry PI4, MESA 7I96S problems

Category: General LinuxCNC Questions

I use LinuxCNC (version 2.8.4) on a Raspberry PI 4. I bought a MESA 7I96S card. When I try to configure the PNCCONF "Test/Tune Axis", the whole system stops (does not respond to anything). After that, the RPI must be turned off and on for it to work. I have set the IP addresses.

If I use Linuxcnc directly through the GPIO ports (on the same hardware), it works perfectly fine without the 7I96S. It runs the machine properly, only sometimes there are speed problems. That's why I bought the 7I96S, because I read that it eliminates these kinds of problems.

The mesaflash utility can communicate with the 7i96s.

The ping test also runs fine.

Does anyone have any advice on what I can do?

IP address of RPI: 192.168.3.80
IP address of MESA 7I96S: 192.168.3.81

Mesaflash readhmid: (extract)

root@raspberrypi:~# mesaflash --device 7I96S --addr 192.168.3.81 --readhmid
Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I96
  FPGA Size: 20 KGates
  FPGA Pins: 256
  Number of IO Ports: 3
  Width of one I/O port: 17
  Clock Low frequency: 100.0000 MHz
  Clock High frequency: 200.0000 MHz
  IDROM Type: 3
  Instance Stride 0: 4
  Instance Stride 1: 64
  Register Stride 0: 256
  Register Stride 1: 256

Modules in configuration:
...

Ping test from RPI to MESA 7I96S:

root@raspberrypi:~# ping 192.168.3.81
PING 192.168.3.81 (192.168.3.81) 56(84) bytes of data.
64 bytes from 192.168.3.81: icmp_seq=1 ttl=64 time=0.283 ms
64 bytes from 192.168.3.81: icmp_seq=2 ttl=64 time=0.181 ms
64 bytes from 192.168.3.81: icmp_seq=3 ttl=64 time=0.181 ms
64 bytes from 192.168.3.81: icmp_seq=4 ttl=64 time=0.190 ms
64 bytes from 192.168.3.81: icmp_seq=5 ttl=64 time=0.178 ms
64 bytes from 192.168.3.81: icmp_seq=6 ttl=64 time=0.173 ms
64 bytes from 192.168.3.81: icmp_seq=7 ttl=64 time=0.174 ms
^C
--- 192.168.3.81 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 226ms
rtt min/avg/max/mdev = 0.173/0.194/0.283/0.038 ms


Version info of my RPI:

root@raspberrypi:~# inxi -Fxz
System:    Host: raspberrypi Kernel: 4.19.71-rt24-v7l+ armv7l bits: 32 compiler: gcc v: 8.3.0
           Desktop: LXDE 0.10.0 Distro: Raspbian GNU/Linux 10 (buster)
Machine:   Type: ARM Device System: Raspberry Pi 4 Model B Rev 1.1 details: BCM2835 rev: b03111
           serial: <filter>
Argument "Raspberry Pi 4 Model B Rev 1.1" isn't numeric in sprintf at /usr/bin/inxi line 6969.
CPU:       Topology: Quad Core model: ARMv7 v7l variant: cortex-a72 bits: 32 type: MCP arch: v7l
           rev: 3
           features: Use -f option to see features bogomips: 1080
           Speed: 1500 MHz min/max: 600/1500 MHz Core speeds (MHz): 1: 1500 2: 1500 3: 1500
           4: 1500
Graphics:  Device-1: bcm2835-vc4 driver: vc4_drm v: N/A bus ID: N/A
           Device-2: bcm2835-hdmi driver: N/A bus ID: N/A
           Display: server: X.Org 1.20.4 driver: modesetting unloaded: fbdev
           resolution: 1024x768~60Hz
           OpenGL: renderer: V3D 4.2 v: 2.1 Mesa 19.3.2 direct render: Yes
Audio:     Device-1: bcm2835-audio driver: bcm2835_audio bus ID: N/A
           Device-2: bcm2835-hdmi driver: N/A bus ID: N/A
           Sound Server: ALSA v: k4.19.71-rt24-v7l+
Network:   Message: No ARM data found for this feature.
           IF-ID-1: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
           IF-ID-2: wlan0 state: down mac: <filter>
Drives:    Local Storage: total: 28.91 GiB used: 5.32 GiB (18.4%)
           ID-1: /dev/mmcblk0 model: Y032V size: 28.91 GiB
Partition: ID-1: / size: 28.15 GiB used: 5.28 GiB (18.8%) fs: ext4 dev: /dev/mmcblk0p2
           ID-2: /boot size: 252.0 MiB used: 43.3 MiB (17.2%) fs: vfat dev: /dev/mmcblk0p1
Sensors:   Message: No sensors data was found. Is sensors configured?
Info:      Processes: 190 Uptime: 20m Memory: 1.97 GiB used: 393.6 MiB (19.5%) gpu: 128.0 MiB
           Init: systemd runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3 inxi: 3.0.32

Memory:

root@raspberrypi:/home/pi# free -h
              total        used        free      shared  buff/cache   available
Mem:          1,8Gi       221Mi       1,2Gi        49Mi       421Mi       1,5Gi
Swap:          99Mi          0B        99Mi

 
11 May 2023 23:15 - 12 May 2023 00:05

Can the OPI5 be Configured to Run LCNC?

Category: Computers and OS's

OK. VFD with modbus.
www.amazon.com/Mollom-220V-2-2KW-3HP-Frequency/dp/B0BM5RRX9M

The last piece will be to get the signals from the OPI5 to the machines that it is controlling.  In order to reserve the ethernet interface for networking, would it be sufficient to add a voltage converter  and then a BoB .?
11 May 2023 00:05

Potential All-in-One Single Board Computers

Category: Computers and OS's

the only thing that is noob friendly and works is the raspberry pi with premade linuxcnc image. not exactly an all in one though. everything else is so fucking hard, all day, every day.
10 May 2023 21:08

The case for Debian Bookworm and the 6.1 kernel (including installation notes)

Category: Installing LinuxCNC

Also, some of my content could be migrated to the 2.9 docs. Maybe its called Intallation of linuxcnc from Debian repositories under installing Linuxcnc
This is good stuff Rod, thanks for helping our users in this way.  I agree, for new installs we should be directing people towards Bookworm and Preempt-RT.

I'd love to see a PR to update the Getting LinuxCNC document with this new info.  It's still full of old 2.8/Buster info...

Seb, I made a start on this in a new branch on my git
github.com/rodw-au/linuxcnc/blob/rodw-ge...etting-linuxcnc.adoc
Still a long way to go and I don't understand asciidoc at all.
Some things are formatted  correctly in the editor at www.tutorialspoint.com/online_asciidoc_editor.php but poorly on Github.

Do we need the section on Zsync? Surely nobody uses it in this unlimited bandwidth age.
Will the buildbot make RTAI images for Bookworm? If not I'd like to remove RTAI and precise sections and instead refer users to the 2.8 documentation.

The Raspberry Pi instructions need testing.  I don't have one available anymore.

Any suggestions and proposed changes are welcome!
​​​​
10 May 2023 08:03 - 10 May 2023 08:06
Replied by elovalvo on topic Raspberry Pi Zero W?

Raspberry Pi Zero W?

Category: Installing LinuxCNC

I've been searching around, but can't find an answer to the questions of "Will LinuxCNC work on a Raspberry Pi Zero W?" or "Can I drive a Mesa 7C81 board with LinuxCNC on a Raspberry Pi Zero?"

For background, I built a router with LinuxCNC years ago, and I just acquired a Bridgeport CNC mill this past weekend.  The drivers for the steppers on the BP are from "Ah-Ha", which went out of business about 20yrs ago.  So, I want to replace the steppers with modern hybrids, and get a compact electronics installation.  I have an Acorn controller board, but that would require a Windows PC out in the workshop.  OTOH, I've got the Pi Zero right here in hand, surplus from another project.  If it could drive the Mesa, I'd be halfway there.

LinuxCNC cannot be installed on Rasp Pi Zero
It only has 512 MB RAM
10 May 2023 06:38

Axis GUI - Activate Power-On with External Pushbutton

Category: HAL

RPi 4/B, 7i96, and Debian/Raspberry 2.8.4 iso with Axis Gui.
PncConf only used so far.

Just starting into Hal.
E-Stop built-in works quite well, but I would like a slight variation.

The E-Stop PB is hardwired to de-activate stepper supply, and I/P to LCNC to de-activate it.
Machine enabled is wired to reset the power supply to the steppers.

Recovery is to reset the E-Stop PB and select Power-On on the Axis Gui, and as expected, back to a running machine.

But, my control station has a PB labelled "E-Stop Reset" that was meant to achieve the same recovery action.

If I delve into the Axis/Hal documentation, can I expect to find a way to link the E-Stop Reset PB to the Power-On box on the Axis Gui ?

I have started reviewing the available Hal Documentation, and I am at a loss on where to start.
Could someone give me a hint and a nudge towards where to look  ?
 
09 May 2023 15:16
Replied by echristley on topic Raspberry Pi Zero W?

Raspberry Pi Zero W?

Category: Installing LinuxCNC

Excellent idea.
Thank you.
09 May 2023 07:38
Replied by tommylight on topic Raspberry Pi Zero W?

Raspberry Pi Zero W?

Category: Installing LinuxCNC

Probably not.
That is just a guess from what i read.
Try running the ready made image in the download section.
09 May 2023 03:18

Raspberry Pi Zero W?

Category: Installing LinuxCNC

I've been searching around, but can't find an answer to the questions of "Will LinuxCNC work on a Raspberry Pi Zero W?" or "Can I drive a Mesa 7C81 board with LinuxCNC on a Raspberry Pi Zero?"

For background, I built a router with LinuxCNC years ago, and I just acquired a Bridgeport CNC mill this past weekend.  The drivers for the steppers on the BP are from "Ah-Ha", which went out of business about 20yrs ago.  So, I want to replace the steppers with modern hybrids, and get a compact electronics installation.  I have an Acorn controller board, but that would require a Windows PC out in the workshop.  OTOH, I've got the Pi Zero right here in hand, surplus from another project.  If it could drive the Mesa, I'd be halfway there.
Displaying 961 - 974 out of 974 results.
Time to create page: 1.771 seconds
Powered by Kunena Forum