SlideShare a Scribd company logo
EMBEDDED SYSTEMS
&

ROBOTICS
(on AVR platform)
-neha sharma
CONTENTS

1. Company overview
2. Embedded Systems & types
3. Applications
4. Microcontroller
5. Pin diagram & Features of ATmega 16
6. CVAVR
7. I/O function registers
8. LCD interfacing
9. SPI
10. Robotics (laws)
11. Autonomous robots
12. how robot moves?
13. sensors
COMPANY OVERVIEW
•
•
•
•
•

The Hewlett-Packard Company or HP is an
American multinational IT company,
headquartered at US, founded by will Hewlett and
Dave Packard in 1947.
HP is the world’s leading PC manufacturing company
since 2007.
It specializes in developing and manufacturing
computing, data storage, and networking hardware,
designing software and delivering services.
In 2012 it was the world's largest PC vendors by unit
sale.
Merges with COMPAQ in 2002.
Majority of its products includes PC, laptops, printers,
scanners, digital cameras, servers, PDA.
WHAT ARE EMBEDDED SYSTEMS?
•An Embedded system is a
Software program on a H/W chip
designed for a specific purpose
and can also contain some
mechanical moving parts.
• An embedded system is a
microprocessor or
microcontroller based electronic
device used for specific task.
TYPES OF EMBEDDED SYSTEMS
1. Real time embedded system
(a) Soft real time embedded
system
(b)
Hard
real
time
embedded system
2. Non real time embedded
system
APPLICATIONS
• Pen drives
• Hard disk
• Mouse
• Calculators
• Cell phones
• Security system
• Alarm system
• Digital camera
• Printers
• Environment monitoring systems…
microcontroller
• It is a small computer on a single integrated
circuit containing a processor core, memory,
and programmable input/output peripherals.
• It is designed for embedded systems.
Pin diagram of ATmega16
Features of ATMEGA 16
•
•
•
•
•
•
•
•
•
•
•
•

It is a 40 pin IC.
Advanced RISC Architecture
16 MHz clock frequency
16K Bytes of In‐System Self‐Programmable Flash
512 Bytes EEPROM
1K Byte Internal SRAM
32 Programmable I/O Lines
3 channel interrupts
8‐channel, 10‐bit ADC
Two 8‐bit Timer/Counters
One 16‐bit Timer/Counter
4 channels for USART ,master/slave SPI.
PROGRAMMING KIT
PROGRAMMER
Code Vision AVR (CVAVR)
• CVAVR is an IDE (integrated development
program).
• An IDE is a software having functions like
Preprocessing, Compilation, Assembly, Linking
Object Translation, Text Editor etc.
• It has limitation of code size.
• It works on computers with Windows platform
that is Windows XP & Vista.
embedded systems and robotics on avr platform
CVAVR
Atmega 16
embedded systems and robotics on avr platform
embedded systems and robotics on avr platform
I/O functions Registers
Input Output functions are set by Three Registers for each PORT.
•DDRX ‐‐‐‐> Sets whether a port is
Input or Output of PORTX.
• PORTX ‐‐‐> Sets the Output Value
of PORTX. For ex.
PORTA=255 ( all pins work of port A
as output) for LED & LCD.

• PINX ‐‐‐‐‐> Reads

the Value of PORTX
for ex. PINA.0=0 (0th
pin of port A working
as input ) for switches
LCD interfacing
• We have used 16x2 alphanumeric LCD, have their
own embedded system in them.
• lcd_clear()  clears screen
• lcd_gotoxy(x,y)  position
• lcd_putchar(char c)  display single character.
• lcd_putsf(string) whole string
• lcd_puts(char arr)  for array
• itoa(int val, char arr[])
• ftoa(float val, char decimal_places, char arr[])
Selecting LCD in CVAVR
SPI (serial peripheral
interface)

It is a communication protocol, used
between two or more microcontroller and
devices supporting SPI mode data transfer.
1. MOSI : Master Out
Slave In
2. MISO : Master In
Slave Out
3. SCK : Serial Clock
4. SS: Slave Select
SPI

We can transmit/receive only 1 byte of data.
embedded systems and robotics on avr platform
LAWS OF ROBOTICS
1. A robot must not harm
human being and
humanity.
2. It must obey the orders
given by human
being, w/o conflicting
law 1st.
3. A robot must protect its
own existence as long
as it doesn’t conflict
AUTONOMOUS ROBOT
•

•
•
•

Basic elements for building
autonomous robot.
Robot chassis and actuators: body and wheels
arrangement.
Electronics: includes Sensors, motion control
circuits, power management system etc.
Power Source :Usually batteries or direct
supply through wire.
Intelligence: is achieved by using
Microcontroller.
HOW ROBOT MOVES? (H/w)
•3 motors for 4 wheels
• 2 motors for 2 wheels and 1
ball bearing caster

•Controlling rpm and direction
of wheels, controls speed
HOW ROBOT MOVES? (S/w)
• At first TIMER has to
initialize. (Atmega has 3
timers 0, 1, 2).
• OCRX= (int. value 0-255);
• forward movement: 1 in
clockwise other in
anticlock direction.
• Backward: opposite of
forward.
• turning left: left wheel
having less value of OCRX.
• Turning right: right wheel
having less value OCRX.
embedded systems and robotics on avr platform
SENSORS
•

Sensors are like “feel” for

robot.
• Electronically :it is a device that
measures a physical quantity and
converts it into a signal which can
be read by an observer or by an
instrument.
• TEMPERATURE SENSOR: like
DS1621,thermistor. LM35
measures from 0 to 100 degrees
LIGHT SENSORS
• Light Dependent Resistor (LDR): a resistor whose
resistance varies with intensity of light.
• IR sensor: IR led + photodiode + LM358.
• From any “non black body” i.e obstacle IR reflects and
falls on photo diode.
• Hence Photo diode become forward bias, and it turn on the
IC LM358 that gives the output.
IR LED

IR sensor
photodiode
LM 358
CONCLUSION
• electronics + mechanics
+ software = ROBOT
• By using all of the
commands of CVAVR,
programming is done on
a robot.
• A robot must be used for
mankind.
REFERENCES
•
www.google.com
• www.wikipedia.com
• Google images
• http://www.embeddedsystem
.com/
• http://robotics.nasa.gov/
embedded systems and robotics on avr platform
embedded systems and robotics on avr platform
Ad

More Related Content

What's hot (20)

WEARABLE BIOSENSORS
WEARABLE BIOSENSORSWEARABLE BIOSENSORS
WEARABLE BIOSENSORS
Tata Consultancy Services
 
innovative railway track surveying with sensors and controlled by wireless co...
innovative railway track surveying with sensors and controlled by wireless co...innovative railway track surveying with sensors and controlled by wireless co...
innovative railway track surveying with sensors and controlled by wireless co...
kalaimathi mathiyazhagan
 
Artificial Passenger
Artificial PassengerArtificial Passenger
Artificial Passenger
priyanka kini
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
Yash Sati
 
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMSACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
Krishna Moparthi
 
Embedded systems ppt
Embedded systems pptEmbedded systems ppt
Embedded systems ppt
Bhavana Sharma
 
Embedded Systems in Automotive
Embedded Systems in Automotive Embedded Systems in Automotive
Embedded Systems in Automotive
محمدعبد الحى
 
Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded Systems
Vishwa Mohan
 
ALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGY
ALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGYALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGY
ALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGY
Oodit Jethwa
 
Obstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensorObstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensor
satyashanker
 
Embedded Systems Training Report
Embedded Systems Training ReportEmbedded Systems Training Report
Embedded Systems Training Report
Akhil Garg
 
Embedded System
Embedded System Embedded System
Embedded System
Sonali Parab
 
Introduction to stm32-part1
Introduction to stm32-part1Introduction to stm32-part1
Introduction to stm32-part1
Amr Ali (ISTQB CTAL Full, CSM, ITIL Foundation)
 
Design of embedded systems
Design of embedded systemsDesign of embedded systems
Design of embedded systems
Pradeep Kumar TS
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
Dr M Muruganandam Masilamani
 
Embedded system-in-automobile
Embedded system-in-automobileEmbedded system-in-automobile
Embedded system-in-automobile
Siddharth Sanskar
 
Micro electronic pill
Micro electronic pillMicro electronic pill
Micro electronic pill
Sajan CK
 
Vehicle accident detection system (VAD)
Vehicle accident detection system (VAD)Vehicle accident detection system (VAD)
Vehicle accident detection system (VAD)
Infopitaara
 
Sensors by saurabh jawale
Sensors by saurabh jawaleSensors by saurabh jawale
Sensors by saurabh jawale
saurabhraje99
 
Adaptive cruise control
Adaptive cruise controlAdaptive cruise control
Adaptive cruise control
Jinu Joy
 
innovative railway track surveying with sensors and controlled by wireless co...
innovative railway track surveying with sensors and controlled by wireless co...innovative railway track surveying with sensors and controlled by wireless co...
innovative railway track surveying with sensors and controlled by wireless co...
kalaimathi mathiyazhagan
 
Artificial Passenger
Artificial PassengerArtificial Passenger
Artificial Passenger
priyanka kini
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
Yash Sati
 
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMSACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
Krishna Moparthi
 
Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded Systems
Vishwa Mohan
 
ALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGY
ALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGYALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGY
ALCOHOL DETECTION SYSTEM USING GSM TECHNOLOGY
Oodit Jethwa
 
Obstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensorObstacle detection using ultra sonic sensor
Obstacle detection using ultra sonic sensor
satyashanker
 
Embedded Systems Training Report
Embedded Systems Training ReportEmbedded Systems Training Report
Embedded Systems Training Report
Akhil Garg
 
Design of embedded systems
Design of embedded systemsDesign of embedded systems
Design of embedded systems
Pradeep Kumar TS
 
Embedded system-in-automobile
Embedded system-in-automobileEmbedded system-in-automobile
Embedded system-in-automobile
Siddharth Sanskar
 
Micro electronic pill
Micro electronic pillMicro electronic pill
Micro electronic pill
Sajan CK
 
Vehicle accident detection system (VAD)
Vehicle accident detection system (VAD)Vehicle accident detection system (VAD)
Vehicle accident detection system (VAD)
Infopitaara
 
Sensors by saurabh jawale
Sensors by saurabh jawaleSensors by saurabh jawale
Sensors by saurabh jawale
saurabhraje99
 
Adaptive cruise control
Adaptive cruise controlAdaptive cruise control
Adaptive cruise control
Jinu Joy
 

Viewers also liked (20)

robotics and embedded system ppt
robotics and embedded system pptrobotics and embedded system ppt
robotics and embedded system ppt
Nilgiri publicity
 
An Introduction to Robotics and Embedded System
An Introduction to Robotics and Embedded SystemAn Introduction to Robotics and Embedded System
An Introduction to Robotics and Embedded System
Peeyush Sahu CAPM®
 
Robotics & Embedded Systems
Robotics & Embedded SystemsRobotics & Embedded Systems
Robotics & Embedded Systems
anishgoel
 
ppt on embedded system
ppt on embedded systemppt on embedded system
ppt on embedded system
manish katara
 
Robotics project ppt
Robotics project pptRobotics project ppt
Robotics project ppt
Vundavalli Shreya
 
Embedded systems and robotics by scmandota
Embedded systems and robotics by scmandotaEmbedded systems and robotics by scmandota
Embedded systems and robotics by scmandota
scmandota
 
Robotics and Embedded System.
Robotics and Embedded System.Robotics and Embedded System.
Robotics and Embedded System.
Puneet Parihar
 
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
 
AVR Fundamentals
AVR FundamentalsAVR Fundamentals
AVR Fundamentals
Vinit Vyas
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
Mahmoud Sadat
 
Basics of Robotics
Basics of RoboticsBasics of Robotics
Basics of Robotics
Ameya Gandhi
 
Robotics.Ppt
Robotics.PptRobotics.Ppt
Robotics.Ppt
guest3860287
 
3 robots free_sample
3 robots free_sample3 robots free_sample
3 robots free_sample
iman hisham
 
Embedded and Robotics System
Embedded and Robotics SystemEmbedded and Robotics System
Embedded and Robotics System
RK Saini
 
Embedded based patient heartbeat and temperature monitoring system
Embedded based patient heartbeat and temperature monitoring systemEmbedded based patient heartbeat and temperature monitoring system
Embedded based patient heartbeat and temperature monitoring system
Logic Mind Technologies
 
PC
PCPC
PC
Karthik Karthick
 
Pc controlled robot
Pc controlled robotPc controlled robot
Pc controlled robot
UVSofts Technologies
 
Robotics project ppt
Robotics project pptRobotics project ppt
Robotics project ppt
Yash Bhawre
 
Designing a Robotic Assistant for Healthcare Applications
Designing a Robotic Assistant for Healthcare ApplicationsDesigning a Robotic Assistant for Healthcare Applications
Designing a Robotic Assistant for Healthcare Applications
Health Informatics New Zealand
 
Features of ATMEL microcontrollers
Features of ATMEL microcontrollersFeatures of ATMEL microcontrollers
Features of ATMEL microcontrollers
Suraj Shandilya
 
robotics and embedded system ppt
robotics and embedded system pptrobotics and embedded system ppt
robotics and embedded system ppt
Nilgiri publicity
 
An Introduction to Robotics and Embedded System
An Introduction to Robotics and Embedded SystemAn Introduction to Robotics and Embedded System
An Introduction to Robotics and Embedded System
Peeyush Sahu CAPM®
 
Robotics & Embedded Systems
Robotics & Embedded SystemsRobotics & Embedded Systems
Robotics & Embedded Systems
anishgoel
 
ppt on embedded system
ppt on embedded systemppt on embedded system
ppt on embedded system
manish katara
 
Embedded systems and robotics by scmandota
Embedded systems and robotics by scmandotaEmbedded systems and robotics by scmandota
Embedded systems and robotics by scmandota
scmandota
 
Robotics and Embedded System.
Robotics and Embedded System.Robotics and Embedded System.
Robotics and Embedded System.
Puneet Parihar
 
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
 
AVR Fundamentals
AVR FundamentalsAVR Fundamentals
AVR Fundamentals
Vinit Vyas
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
Mahmoud Sadat
 
Basics of Robotics
Basics of RoboticsBasics of Robotics
Basics of Robotics
Ameya Gandhi
 
3 robots free_sample
3 robots free_sample3 robots free_sample
3 robots free_sample
iman hisham
 
Embedded and Robotics System
Embedded and Robotics SystemEmbedded and Robotics System
Embedded and Robotics System
RK Saini
 
Embedded based patient heartbeat and temperature monitoring system
Embedded based patient heartbeat and temperature monitoring systemEmbedded based patient heartbeat and temperature monitoring system
Embedded based patient heartbeat and temperature monitoring system
Logic Mind Technologies
 
Robotics project ppt
Robotics project pptRobotics project ppt
Robotics project ppt
Yash Bhawre
 
Designing a Robotic Assistant for Healthcare Applications
Designing a Robotic Assistant for Healthcare ApplicationsDesigning a Robotic Assistant for Healthcare Applications
Designing a Robotic Assistant for Healthcare Applications
Health Informatics New Zealand
 
Features of ATMEL microcontrollers
Features of ATMEL microcontrollersFeatures of ATMEL microcontrollers
Features of ATMEL microcontrollers
Suraj Shandilya
 
Ad

Similar to embedded systems and robotics on avr platform (20)

robotics and its components
robotics and its componentsrobotics and its components
robotics and its components
Amandeep Kaur
 
PILOT Session for Embedded Systems
PILOT Session for Embedded Systems PILOT Session for Embedded Systems
PILOT Session for Embedded Systems
Mohamed Al-Emam, PMP®, CAP®
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scope
Arshit Rai
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scope
Arshit Rai
 
ankit
ankitankit
ankit
ankit kumar
 
Embedded training report(mcs 51)
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)
Gurwinder Singh
 
EE6602 Embedded System
EE6602 Embedded SystemEE6602 Embedded System
EE6602 Embedded System
rmkceteee
 
Embedded system and its platforms
Embedded system and its platformsEmbedded system and its platforms
Embedded system and its platforms
Mrunal Deshkar
 
Microprocessors and Microcontrollers ppt
Microprocessors and Microcontrollers pptMicroprocessors and Microcontrollers ppt
Microprocessors and Microcontrollers ppt
pradeepA32
 
Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptx
aravind Guru
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
Embeddedbvp
 
Robotic hand RGRGGHGHGFHGF FGHGFBNBN TG.pptx
Robotic hand RGRGGHGHGFHGF FGHGFBNBN TG.pptxRobotic hand RGRGGHGHGFHGF FGHGFBNBN TG.pptx
Robotic hand RGRGGHGHGFHGF FGHGFBNBN TG.pptx
ssuser84181e
 
8051 basics
8051 basics8051 basics
8051 basics
Vishnu Chittan Mudrakartha
 
introduction to embedded systems part 2
introduction to embedded systems part 2introduction to embedded systems part 2
introduction to embedded systems part 2
Hatem Abd El-Salam
 
embedded systems ppt 2
embedded systems ppt 2embedded systems ppt 2
embedded systems ppt 2
pavan kumar
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
Wingston
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
Kumar Satyam
 
Embedded system by owais
Embedded system by owaisEmbedded system by owais
Embedded system by owais
Owais Mushtaq
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
MeghdeepSingh
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
Imran Sheikh
 
robotics and its components
robotics and its componentsrobotics and its components
robotics and its components
Amandeep Kaur
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scope
Arshit Rai
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scope
Arshit Rai
 
Embedded training report(mcs 51)
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)
Gurwinder Singh
 
EE6602 Embedded System
EE6602 Embedded SystemEE6602 Embedded System
EE6602 Embedded System
rmkceteee
 
Embedded system and its platforms
Embedded system and its platformsEmbedded system and its platforms
Embedded system and its platforms
Mrunal Deshkar
 
Microprocessors and Microcontrollers ppt
Microprocessors and Microcontrollers pptMicroprocessors and Microcontrollers ppt
Microprocessors and Microcontrollers ppt
pradeepA32
 
Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptx
aravind Guru
 
Robotic hand RGRGGHGHGFHGF FGHGFBNBN TG.pptx
Robotic hand RGRGGHGHGFHGF FGHGFBNBN TG.pptxRobotic hand RGRGGHGHGFHGF FGHGFBNBN TG.pptx
Robotic hand RGRGGHGHGFHGF FGHGFBNBN TG.pptx
ssuser84181e
 
introduction to embedded systems part 2
introduction to embedded systems part 2introduction to embedded systems part 2
introduction to embedded systems part 2
Hatem Abd El-Salam
 
embedded systems ppt 2
embedded systems ppt 2embedded systems ppt 2
embedded systems ppt 2
pavan kumar
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
Wingston
 
Embedded system by owais
Embedded system by owaisEmbedded system by owais
Embedded system by owais
Owais Mushtaq
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
MeghdeepSingh
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
Imran Sheikh
 
Ad

Recently uploaded (20)

May Patch Tuesday
May Patch TuesdayMay Patch Tuesday
May Patch Tuesday
Ivanti
 
Harmonizing Multi-Agent Intelligence | Open Data Science Conference | Gary Ar...
Harmonizing Multi-Agent Intelligence | Open Data Science Conference | Gary Ar...Harmonizing Multi-Agent Intelligence | Open Data Science Conference | Gary Ar...
Harmonizing Multi-Agent Intelligence | Open Data Science Conference | Gary Ar...
Gary Arora
 
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
Ivano Malavolta
 
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptxReimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
John Moore
 
An Overview of Salesforce Health Cloud & How is it Transforming Patient Care
An Overview of Salesforce Health Cloud & How is it Transforming Patient CareAn Overview of Salesforce Health Cloud & How is it Transforming Patient Care
An Overview of Salesforce Health Cloud & How is it Transforming Patient Care
Cyntexa
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...
Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...
Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...
Vasileios Komianos
 
Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
 
Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?
Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?
Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?
Christian Folini
 
Build With AI - In Person Session Slides.pdf
Build With AI - In Person Session Slides.pdfBuild With AI - In Person Session Slides.pdf
Build With AI - In Person Session Slides.pdf
Google Developer Group - Harare
 
Slack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teamsSlack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teams
Nacho Cougil
 
MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...
MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...
MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...
ICT Frame Magazine Pvt. Ltd.
 
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdfICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
Eryk Budi Pratama
 
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Cyntexa
 
Top 5 Qualities to Look for in Salesforce Partners in 2025
Top 5 Qualities to Look for in Salesforce Partners in 2025Top 5 Qualities to Look for in Salesforce Partners in 2025
Top 5 Qualities to Look for in Salesforce Partners in 2025
Damco Salesforce Services
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 
UiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptx
UiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptxUiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptx
UiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptx
anabulhac
 
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
Unlocking Generative AI in your Web Apps
Unlocking Generative AI in your Web AppsUnlocking Generative AI in your Web Apps
Unlocking Generative AI in your Web Apps
Maximiliano Firtman
 
May Patch Tuesday
May Patch TuesdayMay Patch Tuesday
May Patch Tuesday
Ivanti
 
Harmonizing Multi-Agent Intelligence | Open Data Science Conference | Gary Ar...
Harmonizing Multi-Agent Intelligence | Open Data Science Conference | Gary Ar...Harmonizing Multi-Agent Intelligence | Open Data Science Conference | Gary Ar...
Harmonizing Multi-Agent Intelligence | Open Data Science Conference | Gary Ar...
Gary Arora
 
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
Ivano Malavolta
 
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptxReimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
John Moore
 
An Overview of Salesforce Health Cloud & How is it Transforming Patient Care
An Overview of Salesforce Health Cloud & How is it Transforming Patient CareAn Overview of Salesforce Health Cloud & How is it Transforming Patient Care
An Overview of Salesforce Health Cloud & How is it Transforming Patient Care
Cyntexa
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...
Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...
Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...
Vasileios Komianos
 
Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
 
Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?
Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?
Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?
Christian Folini
 
Slack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teamsSlack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teams
Nacho Cougil
 
MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...
MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...
MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...
ICT Frame Magazine Pvt. Ltd.
 
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdfICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
Eryk Budi Pratama
 
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Cyntexa
 
Top 5 Qualities to Look for in Salesforce Partners in 2025
Top 5 Qualities to Look for in Salesforce Partners in 2025Top 5 Qualities to Look for in Salesforce Partners in 2025
Top 5 Qualities to Look for in Salesforce Partners in 2025
Damco Salesforce Services
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 
UiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptx
UiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptxUiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptx
UiPath AgentHack - Build the AI agents of tomorrow_Enablement 1.pptx
anabulhac
 
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
Unlocking Generative AI in your Web Apps
Unlocking Generative AI in your Web AppsUnlocking Generative AI in your Web Apps
Unlocking Generative AI in your Web Apps
Maximiliano Firtman
 

embedded systems and robotics on avr platform

  • 1. EMBEDDED SYSTEMS & ROBOTICS (on AVR platform) -neha sharma
  • 2. CONTENTS 1. Company overview 2. Embedded Systems & types 3. Applications 4. Microcontroller 5. Pin diagram & Features of ATmega 16 6. CVAVR 7. I/O function registers 8. LCD interfacing 9. SPI 10. Robotics (laws) 11. Autonomous robots 12. how robot moves? 13. sensors
  • 3. COMPANY OVERVIEW • • • • • The Hewlett-Packard Company or HP is an American multinational IT company, headquartered at US, founded by will Hewlett and Dave Packard in 1947. HP is the world’s leading PC manufacturing company since 2007. It specializes in developing and manufacturing computing, data storage, and networking hardware, designing software and delivering services. In 2012 it was the world's largest PC vendors by unit sale. Merges with COMPAQ in 2002. Majority of its products includes PC, laptops, printers, scanners, digital cameras, servers, PDA.
  • 4. WHAT ARE EMBEDDED SYSTEMS? •An Embedded system is a Software program on a H/W chip designed for a specific purpose and can also contain some mechanical moving parts. • An embedded system is a microprocessor or microcontroller based electronic device used for specific task.
  • 5. TYPES OF EMBEDDED SYSTEMS 1. Real time embedded system (a) Soft real time embedded system (b) Hard real time embedded system 2. Non real time embedded system
  • 6. APPLICATIONS • Pen drives • Hard disk • Mouse • Calculators • Cell phones • Security system • Alarm system • Digital camera • Printers • Environment monitoring systems…
  • 7. microcontroller • It is a small computer on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals. • It is designed for embedded systems.
  • 8. Pin diagram of ATmega16
  • 9. Features of ATMEGA 16 • • • • • • • • • • • • It is a 40 pin IC. Advanced RISC Architecture 16 MHz clock frequency 16K Bytes of In‐System Self‐Programmable Flash 512 Bytes EEPROM 1K Byte Internal SRAM 32 Programmable I/O Lines 3 channel interrupts 8‐channel, 10‐bit ADC Two 8‐bit Timer/Counters One 16‐bit Timer/Counter 4 channels for USART ,master/slave SPI.
  • 11. Code Vision AVR (CVAVR) • CVAVR is an IDE (integrated development program). • An IDE is a software having functions like Preprocessing, Compilation, Assembly, Linking Object Translation, Text Editor etc. • It has limitation of code size. • It works on computers with Windows platform that is Windows XP & Vista.
  • 13. CVAVR
  • 17. I/O functions Registers Input Output functions are set by Three Registers for each PORT. •DDRX ‐‐‐‐> Sets whether a port is Input or Output of PORTX. • PORTX ‐‐‐> Sets the Output Value of PORTX. For ex. PORTA=255 ( all pins work of port A as output) for LED & LCD. • PINX ‐‐‐‐‐> Reads the Value of PORTX for ex. PINA.0=0 (0th pin of port A working as input ) for switches
  • 18. LCD interfacing • We have used 16x2 alphanumeric LCD, have their own embedded system in them. • lcd_clear()  clears screen • lcd_gotoxy(x,y)  position • lcd_putchar(char c)  display single character. • lcd_putsf(string) whole string • lcd_puts(char arr)  for array • itoa(int val, char arr[]) • ftoa(float val, char decimal_places, char arr[])
  • 20. SPI (serial peripheral interface) It is a communication protocol, used between two or more microcontroller and devices supporting SPI mode data transfer. 1. MOSI : Master Out Slave In 2. MISO : Master In Slave Out 3. SCK : Serial Clock 4. SS: Slave Select
  • 21. SPI We can transmit/receive only 1 byte of data.
  • 23. LAWS OF ROBOTICS 1. A robot must not harm human being and humanity. 2. It must obey the orders given by human being, w/o conflicting law 1st. 3. A robot must protect its own existence as long as it doesn’t conflict
  • 24. AUTONOMOUS ROBOT • • • • Basic elements for building autonomous robot. Robot chassis and actuators: body and wheels arrangement. Electronics: includes Sensors, motion control circuits, power management system etc. Power Source :Usually batteries or direct supply through wire. Intelligence: is achieved by using Microcontroller.
  • 25. HOW ROBOT MOVES? (H/w) •3 motors for 4 wheels • 2 motors for 2 wheels and 1 ball bearing caster •Controlling rpm and direction of wheels, controls speed
  • 26. HOW ROBOT MOVES? (S/w) • At first TIMER has to initialize. (Atmega has 3 timers 0, 1, 2). • OCRX= (int. value 0-255); • forward movement: 1 in clockwise other in anticlock direction. • Backward: opposite of forward. • turning left: left wheel having less value of OCRX. • Turning right: right wheel having less value OCRX.
  • 28. SENSORS • Sensors are like “feel” for robot. • Electronically :it is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. • TEMPERATURE SENSOR: like DS1621,thermistor. LM35 measures from 0 to 100 degrees
  • 29. LIGHT SENSORS • Light Dependent Resistor (LDR): a resistor whose resistance varies with intensity of light. • IR sensor: IR led + photodiode + LM358. • From any “non black body” i.e obstacle IR reflects and falls on photo diode. • Hence Photo diode become forward bias, and it turn on the IC LM358 that gives the output. IR LED IR sensor photodiode LM 358
  • 30. CONCLUSION • electronics + mechanics + software = ROBOT • By using all of the commands of CVAVR, programming is done on a robot. • A robot must be used for mankind.
  • 31. REFERENCES • www.google.com • www.wikipedia.com • Google images • http://www.embeddedsystem .com/ • http://robotics.nasa.gov/
  翻译: