介绍的是51单片机实现mudbus的从机程序
上传时间: 2013-10-17
上传用户:123454
只用电脑上的并口(打印机接口)不需任何外围元件烧录M8芯片的方法!! 只需要连接4根数据和1根地线一共5条线,无需任何电阻电容。 前提您的电脑上要有并口(打印机接口)。 并口与M8的链接,我这里用说明和图片示意两种方式给大家描述 。 先链接并口25针里面的12脚和2脚。 25脚是地,接在M8的8脚或者22脚。如果是在线下载可以连接PCB上任意一点接地点。 10脚是MISO,接在M8的18脚(GandF的设计中大部分也在三线按键的接口里) 9脚是RES,接在M8的第1脚 7脚是MOSI, 接在M8的17脚(GandF的设计中大部分也在三线按键的接口里) 6脚是SCK,接在M8的19脚(GandF的设计中大部分也在三线按键的接口里)
上传时间: 2013-10-29
上传用户:gai928943
为了提高PCB板制作的效率,改变传统的化学腐蚀制板工艺,使用机械仿形铣制作电路板的方法,设计了以ATMEGA16单片机为核心部件的PCB板雕刻机控制系统。其中包括PCB雕刻机的基本功能、主要硬件电路设计和软件的实现流程,并给出了相关设计电路。重点分析了雕刻机步进电机的驱动电路以及主轴电机的驱动电路,该雕刻机经实际运行,系统工作良好,可有效提高PCB板的制作效率。 Abstract: In order to improve the efficiency of production of PCB board and change the traditional chemical etching plates, using of mechanical copying milling method makes circuit boards,this paper introduces the PCB engraving machine control system used ATMEGA16 microcomputer as the core components. It includes basic function, the hardware circuit design and software realization process, and gives the corresponding circuit design.It analyses the drive circuit of engrawing machine stepper motor and spindle motor in detail. This engraving machine by practical operation, the system works well, which can effectively improve the production efficiency of PCB board.
上传时间: 2013-10-17
上传用户:liangliang123
“看门狗定时器”是这样一种东西,从功能上说它可以让微控制器在意外状况下(比如程序陷入死循环)重新回复到系统上电状态,以保证系统出问题的时候重启一次。就跟我们用电脑一样,死机了你就按一下reset键重启一次电脑,看门狗就是负责干这个事儿的。它是52单片机增加的一个功能,以前Intel 8031、……、AT89C51时代单片机片内都没有“看门狗”功能,需要我们外扩看门狗芯片,比如X5045。 很多人初次接触丌太理解怎么用,书上也讲的含含糊糊,故意说的很复杂很玄妙(可能是现在写书人的通病,生怕写的简单的别人觉得他没水平)。其实要是说明白点:“看门狗”就是一个计数器,由于位数有限计数器能够装的数值是有限的(比如8位的最多装256个数、16位的最多装65536个数),从开启“看门狗”那刻起,它就开始丌停的数机器周期,数一个机器周期就计数器加1,加到计数器盛丌下了(术语叫溢出)就就产生一个复位信号,重启系统。
上传时间: 2013-11-11
上传用户:yepeng139
介绍电子束焊机电视监视系统工作原理#论述了电视行场扫描原理和视频叠加原理$ 针 对电子束焊机电视监视系统的特点及存在的缺点# 提出一种基PIC16C73单片机及字符叠加芯片 -UPD6453的电子束焊机电视监控系统的设计方案# 并给出了详细的系统软硬件实现方法$ 整个系统 高效可靠#具有电路简单%稳定性好%易于扩展%实用性好等优点#提高了焊接效率和焊接质量$
上传时间: 2013-10-22
上传用户:jasson5678
详细介绍工控软件组态王与单片机多机串口通讯的设计原理。分析组态王提供的直接与单片机串口通信方法的优点,给出系统基于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
设计一种基于AT89C52的语音录放系统,利用单片机、ISD2560语音录放器件、麦克风、扬声器等元器件实现硬件电路的设计,并利用C51高级语言设计ISD2560器件控制字的写入和定时中断程序。经软硬件调试,结果表明该系统录放效果良好,具有一定的工程实用价值。 Abstract: Voice recording and playback system based on AT89C52is designed in this paper.Using the single-chip microcomputer,voice recording and playback chip ISD2560,microphone and speaker to realize the hardware circuit design.Writing ISD2560control words and timing interrupt procedures are designed by C51advanced language.Through the hardware and software test,voice recording and playback system play better voice,and this system has some engineering practical values.
上传时间: 2013-10-20
上传用户:ywcftc277
介绍了当前普通标记机控制系统现状及其存在缺点,给出气动标记机及相频修正PWM模式的工作原理。采用ATmega16单片机和USB转换RS232接口器件CH341T实现驱动控制系统与PC的实时通讯,标记控制系统可升级到USB接口。采用基于ATmega16的相频修正PWM替换555振荡电路产生的PWM,可直接通过软件调整PWM信号。使用达林顿三极管TIP122替代直流继电器驱动高频电磁阀,使得电磁阀驱动电路简单,成本低廉。该控制系统已成功应用于气动标记机。 Abstract: In this paper,the actuality and demerit of the common gas marking machine control systems are described.The operation principle of the gas marking machine and the phase and frequency correct PWM of ATmega16is introduced.The real-time communication between the driving control system and PC by CH341T which its function is translated USB to RS232is realized,the control systems is updated grade to USB interface.The PWM signal can be adjustable by software for the555surge circuit was substituted by the phase and frequency.The high frequency electromagnetic value’s driving circuit by DC relay is replaced by TIP122,therefore,the circuit is become simple and the cost cheap.The control systems has been widely used in gas marking machine.
上传时间: 2013-10-18
上传用户:1427796291
对于传统的跑步机无法联机组网,保存历史数据,实时调试等问题,介绍了一个由多台跑步机通过RS-232串行总线与上位机相连组成的跑步机联网系统。系统采用W77E58作为下位机核心控制器件,它具有双串行通讯端口,其中一个串口用于与变频器通讯,另一个串口则与上位机相连,构成跑步机网络。 Abstract: The traditional running machine can not be connected to a network, saving historical data, real time debug etc.In this paper,a new network system which is composed of running machines connected by a RS-232 communication bus is introduced.In the system,W77E58 is used as a core control unit.W77E58 has two serial ports,one is connected to the inverter and the other is connected to the PC. Thus a network appears.
上传时间: 2014-12-27
上传用户:哇哇哇哇哇
针对材料试验机等设备中要求测量或控制材料拉伸或压缩的位移,一般采用光电轴角编码器检测位置信号,输出正交编码脉冲信号。若采用其他方法检测位置信号,必然导致电路设计复杂,可靠性降低。因此,提出一种基于LS7266R1的电子式万能材料试验机设计方案。给出了试验机中的控制器工作原理,LS7266R1与单片机的接口硬件设计,以及主程序软件流程图。巧妙地把力量传感器,位移传感器等机械运动状态的压力或拉力以及位置坐标,变成了电压信号和电脉冲数字信号,供A/D测量和LS7266R1计数,从而实现了独立完成材料试验控制或通过PC机串口命令完成材料试验控制。 Abstract: Aiming at the requirement that the displacement of the tension and compression always be tested and controlled in the equipement such as material testing machine. The position signal was tested by photoelectric axial angle coder. Therefore, the paper proposes the design of electronic universal testing machine design based on LS7266R1. If the position signal detected by other methods, will inevitably lead to the circuit design complexity, reliability decreased. The work theory of the controller, the hardware interface design between LS7266R1 and single chip, and the flow chart of main program, are presented in this paper. The signal of the compression or tension power and displacement at working, which tested by power sensor and displacement sensor especially, is changed into electric voltage and electric pulse numerical signals. And these signals can be tested by A/D and counted by LS7266R1. Finally the test of the material properties can be controlled by itself, or controlled by the COM command of PC.
上传时间: 2013-11-02
上传用户:yl1140vista