Skip to main content

Wifi Rc car



WIFI CAR USING NODEMCU


2,982
33
4



About: An electronics hobbyist 

Intro: WiFi Car Using NodeMCU

We have build car using many transmission technologies. But what about a WiFi Controlled Car?
Actually speaking..Wifi is till now the most promising technology and engineers are using that tech to improve it more and more. This tech is most popular today and will remain for decades.Low power WiFi have also been developed.So let us focus today on this technology.
Here I have made a Car that can be controlled using WiFi. Actually you can control it anywhere from the world if you host your IP on a site, but here we shall restrict us to local WiFi only. So let's build it.

Step 1: Parts Required

1. NodeMCU
2. Breadboard
3. Wires
4. L293D or L298 Motor Driver (I used L293, L298 is better option)
5. Chassis,Motor(200-500 rpm),Wheels
6. Castor wheel 1pc
7. 5-9V power supply

Step 2: About the NodeMCU and the Car

Picture of About the NodeMCU and the Car
NodeMCU is actually a ESP12 AI THINKER microcontroller(MCU) like the 328P but the thing is that it has WiFi integrated into the ESP12. So excellent for IOT beginners. It can connect over Wifi and can also create a Hotspot as well. See the pinout given in the pic above.The GPIO numbers will be used in the arduino code. If you are using LUA then the coding is a bit different. But here we are using Arduino IDE.
Now here in this case...the MCU connects with my router and it creates a local IP and we can enter that IP in our Mobile or computer( connected to the same router) and can see a webpage coming and there will be certain buttons by which we can control the car.Now you can host that IP and then you can control it from anywhere over the world.

Step 3: Connections and Uploading Code

Picture of Connections and Uploading Code
Picture of Connections and Uploading Code
Setup your chassis.Connect motors and wheels and the castor wheel with screws.Solder wires with motors and connect it to sockets of driver.
See the figure above and connect. Connect your motors as per your configuration. If you are connecting your motor for first time with the L293 driver then at first run a code for moving forward with the UNO. Then give a try to the right and then left.Backward will follow it. It will be just a case of digitalWrite(). Comment freely if you are not okay.
Power is required for the Nodemcu as well as the L293D. It will be better by using a different supply for the two things. Give 5V from powerbank at the Vin and GND of NodeMCU. You can use 9V or 12Vfor L293. The whole process is rather easy. See the pic given here and refer it with the pinout pic of nodeMCU. You will understand it better.
Install the driver given here before connecting MCU to your PC
OR
before uploading code see the tutorial here..


Now upload the code the given here.Change the password and SSID at the beginning.Enter that of yours.Then upload it.




Comments

Popular posts from this blog

Arduino NANO 3X3X3 LED CUBE

DIY | 3X3X3 LED CUBE FOR ARDUINO NANO+ By   RGBFreak   in   Technology Arduino 17,143 146 22 Featured Download Favorite By   RGBFreak RGBFreak's YouTube Channel Follow More by the author: About: Hi there visitor! First of all thank you for checking out my profile! My name is Youri. I study Technical Computer Science in the Netherlands. I especially love the electronical part of my study. Since I l...   More About RGBFreak » Intro: DIY | 3x3x3 LED Cube for Arduino Nano+ Hi everyone! My name is RGBFreak and I created a YouTube channel quite recently. I love DIY and I especially love LED's, so that's why I decided to make my own 3x3x3 LED Cube! You will need the following items to make this LED Cube: • 27 single colored LED's. • Arduino Nano or one of his bigger brothers. • 3 NPN Transistors. I used the BC547. • 3 pin headers with 3 pins. • 1 pin header with 4 pins. • A piece of perfboard. • A few small cables. Ad

DIGITAL UV-METER, WITH OLED DISPLAY. ARDUINO PROJECT FOR BEGINNERS

DIGITAL UV-METER, WITH OLED DISPLAY. ARDUINO PROJECT FOR BEGINNERS By   techn0man1ac   in   Technology Arduino 4,792 87 13 Featured Download Favorite By   techn0man1ac Techn0man1ac blog Follow About: Techn0man1ac - техноманьяк   More About techn0man1ac » Intro: Digital UV-meter, With OLED Display. Arduino Project for Beginners Video demonstration (English subtitles). Hello,   instructable . Today I will tell you how to make a simple digital VU meter (sound level meter) using Arduino and OLED displays and 2 resistors by yourself (DIY). The device is quite simple, for beginners it will be a rewarding experience. Add Tip Ask Question Comment Download Step 1: Components for This Arduino Project: 3 More Images Arduino Nano V3.0; 0.96 inch IIC I2C 128X64 OLED Display; One 10K, resistor(R1 no scheme); One 10K-100K potentiometer(R2no scheme); Wires. Add Tip Ask Question Comment Download Step 2: Dev

Ultrasonic Distance Sensor in Arduino With Tinkercad

  Ultrasonic Distance Sensor in Arduino With Tinkercad Let's measure distances with an ultrasonic rangefinder (distance sensor) and Arduino's digital input. We'll connect up a circuit using a breadboard and use some simple Arduino code to control a single LED. You may have already learned to   read a pushbutton   and   PIR motion sensor   with Arduino's digital input, and we'll build on those skills in this lesson. Ultrasonic rangefinders use sound waves to bounce off objects in front of them, much like bats using echolocation to sense their environment. The proximity sensor sends out a signal and measures how long it takes to return. The Arduino program receives this information and calculates the distance between the sensor and object. Find this circuit on Tinkercad Explore the sample circuit embedded here by starting the simulation and clicking on the proximity sensor. This will activate a highlighted area in front of the sensor with a circle "