DIY - MPG based on ESP32s2

More
15 Mar 2024 09:30 #295947 by meister
Hi,
I have started to build an MPG,
based on an ESP32s2.
At the moment it is still connected via USB, but later it should run via WLAN and/or ESPnow



github.com/multigcs/linuxcnc-mpg
The following user(s) said Thank You: tommylight, roland, zmrdko, cornholio, Mecanix

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

More
15 Mar 2024 14:08 #295963 by meister
Replied by meister on topic DIY - MPG based on ESP32s2
I am not yet sure how to assign the buttons:

1 Cycle Start
1a Cycle Stop

2 Feed Hold / Pause

3 Spindle On/Off

4 Flood On/Off

5 Set selected axis to zero (long press)

6 Scale 0.1 (long press: 1.0 ?)
6b Scale 0.01 (long press: 0.001 ?)


enc1 (toggle function ?)

enc2 (toggle function ?)

enc3 (toggle function ?)

does anyone have an idea ?
The following user(s) said Thank You: zmrdko

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

More
15 Mar 2024 19:30 #295992 by meister
Replied by meister on topic DIY - MPG based on ESP32s2
wireless :)

The following user(s) said Thank You: tommylight, oficinerobotica, zmrdko, Mecanix

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

More
18 Mar 2024 12:28 #296189 by wez
Replied by wez on topic DIY - MPG based on ESP32s2
Nice work :)
The following user(s) said Thank You: meister

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

More
18 Mar 2024 16:03 #296216 by zmrdko
Replied by zmrdko on topic DIY - MPG based on ESP32s2
I cant wait for wifi mode connection. Is it possible to make something like serial communication over wifi?
Will it be possible to connect more esp32 devices over wifi at once?

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

More
18 Mar 2024 16:09 #296219 by meister
Replied by meister on topic DIY - MPG based on ESP32s2
do you mean wifi or esp_now ?

esp_now using wifi hardware but without the overhead, so it's more stable and faster,
no AP needed.

it is possible to connect multiple devices via wifi and via espnow,
but in this project, only one MPG is supported.

about 'normal' WIFI, i don't know if i support this in the future because espnow runs so so good and a 2. esp32 for the host-side costs not so much.

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

More
18 Mar 2024 16:26 #296222 by zmrdko
Replied by zmrdko on topic DIY - MPG based on ESP32s2
so one ESP32 will be attached to LinuxCNC machine via USB (serial) like the master device and slave devices will communicate with master using espnow?
The following user(s) said Thank You: meister

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

More
18 Mar 2024 17:34 #296232 by meister
Replied by meister on topic DIY - MPG based on ESP32s2
exactly

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

More
19 Mar 2024 19:43 #296342 by meister
Replied by meister on topic DIY - MPG based on ESP32s2
Multi-jogging on the Lathe:

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

Time to create page: 0.141 seconds
Powered by Kunena Forum