Communication solution on my own CNC Machine
- tommylight
- Away
- Moderator
Less
More
- Posts: 19202
- Thank you received: 6436
18 Mar 2024 23:59 #296268
by tommylight
Replied by tommylight on topic Communication solution on my own CNC Machine
github.com/LinuxCNC/linuxcnc/blob/master...a-hostmot2/hm2_eth.cMost importantly, can anyone explain how to send these pulse signals as ethernet packets with Linuxcnc?
Please Log in or Create an account to join the conversation.
19 Mar 2024 00:14 #296270
by srknyxl
Replied by srknyxl on topic Communication solution on my own CNC Machine
forum.linuxcnc.org/18-computer/42414-lin...sing-esp32?start=130
It seems like they managed to do what I was thinking of doing in real time stably at 100khz with esp32. As a newbie to LinuxCNC, what I was trying to learn here was to send data from "hal" to udp.
Real-time packets can also be processed by a single-board computer with 64MB of RAM. this should be possible. But even an esp32 with a 200 mhz processor and a few mb ram can do this. I just learned this.
I think this solution is a low budget, real time solution. What are you thinking?
It seems like they managed to do what I was thinking of doing in real time stably at 100khz with esp32. As a newbie to LinuxCNC, what I was trying to learn here was to send data from "hal" to udp.
Real-time packets can also be processed by a single-board computer with 64MB of RAM. this should be possible. But even an esp32 with a 200 mhz processor and a few mb ram can do this. I just learned this.
I think this solution is a low budget, real time solution. What are you thinking?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19202
- Thank you received: 6436
19 Mar 2024 00:29 #296273
by tommylight
Back on topic, i am thinking you did not do your homework before asking and you are asking the wrong questions, so here is a summary :
LinuxCNC can work with
-parallel port
-ESP32 -there are two separate projects with this on this forum
-ESP32 through ethernet
-3D printer boards using SPI and RPI3/4/5
-3D printer boards through ethernet, i think
-NVEM boards through ethernet
-quite a long list of EtherCAT equipment
LinuxCNC will not work with
-mach3 boards through USB
-ESP32 and Arduino through USB, although this has been done several projects here for real time and non real time applications
LinuxCNC can control almost any machine you want to invest the time in.
Replied by tommylight on topic Communication solution on my own CNC Machine
I am thinking i should stop watching MythBusters on youtube and go to the shop as i have 2 of 3D printers running 24h for several days now, i need sleep, just had popcorn, been working for 4 days on building another Voron 2.4R2 printer and i am close but having to shove 2 control boards with power supply and a huge amount of cabling inside a small box is to much work.What are you thinking?
Back on topic, i am thinking you did not do your homework before asking and you are asking the wrong questions, so here is a summary :
LinuxCNC can work with
-parallel port
-ESP32 -there are two separate projects with this on this forum
-ESP32 through ethernet
-3D printer boards using SPI and RPI3/4/5
-3D printer boards through ethernet, i think
-NVEM boards through ethernet
-quite a long list of EtherCAT equipment
LinuxCNC will not work with
-mach3 boards through USB
-ESP32 and Arduino through USB, although this has been done several projects here for real time and non real time applications
LinuxCNC can control almost any machine you want to invest the time in.
Attachments:
The following user(s) said Thank You: cornholio
Please Log in or Create an account to join the conversation.
19 Mar 2024 07:13 #296291
by srknyxl
Replied by srknyxl on topic Communication solution on my own CNC Machine
I was actually looking for such an answer instead of memorized "mesa" part codes
Can you share links to ESP32 projects?
I hope you got some sleep and were able to fit a large amount of cable into the small box. Because I need to learn a little more to start asking logical questions
Can you share links to ESP32 projects?
I hope you got some sleep and were able to fit a large amount of cable into the small box. Because I need to learn a little more to start asking logical questions
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19202
- Thank you received: 6436
19 Mar 2024 10:48 #296302
by tommylight
Replied by tommylight on topic Communication solution on my own CNC Machine
Yayyy i did sleep ... for about 3.5 hours!
Links:
Litex:
forum.linuxcnc.org/27-driver-boards/4773...port-to-linsn-rv901t
forum.linuxcnc.org/27-driver-boards/5038...or-5a-75b-and-5a-75e
NVEM:
forum.linuxcnc.org/18-computer/44828-rem...ernet-nvem-cnc-board
Remora:
forum.linuxcnc.org/18-computer/42276-rem...rocontroller-via-spi
ESP32:
forum.linuxcnc.org/18-computer/51816-esp...en-usb-plug-and-play
forum.linuxcnc.org/18-computer/42414-lin...ethernet-using-esp32
RIO/FPGA:
forum.linuxcnc.org/18-computer/49142-lin...d-on-fpga-ice40-ecp5
And a long list of SBC's that might or might not work with LinuxCNC:
forum.linuxcnc.org/18-computer/46077-pot...ngle-board-computers
Links:
Litex:
forum.linuxcnc.org/27-driver-boards/4773...port-to-linsn-rv901t
forum.linuxcnc.org/27-driver-boards/5038...or-5a-75b-and-5a-75e
NVEM:
forum.linuxcnc.org/18-computer/44828-rem...ernet-nvem-cnc-board
Remora:
forum.linuxcnc.org/18-computer/42276-rem...rocontroller-via-spi
ESP32:
forum.linuxcnc.org/18-computer/51816-esp...en-usb-plug-and-play
forum.linuxcnc.org/18-computer/42414-lin...ethernet-using-esp32
RIO/FPGA:
forum.linuxcnc.org/18-computer/49142-lin...d-on-fpga-ice40-ecp5
And a long list of SBC's that might or might not work with LinuxCNC:
forum.linuxcnc.org/18-computer/46077-pot...ngle-board-computers
Please Log in or Create an account to join the conversation.
19 Mar 2024 11:08 #296305
by cornholio
Replied by cornholio on topic Communication solution on my own CNC Machine
To use a music analogy. Each band member is an axis
Realtime:
Non Realtime:
Realtime:
Non Realtime:
Please Log in or Create an account to join the conversation.
19 Mar 2024 11:10 #296307
by cornholio
Replied by cornholio on topic Communication solution on my own CNC Machine
Roll your own Mesa type card
forum.linuxcnc.org/show-your-stuff/51142...tan-6-fpga-card-9d60
forum.linuxcnc.org/show-your-stuff/51142...tan-6-fpga-card-9d60
Please Log in or Create an account to join the conversation.
19 Mar 2024 15:14 #296325
by andypugh
I think that you might be disappointed with the performance of your own motors. One issue is getting a suitably small air gap, as you (probably) don't want to be machining the magnets.
I have built a servo motor, but it wasn't really suitable for the task I wanted it for:
photos.app.goo.gl/uYcpsh4t5SxmpCiP8
Replied by andypugh on topic Communication solution on my own CNC Machine
I want to make permanent magnet ac servo motors myself, in addition to the body parts. Even though the power density in terms of volume is not as much as industrial servos, I think it can be a good start.
I think that you might be disappointed with the performance of your own motors. One issue is getting a suitably small air gap, as you (probably) don't want to be machining the magnets.
I have built a servo motor, but it wasn't really suitable for the task I wanted it for:
photos.app.goo.gl/uYcpsh4t5SxmpCiP8
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
19 Mar 2024 20:17 - 19 Mar 2024 20:20 #296343
by schoch
Replied by schoch on topic Communication solution on my own CNC Machine
> My Pal Foot Foot
holy shit that is funny. that drum opening is amazing.
holy shit that is funny. that drum opening is amazing.
Last edit: 19 Mar 2024 20:20 by schoch.
Please Log in or Create an account to join the conversation.
20 Mar 2024 02:46 #296366
by cakeslob
jesus andy, not for lack of being impressed, but they have these things called frameless motors...
Replied by cakeslob on topic Communication solution on my own CNC Machine
I want to make permanent magnet ac servo motors myself, in addition to the body parts. Even though the power density in terms of volume is not as much as industrial servos, I think it can be a good start.
I think that you might be disappointed with the performance of your own motors. One issue is getting a suitably small air gap, as you (probably) don't want to be machining the magnets.
I have built a servo motor, but it wasn't really suitable for the task I wanted it for:
photos.app.goo.gl/uYcpsh4t5SxmpCiP8
jesus andy, not for lack of being impressed, but they have these things called frameless motors...
Please Log in or Create an account to join the conversation.
Time to create page: 0.182 seconds