Robotic Arm with Arduino - Save/Play/Export/Import Positions.

FABRI creator
14 Aug 202409:48

Summary

TLDRThis video provides a step-by-step guide on building a 3D-printed robotic arm powered by an Arduino and servo motors. The arm can be controlled through an interface, allowing users to save, replay, and export programmed positions. The creator walks through the design, assembly, and coding process, offering downloadable files for customization. The project uses multiple servos for different joints and a claw, all integrated with Arduino. The video also explains how to control the arm using a custom application, showcasing features like speed control and movement replay. It's a hands-on, innovative project for robotics enthusiasts.

Takeaways

  • 🤖 The video shows how to make a 3D printed robotic arm controlled by Arduino and servo motors.
  • 💻 The arm can be controlled through an interface that allows saving, replaying, exporting, and importing movements.
  • 🖱️ The 3D model of the arm was designed and simulated before being brought to reality, and the video includes links for downloading the necessary files.
  • 🔧 The assembly starts with soldering a DC jack socket and connecting it to the Arduino, which is then secured to the base.
  • 🔩 Multiple servo motors (mg995 and mg90s) are used to control various parts of the robotic arm, including the base, forearm, and claw.
  • 🛠️ Servos must be set to a neutral position (90°) before assembly to ensure smooth operation.
  • 🔌 The robotic arm is powered by a 5V 3-amp adapter connected to the Arduino through the DC jack.
  • 🎮 The graphical interface for controlling the arm was developed using Processing, and users can manually control the arm or save and replay movements.
  • 📁 The interface includes options to export and import saved positions, allowing movements to be reused.
  • ⚙️ The entire project, including code for the Arduino and interface, is available in the video description for customization and modification.

Q & A

  • What is the main purpose of the video?

    -The video shows how to create a 3D-printed robotic arm using Arduino and Servo Motors, with features like saving, replaying, exporting, and importing programmed positions.

  • What software and hardware are used to control the robotic arm?

    -The robotic arm is controlled using an Arduino Uno and Servo Motors, along with a graphical interface created with Processing software.

  • What can be done through the interface mentioned in the video?

    -The interface allows manual control of the robotic arm's movements through sliders, saving and replaying movements, controlling speed, and exporting/importing saved positions.

  • How is the robotic arm powered?

    -The robotic arm is powered by a 5V, 3-amp adapter with a DC jack connector.

  • What file formats are available for downloading the 3D-printed parts?

    -The 3D-printed parts are available in Step format for modification and STL format for direct printing.

  • What should be done before assembling the Servo motors?

    -All Servo motors must be set to their neutral position (90°) before assembly.

  • What is the role of the Arduino in this project?

    -The Arduino is responsible for controlling the Servo Motors by sending commands that specify which Servo to move and to what angle, through serial communication.

  • How are the servos connected to the Arduino?

    -The servos are connected to the Arduino's power and digital pins, following a provided wiring diagram.

  • What additional steps are needed to assemble the robotic arm's claw mechanism?

    -The claw mechanism is assembled using plastic adapters, M3 screws, self-locking nuts, and is connected to an mg90s Servo. The cables are threaded through the arm conduit.

  • What customization options are available for the robotic arm?

    -The video offers the ability to modify the design files in Step format, as well as modify the control code through Processing. Viewers are encouraged to contribute suggestions or modifications to the project.

Outlines

00:00

🤖 Introduction to Building a Robotic Arm

The video introduces the step-by-step process of building a 3D-printed robotic arm controlled by an Arduino and servo motors. It highlights features like saving and replaying arm positions through a user interface, as well as exporting and importing programmed movements. The video starts with designing the arm in a 3D model and provides links for downloading the design files. The assembly begins with soldering wires to a DC jack, connecting it to the Arduino, and securing the base. The Arduino code for controlling the servo motors is also uploaded and shared in the description.

05:01

🔧 Detailed Arm Assembly Process

This section continues with the robotic arm assembly, including attaching servos, securing components with screws, and ensuring proper cable management. Servos are attached to the base and various parts of the arm, including the forearm and wrist. The narrator emphasizes the importance of setting the servos to their neutral 90° position before assembly. The wiring for all components is carefully organized and threaded through the structure, and extensions are added for easier connection to the Arduino. The robotic arm is powered using a 5V 3A adapter, with the arm moving to its default position once powered.

Mindmap

Keywords

💡3D Printed Robotic Arm

A mechanical device created through 3D printing, which can be controlled using an Arduino and servo motors. The video focuses on how to assemble and control this robotic arm, highlighting its customizability and programmability. The arm can perform complex movements thanks to the integration of servo motors and Arduino control.

💡Arduino

An open-source electronics platform used for building digital devices. In the video, Arduino Uno is central to controlling the robotic arm, managing the servo motors, and facilitating communication between the interface and hardware. It is connected to the laptop and powered by a 5V adapter, making it essential for the arm's operation.

💡Servo Motors

These are rotary actuators that allow for precise control of angular position. In the video, servo motors such as the MG995 and MG90S are used to control the different joints of the robotic arm, enabling movements in the base, forearm, and claw. They are connected to the Arduino and crucial for the arm's movement.

💡STL Files

STL (stereolithography) files are used for 3D printing and contain information on the geometry of the pieces. The video provides a link to download STL files, allowing viewers to print the necessary parts for the robotic arm. This file format makes the project accessible to anyone with a 3D printer.

💡Assembly

The process of putting together the 3D printed parts, Arduino, and servo motors to create the robotic arm. The video demonstrates step-by-step instructions for assembling the robotic arm, including wiring, screwing, and securing components such as the base, forearm, and claw.

💡DC Jack Socket

A component that facilitates the connection of the power supply to the robotic arm. In the video, the creator solders wires to the DC jack socket, which is then connected to the Arduino for powering the system. It plays a key role in ensuring the robotic arm receives a steady power supply.

💡Neutral Position

Refers to the initial position of the servo motors, set to 90 degrees. Before assembling the servos into the robotic arm, the video instructs viewers to set all servos to this neutral position to ensure smooth and synchronized movements. This is a key preparatory step in the arm's assembly.

💡Graphical Interface

A user-friendly interface created using Processing, which allows the control of the robotic arm. In the video, this interface enables users to manually control the servo motors, save and replay movements, and adjust the speed of the arm’s actions. It’s an essential tool for interacting with the robotic arm.

💡Serial Communication

A method of communication between the Arduino and the connected device (e.g., laptop), allowing data to be sent one bit at a time. The video explains how the Arduino receives commands through serial communication to control the angles of the servos, making it possible to operate the robotic arm.

💡Export and Import

Functions within the graphical interface that allow users to save the programmed positions of the robotic arm and later reload them. This feature is highlighted as a key part of the control system, enabling users to automate repetitive movements by exporting a sequence and importing it for future use.

Highlights

Introduction to making a 3D printed robotic arm controlled with Arduino and Servo Motors.

The robotic arm can be controlled through an interface allowing users to save, replay, export, and import programmed positions.

The project begins with designing the 3D model for the robotic arm, with simulations of its movements before assembly.

All 3D model pieces can be downloaded in both STEP and STL formats for easy printing and customization.

Assembly starts by soldering wires to a DC jack socket and attaching it to the base, followed by connecting it to an Arduino Uno.

Uploaded pre-written code to the Arduino, enabling control of multiple Servo Motors via serial communication.

The assembly of the arm involves connecting various servos like MG995 and MG90S to different sections like the base, forearm, and claw.

Servos are positioned carefully, with adapters and screws ensuring a tight fit for proper movement.

Special attention is given to organizing servo cables, threading them through conduits for a clean assembly.

Servos must be set to their neutral position (90°) before final assembly to ensure accurate movement.

The Arduino board is connected to power the servos, with options to power them externally if needed.

The graphical interface, developed using Processing, allows for manual control, saving positions, and continuous movement replay.

Additional interface features include speed control, port selection, and importing/exporting saved movement positions.

Once assembled and connected to power, the robotic arm moves to its default position and is ready for operation.

The project includes a downloadable application for Windows and Linux, offering complete control over the robotic arm.

Transcripts

play00:00

[Music]

play00:43

hello in this video I'm going to show

play00:45

you step by step how you can make this

play00:47

awesome 3D printed robotic arm that

play00:51

works with an Arduino and Servo

play00:54

Motors something very special about this

play00:56

arm is that we can control it through an

play00:58

interface that offers us several options

play01:01

we can save positions and replay them

play01:03

continuously additionally we can export

play01:06

the programmed positions and later

play01:08

import them I hope you enjoy it so let's

play01:11

get

play01:20

started I started by designing the 3D

play01:23

model for this arm here you can see a

play01:26

simulation of how the robotic arm moves

play01:28

before bringing it to reality in the

play01:31

video description I'll include a link

play01:33

where you can download the pieces in

play01:35

Step format if you want to make

play01:37

modifications to the design in the

play01:40

description there's also a link to

play01:41

download the STL files so you can print

play01:44

the pieces

play01:46

directly let's begin with the Assembly

play01:49

of the arm first I took a DC jack socket

play01:53

with a screw and soldered some wires

play01:55

with connectors onto it I'm going to

play01:58

insert this into the base as in the

play02:00

video and then secure it with its nut

play02:03

for this project we'll be using an

play02:04

Arduino Uno I connected it to my laptop

play02:08

and uploaded the code I had previously

play02:10

written which you can also find in the

play02:12

description this code allows you to

play02:14

control several Servo Motors connected

play02:17

to an Arduino board through serial

play02:19

communication sending commands that

play02:21

specifically say which Servo to move and

play02:24

to what angle we're going to attach the

play02:27

Arduino to the base cover using some

play02:29

small screws we place it under the base

play02:32

like this then I connected the wires

play02:35

from the Jack socket to the 5vt and gnd

play02:38

pins of the Arduino and secured the base

play02:41

with two 12 mm M3 screws I'm going to

play02:45

connect some wires to an mg995 Servo and

play02:48

then connect it to the Arduino like this

play02:51

next I'll place the servo on the base

play02:54

and secure it with 12 mm M3 screws and

play02:57

washers

play02:59

[Music]

play03:01

I'll attach a Servo to the bass's axis

play03:04

as shown in the

play03:05

video I screw in this adapter that I

play03:08

previously cut to fit this way but we

play03:10

can also use the circular

play03:13

adapter I'm going to screw these plastic

play03:15

adapters onto the ends of this piece

play03:18

which is the

play03:20

forearm I insert it into the base and

play03:23

secure it with a

play03:24

screw next we're going to use the mg90s

play03:28

servos but the parts are also compatible

play03:31

with sg90

play03:33

servos I'm going to place a Servo into

play03:35

this white piece which is the arm and

play03:38

thread the cable through the internal

play03:40

hole of the

play03:43

piece to this other piece I'm going to

play03:45

screw in this black adapter that I

play03:48

previously cut to have it this

play03:51

way the adapters and screws come

play03:54

together with the servos in the same

play03:58

package we thread the cable of a new

play04:00

Servo through the arm and then screw the

play04:02

servo to the

play04:05

wrist we're going to place an mg90s

play04:08

Servo at the base of the

play04:11

claw to one of the gears we are going to

play04:13

screw an adapter to then insert it into

play04:16

the

play04:17

servo I'm going to insert an M3

play04:20

self-locking nut into the lower part of

play04:22

the base and then we'll screw in the

play04:24

other gear making sure it's not too

play04:26

tight after that we'll attach the gear

play04:29

to the server o in the same way we'll

play04:32

Place nuts on the pieces to later screw

play04:34

them together for the entire claw

play04:36

mechanism I'm using 16 mm M3

play04:40

screws you can follow the video to

play04:42

assemble it

play04:45

correctly now I'm going to attach the

play04:48

cover using two 12 mm

play04:52

screws as you can see the claw mechanism

play04:55

works

play04:56

properly we're going to place an adapter

play04:58

on the base of the claw and secure it

play05:01

with its respective

play05:03

screws I'm going to thread the claw

play05:06

cable through the arm conduit this way

play05:09

we'll insert the claw into the wrist and

play05:11

screw it in place it's important to note

play05:14

that before assembly all servos must be

play05:16

set to their neutral position which is

play05:21

90° I'm going to organize all the cables

play05:24

coming out of the arm insert an mg995

play05:27

Servo and secure it with a 12 mm M3

play05:31

screws and

play05:33

washers next we'll thread all the cables

play05:36

through the forearm conduit using pliers

play05:38

to pull them out through the lower part

play05:41

as shown in the

play05:42

video we'll connect the forearm to the

play05:45

arm secure them and organize the cables

play05:48

that will run down to the

play05:50

base these are some cables I prepared

play05:53

beforehand to make connecting the servos

play05:56

to the Arduino easier you can see the

play05:59

pins for power the pins for the digital

play06:01

ports and on the other end the pins

play06:03

where we'll connect each Servo motor for

play06:06

this project I'm following this diagram

play06:09

you can also power the servo Motors

play06:11

externally if you encounter any

play06:13

complications with this

play06:15

circuit we'll continue connecting all

play06:17

the servos to the cables which also

play06:19

serve as

play06:20

extensions I'm going to thread the

play06:22

cables through the hole in the base

play06:25

axis we'll organize the cables in the

play06:28

compartment place the cover and secure

play06:30

it with a 12 mm counter sunk M3

play06:34

screw we'll connect the servo cables to

play06:36

the power and digital pins of the

play06:38

Arduino ensuring the connections match

play06:41

the

play06:43

diagram we insert the axis into the base

play06:46

and screw it in this way the robotic arm

play06:49

is almost ready I'm going to insert the

play06:52

five legs into the base for stability to

play06:55

power the entire arm I'm going to use

play06:57

this 5V 3 amp adapter and as you can see

play07:01

it has a DC jack

play07:03

connector we connect the adapter to the

play07:05

robotic arm and to the power

play07:09

outlet immediately we can see the arm

play07:11

move to its default

play07:13

position in the description of this

play07:15

video you'll find the link to download

play07:17

the application in my case I downloaded

play07:20

the windows version but it's also

play07:22

available for Linux then I extracted the

play07:25

file to my desktop opened the folder and

play07:28

finally launched the the

play07:31

application I'm going to connect the

play07:32

Arduino to my laptop this way we can

play07:36

start using our robotic

play07:38

arm the interface to control the arm was

play07:41

created using processing in the

play07:44

description I'll also include the code

play07:46

in case you want to make modifications

play07:48

or see how it

play07:51

works this graphical interface lets you

play07:54

manually control the robotic arm using

play07:56

the sliders in the center

play07:59

[Music]

play08:11

in the upper corner you can select the

play08:13

port where the Arduino is connected you

play08:16

can also access other functions like

play08:18

saving movements replaying them and

play08:20

stopping them additionally there's a

play08:23

small slider that allows us to control

play08:25

the speed when replaying movements

play08:27

continuously on the right there are more

play08:30

buttons that let us export saved

play08:32

positions and later import them by

play08:34

simply selecting the saved

play08:38

file finally there's a reset button that

play08:40

erases all saved positions allowing us

play08:43

to start fresh and now it's time to

play08:46

unleash the full potential of our new

play08:48

robotic arm

play08:53

[Music]

play09:09

I hope you found this video useful or

play09:11

interesting don't forget to like And

play09:13

subscribe if you enjoy the content I

play09:15

share on this channel it really helps me

play09:18

reach more people let me know in the

play09:20

comments what you think of this robotic

play09:22

arm and if you have any suggestions

play09:24

questions or contributions to the

play09:27

project until next time let's keep

play09:29

pushing the boundaries of what we create

play09:32

see you in the next video goodbye

play09:37

[Applause]

play09:37

[Music]

Rate This

5.0 / 5 (0 votes)

Связанные теги
Robotic ArmArduinoServo Motors3D PrintingDIY RoboticsTutorialAutomationStep by StepProgrammingElectronics
Вам нужно краткое изложение на английском?