针对大数据量的串口间通信,在常规的UART串行数据通信的基础上,结合Cortex-M3微控制器中DMA控制器的作用,实现DMA控制的UART串口数据包收发。设计链表项缓存,最终实现DMA的分散/聚集模式的数据传输过程,主要是发送过程。提高了串行数据通信过程的mcU独立性和mcU利用的效率。
上传时间: 2013-11-04
上传用户:gaome
对照表: Mask mcU Type A20T MC68HC705 A38P MC68HC11A8 A46E MC68705R3CS A49N MC68HC11A8 A75H MC68HC811A2 B16B MC68HC805C4 B19C MC68HC811E2 B35F MC68HC11A0 B36T MC68HC805B6 B38E DSP56001 B39P DSP56001 B43T PLCC44
上传时间: 2013-11-01
上传用户:digacha
利用单片机具有的智能程序控制的特点,设计了基于STC89C52单片机的"二极管特性测试器",可对二极管一般特性进行快速测试。通过稳定线性电流源给二极管加载恒定电流,然后由高精度模数转换器测试其压降,以此为基础可判断二极管好坏、检测二极管极性和测试二极管伏安特性等,避免了用万用表测试只能测得极性而不知其特性这一缺点。可用于电子设计制作过程中对二极管进行快速测试,以确定被测二极管是否满足电路的设计要求。 Abstract: By making good use of the intelligent control function of the Micro Controller Unit (mcU), the diode trait tester was designed based on the STC89C52,which could be used to test the trait of a diode rapidly. By loading constant current to diode through the stable linear current source, and measuring the voltage drop of the diode by high-precision analogue-to-digital converter (ADC), it can judge whether the diode is good or not, distinguish the polarity of the diode, and test the trait that the diode, which can avoid the fault of using a multimeter can only measure the polarity but not the trait. This device can be used to test the trait of a diode quickly,and to make sure that whether a diode can be used in the electronic design or not.
上传时间: 2013-11-13
上传用户:assef
针对科研实验中对拉压千斤顶加载过程控制的需要,采用ATmega128单片机控制步进电机进而实现对执行系统的电动泵站实行自动控制。对力和位移的数据采集与处理及用步进电机控制电动泵站手柄的技术细节作了重点描述。通过单片机的A/D变换器对AMP放大模块采集的电桥信号作量化处理,千斤顶的操控手柄位置依电动油泵阀门开启的方向和大小作若干定位,单片机根据力或位移传感器信号,实时控制步进电机驱动手柄旋转到相应操控位置。 Abstract: This article describes the use of ATmega128 AVR microcontroller series of DBS electric pumping stations and QF100/200 separate twoway hydraulic jack to automate the process of manipulating the work of the technical content. Articles on force and displacement data acquisition and processing, and stepper motor control electric pump with the handle of the key technical details were described. Through the mcU’s A / D converter module is collected on the AMP amplification quantify the signal bridge, jack handle position control valve opening according to the direction of electric pumps for a number of positioning and size of the microcontroller based on force or displacement sensor signals, real-time control stepper motor drive control handle rotate to the appropriate location.
上传时间: 2014-01-16
上传用户:hasan2015
Microchip 公司是 The Embedded Control Solutions Company® (嵌入式控制系统解决方案公 司) ,其产品主要满足嵌入式控制市场的需求。我们是以下产品的领先供应商: • 8 位通用单片机(PICmicro® 单片机) • 专用和标准的非易失性存储器件 • 安防器件 (KEELOQ®) • 专用标准产品 欲获得您所感兴趣的产品列表,请申请一份Microchip产品线目录。该文献可从各地的Microchip 销售办事处获得,或者直接从Microchip的网站上下载。 以往,8位单片机的用户只选择传统的mcU类型,即ROM器件,用于生产。Microchip率先改变 了这种传统观念,向人们展示了 OTP(一次性编程)器件比 ROM 器件在其寿命周期内具有更低 的产品成本。 Microchip具备EPROM技术优势, 从而使EPROM成为PICmicro 单片机程序存储器的不二选择。 Microchip 尽可能地缩小了EPROM 和ROM 存储器技术之间的成本差距,并使顾客从中受益。其 他mcU供应商无法作到这一点,这从他们的 EPROM 和 ROM 版本之间的价格差异便可以看出。 Microchip的8位单片机市场份额的增长证明了PICmicro® 单片机能够满足大多数人的需要。 这也 使 PICmicro 单片机架构成为了当今通用市场上应用最广泛的三大体系之一。Microchip 的低成本 OTP解决方案所带来的效益是这一增长的助推剂。用户能够从以下各方面受益: • 快速的产品上市时间 • 允许生产过程中对产品进行代码修改 • 无需掩膜产品所需的一次性工程费用(NRE) • 能够轻松为产品进行连续编号 • 无需额外增加硬件即可存储校准数据 • 可最大限度地增加PICmicro® 单片机的库存 • 由于在开发和生产中使用同一器件,从而降低了风险 Microchip 的 8 位 PICmicro单片机具备很好的性价比,可成为任何传统的 8 位应用和某些 4 位应 用(低档系列)、专用逻辑的替代品以及低端DSP应用(高档系列)的选择。这些特点及其良好的 性价比使PICmicro单片机在大多数应用场合极具吸引力。
上传时间: 2013-10-30
上传用户:Zero_Zero
为解决电致变色器件的颜色变化受外界环境颜色控制的问题,设计了一种基于单片机的便携式颜色自适应识别电路。与传统颜色识别电路相比较,该电路利用数字式的颜色传感器来获取外界环境颜色,产生的数字颜色信号易于单片机进行处理。在电路中,下位机部分主要负责获取电致变色器件变色参数及控制电致变色器件的颜色变化;而上位机部分主要负责把下位机获取的电致变色器件变色参数进行电压到颜色的曲线拟合,并通过蓝牙通信把拟合曲线参数传递给下位机。结果表明,该电路能自动根据环境颜色提供-4~4 V范围步进为0.1 V的电压来驱动电致变色器件的颜色显示,与传统的颜色识别电路设计相比,识别的精度和速度都得到了明显改善。 Abstract: In this paper, a portable adaptive circuit for color identification(PACCI) based on mcU was designed. Compared to the traditional color identification circuit, the PACCI adopts digital sensor to detect the color data from external environment and further generate digital color data, which can be processed easily by mcU. In PACCI, the slave is mainly responsible for detecting the color parameters of the corresponding elcreochromic device and further driving it. For the master, which is mainly responsible for the color curve fitting based on the parameters of the electrochromic device, and transmits the fitting parameters to the slave through the bluetooth device. The results show that the PACCI can provide the basis voltage range from -4V to 4V automatically based on the colors of external environment with step as 0.1V to drive the corresponding electrochromic device. Compared to the traditional color recognition circuit, the recognition accuracy and speed of PACCI have been improved significantly.
上传时间: 2013-11-09
上传用户:franktu
为了使音频信号分析仪小巧可靠,成本低廉,设计了以2片MSP430F1611单片机为核心的系统。该系统将音频信号送入八阶巴特沃兹低通滤波器,对信号进行限幅放大、衰减、电平位移、缓冲,并利用一单片机负责对前级处理后的模拟信号进行采样,将采集得到的音频信号进行4 096点基2的FFT计算,并对信号加窗函数提高分辨率,另一单片机负责对信号的分析及控制显示设备。此设计精确的测量了音频信号的功率谱、周期性、失真度指标,达到较高的频率分辨率,并能将测量结果通过红外遥控器显示在液晶屏上。 Abstract: o make the audio signal analyzer cheaper, smaller and more reliable, this system sends the audio signal to the eight-order butterworth filter, and then amplifies, attenuates, buffers it in a limiting range, transfers the voltage level of the signal before utilizing two MSP430F1611 mcU to realize the audio analysis. One is charged for sampling and dealing with the processed audio signal collected by the 4096 point radix-2 FFT calculation and imposes the window function to improve the frequency resolution. The other one controls the display and realizes the spectrum, periodicity, power distortion analysis in high resolution which is displayed in the LCD screen through the infrared remote control.
上传时间: 2013-12-11
上传用户:jasonheung
设计了一种基于PIC16C71单片机的数字水温配制阀。该配制阀采用NTC热敏电阻作温度传感器,与固定电阻组成简单分压电路作为水温测量电路,利用PIC16C71单片机内置的8位A/D转换器把热敏电阻上的模拟电压转换为数字量,PIC16C71单片机控制直流电机驱动混水阀调节冷热水的混合比例实现水温调节。给出了控制电路图,对水温测量电路的参数选择和测温精度作了详细讨论。实验和分析表明,选用阻值较大的NTC热敏电阻和分压电阻可较好地解决热敏电阻因功耗较大造成的热击穿问题。 Abstract: A digital valve for controlling water temperature based on PIC16C71 was presented in this paper.A bleeder circuit which consisted of a NTC thermistor as temperature sensor and a fixed resistance was designed as water temperature measuring circuit.The analog voltage on the thermistor was converted into digital signal by a 8-bit A/D converter embedded in PIC16C71. Based on the digital signal, the mcU PIC16C71 drived the valve by a DC motor to adjust the water temperature through adjusting the proportion of hot water and cold water.The circuit diagram of controller was given,the principle,the component parameters and the accuracy of measuring temperatures were also dissertated in detail. It was found by experiment and analysis that thermal breakdown of thermistor caused by high power could be solved by selecting thermistor and fixed resistance with high impedance value.
上传时间: 2013-11-08
上传用户:Yue Zhong
实用单片机系统是基于mcU8051硬件平台下开发的一款操作平台,它不是一个操作系统,而是一个操作平台,主要借鉴了操作系统、手机的一些概念,比如消息机制、系统时钟、软件定时器、平台等概念。 实用单片机系统的核心理念是:在一个标准化的硬件基础上(如8051,avr,arm等)扩展一个标准化的软件平台,把常规项目常用的一些功能如串口通讯、串口调试、系统定时器、软件定时器、按键界面处理等通过消息机制组织起来,形成一个完整的系统。当一个特定的项目需要增加或者删除一项具体的功能时,只需要在平台上增加或者去掉相应的功能即可,这样项目不需要每次重新构思架构,也不需要从零开始,并且原有的系统通过各个项目沉淀后,更加稳定可靠,这就是平台的概念,它不是各个子函数的集合。 相对于现在的很多人把RTOS操作系统应用于mcU来说,往往只为了实现任务的调度转换而不考虑功能的实用、易用性,此外因其较高的资源占用性导致其不适合在mcU类低资源的嵌入式平台应用,MS系统相对于这些RTOS来说,首先还是保留了编程者的常规前后台思维,但又加了一些RTOS的优点,如软件定时器实现的时间片任务系统,类似RTOS的任务,其次为编程者实现了整个程序的框架和一些常用的函数及接口功能如按键、串口、时钟等,让编程者把精力放在跟项目相关的地方,甚至不需要关心所用mcU的寄存器配置,再次就是代码非常简单,容易学习,尤其是建议大家采用SourceInsight查看程序,远比keil编辑器的功能强,它是C语言下最好的编辑器。而MS3.21版本,建议大家直接在Keil的软件仿真器下运行学习。 MS资料可以从以下网址下载:http://www.study-bbs.com/thread-46471-1-1.html读者有什么疑问也可以在这个版面提问,作者将尽力解释。目前MS3.21版本增加了一个GUI操作框架,相比目前已有的GUI更加简单易懂,利用一个函数指针代替了复杂的状态机,每一个界面由一个界面建立函数和一个执行函数构成即可。
上传时间: 2013-10-29
上传用户:txfyddz
针对目前使用的RS232接口数字化B超键盘存在PC主机启动时不能设置BIOS,提出一种PS2键盘的设计方法。基于W78E052D单片机,采用8通道串行A/D转换器设计了8个TGC电位器信息采集电路,电位器位置信息以键盘扫描码序列形式发送,正交编码器信号通过XC9536XL转换为单片机可接收的中断信号,软件接收到中断信息后等效处理成按键。结果表明,在满足开机可设置BIOS同时,又可实现超声特有功能,不需要专门设计驱动程序,接口简单,成本低。 Abstract: Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the mcU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.
上传时间: 2013-10-10
上传用户:asdfasdfd