KnowledgeBoat Logo
|
OPEN IN APP

Chapter 6

Integrating Robots as a System

Class 10 - KIPS Robotics & AI



Activity 6.1

Question 1

What would be the status of LED in this circuit at Tinkercad?

What would be the status of LED in this circuit at Tinkercad. Integrating Robots as a System, KIPS ICSE Robotics & Artificial Intelligence Solutions Class 9.

Answer

The LED will glow in this circuit at Tinkercad.

Explanation
In the given circuit, the 9 V battery is connected to the breadboard such that one rail acts as the positive terminal and the other rail acts as the negative terminal. The LED is connected in series with a resistor between these two rails. Therefore, a closed circuit is formed:

Battery (+) → Resistor → LED → Battery (–)

Since the circuit is complete, current flows through the LED in forward bias, so the LED glows. The resistor is used to limit the current and protect the LED from damage.

Activity 6.2

Question 1

Find out about other motors available at Tinkercad that can be used to design a wheeled robot.

Answer

Apart from DC motors, other motors available in Tinkercad that can be used to design a wheeled robot include servo motors and stepper motors, which can also be used for controlling motion in robotic systems.

Activity 6.3

Question 1

What are the input and output pins on an Arduino board?

Answer

On an Arduino Uno, the pins used to connect external components are mainly input and output pins.

  • Input pins take signals into the Arduino from devices like sensors, switches, and buttons.
  • Output pins send signals from the Arduino to devices like LEDs, buzzers, and motor drivers (as HIGH = 5V or LOW = 0V).
    The Arduino Uno has digital I/O pins (D0–D13) and analog input pins (A0–A5). Some digital pins also provide PWM output for speed/brightness control.

Pin Table (Arduino Uno)

Pin TypePin Numbers (All)Use / Note
Digital Input/OutputD0–D13Can work as INPUT or OUTPUT (set using pinMode).
Analog InputA0–A5Used to take analog sensor input. (Can also be used as digital pins D14–D19.)
PWM Output PinsD3, D5, D6, D9, D10, D11Give PWM output (analog-like output) for motor speed / LED brightness control.
Serial Communication PinsD0 (RX), D1 (TX)Used for serial data transfer (USB communication).

Power pins like 5V, 3.3V, GND, Vin are not I/O pins; they are used only for power connections.

State True or False

Question 1

The breadboard is used to manage multiple connections in a circuit.

Answer

True

Reason — A breadboard is used to connect multiple components and manage multiple connections in a circuit, as it provides several internally connected points for making circuit connections easily.

Question 2

DC motors are used to move the wheel of the robot.

Answer

True

Reason — DC motors act as actuators in a robot and are used to move the wheels of the robot.

Question 3

In general, black terminal of motors shows the connection with the motor driver.

Answer

False

Reason — In general, the black terminal of a DC motor is connected to the ground of the microcontroller, while the other terminal is connected to the output of the motor driver.

Question 4

Controller is the brain of robot.

Answer

True

Reason — The controller generates all the controlling signals of the robot through a program and controls the working of all components, hence, it is considered the brain of the robot.

Question 5

It is not essential to use motor driver.

Answer

True

Reason — A motor can rotate as long as it gets a suitable power supply, so a motor driver is not strictly mandatory just to make the motor run. However, a motor driver acts as an interface between the controller (Arduino) and the motors, helps in controlling the motor, and provides enhanced current capacity because directly connecting a motor to the Arduino can damage the Arduino or reduce motor performance.

Question 6

Motor driver is connected in between controller and motor.

Answer

True

Reason — The motor driver acts as an interface between the controller (Arduino Uno) and the motors. It is connected in between them to control motor movement and to supply the required current to the motors based on the signals received from the controller.

Question 7

Arduino uno has only input pins.

Answer

False

Reason — Arduino Uno has both input and output pins.

Question 8

In forward mode, only one wheel of the robot should be in motion.

Answer

False

Reason — In forward mode, all the wheels of the robot should be in motion. Therefore, HIGH values are sent to all four output pins of the Arduino so that all four motors run together and the robot moves forward.

Select the correct option

Question 1

Arduino Uno is a ............... .

  1. Sensor
  2. Actuator
  3. Microcontroller
  4. None of these

Answer

Microcontroller

Reason — Arduino Uno is a microcontroller that acts as the controller or brain of the robot.

Question 2

Breadboard is a ............... .

  1. Connecting device
  2. Sensor
  3. Actuator
  4. None of these

Answer

Connecting device

Reason — A breadboard is used to connect multiple components in a circuit and provides several internally connected points, making it easier to manage and organise circuit connections.

Question 3

The HIGH value indicates the motor has received ............... .

  1. 0V
  2. 16V
  3. 10V
  4. 5V

Answer

5V

Reason — HIGH indicates that the motor driver will receive 5V, and the same value will be transferred to the motor with enhanced current capacity.

Question 4

Motor in robot work as a/an ............... .

  1. Sensor
  2. Actuator
  3. End effector
  4. Controller

Answer

Actuator

Reason — Motors are the actuators of the robot. They are used to move the wheels of the robot.

Question 5

The ............... pin is used to give ground connections to the motors that are going to control the wheels of the robot.

  1. GND Pins
  2. 5V Pins
  3. Output Pins
  4. None of these

Answer

GND Pins

Reason — The GND pin is used to give ground connections to the motors that control the wheels of the robot and is also connected to the ground pins of the motor driver IC.

Question 6

Number of pins on Motor driver IC, L293D is ............... .

  1. 14
  2. 15
  3. 16
  4. 17

Answer

16

Reason — The motor driver IC L293D has 16 pins.

Question 7

Task of digitalWrite() function is ............... .

  1. Give input to Arduino
  2. Take output from Arduino
  3. Both a and b
  4. None of these

Answer

Give input to Arduino

Reason — The digitalWrite() function is used to send input to the Arduino by writing HIGH or LOW values to the digital output pins.

Question 8

The role of enable pin in motor driver IC is ............... .

  1. To modify its current
  2. To modify its voltage
  3. To enable its working
  4. None of these

Answer

To enable its working

Reason — Without enabling the enable pins, the motor driver will not work. Therefore, the role of the enable pin in the motor driver IC is to enable its working.

Fill blanks

Question 1

Fill in the blanks:

  1. ................ are used to move the wheels of the robot.
  2. Motor Driver L293D has ................ input pins.
  3. ................ pin in Arduino is used to provide a power supply of 5V to other components.
  4. Delay function takes input in ................ .
  5. In forward mode, all the output pins receive ................ values.

Answer

  1. Motors are used to move the wheels of the robot.
  2. Motor Driver L293D has four input pins.
  3. 5V pin in Arduino is used to provide a power supply of 5V to other components.
  4. Delay function takes input in milli seconds.
  5. In forward mode, all the output pins receive high values.

Short answer type questions

Question 1

With the help of the battery, make the connection to glow an LED.

Answer

The Tinkercad connection to glow an LED with the help of the battery is shown below:

With the help of the battery, make the connection to glow an LED. Integrating Robots as a System, KIPS ICSE Robotics & Artificial Intelligence Solutions Class 9.

The value of resistor is 350 Ω

Question 2

Explain the use of digitalWrite() function.

Answer

The digitalWrite() function is used to control the state of a digital pin on the Arduino microcontroller. It is used to send a HIGH or LOW signal through an output pin.

  • HIGH means the pin outputs 5 V (ON)
  • LOW means the pin outputs 0 V (OFF)

Syntax:
digitalWrite(pin, value);
Where pin = digital pin number, and value = HIGH or LOW.

Example:
digitalWrite(3, HIGH);
will send a HIGH signal through pin 3

Question 3

Explain the structure of breadboard.

Answer

A breadboard is a device used to connect multiple components in a circuit. It provides multiple connection points that are internally connected. In a breadboard, the first two and the last two lines are horizontally connected, while in the remaining two blocks, the connections are vertically connected. These internal connections help in making circuit connections easily without soldering.

Long answer type questions

Question 1

Make the labeled pin out diagram of motor driver.

Answer

Labeled pin out diagram of motor driver is shown below:

Below image is representing Components of Visualisation, Design, and Creation of Components, KIPS ICSE Robotics & Artificial Intelligence Solutions Class 9.

Question 2

Explain forward move of wheeled robot.

Answer

In the forward move of a wheeled robot, all the wheels of the robot should be in motion. For this purpose, a HIGH value is sent to all four output pins (3, 5, 6, and 9) of the Arduino Uno. When HIGH is sent, the motor driver receives 5V, and the same value is transferred to the motors with enhanced current capacity. As a result, all four motors turn on, and the robot moves in the forward direction. The code for move forward is given below:

void move_forward ()
{
    digitalWrite(3, HIGH);
    digitalWrite(5, HIGH);
    digitalWrite(6, HIGH);
    digitalWrite(9, HIGH);
}

Question 3

Explain right and left move of wheeled robot.

Answer

Left Move:

To give left movement to the robot, its right wheels should be stopped, and left wheels should be in motion. For this purpose, LOW values are sent to pins 3 and 5, and HIGH values are sent to pins 6 and 9 using the digitalWrite() function. As a result, the right-side wheels stop moving, and only the left-side wheels move, giving the robot a left-hand move. The code for left turn is given below:

void turn_left()
{
    digitalWrite(3, LOW);
    digitalWrite(5, LOW);
    digitalWrite(6, HIGH);
    digitalWrite(9, HIGH);
}

Right Move:

To give right movement to the robot, its left wheels should be stopped, and right wheels should be in motion. For this purpose, HIGH values are sent to pins 3 and 5, and LOW values are sent to pins 6 and 9. Consequently, the left-side wheels stop, and only the right-side wheels move, giving the robot a right-hand move. The code for right turn is given below:

void turn_right()
{
    digitalWrite(3, HIGH);
    digitalWrite(5, HIGH);
    digitalWrite(6, LOW);
    digitalWrite(9, LOW);
}
PrevNext