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

S4A (Scratch for Arduino) Project - A Keyboard Controlled Robot Car A fun project to create a keyboard controlled robot car... based on the   "Robotics: keyboard driven car" project on the   S4A site . This to me, is a perfect example of an interdisciplinary project: there is quite a bit of mechanical, electrical and computer engineering involved. This project is being used by the Grade 5 kids in my child's school this year; the kids have been working with the Pro-Bot for quite a bit of time and I felt that letting them create their own robot car that behaves similar to the Pro-Bot is a great finale. So far, it's my favorite Arduino project. Below is a formal lesson plan for the robot car. Note:   This is a simplified version of the car from the S4A site - it just involves creating the keyboard driven car, minus the remote controller. This means the car stays connected to the laptop via the USB cable.   Aim Design your own robot car, whose movements can be c...

TOUCH SWITCH CIRCUIT WITH MOSFET

TOUCH SWITCH CIRCUIT WITH MOSFET By  leeselectronic  in  Technology Electronics 1,326 13 Featured Download Favorite By  leeselectronic Lee's Electronic Follow More by the author: About: Electronic Hobby Store  More About leeselectronic » Intro: Touch Switch Circuit With MOSFET Created by: Jonsen Li Overview: The simple touch switch LED circuit utilizes biasing characteristics of the MOSFET. MOSFET stands for Metal-oxide-semiconductor field effect transistors. It is a voltage controlled device meaning that the current passing through the device is controlled by the voltage between two terminals. Parts you will need: A power MOSFET (IRFZ-44 NPN)  (Lee's ID: 71211) 9V battery  (Lee's ID: 83741) 12V LED bulb  (Lee's ID: 5504) Jumper wires  (Lee's ID: 21802) Breadboard  (Lee's ID: 10686) 9V battery clip  (Lee's ID: 653) Add Tip Ask Question Comm...