- Notifications
You must be signed in to change notification settings - Fork8
NodeMCU ESP8266 to Adafruit Motor Shield V1. This is an old motor driver. I couldn't find any esp8266 connection with this motor driver anywhere. I made a connection in this way. I hope I could help. I would be very happy if you help me develop the robot.
mahirgul/wifi-nodemcu-robot-esp8266
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
NodeMCU ESP8266 to Adafruit Motor Shield V1. This is an old motor driver. I couldn't find any esp8266 connection with this motor driver anywhere. I made a connection in this way. I hope I could help. I would be very happy if you help me develop the robot.
Designed a tool by connecting NodeMCU ESP8266 to Adafruit Motor Shield V1.
Thank you Jan Lipovskýhttp://blog.janlipovsky.cz/2016/03/
Thank you Muhammad Ansarhttps://github.com/embeddedlab786/Wifi_Robot
You can connect to the IP address of the device with any TCP Client application. TCP xxx.xxx.xxx.xxx : 5006-After connecting, the robot moves according to the commands you send:
| command | movement | -- | command | movement |
|---|---|---|---|---|
| F | forward | B | back | |
| L | left | R | right | |
| S | Stop |
dataArray[0] = 39; //Forward
dataArray[1] = 216; //Back
dataArray[2] = 149; //Left
dataArray[3] = 106 ;//Right
| 74HC595 Out | Bits | number | motor | direction |
|---|---|---|---|---|
| QC | 2 | 4 | M1 | clockwise |
| QD | 3 | 8 | M1 | counterclockwise |
| QB | 1 | 2 | M2 | clockwise |
| QE | 4 | 16 | M2 | counterclockwise |
| QF | 5 | 32 | M3 | clockwise |
| QH | 7 | 128 | M3 | counterclockwise |
| QA | 0 | 1 | M4 | clockwise |
| QG | 6 | 64 | M4 | counterclockwise |
Example: We add the numbers of clockwise rotations so that all engines go forward.
| Motor 1 | + | Motor 2 | + | Motor 3 | + | Motor 4 | = | Calculate |
|---|---|---|---|---|---|---|---|---|
| 4 | + | 2 | + | 32 | + | 1 | = | 39 |
shiftOut(dataPin, clockPin, MSBFIRST, b);
About
NodeMCU ESP8266 to Adafruit Motor Shield V1. This is an old motor driver. I couldn't find any esp8266 connection with this motor driver anywhere. I made a connection in this way. I hope I could help. I would be very happy if you help me develop the robot.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.





