กลับไปหน้ารวมไฟล์
2-dimensional-delta-robot-with-servo-motor-arduino-a0f799-en.md

This is a 2D delta robot that has 4 moving links and 1 stationary link. This makes it a 5 bar mechanism. It is powered by two servomotors. The two servo motors are able to move the links such that the center point of the link can trace/draw any shape.

I got the inspiration from the 3d delta robot IRB 360 Flexipicker from ABB. This robot from ABB had 3 motors so, it can work in 3 dimensions. I didn't have the proper hardware and motors. So, I decided to continue it in 2 dimensions with only 2 motors.

The servo motors should be mounted on a fixed surface. I used a wooden bar and rubber band to secure them in place.

Make 4 links of equal lengths. Adjust the motors such that the distance between their rotor is equal to the length of the link. Punch holes at its ends. Then join them with each other to make a long chain. Connect the endpoints of the chain to the horns of the servo motor.

Technical Implementation: Parallel Kinematics

The robot's speed and agility come from its unique mechanical design. Unlike a traditional serial-link robot, the delta robot's end-effector is supported by parallel arms. This distributes the weight of the motors, giving the robot high acceleration and precision.

Software Logic & Inverse Kinematics

The inverse kinematics method is used to calculate the angle of each servo motor. The point on the plane is (x, y) and to reach that point each motor has to be at a certain angle. That angle is calculated by trigonometry. All this is done in the code.

The Arduino code is the heart of the robot's motion:

  1. Target Position: The robot receives a target (X, Y) position in its workspace.
  2. Inverse Kinematics: The code solves a set of geometric equations to find the precise angle for each of the two servo motors.
  3. Execution: The Arduino sends the calculated PWM signals to each servo (e.g., servo1.write(angle1), servo2.write(angle2)).

Thus passing coordinates to a function. All the calculation is done and the respective angle is returned.

We tried making straight lines, circles & squares. But due to improper hardware and unreliable cheap servo the shape to be drawn wasn't accurate. But this is just a technology demonstrator.

Future Expansion

This project is a perfect testbed for learning about inverse kinematics and robotic motion control. Potential future expansions include:

  • Pick-and-Place Automation: Add a small gripper or an electromagnet to create a high-speed pick-and-place robot.
  • Drawing Robot: Attach a pen or a marker to the end-effector and program the robot to draw complex 2D shapes and patterns.
  • Visual Feedback Integration: Add a small camera and use OpenCV on a computer to allow the robot to track and sort objects based on color or shape.
  • Web Interface Control: Create a web-based dashboard to control the robot's movements remotely over a local WiFi network.

This project is a perfect combination of Mechanical Engineering, Mathematics, and Control Systems.

That's how we made this robot.

Robotics EveryDay!!!

ข้อมูล Frontmatter ดั้งเดิม

apps:
  - "1x Arduino IDE"
  - "1x Kinematics Library (Arduino)"
author: "RoboticsEveryDay"
category: "Sensors & Environment"
components:
  - "1x Arduino UNO"
  - "3x High-Torque Servo Motors (e.g., MG996R)"
  - "1x Delta Robot Structure (Custom or 3D Printed)"
  - "10x Jumper wires (generic)"
  - "1x 9V Battery or Power Supply"
description: "It is a delta robot but in 2 dimensions. It has 4 moving links so can be called a 5 bar mechanism. It uses the Inverse Kinematics method."
difficulty: "Advanced"
documentationLinks: []
downloadableFiles: []
encryptedPayload: "U2FsdGVkX1/X2/hM92N/EuWSI/3dsPU83W7oSAegx9xFbBZ/Wyh4vPCRlDFChv1bkdCPW6yiHdsUjIyYVllgA8zJ/10P7GlV7Ne12csHwA4="
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/2-dimensional-delta-robot-with-servo-motor-arduino-a0f799_cover.jpg"
lang: "en"
likes: 1
passwordHash: "9032b960fd5295d9132e5dcb15c1976c2b83d15810ff9e831ad7b1ecc3d31ee9"
price: 2450
seoDescription: "Build a 2 Dimensional Delta Robot with Arduino and Servo Motor. Features 5 bar mechanism and Inverse Kinematics control."
tags:
  - "diy"
  - "arduino"
  - "delta robot"
  - "robots"
  - "servo motor"
title: "2 Dimensional Delta Robot with Servo Motor & Arduino"
tools: []
videoLinks:
  - "https://www.youtube.com/embed/Bjv_BW7_CdU"
views: 2678