Comments on: ESP8266 NodeMCU Web Server: Control a DC Motor (Arduino IDE) https://randomnerdtutorials.com/esp8266-nodemcu-web-server-dc-motor-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Thu, 22 Aug 2024 09:30:16 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-web-server-dc-motor-arduino/#comment-950124 Thu, 22 Aug 2024 09:26:02 +0000 https://randomnerdtutorials.com/?p=149679#comment-950124 In reply to Lobie.

Hi.
You are right. It’s a typo. I’ll fix it.
Thanks for pointing that out.
Regards,
Sara

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-web-server-dc-motor-arduino/#comment-950123 Thu, 22 Aug 2024 09:25:08 +0000 https://randomnerdtutorials.com/?p=149679#comment-950123 In reply to Lobie.

Hi.
Yes. It should work in a Wemos D1 mini.
Regards,
Sara

]]>
By: Lobie https://randomnerdtutorials.com/esp8266-nodemcu-web-server-dc-motor-arduino/#comment-950085 Thu, 22 Aug 2024 06:15:23 +0000 https://randomnerdtutorials.com/?p=149679#comment-950085 Thanks for the article;
I am very new to ESP8266 but I have done a lot of projects on Arduino.

Can the webserver and all the “LittleFS” stuff be expected to work on a Wemos D1 with ESP8266 ?
Do I try this project on a WemosD1 (it is the only 8266 board I have to start testing)

]]>
By: Lobie https://randomnerdtutorials.com/esp8266-nodemcu-web-server-dc-motor-arduino/#comment-950084 Thu, 22 Aug 2024 06:07:55 +0000 https://randomnerdtutorials.com/?p=149679#comment-950084 Hi – good article thank you.

Is this an error, a typo ?
“Finally, the stopMotor() function stops the motor by setting all motor pins to LOW.

void stopMotor(){
Serial.print(“Motor Stopped”)
digitalWrite(enable1Pin, LOW);
digitalWrite(motor1Pin1, HIGH);
digitalWrite(motor1Pin2, LOW);
}”

I would expect “LOW, LOW & LOW” but it will work as expected as it is.
It is in the code and in the explanations below it.

]]>