基于单片机的步进电机电路控制设计英文文献及翻译.docx

上传人:rrsccc 文档编号:8992563 上传时间:2021-01-28 格式:DOCX 页数:10 大小:41.54KB
返回 下载 相关 举报
基于单片机的步进电机电路控制设计英文文献及翻译.docx_第1页
第1页 / 共10页
基于单片机的步进电机电路控制设计英文文献及翻译.docx_第2页
第2页 / 共10页
基于单片机的步进电机电路控制设计英文文献及翻译.docx_第3页
第3页 / 共10页
基于单片机的步进电机电路控制设计英文文献及翻译.docx_第4页
第4页 / 共10页
基于单片机的步进电机电路控制设计英文文献及翻译.docx_第5页
第5页 / 共10页
点击查看更多>>
资源描述

《基于单片机的步进电机电路控制设计英文文献及翻译.docx》由会员分享,可在线阅读,更多相关《基于单片机的步进电机电路控制设计英文文献及翻译.docx(10页珍藏版)》请在三一文库上搜索。

1、基于单片机的步进电机电路控制设计英文文献及翻译12020 年 4 月 19 日文档仅供参考The Stepper motor control circuit be based on Singlechip microcomputerThe AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable anderasablereadonlymemory(PEROM).Thedeviceismanufacturedusing Atmel s high -den

2、sitynonvolatilememory technologyandiscompatiblewiththeindustry-standardMCS-51 instructionsetandpinout.Theon-chipFlash allowstheprogram memory tobe reprogrammedin-system or by a conventional nonvolatile memory programmer.Bycombiningaversatile8-bitCPU withFlashon amonolithicchip,theAtmelAT89C51isapowe

3、rfulmicrocomputer which provides a highly-flexible and cost-effective solution to many embedded control applications.Function characteristicThe AT89C51 provides the following standard features:4KbytesofFlash,128 bytesof RAM, 32I/Olines,two16-bit timer/counters, a five vector two-level interruptarchi

4、tecture,afullduplexserialport,on-chiposcillator and clock circuitry. In addition, the AT89C51is designed with static logic for operation down to zero22020 年 4 月 19 日文档仅供参考frequencyandsupportstwosoftwareselectablepowersaving modes. The Idle Mode stops the CPU while allowingthe RAM, timer/counters, se

5、rial port and interrupt systemtocontinuefunctioning.The Power-downMode savestheRAM contentsbutfreezestheoscillatordisablingallother chip functions until the next hardware reset.Pin DescriptionVCC:Supply voltage.GND:Ground.Port 0 :Port 0 is an 8-bit open-drain bi-directional I/O port. Asan output por

6、t, each pin can sink eight TTL inputs. When1s arewrittentoport0 pins,thepinscan be used ashighimpedance inputs.Port 0 may also be configured to bethe multiplexed loworder address/data bus during accessesto external program and data memory. In this mode P0 hasinternalpullups.Port0alsoreceivesthecodeb

7、ytesduringFlashprogramming,andoutputsthecodebytesduring programverification. External pullups are requiredduring programverification.Port 1Port1isan8-bitbi-directionalI/Oportwith32020 年 4 月 19日文档仅供参考internalpullups.ThePort1outputbufferscansink/source four TTL inputs.When 1s are written to Port 1pins

8、 they are pulled high by the internal pullups and canbeusedasinputs.Asinputs,Port1pinsthatareexternallybeingpulledlowwillsourcecurrent(IIL)because of the internal pullups.Port 1 also receives thelow-orderaddressbytesduringFlashprogrammingandverification.Port 2Port2isan8-bitbi-directionalI/Oportwithi

9、nternalpullups.ThePort2outputbufferscansink/source four TTL inputs.When 1s are written to Port 2pins they are pulled high by the internal pullups and canbeusedasinputs.Asinputs,Port2pinsthatareexternally being pulled low will source current, becauseoftheinternalpullups.Port2emitsthehigh-orderaddress

10、 byte during fetches from external program memoryand during accesses to external data memory that use 16-bitaddresses.Inthisapplication,itusesstronginternalpullupswhenemitting1s.Duringaccessestoexternaldata memory thatuse8-bitaddresses,Port 2emitsthecontentsoftheP2SpecialFunction42020 年 4月 19日文档仅供参考

11、Register.Port 2 also receives the high-order address bitsandsome controlsignalsduringFlashprogrammingandverification.Port 3Port3isan8-bitbi-directionalI/Oportwithinternalpullups.ThePort3outputbufferscansink/source four TTL inputs.When 1s are written to Port 3pins they are pulled high by the internal

12、 pullups and canbeusedasinputs.Asinputs,Port3pinsthatareexternallybeingpulledlowwillsourcecurrent(IIL)becauseofthe pullups.Port3 alsoservesthefunctionsofvariousspecialfeaturesof the AT89C51 as listedbelow:Port 3 also receives some control signals for Flash programming and verification.52020 年 4 月 19

13、 日文档仅供参考RSTResetinput.Ahighonthispinfortwomachinecycles while the oscillator is running resets the device.ALE/PROGAddressLatchEnableoutputpulseforlatchingthelowbyte oftheaddressduringaccessestoexternalmemory. Thispinisalso the program pulse input(PROG)duringFlashprogramming.InnormaloperationALEisemi

14、ttedataconstantrateof1/6theoscillatorfrequency,and maybeusedforexternaltimingorclockingpurposes.Note,however,thatoneALE pulseisskipped during each access to external Data Memory.If desired, ALE operation can be disabled by setting bit0 ofSFR location8EH.With thebitset,ALE is activeonlyduringaMOVX or MOVC instruction.Otherwise,thepinisweaklypulledhigh.SettingtheALE-disablebithasnoeffectifthemicrocontrollerisinexternalexecution mode.PSENProgram Store Enable program memory.When theis the read AT89C51 isstrobe executingtoexternalcodefrom62020 年 4 月 19日

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 社会民生


经营许可证编号:宁ICP备18001539号-1