C8051F020单片机通过SPI接口驱动四线电阻式触摸屏控制器TSC2046,利用中断方式驱动TSC2046设计软件。介绍了触摸屏的工作原理、TSC2046工作方式以及典型应用电路。 Abstract: The C8051F020 MCU is connected with the TSC2046 which is a 4-wire touch screen controller. The TSC2046 is controlled by interrupt mode, the? operation principle of touch screen is introduced. The operation mode of TSC2046 and typical application circuit are also discussed.
上传时间: 2014-12-27
上传用户:hwl453472107
针对目前采用的热敏电阻测量方法,提出了采用单总线数字式温度传感器DS18B20和单片机组成的新型温度测量仪。介绍DS18B20的结构和工作原理,以及单总线工作原理,给出了由Mega8单片机和DS18B20构成的单总线温度测量仪的硬件电路及软件流程图。经试验基于单总线器件DS18B20的温度测量仪,具有测量准确、测温范围宽、体积小、控制方便等优点。 Abstract: This paper brings forward a new temperature meter composed of 1-wire temperature sensor DS18B20 and MCU which has advantage of the thermistor. In the article, the DS18B20's structure and controlling principles are introduced and hardware circuit and software diagram of the temperature meter are given.After been tested,the temperature meter has the advantages of accurate measurement, wide temperature range, small volume and convenient controlling.
上传时间: 2013-10-31
上传用户:hzy5825468
基于幅移键控技术ASK(Amplitude-Shift Keying),以C8051F340单片机作为监测终端控制器,C8051F330D单片机作为探测节点控制器,采用半双工的通信方式,通过监控终端和探测节点的无线收发电路,实现数据的双向无线传输。收发电路采用直径为0.8 mm的漆包线自行绕制成圆形空心线圈天线,天线直径为(3.4±0.3)cm。试验表明,探测节点与监测终端的通信距离为24 cm,通过桥接方式,节点收发功率为102 mW时,节点间的通信距离可达20 cm。与传统无线收发模块相比,该无线收发电路在受体积、功耗、成本限制的场合有广阔的应用前景。 Abstract: Based on ASK technology and with the C8051F340 and C8051F330D MCU as the controller, using half-duplex communication mode, this paper achieves bi-directional data transfer. Transceiver circuit constituted by enameled wire which diameter is 0.8mm and wound into a diameter (3.4±0.3) cm circular hollow coil antenna. Tests show that the communication distance between detection and monitoring of the terminal is 24cm,the distance is up to 20cm between two nodes when using the manner of bridging and the node transceiver power is 102mW. Compared with the conventional wireless transceiver modules, the circuit has wide application prospect in small size, low cost and low power consumption and other characteristics.
上传时间: 2013-10-19
上传用户:xz85592677
1 FEATURES· Single chip LCD controller/driver· 1 or 2-line display of up to 24 characters per line, or2 or 4 lines of up to 12 characters per line· 5 ′ 7 character format plus cursor; 5 ′ 8 for kana(Japanese syllabary) and user defined symbols· On-chip:– generation of LCD supply voltage (external supplyalso possible)– generation of intermediate LCD bias voltages– oscillator requires no external components (externalclock also possible)· Display data RAM: 80 characters· Character generator ROM: 240 characters· Character generator RAM: 16 characters· 4 or 8-bit parallel bus or 2-wire I2C-bus interface· CMOS/TTL compatible· 32 row, 60 column outputs· MUX rates 1 : 32 and 1 : 16· Uses common 11 code instruction set· Logic supply voltage range, VDD - VSS: 2.5 to 6 V· Display supply voltage range, VDD - VLCD: 3.5 to 9 V· Low power consumption· I2C-bus address: 011101 SA0.
上传时间: 2013-11-08
上传用户:laozhanshi111
LJD-SY-5200实验系统的硬件部分主要由以下电路构成:显示电路(其中显示电路包括液晶显示,数码管显示,发光二极管显示及8X8三色LED点阵显示),键盘电路,USB电路,串口电路,时钟电路,I2C电路,D/A&A/D转换电路,测温湿度电路,1-wire总线电路,IC卡电路,语音电路,蜂鸣器&继电器电路,单脉冲发生电路,红外遥感电路等电路有机组合而成。而实验系统的软件部分则是精心编写并测试通过的所有硬件部分驱动程序和大量的综合实验例程。
上传时间: 2013-11-13
上传用户:432234
The MSP-FET430PIF is a Parallel Port interface (does not include target board) that is used to program and debug MSP430 FET tools and test boards through the JTAG interface. This interface is included in our FET tools, but sold without the development board. This interface uses a Parallel PC Port to communicate to the Debugger Software (IAR Kickstart software included) running on the PC. The interface uses the standard 14 pin header to communicate to the MSP430 device using the standard JTAG protocol. The flash memory can be erased and programmed in seconds with only a few keystrokes, and since the MSP430 flash is extremely low power, no external power supply is required. The tool has an integrated software environment and connects directly to the PC which greatly simplifies the set-up and use of the tool. The flash development tool supports development with all MSP430 flash parts. Features MSP430 debugging interface to connect a MSP430-Flash-device to a Parallel port on a PC Supports JTAG debug protocol (NO support for Spy-Bi-wire (2-wire JTAG) debug protocol, Spy-Bi-wire (2-wire JTAG) is supported by MSP-FET430UIF) Parallel Port cable and a 14-conductor target cable Full documentation on CD ROM Integrated IAR Kickstart user interface which includes: Assembler Linker Limulator Source-level debugger Limited C-compiler Technical specifications: Backwardly compatable with existing FET tool boards.
上传时间: 2013-10-26
上传用户:fengweihao158@163.com
The MSP-FET430U14 is a powerful flash emulation tool to quickly begin application development on the MSP430 MCU. It includes USB debugging interface used to program and debug the MSP430 in-system through the JTAG interface or the pin saving Spy Bi-wire (2-wire JTAG) protocol. The flash memory can be erased and programmed in seconds with only a few keystrokes, and since the MSP430 flash is ultra-low power, no external power supply is required. The debugging tool interfaces the MSP430 to the included integrated software environment and includes code to start your design immediately. The MSP-FET430UIF development tools supports development with all MSP430 flash devices
上传时间: 2013-10-28
上传用户:13691535575
AVR mega16开发板 联系 杨迪 15336417867 0531-55508458 QQ:1347978253 http://www.easyele.cn本产品是我公司自主研发生产的,AVR Mega16开发板是以ATMEL的Mega16单片机为核心,高性能低定价的单片机开发工具,产品集成AVR JTAG ICE仿真器和STK500 ISP编程器,用户只需要再拥有一台计算机即可进行系统的学习,操作简单,使用方便,兼容开发型号:ATmega32,AVR mega16开发板可以做为学习板 仿真器 编程器使用,三种功能与一体,不需要单独买仿真器 编程器,省时,省事,省钱。货号:EasyAVR-M16规格: 套 重量:400克 单价298/套。AVR mega16开发板板载资源: 1.5V供电接口,输入7~9V 内正外负,送电源 2.板载AVR JTAG ICE USB接口 3.板载AVR ISP USB接口 4.Atmega16芯片,片内资源丰富 5.USB1.1 通讯接口 6.RS232 串行通讯口 7.RS485通讯接口 8.8个独立按键 9.4位一体七段数码管 HC595驱动 10.8个独立LED 11.1路有源蜂鸣器,也可接无源蜂鸣器 12.实时钟PCF8563 13.1IIC总线EEPROM AT24c01 14.1-wire单总线 15.晶振和复位电路 16.可选的有源晶振电路 17.AD电压调整电位器 18.电位器参考电压和待测电压调整 19.4个8位拨码开关 20.32Pin MCU外接端子 所有引脚标注 21.12864液晶接口 22.1602液晶接口 23.标准KF396尼龙接线端子 24.透明防滑硅胶脚垫 AVR mega16开发板实验例程: 模数转换(AD): 单通道AD采集,七段数码管显示结果 双通道分时采集,利用串口将结果传至PC 蜂鸣器: 按键检测,蜂鸣器鸣叫 PCF8563定时,蜂鸣器1s鸣叫一次 键盘: 按键检测,蜂鸣器鸣叫 按键检测,LED显示 LED: 跑马灯程序 按键检测,LED显示 定时器: 定时器T1实现1秒定时,利用七段数码管显示 内部EEPROM: 利用EEPROM记录开机次数,七段数码管显示结果 WDT: 看们狗定时器简单实验 DS18B20: DS18B20检测温度,七段数码管显示结果 DS18B20检测温度,利用串口将结果传至PC SPI: 利用SPI驱动SPI器件74HC595,实现七段数码管的显示 TWI: 利用TWI驱动TWI器件24C01 利用TWI驱动TWI器件PCF8563 24C01: 24C01读写,利用JTAG察看结果 24C01读写,利用串口将结果传至PC AVR mega16开发板说明书下载:EasyAVR-M16-SK-3in1.pdf,内容详细,让您学习起来事半功倍,深入了解单片机电路的设计,找到好工作没问题,详细介绍电路设计和如果学习开发等内容,即使不买板子也值得你收藏。 物品清单: 1.AVR mega16开发板 (板载JTAG ISP 二合一) 2.9V 直流电源 3.USB通讯线缆 4.开发板说明书 5.资料光盘 原理图 开发软件 范例程序
上传时间: 2013-10-23
上传用户:dancnc
JTAG仿真器 mega16开发板 联系 杨迪 15336417867 0531-55508458 QQ:1347978253 http://www.easyele.cn 有了mega16开发板 JTAG仿真器就可以开始学习强大的AVR单片机,不用再单独买编程器,仿真器。本产品是AVRVI设计生产的AVR学习开发生产工具,以Atmega16为核心,集成AVR JTAG ICE仿真器和STK500 ISP编程器,用户只需要再拥有一台计算机即可进行系统的学习。同时mega16开发板器 JTAG仿真器还提供精致的说明书,让您事半功倍,深入了解单片机电路的设计,找到好工作没问题,详细介绍电路设计和如果学习开发等内容,即使不买板子也值得你收藏。mega16开发板 JTAG仿真器的货号:EasyAVR-M16 规格: 套 重量:400克。单价298/套 mega16开发板 JTAG仿真器开发板板载资源列表(部分): 1.1路有源蜂鸣器,也可接无源蜂鸣器 2.实时钟PCF8563 3.1IIC总线EEPROM AT24c01 4.1-wire单总线 5.晶振和复位电路 6.可选的有源晶振电路 7.AD电压调整电位器 8.电位器参考电压和待测电压调整 9.mega16开发板 JTAG仿真器拥有4个8位拨码开关 0.32Pin MCU外接端子 所有引脚标注 11.12864液晶接口 12.1602液晶接口 13.mega16开发板 JTAG仿真器有标准KF396尼龙接线端子 14.透明防滑硅胶脚垫 mega16开发板 JTAG仿真器的三个关键特点:开发板集成常用资源:LED、按键、七段数码管、RS232、LCD接口等;开发板上集成了AVR JTAG ICE仿真器和AVR ISP编程器;信号调理电路,输入0~10V,轨至轨信号调理。购买mega16开发板 JTAG仿真器是,我们会以优惠的价格提供给客户一些可选配件:18B20 10元;1602字符液晶 20元;12864 图形液晶带字库 80元;串口通讯线缆 5元;有源晶振 5元;杜邦头连线10条 5元,以上全配只需要加100元,如需要5V 小型步进电机另加20元。欢迎大家咨询选购。 开发板系列我公司还出售: mega128四合一开发板 498/套 ATMEL 原装 ATSTK500开发板 750/块 ATmega8 开发板 学习板 Mini Mega8 核心板 87/块 ATmega48 开发板 学习板 Mini Mega48 核心板 84/块 ATMega88 开发板 学习板 mini mega88 核心板 91/块 ATmega16 开发板 AVR学习板 Mega16 核心板 106/块 ATmega32 开发板 学习板 Mini M32 核心板 116/块 ATmega128 开发板 学习板 Mini M128 核心板 147/块 ATmega64 开发板 学习板 Mini M64 核心板 144/块
上传时间: 2013-10-19
上传用户:tou15837271233
Cortex-M3 技术参考手册 Cortex-M3是一个32位的核,在传统的单片机领域中,有一些不同于通用32位CPU应用的要求。谭军举例说,在工控领域,用户要求具有更快的中断速度,Cortex-M3采用了Tail-Chaining中断技术,完全基于硬件进行中断处理,最多可减少12个时钟周期数,在实际应用中可减少70%中断。 单片机的另外一个特点是调试工具非常便宜,不象ARM的仿真器动辄几千上万。针对这个特点,Cortex-M3采用了新型的单线调试(Single wire)技术,专门拿出一个引脚来做调试,从而节约了大笔的调试工具费用。同时,Cortex-M3中还集成了大部分存储器控制器,这样工程师可以直接在MCU外连接Flash,降低了设计难度和应用障碍。 ARM Cortex-M3处理器结合了多种突破性技术,令芯片供应商提供超低费用的芯片,仅33000门的内核性能可达1.2DMIPS/MHz。该处理器还集成了许多紧耦合系统外设,令系统能满足下一代产品的控制需求。ARM公司希望Cortex-M3核的推出,能帮助单片机厂商实. Cortex的优势应该在于低功耗、低成本、高性能3者(或2者)的结合。 Cortex如果能做到 合理的低功耗(肯定要比Arm7 & Arm9要低,但不大可能比430、PIC、AVR低) + 合理的高性能(10~50MIPS是比较可能出现的范围) + 适当的低成本(1~5$应该不会奇怪)。 简单的低成本不大可能比典型的8位MCU低。对于已经有8位MCU的厂商来说,比如Philips、Atmel、Freescale、Microchip还有ST和Silocon Lab,不大可能用Cortex来打自己的8位MCU。对于没有8位MCU的厂商来说,当然是另外一回事,但他们在国内进行推广的实力在短期内还不够。 对于已经有32位ARM的厂商来说,比如Philips、Atmel、ST,又不大可能用Cortex来打自己的Arm7/9,对他们来说,比较合理的定位把Cortex与Arm7/9错开,即<40MIPS的性能+低于Arm7的价格,当然功耗也会更低些;当然这样做的结果很可能是,断了16位MCU的后路。 对于仍然在推广16位MCU的厂商来说,比如Freescal、Microchip,处境比较尴尬,因为Cortex基本上可以完全替代16位MCU。 所以,未来的1~2年,来自新厂商的Cortex比较值得期待-包括国内的供应商;对于已有32位ARM的厂商,情况比较有趣;对于16位MCU的厂商,反应比较有意思。 关于编程模式 Cortex-M3处理器采用ARMv7-M架构,它包括所有的16位Thumb指令集和基本的32位Thumb-2指令集架构,Cortex-M3处理器不能执行ARM指令集。 Thumb-2在Thumb指令集架构(ISA)上进行了大量的改进,它与Thumb相比,具有更高的代码密度并提供16/32位指令的更高性能。 关于工作模式 Cortex-M3处理器支持2种工作模式:线程模式和处理模式。在复位时处理器进入“线程模式”,异常返回时也会进入该模式,特权和用户(非特权)模式代码能够在“线程模式”下运行。 出现异常模式时处理器进入“处理模式”,在处理模式下,所有代码都是特权访问的。 关于工作状态 Coretx-M3处理器有2种工作状态。 Thumb状态:这是16位和32位“半字对齐”的Thumb和Thumb-2指令的执行状态。 调试状态:处理器停止并进行调试,进入该状态。
上传时间: 2013-12-04
上传用户:坏坏的华仔