Introduction to Robotics - Lesson 1
Introduction to Robotics and Fundamental Definitions
Definition of Robotics: Robotics is defined as the science of building and designing robots. It is the study behind robots, encompassing the following tasks:
Conception and design of the robot.
Building the hardware infrastructure.
Building the program that dictates the specific actions the robot will perform.
Academic Classification: Robotics is considered a branch of engineering, specifically intersecting with the following fields:
Electronics Engineering.
Mechanical Engineering.
Computer Engineering.
Information Engineering.
Scopes of Engineering Involvement: The field involves the conception, design, manufacture, and operation of robots.
The Hardware System Hierarchy: The physical hardware of a robot is divided into three primary functional parts:
Sensors: Components used to perceive the environment.
Actuators: Components that allow the robot to move or perform actions.
Controller: The component that processes information and manages the system.
Software Platform: For this curriculum, the platform utilized is the Arduino Integrated Development Environment (IDE).
Historical Foundations and Etymology
Etymology of "Robot": The term originates from the Czech word "Robota," which translates to "forced labor."
Chronological Milestones:
1920: The word "robot" made its first appearance.
1921: The first robot was invented by Karel Capek.
1941: The term "Robotics" was first coined by Isaac Asimov.
Definition of a Robot: A robot is defined as a machine capable of carrying out a complex series of actions automatically. A key characteristic is that it operates with minimal or no human intervention involved.
The Brain of the Robot: Microcontrollers and the Arduino Platform
Microcontroller:
A microcontroller is a highly Integrated Chip () that contains all components necessary for a controller within a single package.
It is used to control other portions of an electronic system.
It typically includes a microprocessor unit, memory, and various peripherals.
These devices are optimized for embedded applications requiring functionality and responsive interaction with digital, analog, or electromechanical components.
Arduino Board:
A versatile board capable of reading various inputs (e.g., light on a sensor, a finger pressing a button, or a Twitter message).
It translates these inputs into outputs (e.g., activating a motor, turning on an LED, or publishing data online).
Arduino Uno: A specific development board composed of inputs and outputs used to manipulate and interact with the physical world.
Arduino IDE: The Integrated Development Environment (IDE) is an open-source software tool used for writing code and uploading it to the Arduino board.
USB A to USB B Connector: The specific cable used to connect the Arduino board to a computer. Its functions include:
Uploading programs to the board.
Sending data from the board back to the computer.
Prototyping Infrastructure and Circuit Connections
Breadboard (Protoboard):
A construction base used for building semi-permanent prototypes of electronic circuits.
It allows for the temporary insertion of electronic components to form a circuit without permanent changes.
Jumper Wires (Connecting Wires):
Electrical wires equipped with connector pins at each end used to connect two points in a circuit without the need for soldering.
They are used for modifying circuits or diagnosing circuit problems.
Physical Types:
Male-to-Male.
Female-to-Female.
Male-to-Female.
Discrete Electronic Components and Indicators
LED (Light-Emitting Diodes):
A semiconductor device that emits light when electrical current flows through it.
Primarily used as a visual indicator in robotic systems.
RGB LED:
A component containing Red, Blue, and Green LEDs.
Limitations: Some colors exist "outside" the triangle formed by the RGB spectrum. Pigment-based colors like brown or pink are difficult or impossible to achieve with this component.
Resistors:
A passive electrical component with two terminals.
Used for either limiting or regulating the flow of electric current within electrical circuits.
Buzzer (Beeper):
A signaling device designed to produce sound.
Internal mechanisms can be mechanical, electromechanical, or piezoelectric.
Tactile Switch:
A common type of switch used to complete an electrical circuit, typically triggered when physical pressure is applied.
Sensors and Variable Resistors
Potentiometer:
A variable resistor used to adjust and control electrical devices through manual tuning.
LDR (Light-Dependent Resistor):
Also known as a photoresistor.
A resistive electronic component where the resistance value varies based on illuminance.
The resistance of the LDR decreases as the amount of incident light hitting its surface increases.
Infrared Sensor:
A sensor designed to detect infrared light.
Terminology: "Infrared" is derived from "infra" (meaning greater) and "red" (the color). This indicates that its wavelength is greater than that of the color red.
Electromechanical Components and Motion Control
DC Motor (Direct Current Motor):
A motor that converts energy from a direct current source into mechanical energy (rotational motion).
Servo Motor (TowerPro SG90):
A micro-sized actuator with a torque rating of approximately .
Classified as a rotary or linear actuator that allows for precise control of angular or linear position, velocity, and acceleration.
Motor Driver Shield (L298P):
A specialized board used for driving motors.
It provides control over motor speed, direction, starting, and stopping.
Power Supply and Structural Framework
18650 Lithium-ion Battery: An electrochemical component used to provide power to the robot and its integrated devices.
Battery Holder: A mechanical device designed specifically to secure and hold the 18650 Lithium-ion batteries.
Robot Car Chassis Plate: An acrylic plate used as the structural base for mounting and holding all electronic and mechanical components of the robot.
Specialized Sensor Modules
DHT11 Humidity + Temperature Sensor:
Utilizes a capacitive humidity sensor and a thermistor to measure surrounding air conditions.
It outputs a digital signal via the data pin representing both temperature and humidity.
BMP180 Barometric Pressure Sensor Board:
Used for predicting weather patterns, detecting altitude, and measuring vertical velocity.
ADXL335 3-Axis Accelerometer Module:
Capable of measuring static acceleration (such as the gravity used in tilt-sensing applications).
Capable of measuring dynamic acceleration resulting from motion, shock, or vibration.
Hall Effect Sensor Module:
A sensor type used to detect the presence and magnitude of a magnetic field using the principles of the Hall effect.
Maintenance and Safety Guidelines for Electronic Components
Arduino UNO Care:
Voltage Limit: Never supply the Arduino board with more than .
Pin Constraints: For pins requiring or , do not plug in external sources higher than these specific voltages.
Consequence: Voltages exceeding these recommendations will burn the integrated chips on the Arduino board.
General Component Care:
Rule: Do not apply voltages or currents higher than the recommended specifications for any individual component.
Consequence: Excessive voltage can lead to the permanent burning of the components.
Battery Safety:
Rule: Never reverse the placement of the battery (polarity) within its holder.
Consequence: Reverse placement can cause permanent damage to sensitive electronic components throughout the system.