Main Content

In This article, I have provided every single thing with a proper explanation so that beginners can try also. This is the easiest IoT P

L298N motor Driver:- To control the speed of the motors, here I have used the L298N motor driver. L298N is a very Low-Cost Motor Driver and you can also use it in various projects in the future. You can also found the library file for this motor driver easily.
TT Gear Motor
PCB Boards By JLCPCB:- Then I have designed a PCB for NodeMCU. It will be easier to connect all the parts together with a PCB board.
NodeMCU:- Next, I am going to use NodeMCU to control the robot via WiFi. NodeMCU is a low-cost open-source IoT platform. It initially included firmware that runs on the ESP8266 Wi-Fi SoC from Espressif Systems and hardware that was based on the ESP-12 module. Later, support for the ESP32 32-bit MCU was added.

Here I have used PVC SHEET to make the chassis. To give it a proper shape, you can use a hot airgun to apply heat. Then you can use a Drill machine and Cutting tools to makeover it. Here I have chosen a simple design but you may choose anything else according to your need. Once your Chassis is ready, attach the TT gear motor with it using Hot Glue and anything else you want. Here I have used 60 rpm TT Gear Motor.

Please follow the steps below, If you are new and not well familiar with this ESP8266 module, or facing a problem while uploading the code

1.First Download the code from the link below. Now open Arduino and Go to File~New.

2.Now a new window will appear. Next, Delete all the existing code and Paste the given code.

3.In the code, you will find Additional Board Manager URL now copy the URL and do the next step. For Different OS you have a different option. MAC: Go to Arduino ~ Preferences Windows: Fille ~ Preferences

4.Now Paste it in the Additional Board Manager URL section and press Ok. Now go to Tools ~ Board ~ Boards Manager Search for ‘ESP8266‘ and install the latest version.

5.After the installation Then go to Tools ~ Board and then select the ESP-12E Module. So, The Board is selected Now.

6.Next, Select the Right COM Port.

7.Then compile the Programme First and then Upload it to NodeMCU.

After a few seconds, the code will be compiled and then Uploaded to NodeMCU Car.”

Link to article