虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

pic-I

  • pic单片机实用教程(基础篇)

    pic单片机实用教程以介绍PIC16F877型号单片机为主,并适当兼顾PIC全系列,共分10章,内容包括:基本概念;PIC16F87X硬件概况;指令系统;汇编程序设计;集成开发环境;在线调试工具;I/O端口;定时器;中断;安全措施和降耗设计。突出特点:通俗易懂、可读性强、系统全面、学练结合、学用并重、实例丰富、习题齐全。本教程全书共分2篇,即基础篇和提高篇,分2册出版,以适应不同课时和不同专业的需要,也为教师和读者增加了一种可选方案。pic单片机实用教程目录第1章 单片机的基本概念第2章 PIC16F87X硬件系统概况第3章 指令系统第4章 PIC汇编语言程序设计基础第5章 MPLAB集成开发环境软件包第6章 MPLAB-ICD在线调试工具套件及其应用第7章 输入/输出端口的基本功能第8章 定时器/计数器TMR0第9章 中断系统第10章 安全生产、可靠运行措施和降耗设计附录

    标签: pic 单片机 实用教程

    上传时间: 2013-10-12

    上传用户:lyson

  • PIC系列单片机手册

    PIC系列单片机手册 第1 章 简介 1-1简介 ................................................................................................................................................................. 1-2本手册的宗旨 ................................................................................................................................................... 1-3器件结构 .......................................................................................................................................................... 1-4开发支持 .......................................................................................................................................................... 1-6器件种类 .......................................................................................................................................................... 1-7格式和符号的约定 ......................................................................................................................................... 1-12相关文档 ........................................................................................................................................................ 1-14相关应用笔记 ................................................................................................................................................. 1-17版本历史 ........................................................................................................................................................ 1-18第2 章 振荡器 2-1简介 ................................................................................................................................................................. 2-2振荡器配置 ...................................................................................................................................................... 2-2晶体振荡器 / 陶瓷谐振器 ................................................................................................................................. 2-4外部RC 振荡器 ............................................................................................................................................. 2-124MHz 内部 RC 振荡器 ................................................................................................................................... 2-13休眠模式对片内振荡器的影响 ........................................................................................................................ 2-17器件复位对片内振荡器的影响 ........................................................................................................................ 2-17设计技巧 ........................................................................................................................................................ 2-18相关应用笔记 ................................................................................................................................................. 2-19版本历史 ........................................................................................................................................................ 2-20第3 章 复位 3-1简介 ................................................................................................................................................................. 3-2上电复位、上电延时定时器、 起振定时器、欠压复位和奇偶校验错误复位 ...................................................... 3-4寄存器和状态位的值 ...................................................................................................................................... 3-10设计技巧 ........................................................................................................................................................ 3-16相关应用笔记 ................................................................................................................................................. 3-17版本历史 ........................................................................................................................................................ 3-18 第4 章 架构 4-1简介 ................................................................................................................................................................. 4-2时序图/ 指令周期 ............................................................................................................................................ 4-5指令流/ 流水线 ................................................................................................................................................ 4-6I/O 端口描述 .................................................................................................................................................... 4-7设计技巧 ........................................................................................................................................................ 4-12相关应用笔记 ................................................................................................................................................. 4-13版本历史 ........................................................................................................................................................ 4-14 第5 章 CPU 和ALU 5-1简介 ................................................................................................................................................................. 5-2指令的一般格式 ............................................................................................................................................... 5-4中央处理单元(CPU) .................................................................................................................................... 5-4指令时钟 .......................................................................................................................................................... 5-4算术逻辑单元(ALU) .................................................................................................................................... 5-5状态寄存器 ...................................................................................................................................................... 5-6OPTION_REG 寄存器 ..................................................................................................................................... 5-8电源控制寄存器 ............................................................................................................................................... 5-9设计技巧 ........................................................................................................................................................ 5-10相关应用笔记 ................................................................................................................................................. 5-11版本历史 ........................................................................................................................................................ 5-12第6 章 存储器构成 6-1简介 ................................................................................................................................................................. 6-2程序存储器构成 ............................................................................................................................................... 6-2数据存储器构成 ............................................................................................................................................... 6-8初始化 ........................................................................................................................................................... 6-14设计技巧 ........................................................................................................................................................ 6-16相关应用笔记 ................................................................................................................................................. 6-17版本历史 ........................................................................................................................................................ 6-18第7 章 数据EEPROM 7-1简介 ................................................................................................................................................................. 7-2控制寄存器 ...................................................................................................................................................... 7-3EEADR ............................................................................................................................................................ 7-4EECON1 和EECON2 寄存器 .......................................................................................................................... 7-4从EEPROM 数据存储器中读数据 .................................................................................................................... 7-5向EEPROM 数据存储器中写数据 .................................................................................................................... 7-5写校验 ............................................................................................................................................................. 7-6误写操作保护 ................................................................................................................................................... 7-7代码保护配置下的数据EEPROM 操作 ............................................................................................................. 7-7初始化 ............................................................................................................................................................. 7-7设计技巧 .......................................................................................................................................................... 7-8相关应用笔记 ................................................................................................................................................... 7-9版本历史 ........................................................................................................................................................ 7-10第8 章 中断 8-1简介 ................................................................................................................................................................. 8-2控制寄存器 ...................................................................................................................................................... 8-5中断响应延时 ................................................................................................................................................. 8-10INT 和外部中断 .............................................................................................................................................. 8-10中断的现场保护 ............................................................................................................................................. 8-11初始化 ........................................................................................................................................................... 8-14设计技巧 ........................................................................................................................................................ 8-16相关应用笔记 ................................................................................................................................................. 8-17版本历史 ........................................................................................................................................................ 8-18第9 章 I/O 端口 9-1简介 ................................................................................................................................................................. 9-2PORTA 和TRISA 寄存器 ................................................................................................................................ 9-4PORTB 和TRISB 寄存器 ................................................................................................................................ 9-6PORTC 和TRISC 寄存器 ................................................................................................................................ 9-8PORTD 和TRISD 寄存器 ................................................................................................................................ 9-9PORTE 和TRISE 寄存器 ............................................................................................................................... 9-10PORTF 和 TRISF 寄存器 ............................................................................................................................... 9-11PORTG 和TRISG 寄存器 .............................................................................................................................. 9-12GPIO 和TRISGP 寄存器 ............................................................................................................................... 9-13I/O 编程注意事项 ........................................................................................................................................... 9-14初始化 ........................................................................................................................................................... 9-16设计技巧 ........................................................................................................................................................ 9-17相关应用笔记 ................................................................................................................................................. 9-19版本历史 ........................................................................................................................................................ 9-20第10 章 并行从动端口 10-1简介 ............................................................................................................................................................... 10-2控制寄存器 .................................................................................................................................................... 10-3操作 ............................................................................................................................................................... 10-4休眠模式下的操作 ......................................................................................................................................... 10-5复位的影响 .................................................................................................................................................... 10-5PSP 波形 ....................................................................................................................................................... 10-5设计技巧 ........................................................................................................................................................ 10-6相关应用笔记 ................................................................................................................................................. 10-7版本历史 ........................................................................................................................................................ 10-8 第11 章 TIMER0 11-1简介 ............................................................................................................................................................... 11-2控制寄存器 .................................................................................................................................................... 11-3操作 ............................................................................................................................................................... 11-4TMR0 中断 .................................................................................................................................................... 11-5Timer0 外部时钟的使用 ................................................................................................................................. 11-6TMR0 的预分频器 ......................................................................................................................................... 11-7设计技巧 ...................................................................................................................................................... 11-10相关应用笔记 ............................................................................................................................................... 11-11版本历史 ...................................................................................................................................................... 11-12第12 章 TIMER1 12-1简介 ............................................................................................................................................................... 12-2控制寄存器 .................................................................................................................................................... 12-3Timer1 工作在定时器模式 ..............................................................................................................................12-4Timer1 工作在同步计数器模式 ....................................................................................................................... 12-4Timer1 工作在异步计数器模式 ....................................................................................................................... 12-5Timer1 振荡器 ............................................................................................................................................... 12-7休眠操作 ........................................................................................................................................................ 12-9用CCP 触发器的输出将Timer1 复位 ............................................................................................................. 12-9Timer1 寄存器(TMR1H:TMR1L)的复位 .................................................................................................... 12-9Timer1 预分频器 ............................................................................................................................................ 12-9初始化 ......................................................................................................................................................... 12-10设计技巧 ...................................................................................................................................................... 12-12相关应用笔记 ............................................................................................................................................... 12-13版本历史 ...................................................................................................................................................... 12-14第13 章 TIMER2 13-1简介 ............................................................................................................................................................... 13-2控制寄存器 .................................................................................................................................................... 13-3定时器时钟源 ................................................................................................................................................. 13-4定时器TMR2 和PR2 周期寄存器 .................................................................................................................. 13-4TMR2 匹配输出 ............................................................................................................................................. 13-4将Timer2 的预分频器和后分频器清零 ........................................................................................................... 13-4休眠操作 ........................................................................................................................................................ 13-4初始化 ........................................................................................................................................................... 13-5设计技巧 ........................................................................................................................................................ 13-6相关应用笔记 ................................................................................................................................................. 13-7版本历史 ........................................................................................................................................................ 13-8第14 章 比较/ 捕捉/ 脉宽调制(CCP) 14-1简介 ............................................................................................................................................................... 14-2控制寄存器 .................................................................................................................................................... 14-3捕捉模式 ........................................................................................................................................................ 14-4比较模式 ........................................................................................................................................................ 14-6PWM 模式 ..................................................................................................................................................... 14-8初始化 ......................................................................................................................................................... 14-12设计技巧 ...................................................................................................................................................... 14-15相关应用笔记 ............................................................................................................................................... 14-17版本历史 ...................................................................................................................................................... 14-18第15 章 同步串行口(SSP) 15-1简介 ............................................................................................................................................................... 15-2控制寄存器 .................................................................................................................................................... 15-3SPITM 模式 .................................................................................................................................................... 15-6SSP 模块的I2CTM 操作 ............................................................................................................................... 15-16初始化 ......................................................................................................................................................... 15-26设计技巧 ...................................................................................................................................................... 15-28相关应用笔记 ............................................................................................................................................... 15-29版本历史 ...................................................................................................................................................... 15-30第16 章 基本同步串行口(BSSP) 16-1简介 ............................................................................................................................................................... 16-2控制寄存器 .................................................................................................................................................... 16-3SPITM 模式 .................................................................................................................................................... 16-6SSP 模块 的I2CTM 操作 ............................................................................................................................... 16-15初始化 ......................................................................................................................................................... 16-23设计技巧 ...................................................................................................................................................... 16-24相关应用笔记 ............................................................................................................................................... 16-25版本历史 ...................................................................................................................................................... 16-26第17 章 主同步串行口(MSSP) 17-1简介 ............................................................................................................................................................... 17-2控制寄存器 .................................................................................................................................................... 17-4SPITM 模式 .................................................................................................................................................... 17-9SSP 模块的 I2C™ 操作 ............................................................................................................................... 17-18I2CTM 总线的连接注意事项 ........................................................................................................................... 17-56初始化 ......................................................................................................................................................... 17-57设计技巧 ...................................................................................................................................................... 17-58相关应用笔记 ............................................................................................................................................... 17-59版本历史 ...................................................................................................................................................... 17-60第18 章 USART 18-1简介 ............................................................................................................................................................... 18-2控制寄存器 .................................................................................................................................................... 18-3USART 波特率发生器(BRG) ..................................................................................................................... 18-5USART 异步工作模式 ................................................................................................................................... 18-8USART 同步主控模式 .................................................................................................................................. 18-15USART 同步从动模式 ................................................................................................................................. 18-19初始化 ......................................................................................................................................................... 18-21设计技巧 ...................................................................................................................................................... 18-22相关应用笔记 ............................................................................................................................................... 18-23版本历史 ...................................................................................................................................................... 18-24第19 章 参考电压模块 19-1简介 ............................................................................................................................................................... 19-2控制寄存器 .................................................................................................................................................... 19-3配置参考电压 ................................................................................................................................................. 19-4参考电压精度 ................................................................................................................................................. 19-5休眠模式下的操作 ......................................................................................................................................... 19-5复位的影响 .................................................................................................................................................... 19-5连接注意事项 ................................................................................................................................................. 19-6初始化 ........................................................................................................................................................... 19-7设计技巧 ........................................................................................................................................................ 19-8相关应用笔记 ................................................................................................................................................. 19-9版本历史 ...................................................................................................................................................... 19-10第20 章 比较器 20-1简介 ............................................................................................................................................................... 20-2控制寄存器 .................................................................................................................................................... 20-3设置比较器模式 ............................................................................................................................................. 20-4比较器工作原理 ............................................................................................................................................. 20-6比较器参考源 ................................................................................................................................................. 20-6比较器的响应时间 ......................................................................................................................................... 20-8比较器输出 .................................................................................................................................................... 20-8比较器中断 .................................................................................................................................................... 20-9休眠状态下比较器的操作 ............................................................................................................................... 20-9复位的影响 .................................................................................................................................................... 20-9模拟输入连接方式注意事项 .......................................................................................................................... 20-10初始化 ......................................................................................................................................................... 20-11设计技巧 ...................................................................................................................................................... 20-12相关应用笔记 ............................................................................................................................................... 20-13版本历史 ...................................................................................................................................................... 20-14第21 章 8 位A/D 转换器 21-1简介 ............................................................................................................................................................... 21-2控制寄存器 .................................................................................................................................................... 21-3操作 ............................................................................................................................................................... 21-5A/D 采集时间要求 .......................................................................................................................................... 21-6A/D 转换时钟的选择 ...................................................................................................................................... 21-8配置模拟输入端口 ......................................................................................................................................... 21-9A/D 转换 ...................................................................................................................................................... 21-10休眠期间的A/D 转换 ................................................................................................................................... 21-12A/D 精度/ 误差 ............................................................................................................................................ 21-13复位对A/D 转换的影响 ................................................................................................................................ 21-13CCP 触发器的使用 ...................................................................................................................................... 21-14连接注意事项 ............................................................................................................................................... 21-14传递函数 ...................................................................................................................................................... 21-14初始化 ......................................................................................................................................................... 21-15设计技巧 ...................................................................................................................................................... 21-16相关应用笔记 ............................................................................................................................................... 21-17版本历史 ...................................................................................................................................................... 21-18第22 章 基本型8 位A/D 转换器 22-1简介 ............................................................................................................................................................... 22-2控制寄存器 .................................................................................................................................................... 22-3A/D 采集时间要求 .......................................................................................................................................... 22-6A/D 转换时钟的选择 ...................................................................................................................................... 22-8配置模拟输入端口 ....................................................................................................................................... 22-10A/D 转换 ...................................................................................................................................................... 22-11休眠期间的A/D 转换 ................................................................................................................................... 22-14A/D 转换精度/ 误差 ..................................................................................................................................... 22-15复位对A/D 转换的影响 ................................................................................................................................ 22-16连接时的考虑事项 ....................................................................................................................................... 22-16传递函数 ...................................................................................................................................................... 22-16初始化 ......................................................................................................................................................... 22-17设计技巧 ...................................................................................................................................................... 22-18相关应用笔记 ............................................................................................................................................... 22-19版本历史 ...................................................................................................................................................... 22-20第23 章 10 位A/D 转换器 23-1简介 ............................................................................................................................................................... 23-2控制寄存器 .................................................................................................................................................... 23-3操作 ............................................................................................................................................................... 23-5A/D 采集时间要求 .......................................................................................................................................... 23-6A/D 转换时钟的选择 ...................................................................................................................................... 23-8模拟输入引脚的设置 ...................................................................................................................................... 23-9A/D 转换的编程举例 .................................................................................................................................... 23-10休眠期间的A/D 转换 ................................................................................................................................... 23-14复位对A/D 转换的影响 ................................................................................................................................ 23-14A/D 转换精度与误差 .................................................................................................................................... 23-15连接时的考虑事项 ....................................................................................................................................... 23-16传递函数 ...................................................................................................................................................... 23-16初始化 ......................................................................................................................................................... 23-17设计技巧 ...................................................................................................................................................... 23-18相关应用笔记 ............................................................................................................................................... 23-19版本历史 ...................................................................................................................................................... 23-20第24 章 积分型A/D 转换器 24-1简介 ............................................................................................................................................................... 24-2控制寄存器 .................................................................................................................................................... 24-3转换过程 ........................................................................................................................................................ 24-6其它模拟模块 ............................................................................................................................................... 24-12校准参数 ...................................................................................................................................................... 24-13设计技巧 ...................................................................................................................................................... 24-14相关应用笔记 ............................................................................................................................................... 24-15版本历史 ...................................................................................................................................................... 24-16第25 章 LCD 25-1简介 ............................................................................................................................................................... 25-2控制寄存器 .................................................................................................................................................... 25-3LCD 定时 ....................................................................................................................................................... 25-6LCD 中断 ..................................................................................................................................................... 25-12像素控制 ...................................................................................................................................................... 25-13电压发生器 .................................................................................................................................................. 25-15休眠模式下的操作 ....................................................................................................................................... 25-16复位的影响 .................................................................................................................................................. 25-17LCD 模块的设置 .......................................................................................................................................... 25-17判别比 ......................................................................................................................................................... 25-18LCD 电压发生器 .......................................................................................................................................... 25-20对比度 ......................................................................................................................................................... 25-22LCD 玻璃基板 .............................................................................................................................................. 25-22初始化 ......................................................................................................................................................... 25-23设计技巧 ...................................................................................................................................................... 25-24相关应用笔记 ............................................................................................................................................... 25-25版本历史 ...................................................................................................................................................... 25-26第26 章 看门狗定时器与休眠模式 26-1简介 ............................................................................................................................................................... 26-2控制寄存器 .................................................................................................................................................... 26-3看门狗定时器(WDT)的操作 ....................................................................................................................... 26-4休眠省电模式 ................................................................................................................................................. 26-7初始化 ........................................................................................................................................................... 26-9设计技巧 ...................................................................................................................................................... 26-10相关应用笔记 ............................................................................................................................................... 26-11版本历史 ...................................................................................................................................................... 26-12第27 章 器件配置位 27-1简介 ............................................................................................................................................................... 27-2配置字位 ........................................................................................................................................................ 27-4编程校验/ 代码保护 ....................................................................................................................................... 27-8识别码ID 的位置 ........................................................................................................................................... 27-9设计技巧 ...................................................................................................................................................... 27-10相关应用笔记 ............................................................................................................................................... 27-11版本历史 ...................................................................................................................................................... 27-12第28 章 在线串行编程 28-1简介 ............................................................................................................................................................... 28-2进入在线串行编程模式 .................................................................................................................................. 28-3应用电路 ........................................................................................................................................................ 28-4编程器 ........................................................................................................................................................... 28-6编程环境 ........................................................................................................................................................ 28-6其它优点 ........................................................................................................................................................ 28-7PICmicro® OTP 型单片机的现场编程 ............................................................................................................. 28-8FLASH 型 PICmicro® 单片机的现场编程 ...................................................................................................... 28-10设计技巧 ...................................................................................................................................................... 28-12相关应用笔记 ............................................................................................................................................... 28-13版本历史 ...................................................................................................................................................... 28-14第29 章 指令集 29-1简介 ............................................................................................................................................................... 29-2指令格式 ........................................................................................................................................................ 29-4作为源/ 目标寄存器的特殊功能寄存器 ........................................................................................................... 29-6Q 周期操作 .................................................................................................................................................... 29-7指令描述 ........................................................................................................................................................ 29-8设计技巧 ...................................................................................................................................................... 29-45相关应用笔记 ............................................................................................................................................... 29-47版本历史 ...................................................................................................................................................... 29-48第30 章 电气规范 30-1简介 ............................................................................................................................................................... 30-2绝对最大值 .................................................................................................................................................... 30-3器件选型表 .................................................................................................................................................... 30-4器件电压规范 ................................................................................................................................................. 30-5器件电流特性 ................................................................................................................................................. 30-6输入阈值电平 ................................................................................................................................................. 30-9I/O 电流特性 ................................................................................................................................................ 30-10输出驱动电压 ............................................................................................................................................... 30-11I/O 引脚的容性负载 ..................................................................................................................................... 30-12数据EEPROM / 闪存 .................................................................................................................................. 30-13LCD ............................................................................................................................................................. 30-14比较器和参考电压 ....................................................................................................................................... 30-15时序参数符号 ............................................................................................................................................... 30-16外部时钟时序波形图和时序要求示例 ............................................................................................................ 30-17上电和复位时序波形图及要求示例 ............................................................................................................... 30-19定时器Timer0 和Timer1 时序波形图及要求示例 ......................................................................................... 30-20CCP 的时序图及要求 ................................................................................................................................... 30-21并行从动端口 (PSP) 时序图及要求 .............................................................................................................. 30-22SSP 和 MSSP SPITM 模式时序波形图及要求示例 ....................................................................................... 30-23SSP I2CTM 模式时序波形图及要求示例 ........................................................................................................ 30-27MSSP I2CTM 模式时序波形图及要求示例 ..................................................................................................... 30-30USART/SCI 时序波形图及要求示例 ............................................................................................................. 30-328 位 A/D 时序波形图及要求示例 ................................................................................................................... 30-3410 位A/D 时序波形图及要求示例 ................................................................................................................. 30-36积分型A/D 时序波形图及要求示例 ............................................................................................................... 30-38LCD 时序波形图及要求示例 ......................................................................................................................... 30-40相关应用笔记 ............................................................................................................................................... 30-41版本历史 ...................................................................................................................................................... 30-42第31 章 器件特性 31-1简介 ............................................................................................................................................................... 31-2特性和电气规范 ............................................................................................................................................. 31-2DC 和AC 特性图表 ....................................................................................................................................... 31-2版本历史 ...................................................................................................................................................... 31-22第32 章 开发工具 32-1简介 ............................................................................................................................................................... 32-2集成开发环境(IDE) ................................................................................................................................... 32-3MPLAB® 软件语言支持 ................................................................................................................................. 32-6MPLAB® SIM 软件模拟器 ............................................................................................................................... 32-8MPLAB® 硬件仿真器支持 ............................................................................................................................... 32-9MPLAB® 编程器支持 ................................................................................................................................... 32-10辅助工具 ...................................................................................................................................................... 32-11开发板 ......................................................................................................................................................... 32-12针对其它Microchip 产品的开发工具 ............................................................................................................ 32-14相关应用笔记 ............................................................................................................................................... 32-15版本历史 ...................................................................................................................................................... 32-16第33 章 代码开发 33-1版本历史 ........................................................................................................................................................ 33-2第34 章 附录 34-1I2CTM 概述...................................................................................................................................................... 34-2LCD 玻璃基板生产商.................................................................................................................................... 34-11改进的器件特性............................................................................................................................................ 34-13版本历史....................................................................................................................................................... 34-19第35 章 术语表 35-1版本历史 ...................................................................................................................................................... 35-14目录

    标签: PIC 单片机

    上传时间: 2013-11-15

    上传用户:nanshan

  • 这是适用I/O口模拟的 I2C 程序

    这是适用I/O口模拟的 I2C 程序,直接适用所有Microchip PIC 系列单片机, 稍作改动即可移植到其他单片机上

    标签: I2C 模拟 程序

    上传时间: 2014-01-19

    上传用户:李彦东

  • 目前普遍采用的MCS51 和PIC 系列单片机通常只有一个(或没有)UART 异步串行通信接口

    目前普遍采用的MCS51 和PIC 系列单片机通常只有一个(或没有)UART 异步串行通信接口,在应用系统中若需要多个串行接口(例如在多机通信系 统中,主机既要和从机通信又要和终端通信)的情况下,通常的方法是扩展 一片8251 或 8250 通用同步/异步接收发送芯片(USART),需额外占用单 片机I/O 资源。本文介绍一种用单片机普通I/O 口实现串行通信的方法,可 在单片机的最小应用系统中实现与两个以上串行接口设备的多机通信

    标签: UART MCS PIC 51

    上传时间: 2016-01-25

    上传用户:皇族传媒

  • 使用说明 使用时打开此例题目录下pic中的图片

    使用说明 使用时打开此例题目录下pic中的图片,然后依次单击按钮“转”、“1”、“2”、“3”、“4”和“5”,就可以实现精确的车牌定位。 具体步骤 1.24位真彩色->256色灰度图。 2.预处理:中值滤波。 3.二值化:用一个初始阈值T对图像A进行二值化得到二值化图像B。 初始阈值T的确定方法是:选择阈值T=Gmax-(Gmax-Gmin)/3,Gmax和Gmin分别是最高、最低灰度值。 该阈值对不同牌照有一定的适应性,能够保证背景基本被置为0,以突出牌照区域。 4.削弱背景干扰。对图像B做简单的相邻像素灰度值相减,得到新的图像G,即Gi,j=|Pi,j-Pi,j-1|i=0,1,…,439 j=0,1,…,639Gi,0=Pi,0,左边缘直接赋值,不会影响整体效果。 5.用自定义模板进行中值滤波 区域灰度基本被赋值为0。考虑到文字是由许多短竖线组成,而背景噪声有一大部分是孤立噪声,用模板(1,1,1,1,1)T对G进行中值滤波,能够得到除掉了大部分干扰的图像C。 6.牌照搜索:利用水平投影法检测车牌水平位置,利用垂直投影法检测车牌垂直位置。 7.区域裁剪,截取车牌图像。

    标签: pic 使用说明 目录

    上传时间: 2014-01-17

    上传用户:851197153

  • 自己设计的pic单片机开发板源程序和说明书(内有原理图)支持pic16系列28脚和40脚器件。串口输出信息。4个LED数码管驱动;4个LED驱动;4个按键驱动;1个RS232接口;1个RS485接口;

    自己设计的pic单片机开发板源程序和说明书(内有原理图)支持pic16系列28脚和40脚器件。串口输出信息。4个LED数码管驱动;4个LED驱动;4个按键驱动;1个RS232接口;1个RS485接口;板载IIC存储器24C02驱动,;实时时钟;1Wire温度传感器;4通道功率输出驱动;2个继电器驱动;1个蜂鸣器; 2个通道AD转换(使用1个); 红外收发(保留); 扩展I/O接口; 按键复位电路; 板载ICSP接口。通过ICD2可在线编程,调试;复用IO均采用拨动开关控制。

    标签: pic LED RS 232

    上传时间: 2016-08-26

    上传用户:wang0123456789

  • pic控制的led灯的循环点亮模式

    pic控制的led灯的循环点亮模式,八个LED,高电平点亮,可用于I/O口及其它信号状态的观测。

    标签: pic led 控制 循环

    上传时间: 2016-10-13

    上传用户:txfyddz

  • The Synthetic PIC Verion 1.1 This a VHDL synthesizable model of a simple PIC 16C5x microcontro

    The Synthetic PIC Verion 1.1 This a VHDL synthesizable model of a simple PIC 16C5x microcontroller. It is not, and is not intended as, a high fidelity circuit simulation. This package includes the following files. Note that the license agreement is stated in the main VHDL file, PICCPU.VHD and common questions are answered in the file SYNTHPIC.TXT Files: README.TXT This file.. SYNTHPIC.TXT Questions and Answers PICCPU.VHD Main processor VHDL file PICALU.VHD ALU for the PICCPU PICREGS.VHD Data memory PICROM.VHD Program memory (created by HEX2VHDL utility) PICTEST.VHD Simple test bench I used to do testing (optional) PICTEST.CMD My Viewlogic ViewSim command file (again, optional) TEST1.ASM First program I assembled and ran on it. TEST2.ASM Another test program.. TEST3.ASM Yet another.. TEST4.ASM Yet another.. TEST5.ASM Yet another.. TEST6.ASM Yet another.. HEX2VHDL.CPP Utility for converting

    标签: synthesizable microcontro Synthetic PIC

    上传时间: 2013-12-22

    上传用户:妄想演绎师

  • 这是一个带SIS仿真电路的PIC驱动程序,极易修改应用.///*功能是检测2402能否正常读取数据

    这是一个带SIS仿真电路的PIC驱动程序,极易修改应用.///*功能是检测2402能否正常读取数据,先写入数组中的代码,然后根据变量i的变化取出数据,并显示在屏上*/

    标签: 2402 SIS PIC 仿真电路

    上传时间: 2013-12-16

    上传用户:赵云兴

  • PIC流水灯控制-汇编

    PIC流水灯控制-汇编,需要说明的是刚刚我上传的那个应该是5个I/O控制16个按键的PIC控制程序,而我不知道该怎么去修改正确过来

    标签: PIC 流水灯 控制 汇编

    上传时间: 2017-05-13

    上传用户:lht618