SlideShare a Scribd company logo
1 of 39
DIGEL Systems
• Microcontroller
• Idea behind Arduino
• Inroduction to Arduino
• History
• Advantages
• Different Boards of Arduino
• Comparison
• ATmega328p Specifications
• Arduino Uno Board
• Download and Install software
• Writing programs
(μC, MCU)
• Computer on a single integrated chip
– Processor (CPU)
– Memory (RAM / ROM / Flash)
– I/O ports (USB, I2C, SPI, ADC)
• Common microcontroller families:
– Intel: 4004, 8008, etc.
– Atmel: AT and AVR
– Microchip: PIC
– ARM: (multiple manufacturers)
• Used in:
– Cell phones,
– Toys
– Household appliances
– Cars
– Cameras
EXAMPLE: ELECRTICAL GYSER
INPUT
BLACK BOX
OUTPUT
• Arduino is an open-source prototyping
platform based on easy-to-use hardware and
software
• Arduino is a set of development boards that
come with pre-tested hardware and software
libraries
•It means, you can buy an inexpensive
Arduino board and start developing your
project instantly
• Arduino started in 2005 as a
project for students at the
Interaction Design Institute
Ivrea Italy
• In memoir of this King
Arduino, there is this ‘Bar Di
Re Arduino’, a pub which was
frequently visited by Massimo
Banzi
•And he gave the name to this
low-cost microcontroller board
in honour of the place
5 core
members
Arduino
cross-
platform
Inexpensive
simple
open
source
software
open source
hardware
• Arduino Uno
• Arduino Leonardo
• Arduino LilyPad
• Arduino Mega
• Arduino Nano
• Arduino Mini
• Arduino Mini Pro
• Arduino BT
• High performance
low power AVR 8-bit
• Advanced RISC architecture –
131 powerful instruction
• Available in DIP package
• Up to 20 MHz clock
• 32kB flash memory
• 1 kB SRAM
• 23 programmable I/O
channels
• Six 10-bit ADC inputs
• Three timers/counters
• Six PWM outputs
Pin name Pin number
Special function
Microcontroller ATmega168/328
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limits) 6-20V
Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins 6
DC Current per I/O Pin 40 mA
DC Current for 3.3V Pin 50 mA
Flash Memory
16 KB (ATmega168) or 32 KB (ATmega328) of which 2 KB
used by bootloader
SRAM 1 KB (ATmega168) or 2 KB (ATmega328)
EEPROM 512 bytes (ATmega168) or 1 KB (ATmega328)
Clock Speed 16 MHz
• Download Arduino compiler and development environment from:
http://arduino.cc/en/Main/Software
• Current version: 1.6.6
• Available for:
– Windows
– MacOX
– Linux
• No installer needed... just unzip to a convenient location
• Before running Arduino, plug in your board using USB cable
(external power is not necessary)
• When USB device is not recognized, navigate to and select the
appopriate driver from the installation directory
• Run Arduino
Before writing program
we have to first select board
• Compile –Before your program
“code” can be sent to the board, it
needs
to be converted into instructions that
the board understands. This process
is called compiling.
• Stop-This stops the compilation
process. (I have never used this button
and you probably won’t have a need to
either.)
• Create new Sketch-This opens a
New window to create a new sketch.
• Open Existing Sketch - This loads a
sketch from a file on your computer
• Save Sketch - This saves the changes to the sketch you are working on.
• Upload to Board - This compiles and then transmits over the USB cable
to your board.
• Serial Monitor -
• Tab Button - This lets you create multiple files in your sketch. This is
for
more advanced programming than we will do in this class.
• Sketch Editor -This is where you write or edit sketches
• Text Console - This shows you what the IDE is currently doing and is
also where error messages display if you make a mistake in typing your
program. (often called a syntax error)
• Line Number -This shows you what line number your cursor is on. It is
useful since the compiler gives error messages with a line number
• void setup()
– Will be executed
only when the
program begins
(or reset button
is pressed)
• void loop()
– Will be executed
repeatedly
1] LED Blink
A light-emitting
diode (LED) is a two-lead
semiconductor light source.
- It is a p–n junction diode,
which emits light when
forward biased.
- A resistor is connected in
series so as to limit current
flowing through the LED.
1] Make Port line “ 9 ” as a Output and repeat the
same program
2] Reduce and increase the delay and check the
Output
3] Make Light Pattern (Reduce delay and use
loop)
PUSH BUTTON
Pushing a button causes wires
under the button to be
connected, allowing current to
flow. (called closed) When the
button isn’t pressed, no current
can flow because the wires
aren’t touching (called open) .
Circuit Connections: Till now, We are just
doing LED ON and Off.
Now, lets do something a
little more exciting. Let
us make a circuit where
we can change the
brightness of an LED.
How do we change the
brightness of an LED?
It turns out there are two
ways.
1. Change the amount of current going through the LED
2. Take advantage of the persistence of vision - The more time that the LED is on in
a given period of time, the “brighter” we think it is. The more time it is off, the
“dimmer” we think it is.
- On this principle standard method is defined called Pulse Width Modulation
(PWM for short).
- The Arduino supports PWM (on certain pins marked with a tilde(~) on your
board - pins 3, 4,5,9,10 and 11) at 500Hz. (500 times a second.)
- You can give it a value between 0 and 255.
- To do this you make a call to analogWrite() with the value.
- The ratio of “ON” time to total time is called the “duty cycle”. A PWM output that
is ON .
- half the time is said to have a duty cycle of 50%.
output voltage = (on_time / cycle_time) * 5V
So far we have just been
playing with lights.
Now we will make simple
sounds and music.
In order to make a sound, we
turn the speaker on and off a
certain
number of times per second
1] Simply makes Speaker ON for some time.
2] Play some simple tone
3] Play Happy Birthday song
4] Play Song Melody
5] Playing One song Tone
For measuring the temperature
we have to consider following
parts
• Serial Monitor Serial
Monitor
• LM-35
The LM35 series are precision
integrated-circuit temperature
sensors, whose output voltage is
linearly proportional to the
Celsius (Centigrade)
temperature.
The LM35 thus has an advantage
over linear temperature sensors
calibrated in ˚ Kelvin, as the user
is not required to subtract a large
constant voltage from its output
to obtain convenient Centigrade
scaling.
• LCD stands
for Liquid
Crystal Display.
• We will refer
to it as either an
LCD or simply
a display
• A sensor is an object whose purpose is to detect events or changes in
its environment, and then provide a corresponding output
•Photo Cell (Light Sensor)
A photoresistor or
light-dependent resistor
(LDR) or photocell is a
light-controlled variable
resistor. Theresistance of a
photoresistor decreases with
increasing incident light
intensity.
Reed Switch (Magnetic Field Detector)
• The reed switch is
an electrical switch operated
by an applied magnetic field
• Normally it is open
• When magnetic field is
produced near it teds to
closed
Piezo buzzer
-Piezo buzzer is a vibration
Sensor
- Here we use a Piezo element
to detect sound, what will
allow us to use it as a knock
sensor.
- We are taking advantage of
the processors capability to
read analog signals through its
ADC - analog to digital
converter.
- These converters read a
voltage value and transform it
into a value encoded digitally.
Obstacle Detector Robot
1] Arduino
2] Motor Driver Shield
3] Ultrasonic Sensor
4] Dc Motors
Ardui no
Ardui no

More Related Content

What's hot

Arduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYArduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYVishnu
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduinoAhmed Sakr
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoRichard Rixham
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoOmer Kilic
 
Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino MicrocontrollerShyam Mohan
 
Arduino slides
Arduino slidesArduino slides
Arduino slidessdcharle
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshopatuline
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduinoyeokm1
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduinoavikdhupar
 
Introduction to Arduino Programming
Introduction to Arduino ProgrammingIntroduction to Arduino Programming
Introduction to Arduino ProgrammingJames Lewis
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusainstudent
 

What's hot (20)

Arduino
ArduinoArduino
Arduino
 
Arduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYArduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIY
 
Arduino presentation
Arduino presentationArduino presentation
Arduino presentation
 
Arduino
ArduinoArduino
Arduino
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino Microcontroller
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshop
 
Arduino Uno Pin Description
Arduino Uno Pin DescriptionArduino Uno Pin Description
Arduino Uno Pin Description
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 
Arduino course
Arduino courseArduino course
Arduino course
 
Arduino
ArduinoArduino
Arduino
 
Arduino IDE
Arduino IDE Arduino IDE
Arduino IDE
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
Introduction to Arduino Programming
Introduction to Arduino ProgrammingIntroduction to Arduino Programming
Introduction to Arduino Programming
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
 

Viewers also liked

Mate International Rov Competition
Mate International Rov CompetitionMate International Rov Competition
Mate International Rov Competitionconnors934
 
Building an ROV Electronics System
Building an ROV Electronics SystemBuilding an ROV Electronics System
Building an ROV Electronics SystemSameh Galal
 
Arduino & Internet of Things - First Step
Arduino & Internet of Things - First StepArduino & Internet of Things - First Step
Arduino & Internet of Things - First StepAlessio Reggiani
 
Interfacing bluetooth with arduino
Interfacing bluetooth with arduinoInterfacing bluetooth with arduino
Interfacing bluetooth with arduinoJairaj Jangle
 
War Field Spying Robot with Fire Fighting Alarm.
War Field Spying Robot with Fire Fighting Alarm.War Field Spying Robot with Fire Fighting Alarm.
War Field Spying Robot with Fire Fighting Alarm.vansh_raheja
 
Arduino camera interfacing OV7670
Arduino camera interfacing OV7670Arduino camera interfacing OV7670
Arduino camera interfacing OV7670Somnath Sharma
 
OV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontrollerOV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontrollerSomnath Sharma
 
AUTOMATED METAL DETECTOR ROBOTIC VEHICLE WITH MANUAL CONTROL USING BLUETOOTH
AUTOMATED METAL DETECTOR ROBOTIC VEHICLE WITH MANUAL CONTROL USING BLUETOOTHAUTOMATED METAL DETECTOR ROBOTIC VEHICLE WITH MANUAL CONTROL USING BLUETOOTH
AUTOMATED METAL DETECTOR ROBOTIC VEHICLE WITH MANUAL CONTROL USING BLUETOOTHAbhinav Maggu
 
Metal Detector : A Working Model
Metal Detector : A Working ModelMetal Detector : A Working Model
Metal Detector : A Working ModelAtit Gaonkar
 
Simple Metal Detector Circuit Diagram and Working
Simple Metal Detector Circuit Diagram and WorkingSimple Metal Detector Circuit Diagram and Working
Simple Metal Detector Circuit Diagram and Workingelprocus
 
Underwater Robotics ROV information for WSCS
Underwater Robotics ROV information for WSCSUnderwater Robotics ROV information for WSCS
Underwater Robotics ROV information for WSCShagenteacher
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsLinkedIn
 

Viewers also liked (14)

Mate International Rov Competition
Mate International Rov CompetitionMate International Rov Competition
Mate International Rov Competition
 
Building an ROV Electronics System
Building an ROV Electronics SystemBuilding an ROV Electronics System
Building an ROV Electronics System
 
Arduino & Internet of Things - First Step
Arduino & Internet of Things - First StepArduino & Internet of Things - First Step
Arduino & Internet of Things - First Step
 
Interfacing bluetooth with arduino
Interfacing bluetooth with arduinoInterfacing bluetooth with arduino
Interfacing bluetooth with arduino
 
War Field Spying Robot with Fire Fighting Alarm.
War Field Spying Robot with Fire Fighting Alarm.War Field Spying Robot with Fire Fighting Alarm.
War Field Spying Robot with Fire Fighting Alarm.
 
Arduino camera interfacing OV7670
Arduino camera interfacing OV7670Arduino camera interfacing OV7670
Arduino camera interfacing OV7670
 
OV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontrollerOV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontroller
 
AUTOMATED METAL DETECTOR ROBOTIC VEHICLE WITH MANUAL CONTROL USING BLUETOOTH
AUTOMATED METAL DETECTOR ROBOTIC VEHICLE WITH MANUAL CONTROL USING BLUETOOTHAUTOMATED METAL DETECTOR ROBOTIC VEHICLE WITH MANUAL CONTROL USING BLUETOOTH
AUTOMATED METAL DETECTOR ROBOTIC VEHICLE WITH MANUAL CONTROL USING BLUETOOTH
 
Metal Detector : A Working Model
Metal Detector : A Working ModelMetal Detector : A Working Model
Metal Detector : A Working Model
 
Metal detector
Metal detector Metal detector
Metal detector
 
Metal detectors
Metal detectors Metal detectors
Metal detectors
 
Simple Metal Detector Circuit Diagram and Working
Simple Metal Detector Circuit Diagram and WorkingSimple Metal Detector Circuit Diagram and Working
Simple Metal Detector Circuit Diagram and Working
 
Underwater Robotics ROV information for WSCS
Underwater Robotics ROV information for WSCSUnderwater Robotics ROV information for WSCS
Underwater Robotics ROV information for WSCS
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 

Similar to Ardui no

Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptxaravind Guru
 
Introduction to Arduino Webinar
Introduction to Arduino WebinarIntroduction to Arduino Webinar
Introduction to Arduino WebinarFragiskos Fourlas
 
Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptxshivagoud45
 
Introduction Arduino uno
Introduction Arduino uno Introduction Arduino uno
Introduction Arduino uno Venkatkumar78
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1Felipe Belarmino
 
arduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdfarduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdfssusere5db05
 
Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptxAkshat Bijronia
 
Arduino.pptx
Arduino.pptxArduino.pptx
Arduino.pptxAadilKk
 
introductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdfintroductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdfHebaEng
 
Arduino-101-Workshop (Introduction to Arduino and motor driver)
Arduino-101-Workshop (Introduction to Arduino and motor driver)Arduino-101-Workshop (Introduction to Arduino and motor driver)
Arduino-101-Workshop (Introduction to Arduino and motor driver)ShirazimMunir
 
SKAD Electronics Training Manual.pdf
SKAD Electronics Training Manual.pdfSKAD Electronics Training Manual.pdf
SKAD Electronics Training Manual.pdfKadiriIbrahim2
 
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptxInternet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptxDinola2
 
teststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptxteststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptxethannguyen1618
 
Arduino Foundations
Arduino FoundationsArduino Foundations
Arduino FoundationsJohn Breslin
 
Arduino plus Delphi Mobile Apps - Beyond Basics
Arduino plus Delphi Mobile Apps - Beyond BasicsArduino plus Delphi Mobile Apps - Beyond Basics
Arduino plus Delphi Mobile Apps - Beyond BasicsVic Fernandes
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advancedImran Sheikh
 
Notes arduino workshop_15
Notes arduino workshop_15Notes arduino workshop_15
Notes arduino workshop_15Faiz Lazim
 

Similar to Ardui no (20)

Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptx
 
Introduction to Arduino Webinar
Introduction to Arduino WebinarIntroduction to Arduino Webinar
Introduction to Arduino Webinar
 
Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptx
 
Introduction Arduino uno
Introduction Arduino uno Introduction Arduino uno
Introduction Arduino uno
 
Lab2ppt
Lab2pptLab2ppt
Lab2ppt
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1
 
arduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdfarduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdf
 
Arduino intro.pptx
Arduino intro.pptxArduino intro.pptx
Arduino intro.pptx
 
Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptx
 
Arduino
ArduinoArduino
Arduino
 
Arduino.pptx
Arduino.pptxArduino.pptx
Arduino.pptx
 
introductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdfintroductiontoarduino-111120102058-phpapp02.pdf
introductiontoarduino-111120102058-phpapp02.pdf
 
Arduino-101-Workshop (Introduction to Arduino and motor driver)
Arduino-101-Workshop (Introduction to Arduino and motor driver)Arduino-101-Workshop (Introduction to Arduino and motor driver)
Arduino-101-Workshop (Introduction to Arduino and motor driver)
 
SKAD Electronics Training Manual.pdf
SKAD Electronics Training Manual.pdfSKAD Electronics Training Manual.pdf
SKAD Electronics Training Manual.pdf
 
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptxInternet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
 
teststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptxteststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptx
 
Arduino Foundations
Arduino FoundationsArduino Foundations
Arduino Foundations
 
Arduino plus Delphi Mobile Apps - Beyond Basics
Arduino plus Delphi Mobile Apps - Beyond BasicsArduino plus Delphi Mobile Apps - Beyond Basics
Arduino plus Delphi Mobile Apps - Beyond Basics
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
Notes arduino workshop_15
Notes arduino workshop_15Notes arduino workshop_15
Notes arduino workshop_15
 

Recently uploaded

Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 

Recently uploaded (20)

Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 

Ardui no

  • 1.
  • 3. • Microcontroller • Idea behind Arduino • Inroduction to Arduino • History • Advantages • Different Boards of Arduino • Comparison • ATmega328p Specifications • Arduino Uno Board • Download and Install software • Writing programs
  • 4. (μC, MCU) • Computer on a single integrated chip – Processor (CPU) – Memory (RAM / ROM / Flash) – I/O ports (USB, I2C, SPI, ADC) • Common microcontroller families: – Intel: 4004, 8008, etc. – Atmel: AT and AVR – Microchip: PIC – ARM: (multiple manufacturers) • Used in: – Cell phones, – Toys – Household appliances – Cars – Cameras
  • 6. • Arduino is an open-source prototyping platform based on easy-to-use hardware and software • Arduino is a set of development boards that come with pre-tested hardware and software libraries •It means, you can buy an inexpensive Arduino board and start developing your project instantly
  • 7. • Arduino started in 2005 as a project for students at the Interaction Design Institute Ivrea Italy • In memoir of this King Arduino, there is this ‘Bar Di Re Arduino’, a pub which was frequently visited by Massimo Banzi •And he gave the name to this low-cost microcontroller board in honour of the place 5 core members
  • 9. • Arduino Uno • Arduino Leonardo • Arduino LilyPad • Arduino Mega • Arduino Nano • Arduino Mini • Arduino Mini Pro • Arduino BT
  • 10.
  • 11. • High performance low power AVR 8-bit • Advanced RISC architecture – 131 powerful instruction • Available in DIP package • Up to 20 MHz clock • 32kB flash memory • 1 kB SRAM • 23 programmable I/O channels • Six 10-bit ADC inputs • Three timers/counters • Six PWM outputs Pin name Pin number Special function
  • 12. Microcontroller ATmega168/328 Operating Voltage 5V Input Voltage (recommended) 7-12V Input Voltage (limits) 6-20V Digital I/O Pins 14 (of which 6 provide PWM output) Analog Input Pins 6 DC Current per I/O Pin 40 mA DC Current for 3.3V Pin 50 mA Flash Memory 16 KB (ATmega168) or 32 KB (ATmega328) of which 2 KB used by bootloader SRAM 1 KB (ATmega168) or 2 KB (ATmega328) EEPROM 512 bytes (ATmega168) or 1 KB (ATmega328) Clock Speed 16 MHz
  • 13.
  • 14. • Download Arduino compiler and development environment from: http://arduino.cc/en/Main/Software • Current version: 1.6.6 • Available for: – Windows – MacOX – Linux • No installer needed... just unzip to a convenient location • Before running Arduino, plug in your board using USB cable (external power is not necessary) • When USB device is not recognized, navigate to and select the appopriate driver from the installation directory • Run Arduino
  • 15. Before writing program we have to first select board
  • 16.
  • 17. • Compile –Before your program “code” can be sent to the board, it needs to be converted into instructions that the board understands. This process is called compiling. • Stop-This stops the compilation process. (I have never used this button and you probably won’t have a need to either.) • Create new Sketch-This opens a New window to create a new sketch. • Open Existing Sketch - This loads a sketch from a file on your computer
  • 18. • Save Sketch - This saves the changes to the sketch you are working on. • Upload to Board - This compiles and then transmits over the USB cable to your board. • Serial Monitor - • Tab Button - This lets you create multiple files in your sketch. This is for more advanced programming than we will do in this class. • Sketch Editor -This is where you write or edit sketches • Text Console - This shows you what the IDE is currently doing and is also where error messages display if you make a mistake in typing your program. (often called a syntax error) • Line Number -This shows you what line number your cursor is on. It is useful since the compiler gives error messages with a line number
  • 19.
  • 20. • void setup() – Will be executed only when the program begins (or reset button is pressed) • void loop() – Will be executed repeatedly
  • 21. 1] LED Blink A light-emitting diode (LED) is a two-lead semiconductor light source. - It is a p–n junction diode, which emits light when forward biased. - A resistor is connected in series so as to limit current flowing through the LED.
  • 22.
  • 23. 1] Make Port line “ 9 ” as a Output and repeat the same program 2] Reduce and increase the delay and check the Output 3] Make Light Pattern (Reduce delay and use loop)
  • 24. PUSH BUTTON Pushing a button causes wires under the button to be connected, allowing current to flow. (called closed) When the button isn’t pressed, no current can flow because the wires aren’t touching (called open) .
  • 25. Circuit Connections: Till now, We are just doing LED ON and Off. Now, lets do something a little more exciting. Let us make a circuit where we can change the brightness of an LED. How do we change the brightness of an LED? It turns out there are two ways.
  • 26. 1. Change the amount of current going through the LED 2. Take advantage of the persistence of vision - The more time that the LED is on in a given period of time, the “brighter” we think it is. The more time it is off, the “dimmer” we think it is. - On this principle standard method is defined called Pulse Width Modulation (PWM for short). - The Arduino supports PWM (on certain pins marked with a tilde(~) on your board - pins 3, 4,5,9,10 and 11) at 500Hz. (500 times a second.) - You can give it a value between 0 and 255. - To do this you make a call to analogWrite() with the value. - The ratio of “ON” time to total time is called the “duty cycle”. A PWM output that is ON . - half the time is said to have a duty cycle of 50%.
  • 27. output voltage = (on_time / cycle_time) * 5V
  • 28. So far we have just been playing with lights. Now we will make simple sounds and music. In order to make a sound, we turn the speaker on and off a certain number of times per second
  • 29. 1] Simply makes Speaker ON for some time. 2] Play some simple tone 3] Play Happy Birthday song 4] Play Song Melody 5] Playing One song Tone
  • 30. For measuring the temperature we have to consider following parts • Serial Monitor Serial Monitor
  • 31. • LM-35 The LM35 series are precision integrated-circuit temperature sensors, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. The LM35 thus has an advantage over linear temperature sensors calibrated in ˚ Kelvin, as the user is not required to subtract a large constant voltage from its output to obtain convenient Centigrade scaling.
  • 32. • LCD stands for Liquid Crystal Display. • We will refer to it as either an LCD or simply a display
  • 33. • A sensor is an object whose purpose is to detect events or changes in its environment, and then provide a corresponding output •Photo Cell (Light Sensor) A photoresistor or light-dependent resistor (LDR) or photocell is a light-controlled variable resistor. Theresistance of a photoresistor decreases with increasing incident light intensity.
  • 34. Reed Switch (Magnetic Field Detector) • The reed switch is an electrical switch operated by an applied magnetic field • Normally it is open • When magnetic field is produced near it teds to closed
  • 35. Piezo buzzer -Piezo buzzer is a vibration Sensor - Here we use a Piezo element to detect sound, what will allow us to use it as a knock sensor. - We are taking advantage of the processors capability to read analog signals through its ADC - analog to digital converter. - These converters read a voltage value and transform it into a value encoded digitally.
  • 37. 1] Arduino 2] Motor Driver Shield 3] Ultrasonic Sensor 4] Dc Motors