Integration of a 4-DOF Arduino Robot for Placing Coloured Cubes in a Matlab Simulation

Authors

  • Hayadi Hamuda
  • Anjar Setiawan Universitas Pamulang, Indonesia

Abstract

Robotic arms are extensively utilised in industry, especially in Indonesia, as a result of the Fourth Industrial Revolution, which is transitioning from manual to automated operations to enhance efficiency in time, labour, and prices. This study examines the incorporation of a 4-DOF Arduino robot for the placement of coloured cubes within a matlab simulation. The findings of this investigation reveal that the computed maximum torque is 20% less than the 10 kg maximum torque specified in the servo datasheet, with the conversion factor being 1 N·m = 10.19 kg·cm. The evaluation of the the HC-SR04 sensor and the TCS 230 colour sensor revealed that items were identified solely at distances ranging from 6.5 cm to 7 cm, with the arm actuating to retrieve the object based on its colour. The MATLAB GUI simulation results disclosed the inverse kinematics values for all three axes by inputting the angular values of the five Theta parameters. The X-axis was initially positioned at 318°, the Y-axis at 0°, and the Z-axis at 65°, resulting in a difference of 0.1% from the programmed values. On the Arduino, when the servo positions the object, there is a discrepancy of around 10 degrees from the programmed values, yielding an inaccuracy of 0.1% from the intended values.

Keywords:

Inverse Kinematics, Matlab, Robotic Arm, Sensor TCS 230  and Coloured Cube

Downloads

Download data is not yet available.

Author Biography

Anjar Setiawan, Universitas Pamulang, Indonesia

Department Information Systems

Downloads

Published

2026-06-30

Issue

Section

Articles