SlideServe
Menu
Préférences
© SlideServe · v2026

Embedded Systems

merrill-cabrera avatar
13 diapositives · 348 Views · Nov 28, 2014

This guide provides an overview of mechatronics and embedded systems, focusing on microcontrollers, particularly the PIC18F4550. Discover the essential role microcontrollers play in everyday devices, including their memory types (ROM, RAM, EEPROM) and input/output (I/O) ports. Understand the functionality of ADC (Analog to Digital Converter) and PWM (Pulse Width Modulation) in these systems. Learn how embedded systems are optimized for specific tasks, cost-efficiency, and reliability in harsh environments.

Embedded Systems - slide 1
01 / 13Embedded Systems
1 / 17

Télécharger la présentation

Embedded Systems
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Embedded Systems

  2. Today • Introduction to Mechatronics • Microcontroller • Input / Output Ports (I/O) • Memory • ADC • PWM

  3. Introduction to Mechatronics http://en.wikipedia.org/wiki/Mechatronics_engineering

  4. Embedded Systems • Special-purpose computer system designed to perform one or a few dedicated functions, often with real-time computing constraints. • Usually controls a device • Often meant for harsh environments • Designed to be optimized, reducing the size and cost of the product, or increasing the reliability and performance. • The Mun’der board is a embedded system

  5. Microcontroller • A microcontroller or embedded microprocessor is essentially a computer-on-a-chip. • They are used in everyday electronic devices, such as cellular telephones, household appliances, automobiles, etc. • In contrast to general-purpose microprocessors (the kind used in a PC) they are self-sufficient and cost-effective. • Anywhere you want to give a design a small amount of ‘intelligence’, or the ability to generate different outputs based on the given inputs. • Allows the system to be highly flexible

  6. Microcontrollers PIC18F4550 Microcontroller

  7. Microcontroller

  8. Microprocessor • The ‘brains’ of the microcontroller • Carries out programs instructions • Performs arithmetic and logic operations

  9. Memory • ROM - Read only Memory • Non-Volatile - Data retains in memory even when its power supply is removed. • RAM - Random Access Memory • Volatile - Data is lost when the power supply is removed. • Flash RAM – Random Access Memory • EEPROM - Electrically Erasable Programmable ROM • Used for instruction set, programs, variables.

  10. Microcontrollers - I/O • There are 5 input/output (I/O) ports on the PIC18F4550 microcontroller • Labeled A through E • The ports are Bi-directional, can accept input signal or send out a output signal • TRISB = 0x00; • 0 – Output • 1 – Input • Note: Don’t use A6 as I/O

  11. And Operation (Side Note) • Denoted by a ‘&’ • Used to single out bits of a port

  12. Microcontrollers - I/O • Input char var = PORTB & 0x01 • Output LATBbits.LATB0 = 1; LATB = 0x00;

  13. Microcontrollers - ADC • ADC - Analog to Digital Convertor • Class Notes • 10-bit ADCs on the PIC18F4550 microcontroller, on 13 channels • Code - Right Turn