SlideShare uma empresa Scribd logo
1 de 46
 1.1
 1.2
 1.3








5







Microprocesser)


                  Memore component

                  Microcontroller


Interface unit
(Microcontroller)
          IC: Integrated Circuit)




                                      , Port


          (CPU: Central Processing Unit)



                  ,
Embeded Systems)
                           ,
    ,      ,






LSI




         ALU
AND OR
I/O   UART
UART




                    0.64
                           16   64
1.                                     4       8
     16           32
2.
                               8
                                   1
          8           2
                          8-15)
                           0-7)
                          32               4
                  4             BCD
3.

     1
5
Processing unit

LOGIC

             Programming code
Multitasking
Memory unit
                2                    RAM : Random
Access Memory                   EPROM : Erasable
Programmable Read Only Memory

                                          Variable


                                   Code
Interface unit

                            2
                          DIGITAL I O
                                         Digital
signal
Analog I O
          Analog signal
DVD   MP3
RISC


CISC
RISC
                              RISC   Reduced
instruction set computer




                           RISC
                             PIC         (
Microchip )
CISC
                       CISC ( Complex instruction
set computer )
                       RISC
                          1
                  10
                         CISC
                             -

                  CISC

                  CISC      1
                 1
RISC                              CISC
>>   <<    O >>
          <<
PIC
     PIC
     PIC
PIC

   PIC     microcontroller
    Peripheral Interface Controller   concept
       microcontroller
                                  PROGRAM
MEMROY, RAM, EEPROM, SERIAL, I2C, PWM,
A/D
               PIC

        CPU
PIC
        20 MHz
PIC    0.25 uSec
         PIC     microchip
chip
PIC
                           PIC
           512 words    4K words
        microchip             PIC
      memory     PIC

                             PIC
                          PIC           14 bits
                    1 word     PIC          14
bits      PIC16F84A                       1K(
          1 >>
            Kword                               PIC<
                                       1 byte = 8
bit          1 x 1,024 x 14 = 14,336 bits
PIC
PIC16F877a


    


    




        >>            -
        PIC16F877a <<
PIC16F877a
PIC



Hardware          Software

                   Hardware

                  Software


                   Hardware


       Software
Hardware
                 Hardware                 3






           >>         PC              Com Port
                 <<
    PIC16F877A
                           >>
                                 <<
    PIC16F877A
Software

           Software                    2


                 ( PIC C Compiler )
      >>               <<
                  PIC C Compiler

                            >>         <<

            PIC kit2
PIC C Compiler
PIC kit2
หน่วยเรียนที่ 1

Mais conteúdo relacionado

Mais procurados

Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
Dhruwank Vankawala
 
FRDM-KL46Z_Hands-On_Lab0123_v02
FRDM-KL46Z_Hands-On_Lab0123_v02FRDM-KL46Z_Hands-On_Lab0123_v02
FRDM-KL46Z_Hands-On_Lab0123_v02
Libor GECNUK
 
BlackHat 2009 - Hacking Zigbee Chips (slides)
BlackHat 2009 - Hacking Zigbee Chips (slides)BlackHat 2009 - Hacking Zigbee Chips (slides)
BlackHat 2009 - Hacking Zigbee Chips (slides)
Michael Smith
 
Pic 16f877 a
Pic 16f877 aPic 16f877 a
Pic 16f877 a
bmsjh
 
FRDM-KL46Z_Hands-On_Presentation_v02
FRDM-KL46Z_Hands-On_Presentation_v02FRDM-KL46Z_Hands-On_Presentation_v02
FRDM-KL46Z_Hands-On_Presentation_v02
Libor GECNUK
 
Embedded c & working with avr studio
Embedded c & working with avr studioEmbedded c & working with avr studio
Embedded c & working with avr studio
Nitesh Singh
 

Mais procurados (20)

Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 
Multipilot pres-ufficiale last 2
Multipilot pres-ufficiale last 2Multipilot pres-ufficiale last 2
Multipilot pres-ufficiale last 2
 
Avr and arm
Avr and armAvr and arm
Avr and arm
 
DefCon 2012 - Sub-1 GHz Radio Frequency Security
DefCon 2012 - Sub-1 GHz Radio Frequency SecurityDefCon 2012 - Sub-1 GHz Radio Frequency Security
DefCon 2012 - Sub-1 GHz Radio Frequency Security
 
Pic16f84
Pic16f84Pic16f84
Pic16f84
 
Ins and Outs of GPIO Programming
Ins and Outs of GPIO ProgrammingIns and Outs of GPIO Programming
Ins and Outs of GPIO Programming
 
STM32 MCU Family
STM32 MCU FamilySTM32 MCU Family
STM32 MCU Family
 
FRDM-KL46Z_Hands-On_Lab0123_v02
FRDM-KL46Z_Hands-On_Lab0123_v02FRDM-KL46Z_Hands-On_Lab0123_v02
FRDM-KL46Z_Hands-On_Lab0123_v02
 
BlackHat 2009 - Hacking Zigbee Chips (slides)
BlackHat 2009 - Hacking Zigbee Chips (slides)BlackHat 2009 - Hacking Zigbee Chips (slides)
BlackHat 2009 - Hacking Zigbee Chips (slides)
 
Atmega16
Atmega16Atmega16
Atmega16
 
Pic 16f877 a
Pic 16f877 aPic 16f877 a
Pic 16f877 a
 
Tutorial on avr atmega8 microcontroller, architecture and its applications
Tutorial on avr atmega8 microcontroller, architecture and its applicationsTutorial on avr atmega8 microcontroller, architecture and its applications
Tutorial on avr atmega8 microcontroller, architecture and its applications
 
Let's Play STM32
Let's Play STM32Let's Play STM32
Let's Play STM32
 
FRDM-KL46Z_Hands-On_Presentation_v02
FRDM-KL46Z_Hands-On_Presentation_v02FRDM-KL46Z_Hands-On_Presentation_v02
FRDM-KL46Z_Hands-On_Presentation_v02
 
AVR Micro controller Interfacing
AVR Micro controller Interfacing AVR Micro controller Interfacing
AVR Micro controller Interfacing
 
Vinculum-II Embedded Dual USB Host Controller IC
Vinculum-II Embedded Dual USB Host Controller ICVinculum-II Embedded Dual USB Host Controller IC
Vinculum-II Embedded Dual USB Host Controller IC
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
 
ATmega 16
ATmega 16ATmega 16
ATmega 16
 
Attendance system using MYSQL with Raspberry pi and RFID-RC522
Attendance system using MYSQL with Raspberry pi and RFID-RC522Attendance system using MYSQL with Raspberry pi and RFID-RC522
Attendance system using MYSQL with Raspberry pi and RFID-RC522
 
Embedded c & working with avr studio
Embedded c & working with avr studioEmbedded c & working with avr studio
Embedded c & working with avr studio
 

Destaque

不不殺生又能驅趕螞蟻、蚊子、蟑螂
不不殺生又能驅趕螞蟻、蚊子、蟑螂不不殺生又能驅趕螞蟻、蚊子、蟑螂
不不殺生又能驅趕螞蟻、蚊子、蟑螂
Jaing Lai
 
Digital 01 adidas
Digital 01 adidasDigital 01 adidas
Digital 01 adidas
antoni
 
SSO Leadership Team Guide - Resources
SSO Leadership Team Guide - ResourcesSSO Leadership Team Guide - Resources
SSO Leadership Team Guide - Resources
sli_events
 
Whowantstobea millionaire
Whowantstobea millionaireWhowantstobea millionaire
Whowantstobea millionaire
mollyswabbs
 
Land Equity Presentation(Jan08)
Land Equity Presentation(Jan08)Land Equity Presentation(Jan08)
Land Equity Presentation(Jan08)
legalnewsblog
 

Destaque (20)

不不殺生又能驅趕螞蟻、蚊子、蟑螂
不不殺生又能驅趕螞蟻、蚊子、蟑螂不不殺生又能驅趕螞蟻、蚊子、蟑螂
不不殺生又能驅趕螞蟻、蚊子、蟑螂
 
Lanzarote Student feedback
Lanzarote Student feedbackLanzarote Student feedback
Lanzarote Student feedback
 
Investigacion antropologiaabril2012.
Investigacion antropologiaabril2012.Investigacion antropologiaabril2012.
Investigacion antropologiaabril2012.
 
See Chart of Central Govt Expenditure vs GDP Growth in Narnolia Securities Li...
See Chart of Central Govt Expenditure vs GDP Growth in Narnolia Securities Li...See Chart of Central Govt Expenditure vs GDP Growth in Narnolia Securities Li...
See Chart of Central Govt Expenditure vs GDP Growth in Narnolia Securities Li...
 
Digital 01 adidas
Digital 01 adidasDigital 01 adidas
Digital 01 adidas
 
NAB
NABNAB
NAB
 
Противодействие коррупции внутри компании
Противодействие коррупции внутри компанииПротиводействие коррупции внутри компании
Противодействие коррупции внутри компании
 
DOF RGI Technology Presentation Nov 23 2011
DOF RGI Technology Presentation   Nov 23 2011DOF RGI Technology Presentation   Nov 23 2011
DOF RGI Technology Presentation Nov 23 2011
 
Modernist elements
Modernist elementsModernist elements
Modernist elements
 
Scop 11nov2011
Scop   11nov2011Scop   11nov2011
Scop 11nov2011
 
Guruscan @ ru km 2011
Guruscan @ ru km 2011Guruscan @ ru km 2011
Guruscan @ ru km 2011
 
Certificadoeps 71262334 (1)
Certificadoeps 71262334 (1)Certificadoeps 71262334 (1)
Certificadoeps 71262334 (1)
 
False alarms
False alarmsFalse alarms
False alarms
 
SSO Leadership Team Guide - Resources
SSO Leadership Team Guide - ResourcesSSO Leadership Team Guide - Resources
SSO Leadership Team Guide - Resources
 
Prospects and challanges of population management in bangladesh
Prospects and challanges of population management in bangladeshProspects and challanges of population management in bangladesh
Prospects and challanges of population management in bangladesh
 
Whowantstobea millionaire
Whowantstobea millionaireWhowantstobea millionaire
Whowantstobea millionaire
 
Land Equity Presentation(Jan08)
Land Equity Presentation(Jan08)Land Equity Presentation(Jan08)
Land Equity Presentation(Jan08)
 
27th sept. 2011
27th sept. 201127th sept. 2011
27th sept. 2011
 
Docegb1 cuento
Docegb1 cuentoDocegb1 cuento
Docegb1 cuento
 
Capitulo 2 mundo_digital_web[1]
Capitulo 2 mundo_digital_web[1]Capitulo 2 mundo_digital_web[1]
Capitulo 2 mundo_digital_web[1]
 

Semelhante a หน่วยเรียนที่ 1

การออกแบบโปรเซสเซอร์
การออกแบบโปรเซสเซอร์การออกแบบโปรเซสเซอร์
การออกแบบโปรเซสเซอร์
Nattawooth Mingtong
 
My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28
rajeshkvdn
 
Report (Auto Capture Camera Sensing System)
Report (Auto Capture Camera Sensing System)Report (Auto Capture Camera Sensing System)
Report (Auto Capture Camera Sensing System)
Siang Wei Lee
 

Semelhante a หน่วยเรียนที่ 1 (20)

การออกแบบโปรเซสเซอร์
การออกแบบโปรเซสเซอร์การออกแบบโปรเซสเซอร์
การออกแบบโปรเซสเซอร์
 
8-bit PIC Microcontrollers
8-bit PIC Microcontrollers8-bit PIC Microcontrollers
8-bit PIC Microcontrollers
 
Introduction2_PIC.ppt
Introduction2_PIC.pptIntroduction2_PIC.ppt
Introduction2_PIC.ppt
 
Microcontroladores: Programación con microcontrolador PIC
Microcontroladores: Programación con microcontrolador PICMicrocontroladores: Programación con microcontrolador PIC
Microcontroladores: Programación con microcontrolador PIC
 
Microchip's 16-bit and 32-bit PIC MCUs
Microchip's 16-bit and 32-bit PIC MCUsMicrochip's 16-bit and 32-bit PIC MCUs
Microchip's 16-bit and 32-bit PIC MCUs
 
Getting started with pic microcontrollers
Getting started with pic microcontrollersGetting started with pic microcontrollers
Getting started with pic microcontrollers
 
Pic microcontrollers
Pic microcontrollersPic microcontrollers
Pic microcontrollers
 
My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28
 
PIC32 Architecture Overview
PIC32 Architecture OverviewPIC32 Architecture Overview
PIC32 Architecture Overview
 
PIC introduction + mapping
PIC introduction + mappingPIC introduction + mapping
PIC introduction + mapping
 
Embedded System - Dtmf robot
Embedded System - Dtmf robotEmbedded System - Dtmf robot
Embedded System - Dtmf robot
 
Introduction to the 16-bit PIC24F Microcontroller Family
Introduction to the 16-bit PIC24F Microcontroller FamilyIntroduction to the 16-bit PIC24F Microcontroller Family
Introduction to the 16-bit PIC24F Microcontroller Family
 
Avr microcontroller
Avr microcontrollerAvr microcontroller
Avr microcontroller
 
Top 10 Microcontrollers and Development Boards for Students
Top 10 Microcontrollers and Development Boards for StudentsTop 10 Microcontrollers and Development Boards for Students
Top 10 Microcontrollers and Development Boards for Students
 
PIC18F458_Ritula Thakur.pptx.pdf
PIC18F458_Ritula Thakur.pptx.pdfPIC18F458_Ritula Thakur.pptx.pdf
PIC18F458_Ritula Thakur.pptx.pdf
 
Basics Of Embedded Systems
Basics Of Embedded SystemsBasics Of Embedded Systems
Basics Of Embedded Systems
 
Morello Technology Demonstrator Hardware Overview - Mark Inskip, Arm
Morello Technology Demonstrator Hardware Overview - Mark Inskip, ArmMorello Technology Demonstrator Hardware Overview - Mark Inskip, Arm
Morello Technology Demonstrator Hardware Overview - Mark Inskip, Arm
 
Report (Auto Capture Camera Sensing System)
Report (Auto Capture Camera Sensing System)Report (Auto Capture Camera Sensing System)
Report (Auto Capture Camera Sensing System)
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdfPic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

หน่วยเรียนที่ 1