Things used in this project
Hardware components | ||||
NodeMCU ESP8266 Breakout Board | × | 1 | ||
Software apps and online services | ||||
Arduino IDE | ||||
Hand tools and fabrication machines | ||||
Soldering iron (generic) |
Story
In this project tutorial we will learn how to control robot car by using android device via WiFi over the Internet. We will use the NodeMCU ESP8266-12E for this project and L298N motor Driver Board.
Required:
1. ESP8266 ESP-12 (NodeMcu) – https://amzn.to/2SvpcCt
2. Dual H Bridge DC Motor Drive Controller Board Module – L298N D2 – https://amzn.to/2X9eX5M
3. 12v Battery (I m using 11.1v 2200mah lipo Battery) – https://amzn.to/2X0kHyI
4. 2 Geared DC Motor – https://amzn.to/2SvkmFn
5. Frame for Holding 2 DC Motors. – https://amzn.to/2E8nPkr
6. Any Android Mobile.
Add NodeMCU library – click here – http://www.robocircuits.com/how-to-install-esp8266-library-in-arduino/
Like us at https://fb.com/robocircuits
Follow us at https://instagram.com/robocircuits
Follow us at https://twitter.com/robocircuits
Visit us at http://robocircuits.com
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "YourNetworkName";
char pass[] = "YourPassword";
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
// You can also specify server:
//Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80);
//Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);
}
void loop()
{
Blynk.run();
}