IoT Robotic Arm
1591 13
udit fand

IoT Robotic Arm

The project is Robotic-arm controlled by a mobile application known as BLYNK; it is free and...

Description:-

The project is Robotic-arm controlled by a mobile application known as BLYNK; it is free and easy to use for automation and IoT projects for beginners. In this project, multiple servo control different axes and rotation of the arm in a different direction. This project can be used where human intervention is not possible, it can attach to a remote-controlled rover. It can carry radioactive stuff, turn on-off the switch, carry a light load, push-pull lever.

IoT based Robotic ARM

Project Used Hardware

NodeMCU, servo motors

Robotic ARM Setup

Project Used Software

ArduinoIDE, BLYNK

Circuit Diagram

 

1. Solder female pin on PCB for NodeMCU.

2. Solder male header for all servo.

3. Connect each digital pin to the servo control signal pin.

4. Connect the common ground of all servo and NodeMCU to DC jack GND.

5. Connect all Vcc of servo and NodeMCU(Vin) pin to Vcc pin of DC jack through a sliding switch.

Robotic Arm Circuit

Code

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <Servo.h>
Servo servo1;
Servo servo2;
Servo servo3;
Servo servo4;
Servo servo5;
char auth[] = "asCBTcooYXmcpTxrGld8AyXEm6Q7gDKr";
char ssid[] = "udit_accesspoint";
char pass[] = "admin@pass";
void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth, ssid, pass);
  servo1.attach(5); // NodeMCU D1 pin
  servo2.attach(4); // NodeMCU D2 pin
  servo3.attach(0); // NodeMCU D3 pin
  servo4.attach(2); // NodeMCU D4 pin
  servo5.attach(14); // NodeMCU D5 pin
}
void loop()
{
  Blynk.run();
}
BLYNK_WRITE(V1)
{
  servo1.write(param.asInt());
}
BLYNK_WRITE(V2)
{
  servo2.write(param.asInt());
}
BLYNK_WRITE(V3)
{
  servo3.write(param.asInt());
}
BLYNK_WRITE(V4)
{
  servo4.write(param.asInt());
}
BLYNK_WRITE(V5)
{
  servo5.write(param.asInt());
}