embedded systems-for-beginners-electro8
DESCRIPTION
We Offering Embedded Base Automation ,Power electronics ,Bio medical Products in India,As well as We providing International, University ,Projects Guidance for Engineering Students, Services we Offer Industries Colleges Security SystemTRANSCRIPT
![Page 1: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/1.jpg)
Embedded Systems for Beginners
Electro8
![Page 2: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/2.jpg)
Agenda
• Session objectives• Computing systems overview• Embedded Systems!! .. What does it mean ??• Microprocessors and Microcontrollers• Micro-controllers and it's applications• How to start your Graduation ‘embedded
project’
![Page 3: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/3.jpg)
Session Objectives
![Page 4: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/4.jpg)
Computing systems overview
![Page 5: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/5.jpg)
Computer sizes
http://en.wikipedia.org/wiki/List_of_computer_size_categories
![Page 6: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/6.jpg)
Computer sizes
http://robotics.eecs.berkeley.edu/~pister/SmartDust/
![Page 7: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/7.jpg)
Computer functions
http://en.wikipedia.org/wiki/Classes_of_computers
![Page 8: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/8.jpg)
Embedded systems.., what does it mean ?!
![Page 9: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/9.jpg)
Embedded systems.., what does it mean ?!
• In Arabic ( مدمجه .( أنظمه• A control system designed using a micro-
computer to perform a specific tasks.• Consists of Mechanical parts in addition to
electrical.
![Page 10: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/10.jpg)
Robotics…
![Page 11: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/11.jpg)
Robotics…
![Page 12: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/12.jpg)
Real life Examples
![Page 13: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/13.jpg)
Example…
![Page 14: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/14.jpg)
General Block Diagram
![Page 15: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/15.jpg)
Microprocessorsand
Microcontrollers
![Page 16: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/16.jpg)
Microprocessors
• In 1971 Intel 4004 microprocessor released
• and Intel 8008 in 1973
http://en.wikipedia.org/wiki/Microprocessor
![Page 17: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/17.jpg)
Microprocessor system BD
http://files.myopera.com/vysakhtb/operamini/Image%20block%20diagram.jpg
![Page 18: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/18.jpg)
Microcontrollers
• In 1977 Intel made the Myth … Intel 8048• MCS-48 family• They combined RAM and ROM on the same chip
![Page 19: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/19.jpg)
ROM (read only memory) Types
• PROM - Programmable ROM• EPROM - Erasable PROM• EEPROM - Electrical EPROM• Flash memory
![Page 20: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/20.jpg)
Intel MCS-51 family (8051)
• 8-bit ALU, Accumulator and 8-bit Registers• 8-bit data bus – It can access 8 bits of data in one operation• 16-bit address bus – It can access 216 memory locations –
64 KB (65536 locations) each of RAM and ROM• On-chip RAM – 128 bytes (data memory)• On-chip ROM – 4 kByte (program memory)• Four byte bi-directional input/output port• UART (serial port)• Two 16-bit Counter/timers• Two-level interrupt priority• Power saving mode (on some derivatives)
http://en.wikipedia.org/wiki/Intel_MCS-51
![Page 21: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/21.jpg)
PIC family
• Small instruction set to learn• Built in oscillator with selectable speeds• Easy entry level, in circuit programming plus in
circuit debugging units• Inexpensive microcontrollers• Wide range of interfaces
including I²C, SPI, USB, USART, A/D, programmable comparators, PWM, LIN, CAN, PSP, and Ethernet
http://en.wikipedia.org/wiki/PIC_microcontroller
![Page 22: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/22.jpg)
PIC 16F877 Pin diagram
http://en.wikipedia.org/wiki/PIC_microcontroller
![Page 23: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/23.jpg)
AVR family
• USB controller support• LCD controller support• Low-voltage devices operating down to 1.8 V• Watchdog timer (WDT)• 8-bit and 16-bit timers• Analog comparator• 10 or 12-bit A/D converters, with multiplex of up to 16 channels• 12-bit D/A converters
http://en.wikipedia.org/wiki/Atmel_AVR
![Page 24: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/24.jpg)
• Microprocessor– CPU is stand-alone,
RAM, ROM, I/O, timer are separated
– designer can decide on the amount of ROM, RAM and I/O ports.
– general-purpose– Ex. 8085,8086 mp,
Motorola 6800, Intel’s 8086
• Microcontroller– CPU, RAM, ROM, I/O and
timer are all on a single chip
– fix amount of on-chip ROM, RAM, I/O ports
– single-purpose– Ex. 8051, PIC mc, Atmel,
Phillips
Microprocessor vs. microcontroller
![Page 25: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/25.jpg)
Applications
What do you think ??Robotics automation security remote-sensing audio-mixers and moooooooooooooooooooooooreeeeeeee
![Page 26: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/26.jpg)
How to start… ????!
• You need little hardware knowledge with your software.
• Select the family and chip according to your application.
• Learn how to program your device using its datasheet• Start to use its IDE and development tools and join the
embedded world .
![Page 27: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/27.jpg)
How to start… with PIC????!
• PIC has its IDE (called MPLAP) used to write your code and debug it and to generate your .HEX file
• Download it from here http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=81
• Use the .Hex file to simulate your project, Proteus 7 is the best for this case
• Every thing goes in the right way ?? Burn the code to your chip and enjoy your project, you will need
a programmer in this step
![Page 28: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/28.jpg)
MPLAB
![Page 29: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/29.jpg)
Protus
![Page 30: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/30.jpg)
How the .hex file looks????!
![Page 31: Embedded systems-for-beginners-electro8](https://reader033.vdocuments.us/reader033/viewer/2022061220/54bc37a64a79592e1a8b4658/html5/thumbnails/31.jpg)
Thank you …
• https://www.facebook.com/Electroeight
• https://twitter.com/Electroeight