Phone Controlled Robot Car using Wi-Fi Module

Remotely controlled car - IoT based project using Wi-Fi Module and MIT App Inventor with intuitive control. A step-by-step guide!

Sep 24, 2021

10788 views

4 respects

Components and supplies

1

Li-Polymer Battery, 150mAh

1

Arduino UNO

4

DC Motor, 12 V

1

NodeMCU ESP8266 Breakout Board

2

Dual H-Bridge motor drivers L298

1

Jumper wires (generic)

Tools and machines

1

Mastech MS8217 Autorange Digital Multimeter

1

Multitool, Screwdriver

Apps and platforms

1

Arduino IDE

1

MIT App Inventor 2

Project description

Code

Arduino Uno Code

arduino

Code for receiving incoming data from NodeMCU and giving input to the motor drivers to vary the speed and direction of spin of motors.

NodeMCU Code

arduino

Code for taking input data from your Joystick application on the phone and sending the data to Arduino via I2C communication protocol.

Remote_Controll_Joystick.aia

java

You can open this file by going to https://appinventor.mit.edu/. Download the .aia file and then import project on the App Inventor.

NodeMCU Code

arduino

Code for taking input data from your Joystick application on the phone and sending the data to Arduino via I2C communication protocol.

Remote_Controll_Joystick.aia

java

You can open this file by going to https://appinventor.mit.edu/. Download the .aia file and then import project on the App Inventor.

Downloadable files

Interfacing L298n motor driver with Arduino and Motors

We direct the power to the Arduino via the L298n motor driver.

Interfacing L298n motor driver with Arduino and Motors

Interfacing NodeMCU with Arduino

To power the NodeMCU, just connect the 3V3 pin on the Wi-Fi module to 3.3V port on Arduino.

Interfacing NodeMCU with Arduino

Speed and Direction Control Circuit

Speed and Direction Control Circuit

Interfacing L298n motor driver with Arduino and Motors

We direct the power to the Arduino via the L298n motor driver.

Interfacing L298n motor driver with Arduino and Motors

Interfacing NodeMCU with Arduino

To power the NodeMCU, just connect the 3V3 pin on the Wi-Fi module to 3.3V port on Arduino.

Interfacing NodeMCU with Arduino

Speed and Direction Control Circuit

Speed and Direction Control Circuit

Comments

Only logged in users can leave comments

Anonymous user

2 years ago

Amazing

Anonymous user

3 years ago

WHY code:19:17: error: 'requestEvent' was not declared in this scope exit status 1 'requestEvent' was not declared in this scope This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

suk_

2 years ago

Hello, The only reason for this error to occur is that you have not created the function 'requestEvent' in your code. The rest of the error message is a suggestion on how to debug your code better. For solution to your problem, you can try copying the code I have provided directly and then compare yours with it and the problem would become very evident. :)

manvika-g

3 years ago

Amazing