ESP32/S2/S3 LinuxCNC Controller (6 axis hardware step gen), USB plug-and-play

More
1 year 8 months ago #320367 by tommylight
Set the networking as described in the readme, connect stuff, open the included config folder, right click on the ini file and choose "open with" then linuxcnc.

Please Log in to join the conversation.

More
1 year 8 months ago #320396 by beauxnez
thank you,
 I modified the network settings, I think I am connected, I cannot open the .ini file with linuxcnc because I do not have the option,
 the 2 hal and ini files must be copied into a configuration created by stepconf wizard?
 if I copy them in I switch to qtdragon? 

Please Log in to join the conversation.

More
1 year 8 months ago #320884 by mtyax
First and foremost, this thread is awesome; I can't wait to get in here. 

Is there any real documentation on how to implement it? Maybe I'm just not finding it, so if someone could point me in the direction, that would be great. 

Thanks all! 

Keep up the great work! 

Please Log in to join the conversation.

More
1 year 8 months ago #322351 by OnkelKai77
Hello!
I'm new here and registered here because of this topic. Is it possible to get the firmware for an ESP32-S3? Or do I have to change something so that I can flash the ESP32-S3? I still have two of the S3 here and would like to test them as CNC controllers.

Thank you very much

Kai

Please Log in to join the conversation.

More
1 year 7 months ago #322955 by lwill
At the beginning of this post there was a demonstration using only USB Networking (No Ethernet).
Does this function still exist?
I was able to build and install to an ESP32-WROOM, but boardconfig keeps setting to "Wowki Simulator ESP32".

Please Log in to join the conversation.

More
1 year 7 months ago #322971 by beauxnez
Hello, I finally managed to install the program on the card, the card responds well to ping 192.168.111.1
 the configuration of the card with 3 motors too
 I copied the .ini and .hal files into a directory under configs and opened with linuxcnc but impossible to get the emergency stop button out?
Code:
ESP32LCNC_Controller > restart Restarting...WiFi Lost Connection! WiFi Station Stopped! ets Jun  8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:1184 load:0x40078000,len:13232 load:0x40080400,len:3028 entry 0x400805e4 P F ================================================= ==================== STARTUP ==================== ================================================= ============ SPI ETH RELEASE BUILD ============== Version: v20240714.02 Setup started.. APBFreq: 80000000 Total heap: 289676 Free heap: 263848 Total PSRAM: 0 Free PSRAM: 0 Boot Count: 0 Reading NVS Config... NVS Config Version: 4 BOARD TYPE: 7 BOARD NAME: ESP32-WROOM-DEV WiFi Station: Connecting to WiFi SSID: La ? WiFi Station Started WiFi MAC: 94:54:C5:B7:E1:E0 OTA Setup OTA Setup Done *** Configuring 3 motors  *** Creating stepper 0 configuring stepper 0 attached stepper 0 stepper 0 created successfully Creating stepper 1 configuring stepper 1 attached stepper 1 stepper 1 created successfully Creating stepper 2 configuring stepper 2 attached stepper 2 stepper 2 created successfully *** Motors configured successfully **** loop_Core1_EspNowSenderControllerTask running... WARN: ESP-NOW server is currently disabled in config loop_Core1_ServoStatsTask running... Setup completed successfully setup_Core0() WiFi Connected! Starting Ethernet... Ethernet Started ETH Started WiFi IP: 192.168.1.115 SPI Ethernet driver setup successfully Starting Telnet server on port 23 UDP Server Listening on Port: 58000 loop_Core0_UDPSendTask running... UDP Send connect to IP: 192.168.111.2, Port: 58001, Result: 1 loop_Core0_CommandHandlerTask running... Attaching hw timer for ServoMovementCmds ISR loop_Core0_InputPinHandlerTask running... Configuring inputs... INPUT[0] GPIO: 26, Name: 'Unused' PullUp: 1, PullDown: 0 INPUT[1] GPIO: 27, Name: 'Unused' PullUp: 1, PullDown: 0 INPUT[2] GPIO: 32, Name: 'Unused' PullUp: 1, PullDown: 0 INPUT[3] GPIO: 33, Name: 'Unused' PullUp: 1, PullDown: 0 INPUT[4] GPIO: 34, Name: 'Unused' PullUp: 1, PullDown: 0 INPUT[5] GPIO: 35, Name: 'Unused' PullUp: 1, PullDown: 0 INPUT[6] GPIO: 36, Name: 'Unused' PullUp: 1, PullDown: 0 Core0 setup completed successfully Type 'help' to get the list of commands. Use UP/DOWN arrows to navigate through command history. Press TAB when typing command name to auto-complete. ESP32LCNC_Controller > 

Please Log in to join the conversation.

More
1 year 4 months ago #329884 by beauxnez
Hello,I don't understand what's wrong. I think I connected the card to the ESP32 correctly, but I get an error message.

Please Log in to join the conversation.

More
1 year 4 months ago #329887 by tommylight
Try to set networking from serial, if it reboots do not bother with it as it will not work.
Something got left unfinished, the developer has not been around for a year or two, so short of you forking it and fixing it, there is not much use.
It also does not work with ESP32S3 despite him posting everything running on it, it will not compile at all.
Use the hal2udp version of it, the older version worked fine on ESP32Wroom, but the new version also has issues. You can get the older version on github, or try the new version as this one is being developed still.

Please Log in to join the conversation.

More
1 year 4 months ago #329895 by beauxnez

Please Log in to join the conversation.

More
1 year 4 months ago #329901 by tommylight
Nope, did not work for me either.
This does work, needs a bit of editing if you need faster step rates than 16kHz, i got it to 40kHz without issues and fixed a strange issue where it would sometimes send steps back and forth after a jog.
github.com/jzolee/HAL2UDP

Please Log in to join the conversation.

Time to create page: 0.155 seconds
Powered by Kunena Forum