2. STANDARD
Standard: CA: Computer Science (2018) - Grades
9-12 Speciality
Algorithms & Programming Algorithms
9-12S.AP.10 Describe how artificial intelligence drives
many software and physical systems. (P3.1, P7.2)
3. Week 20 – 30th Jan to 3rd Feb 2023
• Lesson Objective
• I can identify the input and output pin
configuration on Arduino Board
• I can identify the basic principles of connection
technology and circuit technology for the
components used •
• I can identify the working and connectivity of a LED
and Buzzer.
• I can Become familiar with the safe and correct way
of commissioning a
Topic - Exploring Arduino & Input/Output
4. Introduction to Arduino
Input/Output Pins
/Devices
Standard:
• Impacts of Computing Culture
• 9-12.IC.26 Study, discuss, and
think critically about the potential
impacts and implications of
emerging technologies on larger
social, economic, and political
structures, with evidence from
credible sources.
5. Input and Output Pins
• An input/output pin, or I/O pin, is the
interface between a microcontroller and
another circuit.
• Output pin. An output pin provides VDD or 0 V,
by making a connection to VDD or ground via a
transistor.
6. There are three main types of
Arduino pins: digital pins,
analog pins and power pins.
Types of Arduino Pins
7. Analog is a continuously changing signal.
• An Analog Signal is best represented as a
physical wave.
• A typical example of an analog device in
a home would be a dimmable light.
Digital is an on or off type of signal with no in-
between.
• Most light switches are digital.
• The lights are either entirely on or off.
• A digital signal is a signal made up of
electrical impulses.
• These impulses generate the 1's and 0’s.
• A square wave represents a Digital Signal.
Difference :
Analog and
Digital
8.
9. Digital I/O Pins
• Digital pins can be used as both input and output
pins on most Arduino microcontrollers.
• This means that a single pin can both send and
receive digital data.
• Digital Arduino pins can be only "high" or "low“.
– When a digital pin is high, a constant voltage is
present.
– When the pin is low, this voltage is gone.
Digital pins are used mainly as output pins.
11. Analog Input Pins
• Analog input pins are used to read the state
of a connected device, such as a sensor.
• Analog input pins can read the exact voltage
value.
– For example, analog thermometer sensors often
send a voltage reading that corresponds to the
temperature.
13. Input Devices
The Arduino microcontrollers can take input from
different devices then perform some specific tasks
according to the program, after which they can deliver
the output.
14. Output Devices
The Arduino output devices are the devices that take
instructions from the Arduino and provide output in
human readable form.
Example : If an appliance works on the values coming
from the sensor so the appliance will be an output
device and the sensor will be an input device
15. ACTIVITY
Open your KIT and Identify all input and output
devices by make a list of them on a paper.
16. Answer:
Input Devices: Output Devices
Push Button LED
Temperature Sensor Motors
Potentiometer Relays
Sound Detector Speaker
Smoke Sensor Buzzer
17. LED
• Light-emitting diode (LED) is
a two-lead semiconductor light
source device used for
indicating the output status by
making it ON or OFF.
17