Comments on: ESP32 Web Server: Control Stepper Motor (HTML Form) https://randomnerdtutorials.com/stepper-motor-esp32-web-server/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Fri, 14 Mar 2025 16:13:03 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/stepper-motor-esp32-web-server/#comment-1003184 Mon, 27 Jan 2025 18:44:42 +0000 https://randomnerdtutorials.com/?p=105501#comment-1003184 In reply to Veit Koch.

Hi.
Please see the solution for this problem here: https://rntlab.com/question/solvedassert-failed-tcp_alloc-idf-components-lwip-lwip-src-core-tcp-c1851-required-to-lock-tcpip-core-functionality/

Regards,
Sara

]]>
By: Veit Koch https://randomnerdtutorials.com/stepper-motor-esp32-web-server/#comment-1000305 Thu, 16 Jan 2025 07:48:21 +0000 https://randomnerdtutorials.com/?p=105501#comment-1000305 Thank you Sara!
Greatly appreciate what you guys offer here!

]]>
By: Sara Santos https://randomnerdtutorials.com/stepper-motor-esp32-web-server/#comment-1000080 Wed, 15 Jan 2025 14:18:45 +0000 https://randomnerdtutorials.com/?p=105501#comment-1000080 In reply to Veit.

Hi.
There is currently an issue with these web servers and the ESP32 core version 3.1.0.
Downgrade your ESP32 boards installation to 3.0.7 and it should work (Tools > Boards > Boards Manage r> ESP32 > Downgrade)
Regards,
Sara

]]>
By: Veit https://randomnerdtutorials.com/stepper-motor-esp32-web-server/#comment-999527 Mon, 13 Jan 2025 15:36:34 +0000 https://randomnerdtutorials.com/?p=105501#comment-999527 Hi Sara,
On the off-chance that you would have a solution: the steps including the Upload LittleFS you suggest don’t work on my system (NMCU-ESP32 connected to MacBook with M3 processor, running Sonoma 14.5).

The server keeps on rebooting. Here’s a copy of the Serial Monitor output:

Connecting to WiFi …192.168.4.2
LittleFS mounted successfully

assert failed: tcp_alloc /IDF/components/lwip/lwip/src/core/tcp.c:1851 (Required to lock TCPIP core functionality!)

Backtrace: 0x40082561:0x3ffb1fe0 0x4008da81:0x3ffb2000 0x40093d36:0x3ffb2020 0x400f3747:0x3ffb2150 0x400f38bd:0x3ffb2170 0x400d5b50:0x3ffb2190 0x400dba1d:0x3ffb21e0 0x400d2b45:0x3ffb2200 0x400e069f:0x3ffb2270 0x4008e7ca:0x3ffb2290

mode:DIO, clock div:1
load:0x3fff0030,len:4916
load:0x40078000,len:16436
load:0x40080400,len:4
ho 8 tail 4 room 4
load:0x40080404,len:3524
entry 0x400805b8

It seems that the me-no-dev ESPAsyncWebserver library is no longer working (on my system anyway). I have tried the ESPAsyncWebserver by Matthieu Carbou (https://github.com/mathieucarbou/ESPAsyncWebServer?tab=readme-ov-file), yet to no avail either.

What continues to work is the first, simple html version without css, as long as I downgrade the board from esp32 3.1.1 to 3.0.7.

]]>
By: Antonio Testa https://randomnerdtutorials.com/stepper-motor-esp32-web-server/#comment-903089 Wed, 03 Apr 2024 23:36:47 +0000 https://randomnerdtutorials.com/?p=105501#comment-903089 In reply to Antonio Testa.

I have just published the NewStepper.h library in substitution to that above. This new one accept 28BYJ-48 in 3 different modes and also Nema17 as well. The link to it is: https://github.com/AntonioFromBrazil/NewStepper.h-Nonblocking-ESP-32-Nema17-28byj-48

]]>
By: Antonio Testa https://randomnerdtutorials.com/stepper-motor-esp32-web-server/#comment-902677 Mon, 01 Apr 2024 14:16:12 +0000 https://randomnerdtutorials.com/?p=105501#comment-902677 In reply to Antonio Testa.

*nonblocking

]]>
By: Antonio Testa https://randomnerdtutorials.com/stepper-motor-esp32-web-server/#comment-902676 Mon, 01 Apr 2024 14:03:21 +0000 https://randomnerdtutorials.com/?p=105501#comment-902676 Since the library stepper.h block the microcontroller while the stepmotor is moving, I decide to create a ninblocking stepmotor library based on timer/interrupts so that the microcontroller is free even when the stepmotor is moving. The Stepm.h is available at https://github.com/AntonioFromBrazil/Stepm.h-library-for-ESP-32 It can be usefull in some cases.

]]>
By: perv https://randomnerdtutorials.com/stepper-motor-esp32-web-server/#comment-899407 Mon, 18 Mar 2024 21:01:49 +0000 https://randomnerdtutorials.com/?p=105501#comment-899407 Hi Sara!
Thank you for a great project! Do you plan to make it with synchronous web server?

]]>
By: radjasa https://randomnerdtutorials.com/stepper-motor-esp32-web-server/#comment-833867 Mon, 08 May 2023 05:59:24 +0000 https://randomnerdtutorials.com/?p=105501#comment-833867 Hi Sara, thanks for the turorial. Regarding stepper motors, I tried to control 3 stepper motors and only 1 of them worked. please help thank you

]]>
By: hatta https://randomnerdtutorials.com/stepper-motor-esp32-web-server/#comment-833866 Mon, 08 May 2023 05:40:57 +0000 https://randomnerdtutorials.com/?p=105501#comment-833866 hello admin, good tutorial. Regarding stepper motors, can they be controlled from anywhere and please make a tutorial, thank you

]]>