Project tutorial

Robotic Arm Control Using Bluetooth, Arduino and Android App

Control a robotic arm using a Bluetooth HC-05 module and Arduino via an Android app.

  • 6,476 views
  • 2 comments
  • 16 respects

Components and supplies

Apps and online services

About this project

Operating robotic arm with wireless Bluetooth connection from Android app.

Connections:

Connect:

  • pin 2,3 to wheel left motor
  • pin 4,5 to wheel right motor
  • pin 6,7 to gripper hand motor for holding and dropping
  • pin 8,9 to joint 2 motor
  • pin 10,11, to joint 3 motor
  • Pin 12,13 to joint 4 motor
  • Pin 14,15 to joint 5 motor
  • HC-05 rx to tx of Arduino
  • HC-05 tx to rx of Arduino
  • HC-05 vcc to 5v of Arduino
  • HC-05 gnd to gnd of Arduino

Please send your project images and videos to us which you made using this app and code to ksjones777@gmail.com or whatsapp to +919030266397 to make us happy.

GOD BLESS YOU

Code

ROBOTIC ARM CODE BY JONES KYSArduino
https://raw.githubusercontent.com/Joneskys/PROGRAMS/master/ROBOTIC_ARM_AND_CAR.ino
int inByte;
void setup()
{
Serial.begin(9600);
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
pinMode(12, OUTPUT);
pinMode(13, OUTPUT);
pinMode(14, OUTPUT);
pinMode(15, OUTPUT);

}
void loop()
{
if (Serial.available() > 0)
{
inByte = Serial.read();
switch (inByte)
{
case '1':
digitalWrite(2, LOW);
digitalWrite(3, HIGH);
digitalWrite(4, LOW);
digitalWrite(5, HIGH);
Serial.println("FRONT");
break;
case '2':
digitalWrite(2, HIGH);
digitalWrite(3, LOW);
digitalWrite(4, HIGH);
digitalWrite(5, LOW);
Serial.println("BACK");
break;
case '3':
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, HIGH);
Serial.println("LEFT");
break;
case '4':
digitalWrite(2, LOW);
digitalWrite(3, HIGH);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
Serial.println("RIGHT");
break;
case '5':
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, LOW);
Serial.println("STOP");
break;
case 'A':
digitalWrite(6, LOW);
digitalWrite(7, HIGH);
Serial.println("JOINT 1 CLOCK");
delay(200);
digitalWrite(6, LOW);
digitalWrite(7, LOW);
break;
case 'B':
digitalWrite(6, HIGH );
digitalWrite(7, LOW);
Serial.println("JOINT 1 ANTICLOCK");
delay(200);
digitalWrite(6, LOW);
digitalWrite(7, LOW);
break;
case 'C':
digitalWrite(8, LOW);
digitalWrite(9, HIGH);
Serial.println("JOINT 2 CLOCK");
delay(200);
digitalWrite(8, LOW);
digitalWrite(9, LOW);
break;
case 'D':
digitalWrite(8, HIGH);
digitalWrite(9, LOW);
Serial.println("JOINT 2 ANTICLOCK");
delay(200);
digitalWrite(8, LOW);
digitalWrite(9, LOW);
break;
case 'E':
digitalWrite(10, LOW);
digitalWrite(11, HIGH);
Serial.println("JOINT 3 CLOCK");
delay(200);
digitalWrite(10, LOW);
digitalWrite(11, LOW);
break;
case 'F':
digitalWrite(10, HIGH);
digitalWrite(11, LOW);
Serial.println("JOINT 3 ANTICLOCK");
delay(200);
digitalWrite(10, LOW);
digitalWrite(11, LOW);
break;
case 'G':
digitalWrite(12, LOW);
digitalWrite(13, HIGH);
Serial.println("JOINT 4 CLOCK");
delay(200);
digitalWrite(12, LOW);
digitalWrite(13, LOW);
break;
case 'H':
digitalWrite(12, HIGH);
digitalWrite(13, LOW);
Serial.println("JOINT 4 ANTICLOCK");
delay(200);
digitalWrite(12, LOW);
digitalWrite(13, LOW);
break;
case 'I':
digitalWrite(14, LOW);
digitalWrite(15, HIGH);
Serial.println("JOINT 5 CLOCK");
delay(200);
digitalWrite(14, LOW);
digitalWrite(15, LOW);
break;
case 'J':
digitalWrite(14, HIGH);
digitalWrite(15, LOW);
Serial.println("JOINT 5 ANTICLOCK");
delay(200);
digitalWrite(14, LOW);
digitalWrite(15, LOW);
break;
}
}}

Schematics

ROBOTIC ARM CONNECTIONS IN COMMENT BOX PLEASE CHECK THAT
USE CASTOR WHEEL& L293D
PIN 2,3 TO WHEEL LEFT MOTOR
PIN 4,5 TO WHEEL RIGHT MOTOR
PIN 6,7 TO GRIPPER HAND MOTOR FOR HOLDING AND DROPPING
PIN 8,9 TO JOINT 2 MOTOR
PIN 10,11, TO JOINT 3 MOTOR
PIN 12,13 TO JOINT 4 MOTOR
PIN 14,15 TO JOINT 5 MOTOR
HC-05 RX TO TX OF ARDUINO
HC-05 TX TO RX OF ARDUINO
HC-05 VCC TO 5V OF ARDUINO
HC-05 GND TO GND OF ARDUINO

Please send your project images and videos to us which you made using this app and code to ksjones777@gmail.com or whatsapp to +919030266397 to make us happy.
Dsc 0021 stkau40w9f
ROBOTIC ARM CONNECTIONS
HERE THE CONNECTIONS IS ONLY FOR ROBOTIC ARM .PLEASE ADD ANOTHER L293D DRIVER AND CONNECT ANOTHER TWO WHEEL MOTORS.
roboticarm_arduino_YORdgAm7id.fzz

Comments

Similar projects you might like

Central Heating Boiler Control Box

Project tutorial by Peter Groeneveld

  • 1,246 views
  • 4 comments
  • 6 respects

Protect Your Room with Fingerprints for Under $20

Project tutorial by Srivishnu Piratla

  • 1,891 views
  • 1 comment
  • 3 respects

Smart Talking Humanoid Robot Just with Arduino!

Project tutorial by ashraf_minhaj

  • 908 views
  • 4 comments
  • 10 respects

Smart Access [Home/Office Automation]

Project in progress by Ajmal Muhammad P

  • 1,846 views
  • 5 comments
  • 10 respects

Email Home Automation

Project tutorial by Chirila Radu

  • 840 views
  • 0 comments
  • 7 respects

Internal Timers of Arduino

Project tutorial by Marcazzan_M

  • 5,332 views
  • 10 comments
  • 37 respects
Add projectSign up / Login