登录
首页 » C/C++ » 步进电机

步进电机

于 2020-06-16 发布 文件大小:2229KB
0 81
下载积分: 1 下载次数: 0

代码说明:

  编制MCS-51程序使步进电机按照规定的转速和方向进行旋转,并将已转动的步数显示在数码管上。   步进电机的转速分为两档,当按下S1开关时,加速旋转,速度从10转/分加速到60转/分。当松开开关时,减速旋转,速度恢复为10转/分。当按下S2开关时,按照逆时针旋转;当松开时,按照顺时针旋转。   本程序要求使用定时器中断来实现,不准使用程序延时的方式。(The MCS-51 program is programmed to rotate the stepper motor according to the specified speed and direction, and the number of steps that have been rotated is displayed on the digital tube. Stepper motor speed is divided into two gears. When the S1 switch is pressed, the speed is accelerated from 10 rpm to 60 rpm. When the switch is loosened, the speed will be reduced to 10 rpm. When pressing the S2 switch, rotate counterclockwise; when loosening, rotate clockwise. This procedure requires the use of timer interrupt to achieve, do not use the way of program delay.)

文件列表:

步进电机\CORE\core_cm3.c, 17273 , 2010-06-07
步进电机\CORE\core_cm3.h, 85714 , 2011-02-09
步进电机\CORE\startup_stm32f10x_hd.s, 15503 , 2011-03-10
步进电机\CORE\startup_stm32f10x_md.s, 12765 , 2011-03-10
步进电机\HARDWARE\LED\led.c, 1329 , 2017-10-27
步进电机\HARDWARE\LED\led.h, 670 , 2017-10-27
步进电机\HARDWARE\PWM\pwm.c, 5076 , 2017-10-27
步进电机\HARDWARE\PWM\pwm.h, 142 , 2017-10-27
步进电机\keilkilll.bat, 399 , 2011-04-23
步进电机\OBJ\core_cm3.crf, 3938 , 2017-12-04
步进电机\OBJ\core_cm3.d, 100 , 2017-12-04
步进电机\OBJ\core_cm3.o, 11172 , 2017-12-04
步进电机\OBJ\delay.crf, 351015 , 2017-12-04
步进电机\OBJ\delay.d, 1665 , 2017-12-04
步进电机\OBJ\delay.o, 383384 , 2017-12-04
步进电机\OBJ\led.crf, 350521 , 2017-12-04
步进电机\OBJ\led.d, 1597 , 2017-12-04
步进电机\OBJ\led.o, 382272 , 2017-12-04
步进电机\OBJ\main.crf, 350879 , 2017-12-04
步进电机\OBJ\main.d, 1692 , 2017-12-04
步进电机\OBJ\main.o, 383944 , 2017-12-04
步进电机\OBJ\misc.crf, 348896 , 2017-12-04
步进电机\OBJ\misc.d, 1609 , 2017-12-04
步进电机\OBJ\misc.o, 380756 , 2017-12-04
步进电机\OBJ\PWM.axf, 349956 , 2017-12-04
步进电机\OBJ\PWM.build_log.htm, 1737 , 2017-12-04
步进电机\OBJ\pwm.crf, 351876 , 2017-12-04
步进电机\OBJ\pwm.d, 1634 , 2017-12-04
步进电机\OBJ\PWM.hex, 28827 , 2017-12-04
步进电机\OBJ\PWM.htm, 74797 , 2017-12-04
步进电机\OBJ\PWM.lnp, 553 , 2017-12-04
步进电机\OBJ\pwm.o, 384924 , 2017-12-04
步进电机\OBJ\PWM.sct, 479 , 2017-12-04
步进电机\OBJ\PWM_sct.Bak, 479 , 2017-10-27
步进电机\OBJ\PWM_Target 1.dep, 27864 , 2017-12-04
步进电机\OBJ\startup_stm32f10x_hd.d, 63 , 2017-12-04
步进电机\OBJ\startup_stm32f10x_hd.o, 6812 , 2017-12-04
步进电机\OBJ\stm32f10x_gpio.crf, 352394 , 2017-12-04
步进电机\OBJ\stm32f10x_gpio.d, 1939 , 2017-12-04
步进电机\OBJ\stm32f10x_gpio.o, 387100 , 2017-12-04
步进电机\OBJ\stm32f10x_it.crf, 348297 , 2017-12-04
步进电机\OBJ\stm32f10x_it.d, 1803 , 2017-12-04
步进电机\OBJ\stm32f10x_it.o, 381104 , 2017-12-04
步进电机\OBJ\stm32f10x_rcc.crf, 355969 , 2017-12-04
步进电机\OBJ\stm32f10x_rcc.d, 1906 , 2017-12-04
步进电机\OBJ\stm32f10x_rcc.o, 391564 , 2017-12-04
步进电机\OBJ\stm32f10x_tim.crf, 370982 , 2017-12-04
步进电机\OBJ\stm32f10x_tim.d, 1906 , 2017-12-04
步进电机\OBJ\stm32f10x_tim.o, 415236 , 2017-12-04
步进电机\OBJ\stm32f10x_usart.crf, 354507 , 2017-12-04
步进电机\OBJ\stm32f10x_usart.d, 1972 , 2017-12-04
步进电机\OBJ\stm32f10x_usart.o, 391244 , 2017-12-04
步进电机\OBJ\sys.crf, 352366 , 2017-12-04
步进电机\OBJ\sys.d, 1558 , 2017-12-04
步进电机\OBJ\sys.o, 386916 , 2017-12-04
步进电机\OBJ\system_stm32f10x.crf, 350030 , 2017-12-04
步进电机\OBJ\system_stm32f10x.d, 1888 , 2017-12-04
步进电机\OBJ\system_stm32f10x.o, 381000 , 2017-12-04
步进电机\OBJ\usart.crf, 355628 , 2017-12-04
步进电机\OBJ\usart.d, 1722 , 2017-12-04
步进电机\OBJ\usart.o, 386812 , 2017-12-04
步进电机\README.TXT, 573 , 2015-08-06
步进电机\STM32F10x_FWLib\inc\misc.h, 8982 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_adc.h, 21690 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_bkp.h, 7555 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_can.h, 27559 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_cec.h, 6573 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_crc.h, 2162 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_dac.h, 15233 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h, 3818 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_dma.h, 20754 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_exti.h, 6824 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_flash.h, 25445 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_fsmc.h, 27016 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_gpio.h, 20175 , 2012-09-13
步进电机\STM32F10x_FWLib\inc\stm32f10x_i2c.h, 30029 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_iwdg.h, 3828 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_pwr.h, 4383 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_rcc.h, 30452 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_rtc.h, 3857 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_sdio.h, 21863 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_spi.h, 17725 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_tim.h, 52427 , 2011-03-10
步进电机\STM32F10x_FWLib\inc\stm32f10x_usart.h, 16548 , 2012-09-11
步进电机\STM32F10x_FWLib\inc\stm32f10x_wwdg.h, 2966 , 2011-03-10
步进电机\STM32F10x_FWLib\src\misc.c, 7046 , 2011-03-10
步进电机\STM32F10x_FWLib\src\stm32f10x_adc.c, 47201 , 2011-03-10
步进电机\STM32F10x_FWLib\src\stm32f10x_bkp.c, 8463 , 2011-03-10
步进电机\STM32F10x_FWLib\src\stm32f10x_can.c, 45103 , 2011-03-10
步进电机\STM32F10x_FWLib\src\stm32f10x_cec.c, 11656 , 2011-03-10
步进电机\STM32F10x_FWLib\src\stm32f10x_crc.c, 3347 , 2011-03-10
步进电机\STM32F10x_FWLib\src\stm32f10x_dac.c, 19087 , 2011-03-10
步进电机\STM32F10x_FWLib\src\stm32f10x_dbgmcu.c, 5149 , 2011-03-10
步进电机\STM32F10x_FWLib\src\stm32f10x_dma.c, 29607 , 2011-03-10
步进电机\STM32F10x_FWLib\src\stm32f10x_exti.c, 6959 , 2011-03-10
步进电机\STM32F10x_FWLib\src\stm32f10x_flash.c, 62551 , 2011-03-10
步进电机\STM32F10x_FWLib\src\stm32f10x_fsmc.c, 35484 , 2011-03-10
步进电机\STM32F10x_FWLib\src\stm32f10x_gpio.c, 23221 , 2011-03-11
步进电机\STM32F10x_FWLib\src\stm32f10x_i2c.c, 45781 , 2011-03-10
步进电机\STM32F10x_FWLib\src\stm32f10x_iwdg.c, 4916 , 2011-03-10

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104224会员总数
  • 54今日下载