DC Motor Position Control

This instruction will show how to control motor position via Local web network.

Jan 5, 2020

33521 views

5 respects

Components and supplies

1

Dual H-Bridge motor drivers L298

1

NodeMCU ESP8266 Breakout Board

1

UTSOURCE Electronic Parts

1

Arduino UNO

Project description

Code

code arduino

c_cpp

Downloadable files

12_circuit_1_Qufw6p0DGe.png

12_circuit_1_Qufw6p0DGe.png

12_circuit_1_Qufw6p0DGe.png

12_circuit_1_Qufw6p0DGe.png

Comments

Only logged in users can leave comments

Anonymous user

2 years ago

This is an interesting project. I like the JS interface and how you programmed it. I now understand how to use interupts for this type op indexmotors. However i have some comments. I experienced some issues before i got my version of this project working. What versions of Arduino IDE and boards did you use? I had to modify your sketch on several points to get it working. The main problem is proberly the combination with analogWrite() and interupts. ESP8266 (and Arduino IDE) seem to have some issues with that. This is the code i used: https://github.com/Quercuz/ESP8266-DC-Motor-Position-Control

tims_corbett

3 years ago

What battery did you use? 12v lead acid battery? Could you please show the battery and it's wiring too in the diagram? Also, the motor base link is pointing to a rare file and not an amazon link. Could you please update that too?

Quercus62

4 years ago

This is an interesting project. I like the JS interface and how you programmed it. I now understand how to use interupts for this type op indexmotors. However i have some comments. I experienced some issues before i got my version of this project working. What versions of Arduino IDE and boards did you use? I had to modify your sketch on several points to get it working. The main problem is proberly the combination with analogWrite() and interupts. ESP8266 (and Arduino IDE) seem to have some issues with that. This is the code i used: https://github.com/Quercuz/ESP8266-DC-Motor-Position-Control