0% found this document useful (0 votes)
4 views

CL3_CH24_-Fun-with-Robots-1

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

CL3_CH24_-Fun-with-Robots-1

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Fun with

Robots
Session - 24
What is Robot?
• A robot, in simple words, is any machine designed to carry out a task.
• Robots are machines that use programming to make decisions and
carry out tasks

2
Connecting the Quarky
Follow the below steps to connect
Quarky.

1. Open PictoBlox on your desktop.

2. Connect your Quarky.


STEP 1

Quarky can be connected via USB or the


Bluetooth Port if you want to connect
Quarky via Bluetooth and press Connect.

3
STEP 2
ACTIVITY

Make Your Robot


Move

4
Understanding the Logic
• Forward Motion
If both the wheels of the robot rotate in the forward direction, then it
will move forward.

5
Understanding the Logic
• Backward Motion
If both the wheels rotate in the backward direction, the robot will move
backward.

6
Understanding the Logic
• Left Motion
To make Quarky turn left, its right wheel should rotate in the forward
direction but its left wheel should rotate in the backward direction.

7
Understanding the Logic
• Right Motion
To make Quarky turn right, its left wheel should rotate in the forward
direction and the right wheel should rotate in the backward direction.

88
8
Let’s Code
Forward Movement
Drag the below blocks into the scripting
area to make the script for forward
movement
• when flag clicked – Events
ACTIVITY

• run () motor () with () speed – Robot


• wait ( ) seconds – Control
• stop ( ) – Robot

9
Let’s Code
Backward Movement
Drag the below blocks into the scripting
area to make the script for backward
movement
• when flag clicked – Events
ACTIVITY

• run () motor () with () speed –


Robot
• wait ( ) seconds – Control
• stop ( ) – Robot

10
Let’s Code
Left Movement
Drag the below blocks into the scripting
area to make the script for left movement.
• when flag clicked – Events
ACTIVITY

• run () motor () with () speed –


Robot
• wait ( ) seconds – Control
• stop ( ) – Robot

11
Let’s Code
Another way you can run the robot left is
to drag the below blocks.

• when flag clicked – Events


ACTIVITY

• run () motor () with () speed –


Robot
• wait ( ) seconds – Control
• stop ( ) – Robot

12
Let’s Code
Right Movement
Drag the below blocks into the scripting
area to make the script for right
movement.
• when flag clicked – Events
ACTIVITY

• run () motor () with () speed –


Robot
• wait ( ) seconds – Control
• stop ( ) – Robot

13
Let’s Code
Another way you can run the robot right is
to drag the below blocks.

• when flag clicked – Events


ACTIVITY

• run () motor () with () speed –


Robot
• wait ( ) seconds – Control
• stop ( ) – Robot

Save the project file as Fun with Robotics

14

You might also like