Advanced Search

Search Results (Searched for: raspberry pi 3)

  • 109jb
  • 109jb
07 Mar 2025 18:00
Replied by 109jb on topic Lathe spindle index only?

Lathe spindle index only?

Category: Basic Configuration

Thanks again. Initially I plan to do this using a Raspberry Pi using software stepping through GPIO, so I am a bit concerned about the Pi being able to keep up with encoder pulses. If it doesn't work on just the Pi, I will get a 7C81 Mesa board for it, but want to try using just the Pi first.

I don't ever see needing to use the spindle as a dividing head. I have a 4th axis on my mill if I need that, so I think two encoders, one for index and one for pulses would work okay for what I need. We will see.

Looking at your picture, that is almost exactly what I was picturing for the slot sensor mounting. I may try a 3d printed slot wheel. We'll see if it flys apart, but I generally don't run too high speeds and think it will be fine. I'll print it at 100% infill and make an aluminum hub to sanwich behind the pulley.

What brought this about is that the threading nut setup on the lathe broke last time I needed to thread a part and I figured it was time to convert to CNC. I plan to include 2 MPG handwheels mounted on the carriage so that I can mimick a manual machine for times when I just want to do simple turning. I have that worked out on the Pi already. I use a handheld wireless MPG on my mill but am thinking about adding 3 handweels and eliminating the wireless MPG. I've had a few loss of connection issues with it in the past.

This is a long term project so things won't happen too fast. I have access to a friends 13" Clausing lathe if I need one and he is only about 3minutes away. I have another big project I'm working on and this one is a fill in for times when I need a break from that one. Thinking about the basic X-Z conversion, the Z axis looks like a piece of cake, and if that 12mm ballscrew I got fits, the X axis cross slide won't be too bad either.

Thanks again.
  • unknown
  • unknown
06 Mar 2025 01:21 - 06 Mar 2025 01:23

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Simple Mesa Setup



Thanks to PWC

You definitely do not want DHCP and you do
need to set a static address.

You might try this:
auto eth0
iface eth0 inet static
address 10.10.10.100
netmask 255.255.255.0

DO NOT set a gateway or nameservers
  • Tim1
  • Tim1
05 Mar 2025 22:43

LinuxCNC using Ethercat on Raspberry Pi5 controlling Stepperonline A6 Servo

Category: EtherCAT

I checked that thread and I haven't seen anything to address the Sync manager Watchdog.
  • rodw
  • rodw's Avatar
05 Mar 2025 21:05

Built In Wifi Not Working Raspberry Pi 5 and 2.9.4

Category: General LinuxCNC Questions

to set up, first connect the Ethernet to your router and let it get an IP address via DHCP
To set up wifi, follow the instructions on the downloads page.
Now you have it working if you need to set up for a Mesa card, follow the instructions
linuxcnc.org/docs/stable/html/man/man9/hm2_eth.9.html
  • Tim1
  • Tim1
05 Mar 2025 19:54

LinuxCNC using Ethercat on Raspberry Pi5 controlling Stepperonline A6 Servo

Category: EtherCAT

Hi I can't get the servo drive from SAFEOP to OP mode due "EtherCAT ERROR 0-0: AL status message 0x001B: "Sync manager watchdog""

cnc@raspberrypi:~$ sudo ethercat state INIT
cnc@raspberrypi:~$ sudo ethercat state PREOP
cnc@raspberrypi:~$ sudo ethercat state SAFEOP
cnc@raspberrypi:~$ sudo ethercat state OP
cnc@raspberrypi:~$ sudo ethercat slaves -v
=== Master 0, Slave 0 ===
Device: Main
State: SAFEOP
Flag: +
Identity:
  Vendor Id:       0x00400000
  Product code:    0x00000760
  Revision number: 0x00005608
  Serial number:   0x00000000
DL information:
  FMMU bit operation: no
  Distributed clocks: yes, 64 bit
  DC system time transmission delay: 0 ns
Port  Type  Link  Loop    Signal  NextSlave  RxTime [ns]  Diff [ns]   NextDc [ns]
   0  MII   up    open    yes             -   3079639242           0           0
   1  MII   down  closed  no              -            -           -           -
   2  N/A   down  closed  no              -            -           -           -
   3  N/A   down  closed  no              -            -           -           -
Mailboxes:
  Bootstrap RX: 0x0000/0, TX: 0x0000/0
  Standard  RX: 0x1000/256, TX: 0x1400/256
  Supported protocols: CoE, FoE
General:
  Group: AC Servo Driver
  Image name: 
  Order number: ANCTL AS760N Servo Driver
  Device name: AS760N_sAxis_V0.10
  CoE details:
    Enable SDO: yes
    Enable SDO Info: no
    Enable PDO Assign: yes
    Enable PDO Configuration: yes
    Enable Upload at startup: no
    Enable SDO complete access: no
  Flags:
    Enable SafeOp: no
    Enable notLRW: no
  Current consumption: 0 mA


cnc@raspberrypi:~$ dmesg | tail -20
[ 9664.358899] EtherCAT ERROR 0-0: SDO download 0x1C32:01 (2 bytes) aborted.
[ 9664.358905] EtherCAT ERROR 0-0: SDO abort message 0x08000022: "Data cannot be transferred or stored to the application because of the present device state".
[ 9664.358907] EtherCAT ERROR 0-0: Failed to process SDO request.
[ 9664.402879] EtherCAT ERROR 0-0: SDO download 0x1C33:01 (2 bytes) aborted.
[ 9664.402886] EtherCAT ERROR 0-0: SDO abort message 0x08000022: "Data cannot be transferred or stored to the application because of the present device state".
[ 9664.402889] EtherCAT ERROR 0-0: Failed to process SDO request.
[ 9760.555095] EtherCAT ERROR 0-0: SDO download 0x1C12:01 (2 bytes) aborted.
[ 9760.555100] EtherCAT ERROR 0-0: SDO abort message 0x08000022: "Data cannot be transferred or stored to the application because of the present device state".
[ 9760.555102] EtherCAT ERROR 0-0: Failed to process SDO request.
[ 9760.595087] EtherCAT ERROR 0-0: SDO download 0x1C13:01 (2 bytes) aborted.
[ 9760.595094] EtherCAT ERROR 0-0: SDO abort message 0x08000022: "Data cannot be transferred or stored to the application because of the present device state".
[ 9760.595097] EtherCAT ERROR 0-0: Failed to process SDO request.
[ 9865.955283] EtherCAT 0: Slave states on main device: INIT.
[ 9872.951304] EtherCAT WARNING 0-0: Aborting SDO request, slave is in INIT.
[ 9872.967344] EtherCAT WARNING 0-0: Aborting SDO request, slave is in INIT.
[13760.889546] EtherCAT 0: Slave states on main device: PREOP.
[13765.925570] EtherCAT 0: Slave states on main device: SAFEOP.
[13782.411825] EtherCAT ERROR 0-0: Failed to set OP state, slave refused state change (SAFEOP + ERROR).
[13782.411909] EtherCAT ERROR 0-0: AL status message 0x001B: "Sync manager watchdog".
[13782.412843] EtherCAT 0-0: Acknowledged state SAFEOP
  • unknown
  • unknown
05 Mar 2025 17:18

Built In Wifi Not Working Raspberry Pi 5 and 2.9.4

Category: General LinuxCNC Questions

I don't know where you saw the info about the setup wizard, but this is absolutely wrong.
As the image is essentially Debian Bookworm you can use the below link to get an idea. Also there is a large sticky thread related to the RPi images, in the Installing Linuxcnc heading.
What other image are you referring to ?

wiki.debian.org/NetworkConfiguration
  • mindstormmaster1
  • mindstormmaster1
05 Mar 2025 15:52
Built In Wifi Not Working Raspberry Pi 5 and 2.9.4 was created by mindstormmaster1

Built In Wifi Not Working Raspberry Pi 5 and 2.9.4

Category: General LinuxCNC Questions

I installed Linuxcnc on an 8GB Pi5 using this file since I want to use a MESA board, it looked like the right choice.

www.linuxcnc.org/iso/rpi-5-debian-bookwo...25-01-27-0140.img.xz

Everything booted up well(but there was no initial setup wizard like I have seen some people mention), and the install looks good, but I don't see wifi anywhere or network options of any kind. I tried a USB wifi dongle, and that didn't change anything and unfortunately, ethernet is not an option for me. Does anyone have any tips for getting wifi working? Should I have used the other .iso? Thanks!
Displaying 466 - 474 out of 474 results.
Time to create page: 0.644 seconds
Powered by Kunena Forum