Programming arm robot with ultrasonic sensor

Good evening everyone, I have a project where I will create a robot arm that can detect objects and move them to where they have been found.
how this robot arm works, the ultrasonic sensor will move like a radar to search for objects.
When the object is found, the robot arm will move to the object and pick it up, then the object will be moved to the place where it has been found.
The robot arm components that I have are Arduino, a 5 Dof robot arm which has 3 MG995 servos and 3 SG90 servos, PCA9685, Beadboard, and ultrasonic sensor.
I want to know guys your opinions on this and I also need your help on how I can program this robot arm.
Thank you very much for your attention and thank you very much in advance for your help friends.

Sounds like a fun project.
https://docs.arduino.cc/retired/getting-started-guides/Braccio/

Hi @nmjs

welcome to the arduino-forum.

You might have just a real foggy picture of what your project will require.
It is a pretty advanced project. Especcially detecting an object in a 3D-space with a single ultrasonic sensor will be challenging. Your program will have to distinguish between what is background and what is an object.

From the way you are asking I estimate that you have zero experience with programming yet.
Very normal. Every human beeing started at zero knowledge.

It will take you 20 to 50 hours to learn the basics about programming basic things.
It will take you another 50 hours maybe 100 hours to achieve the functionality you have described above.

I guess you estimated the time it takes a smaller number of hours. It is not.

Placing the object where it is found would mean you find the object and leave it exactly where it is.
= where it is found.

I assume you mean something different.

What will be much easier to achieve is to have objects at well defined places and make the robot arm move to this pre-defined position, closing a gripper, lift object with the gripper, move to a different position and put the object down again.

A really fascinating project that does this is called stone henge-clock
stone henge is a very famous, prehistoric megalithic structure in england.
image

The stone-henge robotic clock looks like this
really fascinating

I assume that in the video the plates with the numbers have magnets to help making the plates stand vertically

Scanning the environment of the robotic arm is much more challenging. But it depends on how much the objects can vary in their geometrical shape/design. If the objects always have the same sized cuboid shape it will much easier. Otherwise you will have to scan the surface from different angles to make the program "analyse" how the shape looks like and then the program can try to find a gripper-position to grip the object successfully.

A small Arduino-Uno with only 0,000002 GB RAM Yes you are reading right

Your smartphone has 2GB or 4GB of RAM the arduino Uno has 0,000002 GB RAM
And this 2 kB of RAM will be too small for such a high sophisticated action like scanning a 3D-object

Pre-defined positions is much easier to realise and needs much less memory

best regards Stefan

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.