linuxcnc-esp32 Software Stepping over Ethernet Using ESP32

  • BeagleBrainz
  • BeagleBrainz's Avatar
  • Visitor
  • Visitor
15 May 2021 22:21 #208989 by BeagleBrainz
I’m pretty sure a commercial order of 100 pieces could be accommodated by Mesa by contacting them directly.

Please Log in or Create an account to join the conversation.

More
15 May 2021 22:44 #208992 by Cncninja
I'm testing the Mesa over PCI with the RPI v.s. SPI/ethernet, but this still would not fit the roll of a dedicated carrier board for the CM4 with built-in stepgen hardware. There is also the Teensy 4.1 with a few carriers boards already made and Hal file. but the cost comes out about the same as a mesa, the 7190HD over SPI to the rpi with a DB25 Bob would be a 59usd option.

Please Log in or Create an account to join the conversation.

  • Bari
  • Bari's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
15 May 2021 23:12 #209000 by Bari
store.mesanet.com/index.php?route=produc...oduct&product_id=311 shows 19 in stock today of the 7i96, they have quantity pricing.

Please Log in or Create an account to join the conversation.

More
16 May 2021 15:15 #209101 by andypugh

My plan is to make a dedicated PCB for the RPI 4 Compute module with dedicated step gen processer whether its an LPC or STM32 etc


I don't think that you need a second processor. PCW has pointed out previously that there are stepper driver chips that accept SPI.
Trinamic offer stepper driver ICs that can handle up to 2A or 60V (sadly not both at the same time) and that can be controlled by SPI or UART.
www.trinamic.com/products/integrated-circuits/#c2378

A few of those on the board, a Pi compute module and a bunch of sockets and you would have an all-in-one solution for stepper motors.

Please Log in or Create an account to join the conversation.

More
16 May 2021 15:16 #209102 by andypugh

I don't think that you need a second processor. PCW has pointed out previously that there are stepper driver chips that accept SPI.


(I am assuming that this means that a step-rate update in the 1kHz servo thread would work, and there would be no need for a base thread)

Please Log in or Create an account to join the conversation.

More
16 May 2021 18:14 #209148 by PCW
Yes both the STM PowerStep and Trinamic chips have a profile generator
so can run in velocity mode with SPI interface

Please Log in or Create an account to join the conversation.

  • Bari
  • Bari's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
17 May 2021 06:12 #209193 by Bari
The point and feature of using the esp32 is that it connects over UDP so there can be a good distance between the motion controller and the stepgens.

If you want minimal parts count then look at AllwinCNC
forum.linuxcnc.org/18-computer/39037-lin...-orange-pi-allwincnc
It has the LCNC motion controller, GPU for GUI and stepgens all in one device. But you'll still need some output protection like you'll find on the Mesa IO boards.

Please Log in or Create an account to join the conversation.

More
18 May 2021 06:44 #209304 by scotta
I've had the Trinamic TMC2209's running in velocity mode over UART. Really neat but lacks the internal feedback of the software step generator. Of course counting step pulses on the diag pin or an encoder to close the loop would be solutions. But then needs software or hardware counting modules.

The testing branch of Remora firmware for the LPC1768 has the TMC uart driver support.

Please Log in or Create an account to join the conversation.

More
18 May 2021 06:48 - 18 May 2021 06:49 #209305 by scotta
Cncninja. I've got some pcb adaptor boards for the SKRv1.4 and standard RPI on the way. The SKRv1.4 can even power the RPi. Integration of a compute module would be a great project.
Last edit: 18 May 2021 06:49 by scotta.

Please Log in or Create an account to join the conversation.

More
19 May 2021 12:36 #209497 by andypugh

I've had the Trinamic TMC2209's running in velocity mode over UART. Really neat but lacks the internal feedback of the software step generator.


No serial feedback from the drivers then?

Please Log in or Create an account to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum