linuxcnc-esp32 Software Stepping over Ethernet Using ESP32

More
26 Aug 2022 08:57 - 26 Aug 2022 08:57 #250495 by xek
A quick update. I have used a using slightly modified jzolee's code to coomodate for 4th axis for around a month, it works okay, but reboots/hangs several times a day because of my plasma cutter's radio interference.

Overall it is a working solution.

 
Attachments:
Last edit: 26 Aug 2022 08:57 by xek.

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

More
26 Aug 2022 09:33 #250501 by tommylight
Yeah, plasma makes a lot of electric noise.
Use the shortest cable possible, use a ground cable wound around signal cables, put the electronics inside a metal box that is properly grounded, move signal cables as far from the plasma source as possible, ground the PC, table and plasma source, etc.
If everything fails, put 330-470Ohm resistors on all inputs, even the ones not in use.

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

More
29 Aug 2022 05:56 #250671 by Trihwangyudi1990
For now i'm using fluidnc (somethings like grbl ones) they can stream over wifi, i hope remora have like this ,  Have anyone here do with this??

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

More
29 Aug 2022 06:33 #250672 by rodw
Its tricky to set up from a Windows machine but you should be able to crete a SAMBA share and write direct.
Then you can open the file on the LinuxPC and start the job

If you use QTplasmac, you can program a Load Latest file button which wokrs amazingly well. eg save the postprocessor output (eg sheetcam) to the lcnc nc_files folder, press load latest and then press cycle start

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

More
05 Sep 2022 01:16 #251199 by Trihwangyudi1990
I mean, stream direct with linuxcnc   so i just stream a job with raspi pc or others...

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

More
27 Dec 2022 03:33 #260372 by virencq
Hello,
Does this project support index encoder signal for lathe machine!

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

More
27 Dec 2022 12:32 - 27 Dec 2022 12:49 #260391 by opw
This project could be adapted to do that. You could easily use one of the eight hardware PCNT pulse counters of the ESP32 and implement a pulse counter. And adapt the structs in the main.c and structs and pins in the udp.comp to pass the count to Linuxcnc.
The pulsecounter can count up to several MHz. Only downside is, the counter stores the count in a signed 16 bit counter, so it overflows after 32k counts and this should be handled in an interrupt handler. Also the esp32 inputs are NOT 5v tolerant and need 3V3 signals.

if you are using a quadrature encoder there is a good lib for the esp32 that uses the hardware counters if available and handles the overflow. I believe it’s ESP32Encoder. 
Last edit: 27 Dec 2022 12:49 by opw.
The following user(s) said Thank You: virencq

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

More
15 Jan 2023 00:01 #261997 by eng
After many hours of study, I managed to put the "vector" to run with esp just like the remora is done, now we also have two tasks running within their respective periods, but I had problems with trying to run with the 3 axes at 300khz , at the moment the tests are at 120khz 4 axes. www.instagram.com/p/Cm19F1Bt_M-/?hl=pt-br
The following user(s) said Thank You: tommylight

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

More
19 Jan 2023 16:13 #262424 by schoch
@eng can you share some code on github, it is ok if it is unfinished.

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

More
20 Jan 2023 06:08 - 20 Jan 2023 07:42 #262459 by virencq
Hello "eng"
Me too eagerly and desperately watching your quotes and achievements.
Glad to see you on GitHub!!!
Last edit: 20 Jan 2023 07:42 by virencq.

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

Time to create page: 0.133 seconds
Powered by Kunena Forum