Robotic Arm Controller

by Mario Fradera in Circuits > Arduino

145 Views, 0 Favorites, 0 Comments

Robotic Arm Controller

WhatsApp Image 2022-12-12 at 10.31.41 (1).jpeg
Capturaffe.JPG

In this project we will develop the code and assembly needed to control a 5-axis robotic arm from a potentiometer and 2 buttons. 

Supplies

arduino-uno.jpg
00587frontal.png
potenciometro-10k.jpg
led-verde-10mm-ultrabrillante.jpg
p_6_6_6_666-10-CABLE-JUMPER-DUPONT-protoboard-MACHO-HEMBRA-arduino-cables-wire.jpg
41PGLUlslDL._AC_.jpg

Material List

  • Arduino One (x1)
  • Button (x2)
  • Potentiometer (x1)
  • LEDs (x5)
  • 220 Ohms Resistors (x7)
  • Wire (1m)
  • 3D Structure (x1)

Logical Path

Potenciometer Value (0-50).png

In this section we explain the process and path that our code has to follow in order to fulfil the desired functions. The Flow Diagram helps us to compact and organise all the information necessary to carry out our code.

After completing the Flow Diagram we can understand the steps to follow to build our code.

Wiring & Connections

WhatsApp Image 2022-12-09 at 14.33.00ha.jpeg
montaje.jpeg

After soldering all the components to avoid the use of a breadboard, as it would complicate the integration of the components themselves, we proceed to connect the different elements of our system. On one side, both the buttons and the LEDs will be placed on digital pins. As we are working with a different serial monitor to the common one (9600), we should avoid connecting components to Pins 1 and 2. On the other hand, the potentiometer should be connected to an analogue pin. 

Carefull

All identical components must be soldered in parallel (positive to positive and negative to negative) to each other. A 220 Ohms resistor should be soldered to the GND (negative) wire of all of them to control the voltage received and prevent damage to the components. 

Summary

  • LEDs: Connected to digital pins (2, 3, 4, 5 and 6).
  • Buttons: Connected to digital pins (7 and 8) .
  • Potentiometer: Connected to analog pin (0).

3D Structure

This 3D printed structure will help us to house all the components mentioned above. The fittings of the parts are custom made from the purchased components and the size of the components may vary depending on the model. This structure will also protect the components from possible shocks. It should be large enough to hold an arduino one board.

Final Step

WhatsApp Image 2022-12-11 at 21.39.23.jpeg

Once all these steps have been completed, all that remains is to mount all the wiring and components used in the 3D structure. This last step must be carried out with patience and delicacy and we must make sure that all the connections are in perfect condition and do not make bad contact.