How to Make WiFi Robot Car ESP8266 Nodemcu Wemos
Introduction: How to Make WiFi Robot Car ESP8266 Nodemcu Wemos
This article is proudly sponsored by PCBWAY.
PCBWAY make high quality prototyping PCBs for people all over the world. Try it for your self and get 10 PCBs for just $5 at PCBWAY with very great quality, Thanks PCBWAY. The Motor Shield for Arduino Uno that I developed for use in this project uses PCBWAY PCB services. In this instructable, I will show you how to build WiFi Robot Car ESP8266 NodeMCU/Wemos. Let's get started!
Step 1: Part List
* 1x PCB Nodemcu Motor Shield
* 1x IC L293D + Socket 16P
* 1x IC REG. 5V AMS1117
* 2x Transistor BC527 NPN
* 1x LED 3mm Red
* 2x LED 3mm Super Bright White
* 1x R 100 ohm 1/4W
* 2x R 1K ohm 1/4W
* 5x R 10K ohm 1/4W
* 1x C 100uF/16V
* 1x Active Buzzer 5V
* 1x Switch SPDT SS12D00G3
* 3x Screw Terminal Bock 5mm 2P
* 4x Male Header 1x40 Pin
* 1x Female Header 1x40 Pin
* 1x Ultrasonic sensor HC-SR04
* 4x TT Geared Motor + Wheel
* 1x Acrylic 134mm x 76mm
* 8x Cable AWG24 10cm
* 2x Rechargeable Battery 18650 3.7V
* 1x Battery Holder 2x18650
* 1x USB OTG Adapter
* 1x Micro USB Cable
Step 2: Solder Wires to Motors
Preparation before soldering you can putting some flux to terminal of motors and wires, then solder a 10cm cable to the each terminal of motor.
After soldering, tie the two cables to the motor body using a cable tie so that the cable does not easily come off from motor terminals.
Step 3: Attach 4 Motors to Acrylic
Attach the motor to the acrylic using hot glue gun on all four sides of the acrylic as shown in the picture.
Pass the motor cable to the back through the acrylic hole.
Step 4: Order PCB on PCBWAY
To make this project you need to order a prototype PCB on PCBWAY. 375
How to order is very easy and you will get 10 Pcs PCB for $5 with very great PCB quality.
Step to Order:
1. SignUp/Log in on pcbway.com
2. Open this PCB project link Nodemcu Motor Shield or Wemos Motor Shield
3. Click Add to cart.
4. Wait moment for PCB review, then Click Check Out.
Step 5: Solder All Part Component
Solder all components on the PCB, for details you can follow step by step in the following video.
https://youtu.be/MhCBmqQ0xmA?t=252
Step 6: Attach Motor Shield
Attach the Motor Shield into front of body acrylic use double side tape or use hot glue gun, position so as not to block the hole from the cable exit.
Step 7: Connect Cable to the Nodemcu Motor Shield
Insert and tighten the power wires into the terminal block on motor shield, and the motor wires into the respective terminal.
You do not connect the a motor to the two terminals M1 and M2. The correct is the "left motor front and back" connect to M1 and the "right motor front and back" connect to M2.
Step 8: Attach Battery Holder
Attach the battery holder to rear of body acrylic use hot glue gun, then connect the cable to terminal power.
Step 9: Attach Wheels
Insert four wheels, push into the shaft of motor, hold body motor by hand to prevent more force.
Step 10: Program the Nodemcu Board
To make WiFi robot Car can controlled by smartphone Android, you have to program Nodemcu ESP8266 first. The easy way to program Nodemcu that you can use this Android App follow this step:
* Install ESP8266 WiFi Robot Car from Google Playstore
* Open app, on menu bar select Circuit diagram & Code icon
* On menu select Remote Control Mode
* Select menu settings, on option Motor Driver to be Used select Nodemcu Motor Shield, on option Upload Firmware Via select USB OTG, if you want to connect the WiFi Car with network of router you can set SSID name & Password.
* Connect Nodemcu board to your smartphone use USB OTG adapter. 375