Quarky Gripper Robot

Description
Create a Gripper Robot with Quarky in just a few steps! Follow the instructions to program it to grip boxes and perform pick and place tasks. Learn how to control your robot wirelessly and start playing with it.

Introduction

Quarky can be transformed into a Gripper Robot very easily. The gripper robot adds the capability to grip objects and perform pick and place tasks.

The gripper robot can also be programmed to autonomously pick and place objects like a Pizza Delivery Robot.

Assembly

Follow the steps:

We will start with the normal horizontal robot:

  1. Begin by detaching the Castor Wheel from the Robot using the Screw Driver.
  2. Next, attach the B6 Plate to the Quarky Robot using the Castor Wheel and the M2.5 Bolts. Tighten it using the Screwdriver.
  3. Next, snap the Geek Servo Motor to the B6 Plate as shown in the figure. Make sure the orientation of the Servo Motor is downwards and the Servo Shaft is aligned as per the figure.
  4. Connect the Servo Motor to the Quarky.
  5. Open PictoBlox and set the Servo Motor angle to 90 degrees. The servo head should get aligned properly.
  6. Attach the B9 Plate to the Servo Motor Shaft.
  7. Push-fit the Ultrasonic Sensor into the B2 Plate.
  8. Push-fit the B2 Plate into the B7 Plate as shown in the figure.
  9. Snap the B7 Plate to the Front of B8 Plate as shown in the figure. Make sure the B7 Plate is tightly attached.
  10. Snap the A3 Plates to the Quarky Robot as shown in the figure.
  11. Lock the A3 Plate using the A4 Plate.
  12. Connect the Ultrasonic Sensor to the Quarky Robot according to the following diagram.

Your robot is ready.

Project – Making a Manually Controlled Gripper Robot

Now we are going to program the gripper robot! The gripper robot can grip boxes and place them.

Let’s Begin!

  1. Now, Open PictoBlox and open a new project by selecting New from File.
  2. Connect Quarky to PictoBlox.

Setting up the Stage

  1. Add 2 Arrow sprites to the stage from the sprite library.
  2.  Rename the Arrow sprites to Open and Close.
  3. Click on the Open sprite and add the script to go to 150, 0 positions, point in 90 degrees, and set the size to 200%.
  4. Add the set servo on () to () angle block and set the angle to 90 degrees. This will set the gripper to open when the code starts.
  5. Click on the Close sprite and add the script to go to -150, 0 positions, point in -90 degrees, and set the size to 200%.
  6. Finally, click on the green flag to set up the stage.

Gripper Control

The gripper has the following angles of control:

  1. Open – 90 Degrees
  2. Close – 170 Degrees

Let’s code it.

Open Sprite

  1. Click on the Open sprite and add when the sprite is clicked block from the Control palette. This will start the script when the open arrow is clicked.
  2. Add the set servo on () to () angle block and set the angle to 90 degrees.

Close Sprite

Click on the Close sprite and add a similar code as open. This time set the angle to 170 degrees.

The script is complete. Test the code with the robot.

Wireless Control

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 in Control your Robot Wirelessly.

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.

Table of Contents