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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
01 Feb 2025 22:53 #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 or Create an account to join the conversation.

More
02 Feb 2025 08:28 - 02 Feb 2025 08:30 #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? 
Attachments:
Last edit: 02 Feb 2025 08:30 by beauxnez.

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

More
07 Feb 2025 05:16 #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 or Create an account to join the conversation.

More
23 Feb 2025 09:20 #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 or Create an account to join the conversation.

More
01 Mar 2025 18:55 #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 or Create an account to join the conversation.

More
01 Mar 2025 23:29 - 01 Mar 2025 23:30 #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?
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 > 
Last edit: 01 Mar 2025 23:30 by beauxnez.

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

Time to create page: 0.078 seconds
Powered by Kunena Forum