Sharat HegdeAkshay AggarwalVishwas Shankar
Published © GPL3+

WiFi Controlled Robot using Arduino UNO and Blynk

Control your Robot from anywhere using the ARMA IoT shield for UNO and the Blynk App which provides the user interface.

BeginnerProtip30 minutes17,636
WiFi Controlled Robot using Arduino UNO and Blynk

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
Dual H-Bridge motor drivers L293D
Texas Instruments Dual H-Bridge motor drivers L293D
×1
Mektrasys ARMA IoT
×1
Jumper wires (generic)
Jumper wires (generic)
×1
USB-A to B Cable
USB-A to B Cable
×1
sheet metal robotic chasis
×1
geared dc motors
×2
wheels for dc motors
×1
castor wheel
×1
nut and screw for fastening castor wheel
×3
12V battery charger cum adapter
Note: A 12V battery can be used instead but for simlicity, we have used a 12V AC power supply
×1

Software apps and online services

Blynk
Blynk
Arduino IDE
Arduino IDE

Story

Read more

Schematics

L293D motor driver schematics

it is the connections needed to interface motor driver l293d with the dc motors

L293D driver module schematics

If you have a driver module like the one shown in the pic, the connections are much simpler as shown

Code

ARMA IoT and Blynk interfacing

Arduino
 * Blynk is a platform with iOS and Android apps to control
 * Arduino, Raspberry Pi and the likes over the Internet.
 * You can easily build graphic interfaces for all your
 * projects by simply dragging and dropping widgets.
 *
 *   Downloads, docs, tutorials: http://www.blynk.cc
 *   Blynk community:            http://community.blynk.cc
 *   Social networks:            http://www.fb.com/blynkapp
 *                               http://twitter.com/blynk_app
 *   Mektrasys ARMA IoT          http://mektrasys.com
 *
 * Blynk library is licensed under MIT license
 * This example code is in public domain.
 *
 **************************************************************
 *
 * This example shows how to use ESP8266 Shield (with AT commands)
 * to connect your project to Blynk.
 *
 * Note: Ensure a stable serial connection to ESP8266!
 *       Firmware version 1.0.0 (AT v0.22) is needed.
 *       You can change ESP baud rate. Connect to AT console and call:
 *           AT+UART_DEF=9600,8,1,0,0
 *       In general, Soft Serial may be unstable.
 *       It is highly recommended to switch to Hard Serial.
 *
 * Change WiFi ssid, pass, and Blynk auth token to run :)
 * Feel free to apply it to any other example. It's simple!
 *
 **************************************************************/

#define BLYNK_PRINT Serial    // Comment this out to disable prints and save space
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>

// You should get Auth Token in the Blynk App.

char auth[] = "5a9ef0a7de964d62b447951e2993141b";   //auth token

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "Wi-Fi Id";                //wi-fi ID, it is case sensitve and blank space between characters matter
char pass[] = "Wi-Fi Password";         //wifi password

#include <SoftwareSerial.h>


// Your ESP8266 baud rate:
#define ESP8266_BAUD 115200      // set serial monitor baud rate to 115200 as well

ESP8266 wifi(&Serial);

void setup()
{
  // Set console baud rate
  Serial.begin(115200);
  delay(10);
  // Set ESPop8266 baud rate
 Serial.begin(ESP8266_BAUD);
  delay(10);

  Blynk.begin(auth, wifi, ssid, pass);
}

void loop()
{
  Blynk.run();
}

ARMA IoT and Blynk interfacing

this is a sample code to link ARMA IoT shield and blynk app, it is helpful for controlling your arduino through the blynk app using a WiFi connection. This code can be used in many different ways to create numerous projects using different combinations of hardware with the ARMA IoT.

Credits

Sharat Hegde

Sharat Hegde

2 projects • 4 followers
Akshay Aggarwal

Akshay Aggarwal

2 projects • 7 followers
Vishwas Shankar

Vishwas Shankar

1 project • 0 followers

Comments

Add projectSign up / Login