- Hardware & Machines
- Computers and Hardware
- linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
- BeagleBrainz
- Visitor
15 May 2021 22:21 #208989
by BeagleBrainz
Replied by BeagleBrainz on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
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.
- Cncninja
- Offline
- Premium Member
Less
More
- Posts: 106
- Thank you received: 2
15 May 2021 22:44 #208992
by Cncninja
Replied by Cncninja on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
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
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 646
- Thank you received: 235
15 May 2021 23:12 #209000
by Bari
Replied by Bari on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
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.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23537
- Thank you received: 4852
16 May 2021 15:15 #209101
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.
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.
Replied by andypugh on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
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.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23537
- Thank you received: 4852
16 May 2021 15:16 #209102
by andypugh
(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)
Replied by andypugh on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
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.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17859
- Thank you received: 4766
16 May 2021 18:14 #209148
by PCW
Replied by PCW on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
Yes both the STM PowerStep and Trinamic chips have a profile generator
so can run in velocity mode with SPI interface
so can run in velocity mode with SPI interface
Please Log in or Create an account to join the conversation.
- Bari
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 646
- Thank you received: 235
17 May 2021 06:12 #209193
by Bari
Replied by Bari on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
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.
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.
- scotta
- Offline
- Platinum Member
Less
More
- Posts: 881
- Thank you received: 461
18 May 2021 06:44 #209304
by scotta
Replied by scotta on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
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.
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.
- scotta
- Offline
- Platinum Member
Less
More
- Posts: 881
- Thank you received: 461
18 May 2021 06:48 - 18 May 2021 06:49 #209305
by scotta
Replied by scotta on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
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.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23537
- Thank you received: 4852
19 May 2021 12:36 #209497
by andypugh
No serial feedback from the drivers then?
Replied by andypugh on topic linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
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.
- Hardware & Machines
- Computers and Hardware
- linuxcnc-esp32 Software Stepping over Ethernet Using ESP32
Time to create page: 0.089 seconds