4in1 Robotics Tutorial 1 V2 2022
4in1 Robotics Tutorial 1 V2 2022
ELECTRONICS-PROGRAMMING-ROBOTICS
BRUTE FORCE
Course Overview
▪ Week 1 – Electronics
▪ Week 2 – Programming
▪ Week 3 – Arduino
▪ Week 4 – Robotics
BRUTE FORCE
Tutorial 1
Introduction to robotics
BRUTE FORCE
Focus
● What is a robot
● Robot characteristics
● Robotic laws
● Basic parts of a robot
● Classification of robots
● Types of robot control
● Robot drives and control mechanism
● Types of drives
● Using the motor driver
BRUTE FORCE
What is a robot?
BRUTE FORCE
Characteristics of Robots
● Sensing: A robot must be able to sense its surroundings just in the same manner as
the human beings sense theirs. Light sensors, chemical sensors, sonar sensors all
give the robot awareness to its environment.
● Movement: this is one of the most important characteristic. In order for a robot to
work in its environment, it needs to move. A robot may move using legs or wheels
or it may be fixed with only some parts moving to direct the end effector to where it
is needed.
IR sensor
BRUTE FORCE
Basic Parts of a robot
Controller: This is the brain of the robot. Provide the necessary intelligence to
control the manipulator/mobile robot. Process the sensory information and
compute the control commands for the actuators to carry out specified tasks.
BRUTE FORCE
Basic Parts of a robot
● Robot mechanical elements: These enable the robot to move in the
ways needed.
Slider-Crank
BRUTE FORCE
Types of robot control
● Point to point (PTP)
● Continuous-path (CP)
● Controlled-path robot
● Stop-to-stop
BRUTE FORCE
Point to point control
The PTP robot is capable of moving from
one point to another point with locations
recorded in the control memory. They do
not control the path to get to the next
point.
Applications include:
● Component insertion
● Spot welding
● Loading and unloading robots
● Assembly operations
BRUTE FORCE
Continuous path control robot
Capable of performing movements along a
controlled path. The robot can stop at any
point along the controlled path. All the
points along the path must be stored
explicitly in the robot’s control memory.
This path can be a curve or a straight line,
as defined by the programmer.
Applications include:
• Spray painting
• Gluing
• Arc welding
Controlled path robot
● In controlled-path robots, the control equipment can generate paths of
different geometry such as straight lines, circles and interpolated curves
with a high degree of accuracy.
● Only the start and finish points and the path definition function must be
stored in the robot’s control memory
BRUTE FORCE
Stop-to-stop robot
● It is an open-loop system
● Both position and velocity are unknown to the controller
● On/off commands are stored as valve states
● End travel is set mechanically
BRUTE FORCE
Using the motor driver
● In this practical, we shall learn about the motion and direction of a
wheeled robot, using an Arduino controller.
Materials:
● Arduino Uno
● Motor driver
● Power supply
● DC motors
BRUTE FORCE
How control a motor
● Speed of a motor is directly proportional to supply voltage
● Speed of a motor is inversely proportional to armature voltage drop
● Speed of the motor is inversely proportional to the flux due to the field
findings
Speed control:
● Varying the supply voltage
● Varying the flux and varying the current through field windings
● Varying the armature voltage and armature resistance
BRUTE FORCE
The L298N Motor Driver
BRUTE FORCE
The L298N Motor Driver
This dual bidirectional motor driver, is based on the very popular L298 Dual H-Bridge
Motor Driver Integrated Circuit. The circuit will allow you to easily and independently
control two motors of up to 2A each in both directions. It is ideal for robotic
applications and well suited for connection to a microcontroller requiring just a couple
of control lines per motor. It can also be interfaced with simple manual switches, TTL
logic gates, relays, etc. This board is equipped with power LED indicators, an onboard
+5V regulator, and protection diodes.
BRUTE FORCE
Arduino and L298L Connections
.
BRUTE FORCE
Connections
.ARDUINO MOTOR DRIVER
9 ENABLE1
11 IN1
10 IN2
6 ENABLE2
4 IN3
3 IN4
GND GND
+9V POWER
BRUTE FORCE
Turning on motors using motor driver
BRUTE FORCE
THANK YOU ARDUINO GEEKS!