Quarky Horizontal Pick and Place Robot

Description
Learn how Pick-and-Place robots automate repetitive tasks by quickly moving objects between positions. These robots are widely used in industries for inspecting, transporting, and packaging, streamlining processes and reducing human effort.

Pick and place is arguably the most frequent robotics application nowadays and is unquestionably well-liked. They are extensively used in today’s manufacturing and industrial environments.

A Pick and Place robot, as the name implies, can quickly pick up an object from one position and drop it in another. They take care of the repetitive tasks that tend to be mundane and burdensome for humans. Inspecting, transporting, and packaging products are just a few of their jobs in manufacturing and other industries.

Assembly

We are starting with the Horizontal Robot.

  1. First, detach the Castor Wheel from the Quarky Robot by removing the Bolt.
  2. Place the Motors on the top of the B1 Plate using the Motor Mount BracketFasten it using M2 Bolt and M2 Nut that you get with Motors.
    Note: You have to make sure the Motor is appropriately mounted.
    Note: Make sure the B1 is written on the opposite side of the Motor.
  3. Now attach the Wheels to the Motors.
  4. After that, attach the Wheel sub-assembly (with wheels) in front of the Robot. Fasten it using M2.5 Nuts and Bolts.
  5. The motor connection is similar to the Four Wheel Drive Robot. Connect the two left motors and then connect the wire to the Board. Do the same for the right motors.
  6. Fasten one Spacer on the B5 Plate with an M3 Bolt of 8mm Length as shown below.
  7. Fasten another Spacer on the B5 Plate with an M3 Bolt of 8mm Length as shown below.
  8. Fasten another Spacer on the B5 Plate with an M3 Bolt of 8mm Length as shown below. The spacer will be on the opposite side of the other spacers.
  9. Fasten another Spacer on the top of the other B5 Plate with an M3 Bolt of 8mm Length.
  10. Align both the B5 Plates on Spacers as shown below and Fasten them using two M3 Bolt of 8mm Length.
  11. Insert the Servo Motors in the B5 Plate and snap it tight. You have to make sure that the wire of the servo motor is coming from the inside. The Servo Motor shaft aligns with the ‘+’ mark on the B5 Plate.
  12. Snap the B5 Plates on the Quarky Robot as shown below.
  13. Connect the Left Servo Motor to the Servo 1 and the Right Servo Motor to the Servo 2Note: The position of ultrasonic head is only for illustration purpose here. The below image only shows how to connect servo motor pins, the positioning of ultrasonic head is optional.
  14. Open PictoBlox and set the Servo Motor angle to 90 degrees. The servo head should get aligned properly.
  15. Lock the B5 Plate by snapping the B6 Link.
  16. For the next sub-assembly, Attach the 2 Spacers to the B12 Link with the M3 Bolt of 8mm Length.
  17. Now attach 2 more Spacers to the same B12 Link with the M3 Bolt of 8mm Length.
  18. Now attach 2 more Spacers to the other B12 Link with the M3 Bolt of 8mm Length on the opposite side.
  19. Align two B12 Links and fasten with the M3 Bolt of 8mm Length. We will call this subassembly – Hook Assembly.
  20. Align & attach the B10 Link to the Spacers of the Hook Assembly with the M3 Bolt of 12mm Length and on the Spacer of the B5 Plate with the M3 Bolt of 12mm Length.
  21. Snap the B11 Link on the Servo Motor Shaft. On the other side of the B11 Link attach it to Hook Assembly with the M3 Bolt of 12mm Length.
  22. Align & attach the other B10 Link to the Spacers of the Hook Assembly with the M3 Bolt of 12mm Length and on the Spacer of the B5 Plate with the M3 Bolt of 12mm Length.
  23. Snap the other B11 Link on the Servo Motor Shaft. On the other side of the B11 Link attach it to Hook Assembly with the M3 Bolt of 12mm Length.

The assembly is complete.

The ultrasonic sensor assembly is optional (The sensor can be mounted on the B1 plate by placing it on the B2 -B7 assembly similar to the Obstacle Avoidance Robot).

It’s time to program your own Pick and Place Robot!

Programming Blocks for the Robot

We will use the Quarky Ultimate Robots extension from PictoBlox to control the robot. The following programming blocks can be used for the Pick and Place Robot in PictoBlox block coding mode:

Python Functions for the Robot

We will use the Quarky class to program the robot. The following Python Functions can be used for the Pick and Place Robot in PictoBlox Python coding mode:

Activity: Pick and Place Action – Block coding

Using the arrow keys, the robot should be able to move in four directions: forward, backward, left, and right. It should also be able to pick and place the object with the help of the up and down arrow sprites. Let’s look at how to make a script for it.

Setting up the Stage

  1. Add two Arrow sprites to the stage from the sprite library.
  2.  Rename the Arrow sprites to Pick and Place.
  3. Click on the Pick sprite and add the script to go to -150, 0 positions, point in 0degrees, and set the size to 250%.
  4. Click on the Place sprite and add the script to go to 150, 0 positions, point in  180 degrees, and set the size to 250%.
  5. Finally, click on the green flag to set up the stage.

Initializing Robot

  1. Add Quarky Ultimate Robots Extension.
    The extension adds the following blocks for Pick and Place Robot.
  2. Select Tobi sprite. Add when green flag clicked block.
  3. Add initialize () Pick and Place Robot block from the Quarky Ultimate Kit palette. Select the orientation as horizontal.
  4. Add set () angle to () block. Select the action as place and angle to 90.
  5. Add another set () angle to () block. Select the action as pick and angle to 40.

Pick Action

  1. Click on the Pick sprite and add when the sprite is clicked block from the Control palette. This will start the script when the Pick arrow is clicked.
  2. Add the pick block from the Quarky Ultimate Kit palette.

Test the action.

Place Action

  1. Click on the Place sprite and add when the sprite is clicked block from the Control palette. This will start the script when the Place arrow is clicked.
  2. Add the place block from the Quarky Ultimate Kit palette.

Test the action.

There is only one thing remaining, create the control of the robot to move it forward, backward, left, and right. This we have already done previously in the wirelessly controlled robot.

Click on the Tobi sprite and create the same script.

Play with the Robot

Now the code is complete. You can test the code and start playing with the robot.

Conclusion

In conclusion, we have successfully assembled and programmed the Quarky Pick and Place Robot. We gained practical experience in building and programming a functional pick-and-place robot, enhancing their understanding of robotics and artificial intelligence applications. This knowledge equips us with the skills to tackle more complex robotic challenges and fosters a deeper appreciation for the intricacies of autonomous systems.

Table of Contents