Robotic Arm Project Using ArduinoNowadays, manual labor is being reduced at big scale industries and factories to increase efficiency and gain profit by installing robots that can do repetitive works. A onetime installation of such a device may cost a huge amount, but in the long run, will turn out to be more profitable that manual labor. Out of the lot, a simple robotic arm is one of the most commonly installed machines. We are introducing the basic concepts of an Arduino controlled robotic arm project.The programmable robotic arm finds extensive applications in its use in extreme conditions like space mission or underwater expeditions. It is also using in nuclear power plants and in toxic atmospherewhere human surveillance is difficult.There are numerous types of robotic arm used in industries but going to give you details on a basic prototype. The movement of parts is done by servomotor, which can rotate approximately up to 190 degrees.
The whole circuit is powered by 12-volt adapter and an is used as the controlling unit. The servo motor for robotic arm is controlled by android mobile. The communication between mobile phone and servo robot arm is done by Bluetooth module HC-05. Components Used ComponentsSpecificationsQuantityArduinoNano1Servo MotorG94Robotic Arm3D Printer PartsBluetooth ModuleC-051Power Adaptor12 Volt1Arduino Robotic Arm Project – WorkingThe mini-robot arm uses four servomotors to move the arm. Servomotors are controlled by Arduino and connected to the PWM pin of Arduino. There are eight buttons in the android app.
Robotic arm control through human arm movement using accelerometers a thesis submitted in partial fulfillment of the requirements for the degree of bachelor of technology in electronics & instrumentation engineering by ashutosh pattnaik, 109ei0297 rajiv ranjan, 109ei0339 under the supervision of prof. Santos kumar das. (DoF) robotic arm using servo motors. Servo motors are employed to realize the robotic arm. Schematic diagram of user-controlled robot arm circuit.
Out of these, four buttons are used to control the four servo motors. One button is used for clockwise rotation and other is used for anticlockwise of the mini robot arm.The Bluetooth app interface is shown in the figure below. Bluetooth App InterfaceOut of eight buttons, four buttons are Red and four are Yellow. When a button is pressed it sends a unique character to Arduino via Bluetooth. As soon as the Arduino receives the character, its command is identified and rotates the servo motor accordingly.For clockwise rotation of servo motor the red button in the application is to be pressed. Four buttons are used for each servomotor. When the red button is pressed it sends two types of characters.
First is the press character and the second is the release character. When a button is pressed, a character is sent through Bluetooth and the Arduino rotates the servo motor one degree in one cycle. If button is not released servomotor moves one degree in next cycle.This same process is also used when yellow buttons are pressed, but this time the servo motor rotates one degree in the anticlockwise direction.
Press and release characters are shown in the table given below. Programmable Robot Arm – Press and Release Characters SwitchPress CharRelease CharRED1AaRED2BbRED3CcRED4DdYELLOW1ZzYELLOW2YyYELLOW3XxYELLOW4WwArduino Robotic Arm Project – CircuitIn the circuit, Arduino Nano is used and Bluetooth module HC-05 is connected to it. Servomotors are connected to PWM pinsof Arduino and the circuit is powered with 12 volt DC adapter.There are three pins in the servo motor. One is the Vcc, other is the GND, and the third is the SIG pin.
The SIG pin is connected to PWM pins of Arduino. The pins 6, 9, 10 and 11 are connected to the servomotor. Bluetooth module has four connecting pins.
Two of them are Vcc and GND. The other two are Rx and Tx pins. Rx pin is connected to pin 8 of Arduino and TX pin is connected to pin 12 of Arduino.In the robotic arm project using Arduino, an etched PCB is used. The PCB design is given below.
Robotic Arm Using Arduino Simple Robotic Arm Project – VideoCustomization of AppCustomization of app is shown in the video below. Download the app “Bluetooth Electronics” from Playstore. Open the app and touch on empty space. In the right side touch on buttons, now buttons are visible in bottom. Drag and drop the buttons as shown in video. Select any button and assign the “press char” and “release char” as shown in fig1 and Table2. Repeat these steps for every button.Program/CodeIn the beginning of code, two header files are used.
The first one is “SoftwareSerial.h” which is used for Bluetooth module and the second is “servo.h” which is used for servo robot arm. Now Bluetooth Rx and Tx pins are defined by function “Software Serial mySerial (7, 8)” in which pin 7 is connected to Rx pin of Bluetooth module and pin8 is connected to Tx pin.Now servomotors are declared by function “Servo myServo”. Four servos are declared by the same function from line 6 to 9. After that, four integers are declared by names pos1 to pos4.
All integers are equal to 90 (degree), which is the starting position of servo motor. Another integer is declared by name “in” which is equal to input char coming from mobile phone.In the void setup “mySerial.begin(9600)” is used for beginning ofcommunication using Bluetooth. All the servo motors are activated using “myServo.attach”In the void loop, mySerial.available is used in if loop, it will executewhen data receiving from mobile side. Now this char is assigned in theintiger “in”.In the line “32 in ‘A’ “is used inside the “if” loop when it become true pos1 starts increasing. Same condition is used in line 33 for Z it decrease the value of pos1. These conditions are used for pos2, pos3 and pos4.
Now “myServo.write(pos)” function is used for moving at the “pos” position. Sort By Type. (30). (16). (26). (21).
(39). (70). (3). (104). (28). (23). (1).
(17). (23). (7).
(14). (1). (5). (7). (2). (10).
(2). (2). (11). (1). (7). (31).
(3). (10). (5).
(7). (1). (3). (1). (16). (3).
(14). (6).
(15). (2). (1). (26).
(35). (15). (1). (1). (13). (20). (5).
(20). (3). (14). (44). (3).
(12). (3). (14).
(14). (25). (2).
(29). (8). (3). (72). (12).
(1). (7). (16). (3). (30). (19).
(3). (3). (12). (8).
(7). (2). (17). (16). (11).
(13). (1). (2). (6).
(86). (9). (4).
(3). (38). (9). (1). (3).
(20). (6). (7).
(163). (2). (3). (5). (36).
(15).
The robot has two basic functions:. Program: Record arm positions in three dimensions (each record is a 'step').
Run: Perform in sequence the positions recorded in the 'Program'. The robot will run the program until the command 'ABORT' is used.Main characteristics:. The project can be used to control robots with 3 or 4 DOF ('Degrees of Freedom'). The robot can be controlled in 'LOCAL' and 'REMOTE' modes (the last one via an Android device). During the program phase, user can change the control mode from 'LOCAL' to 'REMOTE' and vice and versa. Information to user will be provided thru colored LEDs, a 2 lines LED display and sound (a buzzer). The sound alarm can also be triggered remotely.Step 2: The project.