《最新单片机硬件——于雅莉幻灯片.ppt》由会员分享,可在线阅读,更多相关《最新单片机硬件——于雅莉幻灯片.ppt(21页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、单片机的应用实例单片机的应用实例单片机基础知识概述单片机基础知识概述爬爬壁壁机机器器人人模拟电源模拟电源+C 6220uC 7104Vin1GND2Vout3U378L 055VVin1GND2Vout3U478L 09Vin1GND2Vout3U578L 12C 8104C 9104VC C12JP1512VT IAO12JP169VT IAO12JP175VT IAO12V9V12JP10R181KVCCD10LEDD12 IN4007智能小车硬件电路及原理智能小车硬件电路及原理单片机的最小系统单片机的最小系统单片机基础知识概述单片机基础知识概述单片机最小系统的组成单片机最小系统的组成通用
2、晶振电路通用晶振电路单片机基础知识概述单片机基础知识概述123456781312151431191891716EA/VP31X119X218RESET9RD17WR16INT012INT113T014T115P101P112P123P134P145P156P167P178P0039P0138P0237P0336P0435P0534P0633P0732P2021P2122P2223P2324P2425P2526P2627P2728PSEN29ALE/P30TXD11RXD1080513938373635343332212223242526272810113029C222PFC322PF内部晶振电
3、路内部晶振电路通用复位电路通用复位电路单片机基础知识概述单片机基础知识概述123456781312151431191891716EA/VP31X119X218RESET9RD17WR16INT012INT113T014T115P101P112P123P134P145P156P167P178P0039P0138P0237P0336P0435P0534P0633P0732P2021P2122P2223P2324P2425P2526P2627P2728PSEN29ALE/P30TXD11RXD1080513938373635343332212223242526272810113029SW22uF47
4、0R1kVCC按键复位电路按键复位电路单单片片机机最最小小系系统统C130PC230P+C310UR11KS1SW-PBR210KY112MEA/VP31X119X218RESET9RD17WR16INT012INT113T014T115P101P112P123P134P145P156P167P178P0039P0138P0237P0336P0435P0534P0633P0732P2021P2122P2223P2324P2425P2526P2627P2728PSEN29ALE/P30TXD11RXD10VCC40GND20U1STC89C51VDDVDD12345678910DOWN智能小车硬
5、件电路及原理智能小车硬件电路及原理光耦光耦TLP521-4P00P01P02P03P04P05IN1IN2IN3IN4EBEAR71KR81KR91KR101KR131KR141KR31KR41KR51KR61KR111KR121KVDD VCCVCC1IN12IN24OUT26OUT18GND5VCC3GND7521-2VCCVDDIN12IN36IN48IN24VCC1OUT116OUT214OUT312OUT410GND9TLP521-4VCC3VCC5VCC7GND11GND13GND15521-4智能小车硬件电路及原理智能小车硬件电路及原理电机驱动电机驱动L298N及保护电路及保护电
6、路IN3IN4IN1IN2OUT4OUT3OUT2OUT1EBEAC5100nC6104123456789101112131415U2L2985VVCC123STEERP20OUT4OUT3OUT2OUT1D7DIODED5DIODED3 D1D8DIODED6DIODED4D2VCCVCC123456MOTOR智能小车硬件电路及原理智能小车硬件电路及原理单片机单片机I/O口口MSC 51 引脚定义及功能vVss(20):接地线 Vcc(40):电源线,接5V电源vXTAL1(19):接外部晶体的一个引脚或引入外钟 XTAL2(18):接外部晶振的另一个引脚或引入外部时钟v输入输出(I/O)引
7、脚:Pin39-Pin32为P0.0-P0.7输入输出脚 Pin1-Pin8为P1.0-P1.7输入输出脚 Pin21-Pin28为P2.0-P2.7输入输出脚 Pin10-Pin17为P3.0-P3.7输入输出脚单片机基础知识概述单片机基础知识概述MSC 51 引脚定义及功能控制引脚(4根)v RST/Vpp(9):复位信号引脚(复位控制)vALE/PROG(30):地址锁存允许信号(地址锁存控制)v (29):外部程序存储器的读选通信号(片外取指控制)v (31):程序存储器选择控制信号(片外存储器选择)PSEND D/E AV单片机基础知识概述单片机基础知识概述EA/VP31X119X218RESET9RD17WR16INT012INT113T014T115P101P112P123P134P145P156P167P178P0039P0138P0237P0336P0435P0534P0633P0732P2021P2122P2223P2324P2425P2526P2627P2728PSEN29ALE/P30TXD11RXD1080513938373635343332212223242526272810113029123456781312151431191891716表29 PC与SFR复位状态表 21结束语结束语
限制150内