SlideShare a Scribd company logo
Arduino Basics
Introduction
• Arduino is an open-source electronics platform designed for easy
prototyping and development of interactive projects.
• Its main component is a programmable microcontroller, typically
an Atmega series chip, some of the most commonly used
Atmega chips in Arduino boards include the Atmega328P,
Atmega2560, and Atmega32U4. providing computing
capabilities.
• Arduino boards feature digital and analog input/output pins for
connecting various sensors, actuators, and other peripherals.
• Additionally, they include power connections and a USB
interface for programming and communication with computers.
• Arduino's capabilities range from simple tasks like blinking LEDs to
complex projects involving robotics, home automation, and IoT
applications.
• Its user-friendly IDE and vast community support make it
accessible for beginners while offering flexibility for advanced
users to innovate and create.
Some prerequisites
• Voltage
• Current
• Resistance
• How components like resistors,
• LEDs, and sensors work.
Analog signals
1.Continuous Variation: Analog signals exhibit continuous changes in voltage or
current levels over time.
2.Infinite Values: Analog signals can represent an infinite number of values within
a specified range.
3.Smooth Representation: Analog signals are typically represented graphically
as smooth waveforms.
4.Real-world Phenomena: Analog signals often represent real-world
phenomena such as sound, temperature, or light intensity.
5.Sensitivity to Noise: Analog signals are susceptible to noise and interference,
which can distort the signal.
6.Common Applications: Analog signals find applications in audio processing,
sensor readings, communication systems, and various industrial and scientific
domains requiring precise data representation.
Introduction to Arduino session and basically it depends how you us and where you use.pptx
Digital Signals
1.Discrete Values: Digital signals consist of discrete voltage levels
representing binary digits (0s and 1s).
2.Fixed Values: Each digital signal represents a specific value, either a
logical low (0) or logical high (1).
3.On-Off Representation: Digital signals convey information through on-
off states, where each state corresponds to a binary digit.
4.Noise Immunity: Digital signals are less susceptible to noise and
interference compared to analog signals, as they rely on distinct
voltage levels to convey information.
5.Binary Representation: Digital signals are fundamental to digital
electronics, enabling computation, storage, and transmission of data
in computers, microcontrollers, and communication systems.
Introduction to Arduino session and basically it depends how you us and where you use.pptx
PWM (Pulse Width Modulation)
•Pulse Width Modulation (PWM) is a technique used in Arduino to
simulate analog output using digital pins.
•It works by rapidly switching the output pin between high and low
states at varying duty cycles.
•Duty cycle refers to the percentage of time the signal is high (on)
within each cycle.
•By adjusting the duty cycle, PWM can effectively control the
average voltage supplied to a component.
•PWM is commonly used to control the brightness of LEDs, the speed
of motors, and the intensity of servos.
•Arduino boards with PWM capabilities can generate PWM signals
on certain digital pins, such as Arduino Uno's pins 3, 5, 6, 9, 10, and
Introduction to Arduino session and basically it depends how you us and where you use.pptx
Introduction to Arduino session and basically it depends how you us and where you use.pptx
Understanding Hardware
1.Microcontroller: The processing unit of Arduino, typically operates
at 5V with a current consumption of 20-200mA, depending on the
model.
2.Digital Pins: These binary input/output pins operate at 5V,
sourcing/sinking a maximum of 20mA individually.
3.Analog Pins: Operating at 5V, Arduino Uno's 6 analog pins read
voltages within a 0-5V range with a resolution of 10 bits.
4.Power Pins: Including VIN (7-12V input), 5V (regulated), and 3.3V
(regulated), these provide power to the board and peripherals.
5.USB Port: Provides 5V DC power and serial communication to the
Arduino from a computer.
Introduction to Arduino session and basically it depends how you us and where you use.pptx
Types of Arduino Boards
• Arduino UNO
• Arduino NANO
• Arduino PRO MINI
And
• Arduino MEGA
• Arduino DUE
• Arduino Leonardo
• Arduino MKR series
•Installing Arduino IDE (Integrated Development Environment) on
your computer.
•Connecting Arduino board to the computer.
Setting Up Arduino Environment
Basic Programming Concepts
1.Setup() Function: Runs once when the Arduino is powered on or reset, used for
initializing variables, pins, and libraries.
(For ex. initializing pins – pinMode(pin, mode);)
2.Loop() Function: Continuously executes after the setup(), where the main
program logic resides.
3.Variables: Used to store data, including integers (int), floating-point numbers
(float), and characters (char).
4.Data Types: Include integers, floating-point numbers, characters, and arrays
(collections of variables of the same type).
5.Conditional Statements: Such as if, else if, and else, used for decision-making
based on conditions.
6.Loops: Including for, while, and do-while, for repetitive execution of code
blocks.
Some functions and features unique
to the Arduino IDE
• setup() and loop() Functions: Every Arduino sketch must include
these two functions. setup() executes once at startup or reset,
while loop() runs continuously thereafter, mimicking an embedded
system's behavior.
• Digital I/O Functions: Arduino provides simplified functions like
digitalRead() and digitalWrite() for interacting with digital pins,
abstracting hardware intricacies.
• Analog I/O Functions: Arduino offers analogRead() for reading
analog inputs and analogWrite() for PWM output, simplifying
analog signal handling.
• Serial Communication: Arduino simplifies serial communication
with Serial.begin(), Serial.available(), and Serial.read(),
facilitating interaction with external devices.
• Specialized Libraries: The Arduino IDE comes with pre-written
libraries for various tasks, such as controlling servos or
interfacing with sensors, abstracting complex operations.
• Board-specific Functions: Functions like tone() and noTone()
are available for generating tones on boards with built-in
speakers, enhancing sound capabilities.
• Integrated Development Environment (IDE): The Arduino IDE
integrates compilation, uploading, and serial monitoring,
streamlining the development process for Arduino projects.
For the Handson Session

More Related Content

Similar to Introduction to Arduino session and basically it depends how you us and where you use.pptx (20)

PDF
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
Jayanthi Kannan MK
 
PDF
Syed IoT - module 5
Syed Mustafa
 
PPTX
teststststststLecture_3_2022_Arduino.pptx
ethannguyen1618
 
PPTX
introductiontoarduino-130219180141-phpapp01.pptx
BEVARAVASUDEVAAP1813
 
PDF
Intro to Arduino Revision #2
Qtechknow
 
PDF
Arduino A Technical Reference A Handbook For Technicians Engineers And Makers...
ozoezenesli
 
PPTX
arduino introduction by Engr. Kennedy V. Rodriguez.pptx
KennedyRodriguez5
 
PPTX
Introduction to arduino
Ahmed Sakr
 
PPTX
Chapter 5 Arduino Microcontroller Systems .pptx
khgh7
 
PPTX
embedded_in_Arduino_with_basic_embedded.pptx
acloudinfo2023
 
PDF
Arduino: Arduino starter kit
SANTIAGO PABLO ALBERTO
 
PPTX
arduino
RabiaAsif31
 
PPTX
Introduction to Arduino Webinar
Fragiskos Fourlas
 
PPTX
Arduino intro.pptx
SanthanaMari11
 
PPTX
INTODUCTION OF IOT AND INTERFACING WITH ARDUINO UNO
vasankarponnapalli2
 
PPTX
Introduction to the Arduino
Wingston
 
PDF
Introduction of Arduino Uno
Md. Nahidul Islam
 
PDF
ARUDINO UNO and RasberryPi with Python
Jayanthi Kannan MK
 
PPTX
Arduino
LetzkuLetz Castro
 
PPTX
Embedded systems presentation
RAJBALA PURNIMA PRIYA
 
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
Jayanthi Kannan MK
 
Syed IoT - module 5
Syed Mustafa
 
teststststststLecture_3_2022_Arduino.pptx
ethannguyen1618
 
introductiontoarduino-130219180141-phpapp01.pptx
BEVARAVASUDEVAAP1813
 
Intro to Arduino Revision #2
Qtechknow
 
Arduino A Technical Reference A Handbook For Technicians Engineers And Makers...
ozoezenesli
 
arduino introduction by Engr. Kennedy V. Rodriguez.pptx
KennedyRodriguez5
 
Introduction to arduino
Ahmed Sakr
 
Chapter 5 Arduino Microcontroller Systems .pptx
khgh7
 
embedded_in_Arduino_with_basic_embedded.pptx
acloudinfo2023
 
Arduino: Arduino starter kit
SANTIAGO PABLO ALBERTO
 
arduino
RabiaAsif31
 
Introduction to Arduino Webinar
Fragiskos Fourlas
 
Arduino intro.pptx
SanthanaMari11
 
INTODUCTION OF IOT AND INTERFACING WITH ARDUINO UNO
vasankarponnapalli2
 
Introduction to the Arduino
Wingston
 
Introduction of Arduino Uno
Md. Nahidul Islam
 
ARUDINO UNO and RasberryPi with Python
Jayanthi Kannan MK
 
Embedded systems presentation
RAJBALA PURNIMA PRIYA
 

Recently uploaded (20)

PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PDF
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
PPTX
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
PPTX
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
PPTX
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PPTX
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PPT
Carmon_Remote Sensing GIS by Mahesh kumar
DhananjayM6
 
PPTX
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PPTX
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
PDF
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PDF
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
PPTX
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
Carmon_Remote Sensing GIS by Mahesh kumar
DhananjayM6
 
Green Building & Energy Conservation ppt
Sagar Sarangi
 
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
MRRS Strength and Durability of Concrete
CivilMythili
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
Ad

Introduction to Arduino session and basically it depends how you us and where you use.pptx

  • 2. Introduction • Arduino is an open-source electronics platform designed for easy prototyping and development of interactive projects. • Its main component is a programmable microcontroller, typically an Atmega series chip, some of the most commonly used Atmega chips in Arduino boards include the Atmega328P, Atmega2560, and Atmega32U4. providing computing capabilities. • Arduino boards feature digital and analog input/output pins for connecting various sensors, actuators, and other peripherals. • Additionally, they include power connections and a USB interface for programming and communication with computers. • Arduino's capabilities range from simple tasks like blinking LEDs to complex projects involving robotics, home automation, and IoT applications. • Its user-friendly IDE and vast community support make it accessible for beginners while offering flexibility for advanced users to innovate and create.
  • 3. Some prerequisites • Voltage • Current • Resistance • How components like resistors, • LEDs, and sensors work.
  • 4. Analog signals 1.Continuous Variation: Analog signals exhibit continuous changes in voltage or current levels over time. 2.Infinite Values: Analog signals can represent an infinite number of values within a specified range. 3.Smooth Representation: Analog signals are typically represented graphically as smooth waveforms. 4.Real-world Phenomena: Analog signals often represent real-world phenomena such as sound, temperature, or light intensity. 5.Sensitivity to Noise: Analog signals are susceptible to noise and interference, which can distort the signal. 6.Common Applications: Analog signals find applications in audio processing, sensor readings, communication systems, and various industrial and scientific domains requiring precise data representation.
  • 6. Digital Signals 1.Discrete Values: Digital signals consist of discrete voltage levels representing binary digits (0s and 1s). 2.Fixed Values: Each digital signal represents a specific value, either a logical low (0) or logical high (1). 3.On-Off Representation: Digital signals convey information through on- off states, where each state corresponds to a binary digit. 4.Noise Immunity: Digital signals are less susceptible to noise and interference compared to analog signals, as they rely on distinct voltage levels to convey information. 5.Binary Representation: Digital signals are fundamental to digital electronics, enabling computation, storage, and transmission of data in computers, microcontrollers, and communication systems.
  • 8. PWM (Pulse Width Modulation) •Pulse Width Modulation (PWM) is a technique used in Arduino to simulate analog output using digital pins. •It works by rapidly switching the output pin between high and low states at varying duty cycles. •Duty cycle refers to the percentage of time the signal is high (on) within each cycle. •By adjusting the duty cycle, PWM can effectively control the average voltage supplied to a component. •PWM is commonly used to control the brightness of LEDs, the speed of motors, and the intensity of servos. •Arduino boards with PWM capabilities can generate PWM signals on certain digital pins, such as Arduino Uno's pins 3, 5, 6, 9, 10, and
  • 11. Understanding Hardware 1.Microcontroller: The processing unit of Arduino, typically operates at 5V with a current consumption of 20-200mA, depending on the model. 2.Digital Pins: These binary input/output pins operate at 5V, sourcing/sinking a maximum of 20mA individually. 3.Analog Pins: Operating at 5V, Arduino Uno's 6 analog pins read voltages within a 0-5V range with a resolution of 10 bits. 4.Power Pins: Including VIN (7-12V input), 5V (regulated), and 3.3V (regulated), these provide power to the board and peripherals. 5.USB Port: Provides 5V DC power and serial communication to the Arduino from a computer.
  • 13. Types of Arduino Boards • Arduino UNO
  • 15. • Arduino PRO MINI And • Arduino MEGA • Arduino DUE • Arduino Leonardo • Arduino MKR series
  • 16. •Installing Arduino IDE (Integrated Development Environment) on your computer. •Connecting Arduino board to the computer. Setting Up Arduino Environment
  • 17. Basic Programming Concepts 1.Setup() Function: Runs once when the Arduino is powered on or reset, used for initializing variables, pins, and libraries. (For ex. initializing pins – pinMode(pin, mode);) 2.Loop() Function: Continuously executes after the setup(), where the main program logic resides. 3.Variables: Used to store data, including integers (int), floating-point numbers (float), and characters (char). 4.Data Types: Include integers, floating-point numbers, characters, and arrays (collections of variables of the same type). 5.Conditional Statements: Such as if, else if, and else, used for decision-making based on conditions. 6.Loops: Including for, while, and do-while, for repetitive execution of code blocks.
  • 18. Some functions and features unique to the Arduino IDE • setup() and loop() Functions: Every Arduino sketch must include these two functions. setup() executes once at startup or reset, while loop() runs continuously thereafter, mimicking an embedded system's behavior. • Digital I/O Functions: Arduino provides simplified functions like digitalRead() and digitalWrite() for interacting with digital pins, abstracting hardware intricacies. • Analog I/O Functions: Arduino offers analogRead() for reading analog inputs and analogWrite() for PWM output, simplifying analog signal handling.
  • 19. • Serial Communication: Arduino simplifies serial communication with Serial.begin(), Serial.available(), and Serial.read(), facilitating interaction with external devices. • Specialized Libraries: The Arduino IDE comes with pre-written libraries for various tasks, such as controlling servos or interfacing with sensors, abstracting complex operations. • Board-specific Functions: Functions like tone() and noTone() are available for generating tones on boards with built-in speakers, enhancing sound capabilities. • Integrated Development Environment (IDE): The Arduino IDE integrates compilation, uploading, and serial monitoring, streamlining the development process for Arduino projects.
  • 20. For the Handson Session