PIC??????????????????????????????????????? - PowerPoint PPT Presentation

About This Presentation
Title:

PIC???????????????????????????????????????

Description:

Title: 2 Author: Akira Kitamura Last modified by: Yomi Created Date – PowerPoint PPT presentation

Number of Views:153
Avg rating:3.0/5.0
Slides: 25
Provided by: Akir99
Category:

less

Transcript and Presenter's Notes

Title: PIC???????????????????????????????????????


1
?????????????????????????1??
2
????????
  • PIC???????????????????????????????????????
  • ????4????
  • ?1?PIC?????????,
  • ??????????
  • ?2??????????????????
  • ?3?????????????
  • ?4???????????
  • ??????????

3
????
  • ????????URL??????
  • ????????????????????????????????????PC????????????
    ??????
  • ??????????????????
  • http//www.am.ics.keio.ac.jp/members/yomi/pic.h
    tml

4
???????
  • ???????????????????????
  • ????????????????????????????
  • ??????????????????????????
  • ???????????????????????????

5
PIC???
  • Peripheral Interface Controller??
  • ???????
  • ???????????(Peripheral)?
  • ????(Interface)?
  • ??(Control)
  • ???????????????????
  • ?????????????????????????????PIC???????????
  • ??????????????

6
PIC???
PIC??????????????????
????????????????
???????????????????
PIC???????????? ?????????
7
PIC??? ?
  • ???????????EEPROM(Electrically Erasable
    Programmable Read-Only Memory)???
  • ?????????(??????????)?????????????
  • 1000???????????????????????
  • RISC(Reduced Instruction Set Computer)???????
  • ?????????????????????????????????????????????
  • PowerPC(IBM, Motorola), SPARC(Sun Microsystems)??
  • PIC??????35???????
  • ???????CISC(Complex Instruction Set Computer)???
  • Pentium(Intel)??

8
RISC?CISC ?
  • RISC
  • ??????
  • 1??????????????????
  • ??????????????
  • ???????????????
  • ??????????CISC????????????
  • ???????
  • ??1?????1???????
  • ???????????
  • CISC
  • ??????
  • 1?????????????
  • ??????????????????
  • ????????????????
  • ??????????RISC???????????
  • ?????????
  • ?????????????????????
  • ??????????

9
RISC?CISC ?
  • ???RISC?CISC?????????????????????????????????
  • RISC
  • ??????
  • ?????????????????????????????????
  • CISC
  • ????????RISC????????????
  • (?)Pentium???????µOP???

10
PIC????
  • ????????????
  • ????????????????????????????
  • ??????1?????????????
  • ????1???????1???????
  • ???????????????????????????????????
  • ????????????????
  • ???????????????????????314??????

11
??????1??????
  • ??????????????1???(8bit)????????
  • ????????????????????(8bit??)
  • 8bit, 16bit, 32bit, 64bit(???2????)
  • ??(?????)???????????????????8bit????????
  • PIC??12bit(?????), 14bit(??????), 16bit(?????)
  • ???8bit???????????????2?????????????
  • ????????????????????????????????????1?????????1???
    ???

12
?????
  • 1.???????
  • 2.????????
  • 3.LED???????
  • 4.MPLAB???????
  • 5.??????????(1610??)

13
1.???????
  • ???P15??3??????????????????
  • USB-???????????PIC????????????????????????????OK
  • ???2??1????OK
  • ???????????TA??????????
  • ??????TA???

14
2.????????
  • ????????????????
  • ??4.7kO?240O??????????????
  • LEDLED???????????LED????????????
  • LED????????????????????????????
  • ???????????
  • ??5V???????????
  • 4.9V??????5.1V??????TA????????
  • ??????TA???

15
??????
  • ?????????????????????????????
  • ?????????????????????????????????????????????
  • ??????????????????????????????

16
LED?????
  • ???LED?????????????????
  • ??????????
  • LED?????
  • LED??????????????0
  • ??????
  • (??)(??)/(??)
  • ???????
  • ??????????????

17
3.LED???????
  • ???P16?10?P17?11??????
  • 1??????????????????
  • ???P17P18??????????
  • PIC??????LED????
  • ????????????????TA??????????
  • ????????P17??????????
  • ?????????????????????????
  • ?????????TA??????????PIC????????

18
?????
  • ???????????????????????(??????????)

19
???????????
  • ????????????????????????GND??????????

20
????????????????
  • ??????????????????PIC????GND??????????????(???????
    ????????)

18
1
Vss(GND)
VDD(??)
5
14
PIC
10
9
21
???????????
  • ?????????????????
  • ???????????????????????????

22
???????????
  • LED???
  • ?????????
  • ??
  • ????????????????
  • PIC
  • ???????????????????????????????

23
4.MPLAB???????
  • TA??MPLAB???????????????????PC???????
  • USB???????????PC????????????????
  • USB??????????????????????
  • ?????????
  • USB-Serial???????????

24
??????
  • ???8????????????????
  • ????????????
  • 3bit??SLEEP????????0????
  • 56bit??(RP0,RP1)10????Bank1, (RP0,RP1)01????Ban
    k2,?
Write a Comment
User Comments (0)
About PowerShow.com