bujindianjiceshi
所属分类:单片机开发
开发工具:C#
文件大小:481KB
下载次数:64
上传日期:2014-11-04 11:20:04
上 传 者:
keaizaizaiai
说明: STM32奋斗板步进电机测试,演示的是通过C口的4个口线利用tim2定时器,固定周期产生4路的脉冲信号模拟步进电机的4相8拍控制组合。步进电机采用型号为5V 28BYJ-48的步进减速电机。步进角 5.625度/64驱动板采用ULN2003驱动板。
(STM32 struggle board stepper motor testing, demonstration by four port line C port utilization tim2 timer, fixed cycle 4 pulse signal generating analog 4-phase stepper motor control 8-beat combination. Stepper motor with model 5V 28BYJ-48 stepper gearmotors. 5.625 ° step angle/64 driver board with ULN2003 driver board.)
文件列表:
STM32奋斗板-步进电机测试 (0, 2014-05-27)
STM32奋斗板-步进电机测试\CM3 (0, 2014-05-27)
STM32奋斗板-步进电机测试\CM3\core_cm3.c (17273, 2010-06-07)
STM32奋斗板-步进电机测试\CM3\core_cm3.h (85714, 2011-02-09)
STM32奋斗板-步进电机测试\CM3\stm32f10x.h (634095, 2011-07-27)
STM32奋斗板-步进电机测试\CM3\system_stm32f10x.c (36557, 2011-03-10)
STM32奋斗板-步进电机测试\CM3\system_stm32f10x.h (2085, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib (0, 2014-05-27)
STM32奋斗板-步进电机测试\FWlib\inc (0, 2014-05-27)
STM32奋斗板-步进电机测试\FWlib\inc\misc.h (8982, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_adc.h (21690, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_bkp.h (7555, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_can.h (27559, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_cec.h (6573, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_conf.h (3213, 2009-04-06)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_crc.h (2162, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_dac.h (15233, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_dbgmcu.h (3818, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_dma.h (20754, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_exti.h (6824, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_flash.h (25445, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_fsmc.h (27016, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_gpio.h (20175, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_i2c.h (30029, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_iwdg.h (3828, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_pwr.h (4383, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_rcc.h (30452, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_rtc.h (3857, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_sdio.h (21863, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_spi.h (17725, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_tim.h (52427, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_usart.h (16548, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\inc\stm32f10x_wwdg.h (2966, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\SRC (0, 2014-05-27)
STM32奋斗板-步进电机测试\FWlib\SRC\misc.c (7046, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\SRC\stm32f10x_adc.c (47201, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\SRC\stm32f10x_bkp.c (8463, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\SRC\stm32f10x_can.c (45103, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\SRC\stm32f10x_cec.c (11656, 2011-03-10)
STM32奋斗板-步进电机测试\FWlib\SRC\stm32f10x_crc.c (3347, 2011-03-10)
... ...
/****************************************************************************
* Copyright (C), 2013 奋斗嵌入式工作室 www.ourstm.net
*
* 本例程在 奋斗版STM32开发板V5上调试通过
* QQ: 9191274, 旺旺:sun68, Email: sun68@163.com
* 淘宝店铺:ourstm.taobao.com
*
* 文件名: main.c
* 内容简述:
*
* 演示的是通过C口的4个口线利用tim2定时器,固定周期产生4路的脉冲信号模拟步进电机的
4相8拍控制组合。步进电机采用型号为5V 28BYJ-48的步进减速电机。步进角 5.625度/***
驱动板采用ULN2003驱动板。
基于MDK版本: 3.8
基于官方外设库版本: 3.5
连接表
V5 XS13 ULN2003驱动板
PC8(pin3) IN1
PC9(pin4) IN2
PC10(pin5) IN3
PC11(pin6) IN4
+5V(pin1) +(5-12V)
GND(pin2) -
4相8拍控制顺序
1 2 3 4 5 6 7 8
A - - + + + + + -
B + - - - + + + +
C + + + - - - + +
D + + + + + - - -
*
* 文件历史:
* 版本号 日期 作者 说明
* v0.1 2013-11-21 sun68 创建该文件
*
*/
近期下载者:
相关文件:
收藏者: