STM32L151xx数据表
上传时间: 2013-10-26
上传用户:swing
PC与单片机数据采集系统的USB通讯设计论文
上传时间: 2013-10-30
上传用户:hanli8870
单片机c语言学习和单片机制作资料: 函数的使用和熟悉 实例3:用单片机控制第一个灯亮 实例4:用单片机控制一个灯闪烁:认识单片机的工作频率 实例5:将 P1口状态分别送入P0、P2、P3口:认识I/O口的引脚功能 实例6:使用P3口流水点亮8位LED 实例7:通过对P3口地址的操作流水点亮8位LED 实例8:用不同数据类型控制灯闪烁时间 实例9:用P0口、P1 口分别显示加法和减法运算结果 实例10:用P0、P1口显示乘法运算结果 实例11:用P1、P0口显示除法运算结果 实例12:用自增运算控制P0口8位LED流水花样 实例13:用P0口显示逻辑"与"运算结果 实例14:用P0口显示条件运算结果 实例15:用P0口显示按位"异或"运算结果 实例16:用P0显示左移运算结果 实例17:"万能逻辑电路"实验 实例18:用右移运算流水点亮P1口8位LED 实例19:用if语句控制P0口8位LED的流水方向 实例20:用swtich语句的控制P0口8位LED的点亮状态 实例21:用for语句控制蜂鸣器鸣笛次数 实例22:用while语句控制LED 实例23:用do-while语句控制P0口8位LED流水点亮 实例24:用字符型数组控制P0口8位LED流水点亮 实例25: 用P0口显示字符串常量 实例26:用P0 口显示指针运算结果 实例27:用指针数组控制P0口8位LED流水点亮 实例28:用数组的指针控制P0 口8 位LED流水点亮 实例29:用P0 、P1口显示整型函数返回值 实例30:用有参函数控制P0口8位LED流水速度 实例31:用数组作函数参数控制流水花样 实例32:用指针作函数参数控制P0口8位LED流水点亮 实例33:用函数型指针控制P1口灯花样 实例34:用指针数组作为函数的参数显示多个字符串
上传时间: 2013-10-21
上传用户:llandlu
【摘要】通过对基于AVR 的SD 卡数据导出接口设计的描述,在系统总体结构思路基础上,提出系统的硬 件构成,详细分析了软件各部分的功能及实现。本设计在数据存储和交换领域具有很好的应用前景。 【关键词】SD 卡嵌入式系统SPI FAT32 数据库 SD 卡存储介质是一种新的大容量、非易失性外部存储系 统,它的出现提供了一个便宜的、结实的、卡片式的存储媒介。 SD 卡的容量从16 MB 到最高32 GB 不等。容量范围如此之 宽,可为众多应用提供充足的外部存储空间。 SD 卡作为各种消费电子产品外部存储的应用、开发技术 己经非常成熟、广泛。本设计尝试在AVR 单片机上实现对SD 卡读写操作,进而实现对SD 卡上数据库进行读写操作
上传时间: 2013-11-13
上传用户:13925096126
序号 参数 数据 单位 参数 说 明 . 输 入 参 数 变 量 1 umin V 交流输入电压最小值 2 umax V 交流输入电压最大值 3 fL Hz 电网频率 4 f kHz 开关频率 5 UO V 直流输出电压 6 PO W 输出功率 7 η % 电源效率 8 Z 0.5 损耗分配系数 9 UFB V 反馈电压
上传时间: 2013-10-14
上传用户:小码农lz
单片机作为一种微型计算机,其内部具有一定的存储单元(8031除外),但由于其内部存储单元及端口有限,很多情况下难以满足实际需求。为此介绍一种新的扩展方法,将数据线与地址线合并使用,通过软件控制的方法实现数据线与地址线功能的分时转换,数据线不仅用于传送数据信号,还可作为地址线、控制线,用于传送地址信号和控制信号,从而实现单片机与存储器件的有效连接。以单片机片外256KB数据存储空间的扩展为例,通过该扩展方法,仅用10个I/O端口便可实现,与传统的扩展方法相比,可节约8个I/O端口。 Abstract: As a micro-computer,the SCM internal memory has a certain units(except8031),but because of its internal storage units and the ports are limited,in many cases it can not meet the actual demand.So we introduced a new extension method,the data line and address lines combined through software-controlled approach to realize the time-conversion functions of data lines and address lines,so the data lines not only transmited data signals,but also served as address lines and control lines to transmit address signals and control signals,in order to achieve an effective connection of microcontroller and memory chips.Take microcontroller chip with256KB of data storage space expansion as example,through this extension method,with only10I/O ports it was achieved,compared with the traditional extension methods,this method saves8I/O ports.
上传时间: 2014-12-26
上传用户:adada
详细介绍工控软件组态王与单片机多机串口通讯的设计原理。分析组态王提供的直接与单片机串口通信方法的优点,给出系统基于RS-485总线传输的接口电路原理图。根据组态王提供的通讯协议和单片机多机串口通讯的原理,给出程序设计流程与思路。 Abstract: In this paper,the design principle of communication between multi-SCM and KingView by serial ports is described in detail.We analysis the advantage of method supplied by KingView,by which KingView can communicate with serial ports of SCM directly,and provide the system’s interface circuit based on the RS-485transmission line.We provide flow diagram of programming and thinking on the basis of communication protocol supplied by KingView and principle of communication among multi-SCM through serial ports.
上传时间: 2013-12-19
上传用户:tecman
介绍基于ISA总线与KH-9300的数据采集板卡的设置,详细说明8254定时计数器及8259中断控制器的结构特点、工作方式、控制字等,探讨中断类型、中断处理程序、中断矢量表及其填写。重点讲述使用TorboC编写中断服务程序的方法,应注意的主要问题及程序测试的结果。 Abstract: The settings of KH-9300 data acquisition board based on the ISA bus is introduced,the structural characteristics,working methods,control characters of the timing counter 8254 and interruptioncontroller 8259 are explained in detail.The interruption type,interrupt handling programs,interruption vector table and its filling also are discussed.Further,great emphasis is put on the method of interrupt service program compiled by Torbo C,the main issues that should be noted,and the results of program testing.
上传时间: 2013-11-14
上传用户:qq527891923
介绍一种基于C8051F060单片机和NAND Flash的数据采集存储系统,该系统可实现3路信号采样,每路采样率为5KS/s,通过异步串行通信接口实现数据传输。并详细说明系统的软件设计。 Abstract: An acquisition and storage system based on C8051F060and NAND Flash is designed in this paper.The system is used to sample three-channel of signal,5KSPS each channel,and can upload data to test bench through UART(Universal Asynchronous Receiver/Transmitter).The software design is discussed in detail.
上传时间: 2013-10-12
上传用户:Jesse_嘉伟
概述 P89C51/89C52/89C54/89C58含有非易失FLASH\并行可编程的程序存储器,所有器件都是通过引导装载器串行编程(ISP)见P89C51RC+/89C51RD+数据手册. 种系列单片机采用先进CMOS工艺的单片位微控制器,是80C51微控制器系列的派生.和80C51指令相同.
上传时间: 2013-12-26
上传用户:二十八号