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

WWW-Exercises

  • 自学单片机(提高篇)

    自学单片机(提高篇) 在入门篇里,我们利用网络资源建立了自己的学习环境,在提高篇里,我们将带领爱好者充分利用网络资源,登堂入室,尽快从学习者变为一个开发者。当爱好者学到一定程度后,必然会结合自身的情况,向各个不同的方向发展,这里无法对每一个方向作详细论述,仅讨论一些能从网络上获得的、典型的资源,难免挂一漏万,但希望能够给读者一些引导。 、分门别类用单片机目前,国内单片机应用呈现百花齐放之势,很多不同类型的单片机逐渐进入中国,这给我们增加了选择余地,不必不管什么应用千篇一律都用51单片机。因此在入门以后,爱好者可以根据实际情况,选择进一步学习另一种或多种单片机。通常每一种单片机都会在国内找一些代理公司,要使用这些单片机,最好是找到这些代理,可以得到较好的技术支持。目前,爱好者有可能接触和使用的单片机主要是这要的一些种类:图4 21ic资料搜索1.51系列基于51内核的单片机依然是最多的,目前国内较常见的有以下几种。1)PHILPS公司的的LPC系列,基于80C51内核的微控制器,每机器周期只需6个时钟,比标准51快一倍;嵌入了诸如掉电检测、模拟功能以及片内RC振荡器等功能,可减少外部元件的使用;低功耗。该系列芯片适用于大批量、低成本、低功耗的应用,如电子门禁系统、倒车雷达、里程表等。该系列单片机由周立功公司代理,网址:http://www.zlgmcu.com。

    标签: 单片机

    上传时间: 2013-11-13

    上传用户:674635689

  • 800A全自动STC单片机实验开发板软硬件说明

    800A全自动STC单片机实验开发板软硬件说明:① 将下载编程通信线的DB9串行通信RS232插头,插入PC机的RS232串行通信座,用以实现对STC单片机下载编程的通信。② 将下载编程通信线的USB插头(与DB9串行通信RS232插头线较短的一端,注意别搞错,否则不能工作),插入PC机的USB通信座,用以实现对全自动STC单片机实验开发板的供电。③ 将下载编程通信线的USB插头(与DB9串行通信RS232插头线较长的一端,注意别搞错,否则不能工作),插入全自动STC单片机实验开发板上的USB座,以实现对其下载编程的通信和供电。3. 所需软件① 各类文本编辑器软件,如Eidt,记事本等,编辑汇编语言源程序*.ASM;② 集成环境WAVE6000软件:将汇编语言源程序编译成*.hex文件(也可直接在此环境下编辑汇编语言源程序*.ASM);③ 官方提供的STC-ISP软件(http//www.MCU-Memory.com):将汇编语言源程序编译成的*.hex文件在线下载到STC单片机中。4. 使用说明4.1 WAVE6000软件使用说明① 在“WAVE6000”目录中的“BIN”子目录下,双击右图伟福标志执行伟福软件,若跳出“检查电源……”的对话框,点击“取消”,跳出如下画面(下图仅左上部分)。

    标签: 800A STC 全自动 单片机实验

    上传时间: 2013-11-10

    上传用户:zuozuo1215

  • MPC7400 Part Number Speci&THOR

    MPC7400 Part Number SpeciÞcationThis document describes part number speciÞc changes to recommended operating conditions and revised electrical speciÞcations,as applicable, from those described in the generalMPC7400 Hardware SpeciÞcations.SpeciÞcations provided in this Part Number SpeciÞcation supersede those in theMPC7400 Hardware SpeciÞcationsdated 9/99(order #: MPC7400EC/D) for these part numbers only; speciÞcations not addressed herein are unchanged. This document isfrequently updated, refer to the website at http://www.mot.com/SPS/PowerPC/ for the latest version.Note that headings and table numbers in this data sheet are not consecutively numbered. They are intended to correspond to theheading or table affected in the general hardware speciÞcation.

    标签: Number Speci 7400 Part

    上传时间: 2014-12-28

    上传用户:huyahui

  • MPC7400l零件号码规范说明

    This document describes part number speciÞc changes to recommended operating conditions and revised electrical speciÞcations,as applicable, from those described in the generalMPC7400 Hardware SpeciÞcations.SpeciÞcations provided in this Part Number SpeciÞcation supersede those in theMPC7400 Hardware SpeciÞcationsdated 9/99(order #: MPC7400EC/D) for these part numbers only; speciÞcations not addressed herein are unchanged. This document isfrequently updated, refer to the website at http://www.mot.com/SPS/PowerPC/ for the latest version.Note that headings and table numbers in this data sheet are not consecutively numbered. They are intended to correspond to theheading or table affected in the general hardware speciÞcation.Part numbers addressed in this document are listed in Table A. For more detailed ordering information see Table B.

    标签: 7400l 7400 MPC 零件

    上传时间: 2013-11-19

    上传用户:qiaoyue

  • DS1820 C51 子程序 (一线数据传输)

    //芯片资料请到www.elecfans.com查找 //DS1820 C51 子程序//这里以11.0592M晶体为例,不同的晶体速度可能需要调整延时的时间//sbit DQ =P2^1;//根据实际情况定义端口 typedef unsigned char byte;typedef unsigned int  word; //延时void delay(word useconds){  for(;useconds>0;useconds--);} //复位byte ow_reset(void){  byte presence;  DQ = 0; //pull DQ line low  delay(29); // leave it low for 480us  DQ = 1; // allow line to return high  delay(3); // wait for presence  presence = DQ; // get presence signal  delay(25); // wait for end of timeslot  return(presence); // presence signal returned}     // 0=presence, 1 = no part //从 1-wire 总线上读取一个字节byte read_byte(void){  byte i;  byte value = 0;  for (i=8;i>0;i--)  {    value>>=1;    DQ = 0; // pull DQ low to start timeslot    DQ = 1; // then return high    delay(1);  //for (i=0; i<3; i++);     if(DQ)value|=0x80;    delay(6); // wait for rest of timeslot  }  return(value);} //向 1-WIRE 总线上写一个字节void write_byte(char val){  byte i;  for (i=8; i>0; i--) // writes byte, one bit at a time  {    DQ = 0; // pull DQ low to start timeslot    DQ = val&0x01;    delay(5); // hold value for remainder of timeslot    DQ = 1;    val=val/2;  }  delay(5);} //读取温度char Read_Temperature(void){  union{    byte c[2];    int x;  }temp;   ow_reset();  write_byte(0xCC); // Skip ROM  write_byte(0xBE); // Read Scratch Pad  temp.c[1]=read_byte();  temp.c[0]=read_byte();  ow_reset();  write_byte(0xCC); //Skip ROM  write_byte(0x44); // Start Conversion  return temp.x/2;}

    标签: 1820 C51 DS 程序

    上传时间: 2013-11-03

    上传用户:hongmo

  • 红外遥控接收程序

    红外遥控接收;=================================================;; zsMCU51实验板配套学习例程;; 中山单片机学习网 智佳科技;; 作者:逸风 QQ:105558851;; http://www.zsmcu.com; E-mail:info@zsmcu.com;=================================================ORG 0000HLJMP START;转入主程序ORG 0010HSTART:MAIN:JNB P2.2,IRLJMP MAIN;以下为进入P3.2脚外部中断子程序,也就是解码程序IR:MOV R6,#9SB:ACALL DELAY882 ;调用882微秒延时子程序JB P2.2,EXIT ;延时882微秒后判断P3.2脚是否出现高电平如果有就退出解码程序DJNZ R6, SB ;重复10次,目的是检测在8820微秒内如果出现高电平就退出解码程序;以上完成对遥控信号的9000微秒的初始低电平信号的识别。JNB P2.2, $ ;等待高电平避开9毫秒低电平引导脉冲ACALL DELAY2400JNB P2.2,IR_Rp ;ACALL DELAY2400 ;延时4.74毫秒避开4.5毫秒的结果码MOV R1,#1AH ;设定1AH为起始RAM区MOV R2,#4PP:MOV R3,#8JJJJ:JNB P2.2,$ ;等待地址码第一位的高电平信号LCALL DELAY882 ;高电平开始后用882微秒的时间尺去判断信号此时的高低电平状态MOV C,P2.2 ;将P3.2引脚此时的电平状态0或1存入C中 JNC UUU ;如果为0就跳转到UUULCALL DELAY1000UUU:MOV A,@R1 ;将R1中地址的给ARRC A ;将C中的值0或1移入A中的最低位MOV @R1,A ;将A中的数暂时存放在R1中DJNZ R3,JJJJ ;接收地址码的高8位INC R1 ;对R1中的值加1,换下一个RAMDJNZ R2,PP ;接收完16位地址码和8位数据码和8位数据,存放在1AH/1BH/1CH/1DH的RAM中MOV P1,1DH ;将按键的键值通过P1口的8个LED显示出来!CLR P2.3 ;蜂鸣器鸣响-嘀嘀嘀-的声音,表示解码成功LCALL DELAY2400LCALL DELAY2400LCALL DELAY2400SETB P2.3;蜂鸣器停止LJMP MAINIR_Rp:LJMP MAINEXIT:LJMP MAIN ;退出解码子程序;=============================882DELAY882: ;1.085x ((202x4)+5)=882MOV R7,#202DELAY882_A:NOPNOPDJNZ R7,DELAY882_ARET;=============================1000DELAY1000: ;1.085x ((229x4)+5)=999.285MOV R7,#229DELAY1000_A:NOPNOPDJNZ R7,DELAY1000_ARET;=============================2400

    标签: 红外遥控 接收程序

    上传时间: 2013-11-01

    上传用户:2525775

  • AVR Studio 帮助文件中文翻译

    AVR Studio 帮助文件中文翻译,网友翻译的AVR Studio软件里面的帮助文件。转自“我们的AVR”网站,在此表示感谢。 图元文件(metafile) 以.emf为扩展名的文件。是下面各种结构的基本组成部分,可以用来让AVR LCD编辑器设计软件模拟显示器。它可以是一个段或者一个图像。您不能直接用AVR LCD编辑器生成一个这样的图元文件。但是可以使用第三方软件。Companion Software的Metafile Companion和Microsoft Visio 就是两个让用户自己定义图元文件的软件。在市场上有好多更简单,更便宜的转换软件支持gif,jpeg,bmp等的文件转换成.emf文件。 (例如:www.harmware.com 网站上的Batch Thumb 、和www.irfanview.com网站上的IrfanView). 段(segment)这是软件模拟显示器的一部分。用LCD编辑器您可以分配所有的段对应到实际的LCD寄存器的位上。段被存成.emf文件。图像(image)被用作背景图像和外围图像的图元文件。充当所有段的布景。这些对象是“静态”的,不对任何LCD寄存器值有反映。图像也被存成.emf文件。 模拟显示器(display)多层的元文件和图像的组合。它包含LCD 寄存器的分配信息。用XML格式保存成.dis文件。组(group)为了简化设计,需要频繁的保存使用段。组就是同一层中一些段(图元文件)的集合。它的设计没有实际的限制,但是不能包括静态图像(背景/前景)。最典型的组就是7段码数字字型。组只是理论的设计工具,在最终的模拟显示器文件中是没有组存在的。组用扩展名为.pri 的文件保存。 对象(object)对包括以上各个元件的各种事物的称谓的术语。模拟显示器文件(display file)以.dis为扩展名的XML类型的文件。包含了所有的关于显示器的信息。

    标签: Studio AVR 翻译

    上传时间: 2013-10-31

    上传用户:paladin

  • I2C总线驱动程序

    1 /**————————————————————2 〖说明〗I2C总线驱动程序(用两个普通IO模拟I2C总线)3 包括100Khz(T=10us)的标准模式(慢速模式)选择,4 和400Khz(T=2.5us)的快速模式选择,5 默认11.0592Mhz的晶振。6 〖文件〗PCF8563T.C ﹫2001/11/2 77 〖作者〗龙啸九天 c51@yeah.net http://www.c51bbs.co /8 〖修改〗修改建议请到论坛公布 http://www.c51bbs.co m9 〖版本〗V1.00A Build 080310 —————————————————————*/1112 #ifndef SDA13 #define SDA P0_014 #define SCL P0_115 #endif1617 extern uchar SystemError;1819 #define uchar unsigned char20 #define uint unsigned int21 #define Byte unsigned char22 #define Word unsigned int23 #define bool bit24 #define true 125 #define false 02627 #define SomeNOP(); _nop_();_nop_();_nop_();_nop_();2829 /**--------------------------------------------------------------------------------30 调用方式:void I2CStart(void) ﹫2001/07/0 431 函数说明:私有函数,I2C专用32 ---------------------------------------------------------------------------------*/33 void I2CStart(void)34 {35 EA=0;36 SDA=1; SCL=1; SomeNOP();//INI37 SDA=0; SomeNOP(); //START38 SCL=0;39 }4041 /**--------------------------------------------------------------------------------42 调用方式:void I2CStop(void) ﹫2001/07/0 443 函数说明:私有函数,I2C专用44 ---------------------------------------------------------------------------------*/45 void I2CStop(void)46 {47 SCL=0; SDA=0; SomeNOP(); //INI48 SCL=1; SomeNOP(); SDA=1; //STOP49 EA=1;50 }5152 /**--------------------------------------------------------------------------------53 调用方式:bit I2CAck(void) ﹫2001/07/0 454 函数说明:私有函数,I2C专用,等待从器件接收方的应答55 ---------------------------------------------------------------------------------*/56 bool WaitAck(void)57 {58 uchar errtime=255;//因故障接收方无ACK,超时值为255。59 SDA=1;SomeNOP();60 SCL=1;SomeNOP();61 while(SDA) {errtime--; if (!errtime) {I2CStop();SystemError=0x11;return false;}}62 SCL=0;63 return true;

    标签: I2C 总线 驱动程序

    上传时间: 2014-04-11

    上传用户:xg262122

  • Xilinx UltraScale:新一代架构满足您的新一代架构需求(EN)

      中文版详情浏览:http://www.elecfans.com/emb/fpga/20130715324029.html   Xilinx UltraScale:The Next-Generation Architecture for Your Next-Generation Architecture    The Xilinx® UltraScale™ architecture delivers unprecedented levels of integration and capability with ASIC-class system- level performance for the most demanding applications.   The UltraScale architecture is the industr y's f irst application of leading-edge ASIC architectural enhancements in an All Programmable architecture that scales from 20 nm planar through 16 nm FinFET technologies and beyond, in addition to scaling from monolithic through 3D ICs. Through analytical co-optimization with the X ilinx V ivado® Design Suite, the UltraScale architecture provides massive routing capacity while intelligently resolving typical bottlenecks in ways never before possible. This design synergy achieves greater than 90% utilization with no performance degradation.   Some of the UltraScale architecture breakthroughs include:   • Strategic placement (virtually anywhere on the die) of ASIC-like system clocks, reducing clock skew by up to 50%    • Latency-producing pipelining is virtually unnecessary in systems with massively parallel bus architecture, increasing system speed and capability   • Potential timing-closure problems and interconnect bottlenecks are eliminated, even in systems requiring 90% or more resource utilization   • 3D IC integration makes it possible to build larger devices one process generation ahead of the current industr y standard    • Greatly increased system performance, including multi-gigabit serial transceivers, I/O, and memor y bandwidth is available within even smaller system power budgets   • Greatly enhanced DSP and packet handling   The Xilinx UltraScale architecture opens up whole new dimensions for designers of ultra-high-capacity solutions.

    标签: UltraScale Xilinx 架构

    上传时间: 2013-11-13

    上传用户:瓦力瓦力hong

  • 基于ZedBoard和linux的应用程序HelloWorld的实现(完整工程)

    基于ZedBoard和linux的应用程序HelloWorld的实现(完整工程)获取Zedboard可运行的linux Digilent官网给出Zedboard的可运行linux设计ZedBoard_OOB_Design包,可从http://www.digilentinc.com/Data/Documents/Other/ZedBoard_OOB_Design.zip获取,下载后解压,可以看到包的结构和内容

    标签: HelloWorld ZedBoard linux 应用程序

    上传时间: 2013-11-03

    上传用户:lvzhr