SlideShare a Scribd company logo
LINE FOLLOWER ROBOT
OR
AUTONOMOUS ROBOT
(EMBEDDED APPLICATION)
PRESENTATION ON
It is a machine that follows a line.
Either a black line on white surface
or vice-versa.
WHAT IS LINE FILLOWER ROBOT
Real meaning of Engineering is practicality. Embedded
System is the right word to describe this practicality.
According to Theories it’s a Combination of Hardware
with Software. Embedded System is not a branch of
Engineering, basically it’s a group of many branches of
Engineering. It may be Mechanical, Electrical,
Electronics, Computer Science Engineering.
EMBEDDED SYSTEMS
Examples of an Embedded System and Robotics.
1. Personal Computer, Mobile phones, Tab
2. Automation Systems (Home / Factory /Lab)
3. Digital Watch, Stereo Systems
4. Washing Machine, Television Remote
5. Automatic GSM based AC’s
6. Traffic Light Systems
7. Disco lightening Systems
8. Communication Systems……and many more
Embedded System & Robotics
Examples
There are two major prospects to use an Embedded System .
 Speed of the System
It must be very fast.
 Size of the System
It must be very less.
Both the requirements are reverse to each other.
Need of Embedded System
There are three major requirements to develop an Embedded
System.
 Input
Processing unit
Output
Control over these three will fulfill all desires for the system.
Requirements to Develop an
Embedded System
The Brain/ Controlling System
These are the
microcontrollers/processors which
guide the system to perform the desired
work. These are the part of autonomous
systems.
 A Microcontroller can be defined
as a “Computer-on-Chip”.
 Just as a Personal Computer has input devices like
keyboards, mouse, etc, output devices like monitor, printer,
etc and the Central Processing Unit, a Microcontroller also has
 Input/output ports and
 a Processor embedded into a single chip.
 Memory
 A Microcontroller is a complete self-sufficient system usually
requiring no external components.
AVR Family
AVR microcontrollers are available in three different
categories:
 TinyAVR – Less memory, small size, suitable only for
simpler .
 MegaAVR – These are the most popular ones having
good amount of memory (upto 256 KB), higher
number of inbuilt peripherals and suitable for
moderate to complex applications.
 XmegaAVR – Used commercially for complex
applications, which require large program memory
and high speed.
ATMega8L
 We will be working on Atmega8 microcontroller, which is a
28-pin IC and belongs to the MegaAVR category of AVR
family.
 Some of the features of Atmega8 are:
 8 KB of Flash memory
 1KB of SRAM
 512 Bytes of EEPROM
 Available in 28-Pin DIP
 6- Channel 10-bit ADC
 Two 8-bit Timers/Counters
 One 16-bit Timer/Counter
 3 PWM Channels
 In System Programmer (ISP)
 Serial USART
 SPI Interface
 Digital to Analog Comparator.
ATmega8 Board
Register
A register is simply a collection of some bits (mostly 8 bits in case of
8bit MCUs). Either each different bit in a register has some purpose
or the register as a whole holds a value.
 Registers serves as connection between a CPU and a Peripheral
device.
C.P.U writes to register to:- configure, command and transfer data to
the peripheral.
C.P.U reads fro the peripheral to:- get the status, values.
C.P.U REGISTERS OF
PERIPHALS
Binary numbers in C
 When you write a=110; in C it means you are setting the value of
variable "a" to "one hundred and ten" (in decimal).
 In embedded programming we are not interested in the value of a
variable but the state of each bits in the variable.
 Set the bit pattern 11100011 to register R.
 R=11100011 (compiler will take it as decimal value).
 To specify a binary number in C program you have to prefix it with 0b
(zero followed by b). So if you write:-
R=0b11100011;
it assigns the bit pattern 11100011 to the bits of Register R.
HEX Numbers in C
 In same way if you prefix a number by 0x (a zero followed by x) then
compiler interpret it like a HEX number. So
 R=0x01; (01 in HEX is 1 in decimal)
 R=0xFF;(Set all bits to 11111111 or decimal 255)
Registers
 AVR is 8 bit microcontroller. All its ports are 8 bit
wide. Every port has 3 registers associated with it.
 Every bit in those registers configure pins of
particular port.
 Bit0 of these registers is associated with Pin0 of
the port, Bit1 of these registers is associated with
Pin1 of the port, …. and like wise for other bits.
 These three registers are as follows : (x can be
replaced by A,B,C,D as per the AVR you are using)
DDRx register
PORTx register
PINx register
Register for controlling
the I/O pins
I/O Registers of
ATmega8L
DDR (Data Direction Register)
 Data Direction Registers
 Responsible for configuring the Pins as
input/output.
 ‘1’ means that the corresponding pin is configured
as output.
 ‘0’ means that the corresponding pin is configured
as input.
 So, DDRx=0b00010011 means that the 1st,2nd,and 5th
pin of PORT X have been configured as output,
while the rest pins are configured as input i.e. they
are ready to accept data.
PORT Register
 They are directly connected to the pins.
 When the corresponding DDR pin is configured as
output, then these registers are used for giving the
value to the device(LEDs, Motors).
 If I want to pass ‘1’ to 5th pin of X PORT of the
microcontroller which is connected to my
device(LEDs, Motors) , I will write:
PORTx=0b00010000;
 But remember that before passing this value the 5th
pin of X port is configured as output using the DDR
of that PORT.
PIN Register
 They are directly connected to the pins.
 When the corresponding DDR pin is configured as
input, then these registers are used for taking the
value from the device(sensors).
 If I want to read ‘1’ on 5th pin of X PORT of the
microcontroller which is connected to my
device(sensors) , I will write:
PINx=0b00010000;
 But remember that before reading the value from
the 5th pin of X port, the corresponding pin is to be
configured as input using the DDR of that PORT.
Kit content
 Development Board
 A pair of IR sensors
 Robot Chassis (main Plate and two side clamps)
 Screw Driver
 Screw Packet
 Connecting wires
 12V, 1A DC adapter
 2 DC motors
 2 Wheels, 1 Caster wheel
ATmega8 Development Board
12V, 1A DC Adapter
IR sensor
Screw Driver
USB D-type Cable
Software installation
Getting Started with AVR Studio
STEP 1
Software
Install “AVR Studio 7”
STEP 2
 Open AVR studio.
 Start>Atmel AVR Tools>AVR studio 4.
STEP 3
 New project:- (1)AVR GCC>(2)Name of the project>(3)next
STEP 4
 AVR simulator>ATmega8
STEP5
start writing the code:-
STEP 6
BUILD & RUN>
Go to build option and click to Build or press F7 then after click to
Build & Run option or press ctrl+F7.
Open the TOOLKIT location.
Go to:- HID BootFlash.
DC motor
IR Sensor
* What is a sensor?
A sensor is a device that produces a measurable
response by changing the physical circumstances like temperature,
distance, pressure etc.
IR sensor pair
* Transmitter = LED (light emitting diode)
It is similar to normal LEDs but emit
infrared light that can be seen through digital cameras.
* Receiver = Photodiode/IR transistor
A photodiode is a diode that
conducts when light falls on it.
Circuit of IR sensor
* when the surface is
white, the reflection is
maximum.
* when the surface is
black, the reflection is
minimum.
Comparators
The comparator circuit work by simply taking two analog inputs,
comparing them and produce the logical output high “1” or low “0“.
Any
query!!!
Thank you

More Related Content

What's hot

Gerbang Universal NAND dan NOR
Gerbang Universal NAND dan NORGerbang Universal NAND dan NOR
Gerbang Universal NAND dan NOR
Anarstn
 
Laporan Programmeable Counter & Self-Stopping Cenounter
Laporan Programmeable Counter & Self-Stopping CenounterLaporan Programmeable Counter & Self-Stopping Cenounter
Laporan Programmeable Counter & Self-Stopping Cenounter
Kurniawan Suganda
 
Pemograman zelio soft 2
Pemograman zelio soft 2Pemograman zelio soft 2
Pemograman zelio soft 2
arie eric
 
Laporan power supply
Laporan power supplyLaporan power supply
Laporan power supply
Remboko Nazar
 
Proyecto 7 Flip Flop
Proyecto 7 Flip FlopProyecto 7 Flip Flop
Proyecto 7 Flip Flop
Francisco Arenas
 
ANTECEDENTES DEL CONTROL AUTOMÁTICO DEL SIGLO XVIII
ANTECEDENTES DEL CONTROL AUTOMÁTICO DEL SIGLO XVIIIANTECEDENTES DEL CONTROL AUTOMÁTICO DEL SIGLO XVIII
ANTECEDENTES DEL CONTROL AUTOMÁTICO DEL SIGLO XVIII
sistemasdinamicos2014
 
Prinsip Kerja Dan Analisa Konverter Tiga Fasa Setengah Terkendali
Prinsip Kerja Dan Analisa Konverter Tiga Fasa Setengah TerkendaliPrinsip Kerja Dan Analisa Konverter Tiga Fasa Setengah Terkendali
Prinsip Kerja Dan Analisa Konverter Tiga Fasa Setengah TerkendaliUniv of Jember
 
soft starter insallation & maintenance
soft starter insallation & maintenance  soft starter insallation & maintenance
soft starter insallation & maintenance
Akilan36
 
Fuentes-conmutadas
Fuentes-conmutadasFuentes-conmutadas
Fuentes-conmutadas
Jimmy Checa
 
star delta auto starter with forward reverse and motor protection
star delta auto starter with forward reverse and motor protectionstar delta auto starter with forward reverse and motor protection
star delta auto starter with forward reverse and motor protection
BHUPATI PRADHAN
 
Contoh makalah line follower analog sederhana
Contoh makalah line follower analog sederhanaContoh makalah line follower analog sederhana
Contoh makalah line follower analog sederhana
Muhammad Kennedy Ginting
 
Induction motor modelling and applications report
Induction motor modelling and applications reportInduction motor modelling and applications report
Induction motor modelling and applications report
Umesh Dadde
 
Programacion Lenguaje Assembler 25 10 07
Programacion Lenguaje Assembler 25 10 07Programacion Lenguaje Assembler 25 10 07
Programacion Lenguaje Assembler 25 10 07Carlos Pastorino
 
Menggambar instalasi listrik rumah sederhana
Menggambar instalasi listrik rumah sederhanaMenggambar instalasi listrik rumah sederhana
Menggambar instalasi listrik rumah sederhana
Agus Tri
 
Job 6 osilator colpitts dan hartley
Job 6 osilator colpitts dan hartleyJob 6 osilator colpitts dan hartley
Job 6 osilator colpitts dan hartley
Novita Lestari
 
Unrika rl 1 analisa super node
Unrika rl 1 analisa super nodeUnrika rl 1 analisa super node
Unrika rl 1 analisa super node
Pamor Gunoto
 
Week 17 digital control sytem
Week 17 digital control sytemWeek 17 digital control sytem
Week 17 digital control sytem
Charlton Inao
 
PLC Programming Languages
PLC Programming LanguagesPLC Programming Languages
PLC Programming Languages
LIJU. G. CHACKO
 
GARDU DISTRIBUSI
GARDU DISTRIBUSI GARDU DISTRIBUSI

What's hot (20)

Gerbang Universal NAND dan NOR
Gerbang Universal NAND dan NORGerbang Universal NAND dan NOR
Gerbang Universal NAND dan NOR
 
Laporan Programmeable Counter & Self-Stopping Cenounter
Laporan Programmeable Counter & Self-Stopping CenounterLaporan Programmeable Counter & Self-Stopping Cenounter
Laporan Programmeable Counter & Self-Stopping Cenounter
 
Pemograman zelio soft 2
Pemograman zelio soft 2Pemograman zelio soft 2
Pemograman zelio soft 2
 
Laporan power supply
Laporan power supplyLaporan power supply
Laporan power supply
 
Proyecto 7 Flip Flop
Proyecto 7 Flip FlopProyecto 7 Flip Flop
Proyecto 7 Flip Flop
 
ANTECEDENTES DEL CONTROL AUTOMÁTICO DEL SIGLO XVIII
ANTECEDENTES DEL CONTROL AUTOMÁTICO DEL SIGLO XVIIIANTECEDENTES DEL CONTROL AUTOMÁTICO DEL SIGLO XVIII
ANTECEDENTES DEL CONTROL AUTOMÁTICO DEL SIGLO XVIII
 
Prinsip Kerja Dan Analisa Konverter Tiga Fasa Setengah Terkendali
Prinsip Kerja Dan Analisa Konverter Tiga Fasa Setengah TerkendaliPrinsip Kerja Dan Analisa Konverter Tiga Fasa Setengah Terkendali
Prinsip Kerja Dan Analisa Konverter Tiga Fasa Setengah Terkendali
 
soft starter insallation & maintenance
soft starter insallation & maintenance  soft starter insallation & maintenance
soft starter insallation & maintenance
 
Fuentes-conmutadas
Fuentes-conmutadasFuentes-conmutadas
Fuentes-conmutadas
 
star delta auto starter with forward reverse and motor protection
star delta auto starter with forward reverse and motor protectionstar delta auto starter with forward reverse and motor protection
star delta auto starter with forward reverse and motor protection
 
PULSE WIDTH MODULATION
PULSE WIDTH MODULATIONPULSE WIDTH MODULATION
PULSE WIDTH MODULATION
 
Contoh makalah line follower analog sederhana
Contoh makalah line follower analog sederhanaContoh makalah line follower analog sederhana
Contoh makalah line follower analog sederhana
 
Induction motor modelling and applications report
Induction motor modelling and applications reportInduction motor modelling and applications report
Induction motor modelling and applications report
 
Programacion Lenguaje Assembler 25 10 07
Programacion Lenguaje Assembler 25 10 07Programacion Lenguaje Assembler 25 10 07
Programacion Lenguaje Assembler 25 10 07
 
Menggambar instalasi listrik rumah sederhana
Menggambar instalasi listrik rumah sederhanaMenggambar instalasi listrik rumah sederhana
Menggambar instalasi listrik rumah sederhana
 
Job 6 osilator colpitts dan hartley
Job 6 osilator colpitts dan hartleyJob 6 osilator colpitts dan hartley
Job 6 osilator colpitts dan hartley
 
Unrika rl 1 analisa super node
Unrika rl 1 analisa super nodeUnrika rl 1 analisa super node
Unrika rl 1 analisa super node
 
Week 17 digital control sytem
Week 17 digital control sytemWeek 17 digital control sytem
Week 17 digital control sytem
 
PLC Programming Languages
PLC Programming LanguagesPLC Programming Languages
PLC Programming Languages
 
GARDU DISTRIBUSI
GARDU DISTRIBUSI GARDU DISTRIBUSI
GARDU DISTRIBUSI
 

Similar to Embedded Application : An Autonomous Robot or Line Follower Bot

digital clock atmega16
digital clock atmega16digital clock atmega16
digital clock atmega16
Arcanjo Salazaku
 
Microcontroller
MicrocontrollerMicrocontroller
MicrocontrollerSpitiq
 
ACCELEROMETER BASED GESTURE ROBO CAR
ACCELEROMETER BASED GESTURE ROBO CARACCELEROMETER BASED GESTURE ROBO CAR
ACCELEROMETER BASED GESTURE ROBO CAR
Harshit Jain
 
Embedded system 8051 Microcontroller
Embedded system 8051 MicrocontrollerEmbedded system 8051 Microcontroller
Embedded system 8051 Microcontroller
ankitsharmaj
 
Training Report on embedded Systems and Robotics
Training Report on embedded  Systems and RoboticsTraining Report on embedded  Systems and Robotics
Training Report on embedded Systems and Robotics
NIT Raipur
 
how to generate sms
how to generate smshow to generate sms
how to generate smssumant reddy
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontroller
Amandeep Alag
 
Embedded System
Embedded SystemEmbedded System
Embedded System
Richa Arora
 
Embeded system by Mitesh Kumar
Embeded system by Mitesh KumarEmbeded system by Mitesh Kumar
Embeded system by Mitesh Kumar
Mitesh Kumar
 
microcontroller basics
microcontroller basicsmicrocontroller basics
microcontroller basics
sagar Ramdev
 
Presentation
PresentationPresentation
Presentation
Abhijit Das
 
project report on embedded system
project report on embedded systemproject report on embedded system
project report on embedded system
ram avtar
 
B sc e5.2 mp unit 4 mc-8051
B sc e5.2 mp unit 4 mc-8051B sc e5.2 mp unit 4 mc-8051
B sc e5.2 mp unit 4 mc-8051
MahiboobAliMulla
 
Ppt embedded
Ppt embeddedPpt embedded
Ppt embedded
karan bansal
 
Micro controller
Micro controllerMicro controller
Micro controller
Dr. Ashok Kumar K
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
eceprinter6
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
guest70d48b1
 

Similar to Embedded Application : An Autonomous Robot or Line Follower Bot (20)

digital clock atmega16
digital clock atmega16digital clock atmega16
digital clock atmega16
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
ACCELEROMETER BASED GESTURE ROBO CAR
ACCELEROMETER BASED GESTURE ROBO CARACCELEROMETER BASED GESTURE ROBO CAR
ACCELEROMETER BASED GESTURE ROBO CAR
 
Embedded system 8051 Microcontroller
Embedded system 8051 MicrocontrollerEmbedded system 8051 Microcontroller
Embedded system 8051 Microcontroller
 
Training Report on embedded Systems and Robotics
Training Report on embedded  Systems and RoboticsTraining Report on embedded  Systems and Robotics
Training Report on embedded Systems and Robotics
 
how to generate sms
how to generate smshow to generate sms
how to generate sms
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontroller
 
Embedded System
Embedded SystemEmbedded System
Embedded System
 
Embeded system by Mitesh Kumar
Embeded system by Mitesh KumarEmbeded system by Mitesh Kumar
Embeded system by Mitesh Kumar
 
microcontroller basics
microcontroller basicsmicrocontroller basics
microcontroller basics
 
Presentation
PresentationPresentation
Presentation
 
project report on embedded system
project report on embedded systemproject report on embedded system
project report on embedded system
 
B sc e5.2 mp unit 4 mc-8051
B sc e5.2 mp unit 4 mc-8051B sc e5.2 mp unit 4 mc-8051
B sc e5.2 mp unit 4 mc-8051
 
Ppt embedded
Ppt embeddedPpt embedded
Ppt embedded
 
Micro controller
Micro controllerMicro controller
Micro controller
 
Assignment
AssignmentAssignment
Assignment
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
 
Arduino Programming Basic
Arduino Programming BasicArduino Programming Basic
Arduino Programming Basic
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Picmico
PicmicoPicmico
Picmico
 

More from Er. Raju Bhardwaj

Financial projections
Financial projectionsFinancial projections
Financial projections
Er. Raju Bhardwaj
 
MVP product/market fit
MVP product/market fitMVP product/market fit
MVP product/market fit
Er. Raju Bhardwaj
 
Appt and reasoning
Appt and reasoningAppt and reasoning
Appt and reasoning
Er. Raju Bhardwaj
 
The 24 month journey to product market fit
The 24 month journey to product market fitThe 24 month journey to product market fit
The 24 month journey to product market fit
Er. Raju Bhardwaj
 
The value-proposition-canvas
The value-proposition-canvasThe value-proposition-canvas
The value-proposition-canvas
Er. Raju Bhardwaj
 
The business-model-canvas
The business-model-canvasThe business-model-canvas
The business-model-canvas
Er. Raju Bhardwaj
 
Start up lifecycle
Start up lifecycle Start up lifecycle
Start up lifecycle
Er. Raju Bhardwaj
 
User Engagement : 5 growth metrics
User Engagement : 5 growth metricsUser Engagement : 5 growth metrics
User Engagement : 5 growth metrics
Er. Raju Bhardwaj
 
BPMF. APMF
BPMF. APMFBPMF. APMF
BPMF. APMF
Er. Raju Bhardwaj
 
12 things about PMF
12 things about PMF12 things about PMF
12 things about PMF
Er. Raju Bhardwaj
 
TEDSTART | Startup Oasis
TEDSTART | Startup Oasis TEDSTART | Startup Oasis
TEDSTART | Startup Oasis
Er. Raju Bhardwaj
 
Startups Funding milestones
Startups Funding milestonesStartups Funding milestones
Startups Funding milestones
Er. Raju Bhardwaj
 
Startup progress barometer
Startup progress barometerStartup progress barometer
Startup progress barometer
Er. Raju Bhardwaj
 
Startup Idea Pitch : Hess power Pitch-deck
Startup Idea Pitch : Hess power Pitch-deckStartup Idea Pitch : Hess power Pitch-deck
Startup Idea Pitch : Hess power Pitch-deck
Er. Raju Bhardwaj
 
Paymatrix pitchdeck oct'17
Paymatrix  pitchdeck oct'17Paymatrix  pitchdeck oct'17
Paymatrix pitchdeck oct'17
Er. Raju Bhardwaj
 
PPT on Regenerative E- Bicycle
PPT on Regenerative E- BicyclePPT on Regenerative E- Bicycle
PPT on Regenerative E- Bicycle
Er. Raju Bhardwaj
 
Battery and Super Capacitor based Hybrid Energy Storage System (BSHESS)
Battery and Super Capacitor based Hybrid Energy Storage System (BSHESS)Battery and Super Capacitor based Hybrid Energy Storage System (BSHESS)
Battery and Super Capacitor based Hybrid Energy Storage System (BSHESS)
Er. Raju Bhardwaj
 

More from Er. Raju Bhardwaj (17)

Financial projections
Financial projectionsFinancial projections
Financial projections
 
MVP product/market fit
MVP product/market fitMVP product/market fit
MVP product/market fit
 
Appt and reasoning
Appt and reasoningAppt and reasoning
Appt and reasoning
 
The 24 month journey to product market fit
The 24 month journey to product market fitThe 24 month journey to product market fit
The 24 month journey to product market fit
 
The value-proposition-canvas
The value-proposition-canvasThe value-proposition-canvas
The value-proposition-canvas
 
The business-model-canvas
The business-model-canvasThe business-model-canvas
The business-model-canvas
 
Start up lifecycle
Start up lifecycle Start up lifecycle
Start up lifecycle
 
User Engagement : 5 growth metrics
User Engagement : 5 growth metricsUser Engagement : 5 growth metrics
User Engagement : 5 growth metrics
 
BPMF. APMF
BPMF. APMFBPMF. APMF
BPMF. APMF
 
12 things about PMF
12 things about PMF12 things about PMF
12 things about PMF
 
TEDSTART | Startup Oasis
TEDSTART | Startup Oasis TEDSTART | Startup Oasis
TEDSTART | Startup Oasis
 
Startups Funding milestones
Startups Funding milestonesStartups Funding milestones
Startups Funding milestones
 
Startup progress barometer
Startup progress barometerStartup progress barometer
Startup progress barometer
 
Startup Idea Pitch : Hess power Pitch-deck
Startup Idea Pitch : Hess power Pitch-deckStartup Idea Pitch : Hess power Pitch-deck
Startup Idea Pitch : Hess power Pitch-deck
 
Paymatrix pitchdeck oct'17
Paymatrix  pitchdeck oct'17Paymatrix  pitchdeck oct'17
Paymatrix pitchdeck oct'17
 
PPT on Regenerative E- Bicycle
PPT on Regenerative E- BicyclePPT on Regenerative E- Bicycle
PPT on Regenerative E- Bicycle
 
Battery and Super Capacitor based Hybrid Energy Storage System (BSHESS)
Battery and Super Capacitor based Hybrid Energy Storage System (BSHESS)Battery and Super Capacitor based Hybrid Energy Storage System (BSHESS)
Battery and Super Capacitor based Hybrid Energy Storage System (BSHESS)
 

Recently uploaded

GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
Globus
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
UiPathCommunity
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 

Recently uploaded (20)

GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 

Embedded Application : An Autonomous Robot or Line Follower Bot

  • 1. LINE FOLLOWER ROBOT OR AUTONOMOUS ROBOT (EMBEDDED APPLICATION) PRESENTATION ON
  • 2. It is a machine that follows a line. Either a black line on white surface or vice-versa. WHAT IS LINE FILLOWER ROBOT
  • 3.
  • 4. Real meaning of Engineering is practicality. Embedded System is the right word to describe this practicality. According to Theories it’s a Combination of Hardware with Software. Embedded System is not a branch of Engineering, basically it’s a group of many branches of Engineering. It may be Mechanical, Electrical, Electronics, Computer Science Engineering. EMBEDDED SYSTEMS
  • 5. Examples of an Embedded System and Robotics. 1. Personal Computer, Mobile phones, Tab 2. Automation Systems (Home / Factory /Lab) 3. Digital Watch, Stereo Systems 4. Washing Machine, Television Remote 5. Automatic GSM based AC’s 6. Traffic Light Systems 7. Disco lightening Systems 8. Communication Systems……and many more Embedded System & Robotics Examples
  • 6. There are two major prospects to use an Embedded System .  Speed of the System It must be very fast.  Size of the System It must be very less. Both the requirements are reverse to each other. Need of Embedded System
  • 7. There are three major requirements to develop an Embedded System.  Input Processing unit Output Control over these three will fulfill all desires for the system. Requirements to Develop an Embedded System
  • 8. The Brain/ Controlling System These are the microcontrollers/processors which guide the system to perform the desired work. These are the part of autonomous systems.
  • 9.  A Microcontroller can be defined as a “Computer-on-Chip”.  Just as a Personal Computer has input devices like keyboards, mouse, etc, output devices like monitor, printer, etc and the Central Processing Unit, a Microcontroller also has  Input/output ports and  a Processor embedded into a single chip.  Memory  A Microcontroller is a complete self-sufficient system usually requiring no external components.
  • 10. AVR Family AVR microcontrollers are available in three different categories:  TinyAVR – Less memory, small size, suitable only for simpler .  MegaAVR – These are the most popular ones having good amount of memory (upto 256 KB), higher number of inbuilt peripherals and suitable for moderate to complex applications.  XmegaAVR – Used commercially for complex applications, which require large program memory and high speed.
  • 11. ATMega8L  We will be working on Atmega8 microcontroller, which is a 28-pin IC and belongs to the MegaAVR category of AVR family.  Some of the features of Atmega8 are:  8 KB of Flash memory  1KB of SRAM  512 Bytes of EEPROM  Available in 28-Pin DIP  6- Channel 10-bit ADC  Two 8-bit Timers/Counters  One 16-bit Timer/Counter  3 PWM Channels  In System Programmer (ISP)  Serial USART  SPI Interface  Digital to Analog Comparator.
  • 13.
  • 14. Register A register is simply a collection of some bits (mostly 8 bits in case of 8bit MCUs). Either each different bit in a register has some purpose or the register as a whole holds a value.  Registers serves as connection between a CPU and a Peripheral device. C.P.U writes to register to:- configure, command and transfer data to the peripheral. C.P.U reads fro the peripheral to:- get the status, values. C.P.U REGISTERS OF PERIPHALS
  • 15. Binary numbers in C  When you write a=110; in C it means you are setting the value of variable "a" to "one hundred and ten" (in decimal).  In embedded programming we are not interested in the value of a variable but the state of each bits in the variable.  Set the bit pattern 11100011 to register R.  R=11100011 (compiler will take it as decimal value).  To specify a binary number in C program you have to prefix it with 0b (zero followed by b). So if you write:- R=0b11100011; it assigns the bit pattern 11100011 to the bits of Register R.
  • 16. HEX Numbers in C  In same way if you prefix a number by 0x (a zero followed by x) then compiler interpret it like a HEX number. So  R=0x01; (01 in HEX is 1 in decimal)  R=0xFF;(Set all bits to 11111111 or decimal 255)
  • 17. Registers  AVR is 8 bit microcontroller. All its ports are 8 bit wide. Every port has 3 registers associated with it.  Every bit in those registers configure pins of particular port.  Bit0 of these registers is associated with Pin0 of the port, Bit1 of these registers is associated with Pin1 of the port, …. and like wise for other bits.  These three registers are as follows : (x can be replaced by A,B,C,D as per the AVR you are using) DDRx register PORTx register PINx register
  • 20. DDR (Data Direction Register)  Data Direction Registers  Responsible for configuring the Pins as input/output.  ‘1’ means that the corresponding pin is configured as output.  ‘0’ means that the corresponding pin is configured as input.  So, DDRx=0b00010011 means that the 1st,2nd,and 5th pin of PORT X have been configured as output, while the rest pins are configured as input i.e. they are ready to accept data.
  • 21.
  • 22. PORT Register  They are directly connected to the pins.  When the corresponding DDR pin is configured as output, then these registers are used for giving the value to the device(LEDs, Motors).  If I want to pass ‘1’ to 5th pin of X PORT of the microcontroller which is connected to my device(LEDs, Motors) , I will write: PORTx=0b00010000;  But remember that before passing this value the 5th pin of X port is configured as output using the DDR of that PORT.
  • 23.
  • 24. PIN Register  They are directly connected to the pins.  When the corresponding DDR pin is configured as input, then these registers are used for taking the value from the device(sensors).  If I want to read ‘1’ on 5th pin of X PORT of the microcontroller which is connected to my device(sensors) , I will write: PINx=0b00010000;  But remember that before reading the value from the 5th pin of X port, the corresponding pin is to be configured as input using the DDR of that PORT.
  • 25. Kit content  Development Board  A pair of IR sensors  Robot Chassis (main Plate and two side clamps)  Screw Driver  Screw Packet  Connecting wires  12V, 1A DC adapter  2 DC motors  2 Wheels, 1 Caster wheel
  • 27. 12V, 1A DC Adapter
  • 33. STEP 2  Open AVR studio.  Start>Atmel AVR Tools>AVR studio 4.
  • 34. STEP 3  New project:- (1)AVR GCC>(2)Name of the project>(3)next
  • 35. STEP 4  AVR simulator>ATmega8
  • 37. STEP 6 BUILD & RUN> Go to build option and click to Build or press F7 then after click to Build & Run option or press ctrl+F7. Open the TOOLKIT location. Go to:- HID BootFlash.
  • 39. IR Sensor * What is a sensor? A sensor is a device that produces a measurable response by changing the physical circumstances like temperature, distance, pressure etc.
  • 40. IR sensor pair * Transmitter = LED (light emitting diode) It is similar to normal LEDs but emit infrared light that can be seen through digital cameras. * Receiver = Photodiode/IR transistor A photodiode is a diode that conducts when light falls on it.
  • 41. Circuit of IR sensor * when the surface is white, the reflection is maximum. * when the surface is black, the reflection is minimum.
  • 42. Comparators The comparator circuit work by simply taking two analog inputs, comparing them and produce the logical output high “1” or low “0“.