Table of Contents

set offset along length () & Z ()

offset block

Description

Set offset along length () & Z () block is a stack block available in the Robotic Arm extension for evive and other Arduino Boards. This block adds the offset on the end effector position along the specified length direction i.e. the direction in which the robotic arm is facing and the Z direction. The block is mainly used to calibrate the end-effector with respect to the base.

evive Notes Icon
Note: This block is available in both Stage Mode and Upload mode.

Input Parameters

  1. The offset of the end-effector from the center of the robotic base.
  2. The offset of the end-effector from the ground.

Example

In this example, we’ll first bring the end-effector closer to the base by 30mm and then bring the end effector closer to the center by 30mm.

  1. Define PWM pins for the servos connected.
  2. First, to bring the end-effector closer to the base, change the Z offset by 30.
  3. Next, to bring the end-effector closer to the base, change the length offset by 30.offset block example
evive Notes IconBefore working with the Robotic Arm, we need to calibrate the robotic arm. To calibrate the robotic arm, click here.

Example

Discover the capabilities of pick-and-place robotic arms, mechanical systems designed to efficiently pick up objects from one location and precisely place them in another.

Introduction

A pick-and-place robotic arm is a mechanical system designed to perform the task of picking up objects from one location and placing them in another. It consists of multiple segments connected, similar to a human arm, and is equipped with motors, sensors, and grippers.

The robotic arm is programmed to move in a precise and controlled manner. It can be guided by various input methods, such as a computer interface or remote control. The arm uses its grippers to grasp objects securely, and then it can move them to a different location.

Pick-and-place robotic arms are commonly used in industries such as manufacturing, logistics, and assembly lines. They automate repetitive tasks that involve moving objects, saving time and reducing the risk of human error. These robotic arms can handle a wide range of objects, from small components to larger items, with accuracy and efficiency.

Code

Logic

  1. Open the Pictoblox application.
  2. Select the block-based environment.
  3. Click on the robotic arm extension available in the left corner.
  4. Drag and drop the Set Pins Link1(), Link2(), Base(), and Gripper() block to define the robotic arm for each servo connection.
  5. Use the Calibrate Link1(), Link2(), and Base() block to set the angle.
  6. Drag and drop the Set Offset Along Length() and Set Offset along Z() blocks to adjust the position of the end effector in the z-direction.
  7. Select the home() block to set the home position for the robotic arm.
  8. Open the gripper to pick up a specific object.
  9. Close the gripper to grab the object securely.
  10. Move to the desired location, then open the gripper to release the object.
  11. Close the gripper afterward.
  12. Then The arm will move to its default or home position using home() block.
  13. Press Run to run the code.

Output

Read More
All articles loaded
No more articles to load