Table of Contents

Robotic Arm with Two Motors

Simple Robotic Arm
Project Description

Introduction

In this project, we will make the robotic arm without any end effectors. There will be only two servo motors in the robot. One on the base and another on Link 1. We will control this robot using two potentiometers.

Assembly

  • Mount servo horn on top inner bearing disc using self-threading M2 (“M2” represents a diameter of 2mm) screws of 8mm length. These screws can be found in servo accessories. Be careful about holes you are mounting the horn on (use holes closer to disk centre).

Mounitng Servo HormMounted servo Horn

  • Place 30 mm stand-offs on the base. Fasten using M3 bolts of 8mm length.

  • Take the bottom outer bearing disc and slide it over standoffs.

  •  Mount bottom inner bearing disc on stand-offs. Align the disc such that smaller holes are in line with the stand-offs.

  • Put the bearing on top of bottom inner bearing disc. Observe how disc supports the bearing from beneath.

  • Next, place the two middle inner bearing discs. These will perfectly fit inside the bearing.

  • Seat the “servo horn & top inner bearing disc” assembly on top of bearing as shown. Make sure all smaller holes in these discs are aligned since we will fasten them all together using 20mm M3 bolts.

Note1: Do understand that it was necessary to slide down the bottom outer bearing disc earlier. You won’t be able to do it now due to diameter differences.

Note2: Observe how the bearing has been clamped between the top and bottom inner bearing discs.
  • Place the middle outer bearing discs first and then top outer bearing disc as shown. The middle discs will have a larger inner diameter compared to the top and bottom ones. The inner diameters of the middle discs will be equal to the bearing’s outermost diameter.

  • Slide up the bottom outer bearing disc, align the holes in the discs and stack them.

Again, see how the bearing is sandwiched because the top and bottom bearing discs have a smaller inner diameter compared to the bearing’s outermost diameter.
  • Place 20 mm stand-offs on the top and fasten the M3 bolts of 20mm length from the bottom. Your base is completed now.

The base assembly should look like this upon completion.

  • Place servo motor into the slot available on racquet-shaped link 1. Be careful about the positioning and the orientation of the servo. Have a careful look at the illustrations.

evive Robotic Arm

  • Fasten the servo to the link using M4 bolts of 16mm length and nuts.

evive Robotic Armevive Robotic Arm

  •  In the figures, you see head of servo pointing upwards. Don’t let this confuse you; the head actually goes into the slot in the horn. We will come to this again, for now attach M3 bolts of 8mm length and 20mm standoffs to the link as shown in the illustrations below.

evive Robotic Arm

evive Robotic Arm

This is the orientation in which we will place the completed link upon our base. Note the free holes through which we will drive the screws to fix it to the base.
evive Robotic Arm
  •  Place this assembly on the base as shown & fasten using M3 bolts of 8mm length.

evive Robotic Arm

Keep in mind that you’ve set servo at 90 degrees before assembling (connect servo to evive, go to control > servo and set servo  at 90 degrees).
evive Robotic Arm
evive Robotic Arm
  • Observe how head of the servo goes into the servo horn. We have to ensure proper locking between servo head and servo horn. To do this, drive a bolt into centre of the horn (find this in servo accessories) through the bottom of the base (through the large hole) and fasten it.

evive Robotic Arm

It is important to ensure that your servo motor does not move vertically and exhibits only rotary motion while in operation.
  • Push the servo in the slot provided on the racquet shaped link 2 as shown and fasten it using M4 bolts of 16mm length and M4 nuts. Notice the difference between this step and what we did for the sketching robot.
    Mounting ServoMounting Servo Mounting Servo
  • Place this on the part you have already assembled (step 0) and fasten using M3 bolts of 8mm length.
    Moutning Raquet 2
    This is how our first link will look once the Racquet-shaped links have been assembled. The head of the Servo points upwards.
    Moutning Raquet 2
  • Take the supporting link and attach a servo horn to it as shown. Fasten the horn with M2 bolts of 8mm length.
    Mounting Servo horn Mounting Servo horn
  • Place the servo horn on Link 1 servo and fasten it using M3 bolt provided with the servo. You can also attach support link 2 if the robot arm is bending using M3 20mm stanoffs, M3 Bolts of 8mm lenght and M3 nuts.

Your assembly is complete

Simple Robotic Arm

Controlling robot using evive

evive has two dedicated servo motor outputs pins.

Signal pin of servo 1 is connected to digital pin 44 and servo 2 is connected to digital pin 45.

evive servo output channel

Circuit Diagram

In the following example, I will be showing you how to control servo through channel 1 and channel 2. Given below is the circuit diagram:

evive Basic Robotic Arm Circuit Diagram

A Servo pin has three wires (Order to be connected in evive, left to right)

  • Brown wire: GND
  • Red wire: VCC
  • Orange wire: Signal
Caution: Power evive using a 12V 2A power adapter for smooth functioning of servo motor. The VVR (Variable voltage) should be close to 6V.

evive Firmware

  • In the firmware, the first option is Control. Using the navigation key, click right and you will enter control submenu.
  • In control submenu, you will find three options:
    1. Motors
    2. Servos
    3. Stepper Motor
      Navigate to Servo.
  • In side servo motor control you will see another three options:
    1. Servo 1 (To control servo motor through channel 1)
    2. Servo 2 (To control servo motor through channel 2)
    3. Servo 1 and 2 (To control both servo motor)
      Select Servo 1 and Servo 2 for this case
  • Now you will see a panel, where on the left half you see angle set on servo channel 1 and channel 2. Using Potentiometer 1 you can control the base servo angle ranging from 0 to 180 degrees and potentiometer 2 you can control link 1 servo angle.

Arduino Code

Controlling Arm using Arduino Uno

Arduino uno has 6 PWM pins: 3, 5, 6, 9, 10, and 11 which provide 8-bit PWM output with the analogWrite() function.

We will controlling serov using Pin 3 and 5.

Circuit Diagram

A Servo pin has three wires (Order to be connected in evive, left to right)

  • Brown wire: GND
  • Red wire: VCC
  • Orange wire: Signal

Caution: Power servos using a 6V 2A power adapter for smooth functioning of servo motor.

Code

Project Downloads - Code and Files

Circuit Diagram

Circuit Diagram DescriptionCircuit Diagram Fritzing Diagram

Connect two Servo motors to evive Servo Motor Channels: Base Servo Motor to Channel 1 and Link 1 servo motor to Channel 2.

Explore Related Projects by STEMpedia

Explore Community Projects