标题: STM32开源闭环步进电机源程序+PCB原理图全套资料分享 [打印本页]

作者: fu0564    时间: 2019-10-27 14:27
标题: STM32开源闭环步进电机源程序+PCB原理图全套资料分享
这个闭环电机是我转过来的,自己打板验证过稳定 电机版权归开发者,侵删, 上传的源码为开源版本


Altium Designer画的原理图和PCB图如下:(51hei附件中可下载工程文件)


单片机源程序如下:
  1. /* Define to prevent recursive inclusion -------------------------------------*/
  2. #ifndef __STM32F0xx_HAL_CONF_H
  3. #define __STM32F0xx_HAL_CONF_H

  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif

  7. #include "main.h"
  8. /* Exported types ------------------------------------------------------------*/
  9. /* Exported constants --------------------------------------------------------*/

  10. /* ########################## Module Selection ############################## */
  11. /**
  12.   * @brief This is the list of modules to be used in the HAL driver
  13.   */
  14. #define HAL_MODULE_ENABLED  
  15. /*#define HAL_ADC_MODULE_ENABLED   */
  16. /*#define HAL_CRYP_MODULE_ENABLED   */
  17. /*#define HAL_CAN_MODULE_ENABLED   */
  18. /*#define HAL_CEC_MODULE_ENABLED   */
  19. /*#define HAL_COMP_MODULE_ENABLED   */
  20. /*#define HAL_CRC_MODULE_ENABLED   */
  21. /*#define HAL_CRYP_MODULE_ENABLED   */
  22. /*#define HAL_TSC_MODULE_ENABLED   */
  23. /*#define HAL_DAC_MODULE_ENABLED   */
  24. /*#define HAL_I2S_MODULE_ENABLED   */
  25. /*#define HAL_IWDG_MODULE_ENABLED   */
  26. /*#define HAL_LCD_MODULE_ENABLED   */
  27. /*#define HAL_LPTIM_MODULE_ENABLED   */
  28. /*#define HAL_RNG_MODULE_ENABLED   */
  29. /*#define HAL_RTC_MODULE_ENABLED   */
  30. /*#define HAL_SPI_MODULE_ENABLED   */
  31. /*#define HAL_TIM_MODULE_ENABLED   */
  32. /*#define HAL_UART_MODULE_ENABLED   */
  33. /*#define HAL_USART_MODULE_ENABLED   */
  34. /*#define HAL_IRDA_MODULE_ENABLED   */
  35. /*#define HAL_SMARTCARD_MODULE_ENABLED   */
  36. /*#define HAL_SMBUS_MODULE_ENABLED   */
  37. /*#define HAL_WWDG_MODULE_ENABLED   */
  38. /*#define HAL_PCD_MODULE_ENABLED   */
  39. #define HAL_CORTEX_MODULE_ENABLED
  40. #define HAL_DMA_MODULE_ENABLED
  41. #define HAL_FLASH_MODULE_ENABLED
  42. #define HAL_GPIO_MODULE_ENABLED
  43. #define HAL_PWR_MODULE_ENABLED
  44. #define HAL_RCC_MODULE_ENABLED
  45. #define HAL_I2C_MODULE_ENABLED

  46. /* ########################## HSE/HSI Values adaptation ##################### */
  47. /**
  48.   * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
  49.   *        This value is used by the RCC HAL module to compute the system frequency
  50.   *        (when HSE is used as system clock source, directly or through the PLL).  
  51.   */
  52. #if !defined  (HSE_VALUE)
  53.   #define HSE_VALUE    ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */
  54. #endif /* HSE_VALUE */

  55. /**
  56.   * @brief In the following line adjust the External High Speed oscillator (HSE) Startup
  57.   *        Timeout value
  58.   */
  59. #if !defined  (HSE_STARTUP_TIMEOUT)
  60.   #define HSE_STARTUP_TIMEOUT    ((uint32_t)100)   /*!< Time out for HSE start up, in ms */
  61. #endif /* HSE_STARTUP_TIMEOUT */

  62. /**
  63.   * @brief Internal High Speed oscillator (HSI) value.
  64.   *        This value is used by the RCC HAL module to compute the system frequency
  65.   *        (when HSI is used as system clock source, directly or through the PLL).
  66.   */
  67. #if !defined  (HSI_VALUE)
  68.   #define HSI_VALUE    ((uint32_t)8000000) /*!< Value of the Internal oscillator in Hz*/
  69. #endif /* HSI_VALUE */

  70. /**
  71.   * @brief In the following line adjust the Internal High Speed oscillator (HSI) Startup
  72.   *        Timeout value
  73.   */
  74. #if !defined  (HSI_STARTUP_TIMEOUT)
  75. #define HSI_STARTUP_TIMEOUT   ((uint32_t)5000) /*!< Time out for HSI start up */
  76. #endif /* HSI_STARTUP_TIMEOUT */  

  77. /**
  78.   * @brief Internal High Speed oscillator for ADC (HSI14) value.
  79.   */
  80. #if !defined  (HSI14_VALUE)
  81. #define HSI14_VALUE ((uint32_t)14000000) /*!< Value of the Internal High Speed oscillator for ADC in Hz.
  82.                                              The real value may vary depending on the variations
  83.                                              in voltage and temperature.  */
  84. #endif /* HSI14_VALUE */

  85. /**
  86.   * @brief Internal High Speed oscillator for USB (HSI48) value.
  87.   */
  88. #if !defined  (HSI48_VALUE)
  89. #define HSI48_VALUE ((uint32_t)48000000) /*!< Value of the Internal High Speed oscillator for USB in Hz.
  90.                                              The real value may vary depending on the variations
  91.                                              in voltage and temperature.  */
  92. #endif /* HSI48_VALUE */

  93. /**
  94.   * @brief Internal Low Speed oscillator (LSI) value.
  95.   */
  96. #if !defined  (LSI_VALUE)
  97. #define LSI_VALUE  ((uint32_t)40000)   
  98. #endif /* LSI_VALUE */                      /*!< Value of the Internal Low Speed oscillator in Hz
  99.                                              The real value may vary depending on the variations
  100.                                              in voltage and temperature.  */
  101. /**
  102.   * @brief External Low Speed oscillator (LSI) value.
  103.   */
  104. #if !defined  (LSE_VALUE)
  105. #define LSE_VALUE  ((uint32_t)32768)    /*!< Value of the External Low Speed oscillator in Hz */
  106. #endif /* LSE_VALUE */     

  107. #if !defined  (LSE_STARTUP_TIMEOUT)
  108.   #define LSE_STARTUP_TIMEOUT    ((uint32_t)5000)   /*!< Time out for LSE start up, in ms */
  109. #endif /* LSE_STARTUP_TIMEOUT */

  110. /* Tip: To avoid modifying this file each time you need to use different HSE,
  111.    ===  you can define the HSE value in your toolchain compiler preprocessor. */

  112. /* ########################### System Configuration ######################### */
  113. /**
  114.   * @brief This is the HAL system configuration section
  115.   */     
  116. #define  VDD_VALUE                    ((uint32_t)3300) /*!< Value of VDD in mv */           
  117. #define  TICK_INT_PRIORITY            ((uint32_t)0)    /*!< tick interrupt priority (lowest by default)  */            
  118.                                                                               /*  Warning: Must be set to higher priority for HAL_Delay()  */
  119.                                                                               /*  and HAL_GetTick() usage under interrupt context          */
  120. #define  USE_RTOS                     0     
  121. #define  PREFETCH_ENABLE              1              
  122. #define  INSTRUCTION_CACHE_ENABLE     0
  123. #define  DATA_CACHE_ENABLE            0
  124. /* ########################## Assert Selection ############################## */
  125. /**
  126.   * @brief Uncomment the line below to expanse the "assert_param" macro in the
  127.   *        HAL drivers code
  128.   */
  129. /* #define USE_FULL_ASSERT   1U */

  130. /* ################## SPI peripheral configuration ########################## */

  131. /* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver
  132. * Activated: CRC code is present inside driver
  133. * Deactivated: CRC code cleaned from driver
  134. */

  135. #define USE_SPI_CRC                     0U

  136. /* Includes ------------------------------------------------------------------*/
  137. /**
  138.   * @brief Include module's header file
  139.   */

  140. #ifdef HAL_RCC_MODULE_ENABLED
  141. #include "stm32f0xx_hal_rcc.h"
  142. #endif /* HAL_RCC_MODULE_ENABLED */

  143. #ifdef HAL_GPIO_MODULE_ENABLED
  144. #include "stm32f0xx_hal_gpio.h"
  145. #endif /* HAL_GPIO_MODULE_ENABLED */

  146. #ifdef HAL_DMA_MODULE_ENABLED
  147.   #include "stm32f0xx_hal_dma.h"
  148. #endif /* HAL_DMA_MODULE_ENABLED */

  149. #ifdef HAL_CORTEX_MODULE_ENABLED
  150. #include "stm32f0xx_hal_cortex.h"
  151. #endif /* HAL_CORTEX_MODULE_ENABLED */

  152. #ifdef HAL_ADC_MODULE_ENABLED
  153. #include "stm32f0xx_hal_adc.h"
  154. #endif /* HAL_ADC_MODULE_ENABLED */

  155. #ifdef HAL_CAN_MODULE_ENABLED
  156. #include "stm32f0xx_hal_can.h"
  157. #endif /* HAL_CAN_MODULE_ENABLED */

  158. #ifdef HAL_CEC_MODULE_ENABLED
  159. #include "stm32f0xx_hal_cec.h"
  160. #endif /* HAL_CEC_MODULE_ENABLED */

  161. #ifdef HAL_COMP_MODULE_ENABLED
  162. #include "stm32f0xx_hal_comp.h"
  163. #endif /* HAL_COMP_MODULE_ENABLED */

  164. #ifdef HAL_CRC_MODULE_ENABLED
  165. #include "stm32f0xx_hal_crc.h"
  166. #endif /* HAL_CRC_MODULE_ENABLED */

  167. #ifdef HAL_DAC_MODULE_ENABLED
  168. #include "stm32f0xx_hal_dac.h"
  169. #endif /* HAL_DAC_MODULE_ENABLED */

  170. #ifdef HAL_FLASH_MODULE_ENABLED
  171. #include "stm32f0xx_hal_flash.h"
  172. #endif /* HAL_FLASH_MODULE_ENABLED */

  173. #ifdef HAL_I2C_MODULE_ENABLED
  174. #include "stm32f0xx_hal_i2c.h"
  175. #endif /* HAL_I2C_MODULE_ENABLED */

  176. #ifdef HAL_I2S_MODULE_ENABLED
  177. #include "stm32f0xx_hal_i2s.h"
  178. #endif /* HAL_I2S_MODULE_ENABLED */

  179. #ifdef HAL_IRDA_MODULE_ENABLED
  180. #include "stm32f0xx_hal_irda.h"
  181. #endif /* HAL_IRDA_MODULE_ENABLED */

  182. #ifdef HAL_IWDG_MODULE_ENABLED
  183. #include "stm32f0xx_hal_iwdg.h"
  184. #endif /* HAL_IWDG_MODULE_ENABLED */

  185. #ifdef HAL_PCD_MODULE_ENABLED
  186. #include "stm32f0xx_hal_pcd.h"
  187. #endif /* HAL_PCD_MODULE_ENABLED */

  188. #ifdef HAL_PWR_MODULE_ENABLED
  189. #include "stm32f0xx_hal_pwr.h"
  190. #endif /* HAL_PWR_MODULE_ENABLED */

  191. #ifdef HAL_RTC_MODULE_ENABLED
  192. #include "stm32f0xx_hal_rtc.h"
  193. #endif /* HAL_RTC_MODULE_ENABLED */

  194. #ifdef HAL_SMARTCARD_MODULE_ENABLED
  195. #include "stm32f0xx_hal_smartcard.h"
  196. #endif /* HAL_SMARTCARD_MODULE_ENABLED */

  197. #ifdef HAL_SMBUS_MODULE_ENABLED
  198. #include "stm32f0xx_hal_smbus.h"
  199. #endif /* HAL_SMBUS_MODULE_ENABLED */

  200. #ifdef HAL_SPI_MODULE_ENABLED
  201. #include "stm32f0xx_hal_spi.h"
  202. #endif /* HAL_SPI_MODULE_ENABLED */

  203. #ifdef HAL_TIM_MODULE_ENABLED
  204. #include "stm32f0xx_hal_tim.h"
  205. #endif /* HAL_TIM_MODULE_ENABLED */

  206. #ifdef HAL_TSC_MODULE_ENABLED
  207. #include "stm32f0xx_hal_tsc.h"
  208. #endif /* HAL_TSC_MODULE_ENABLED */

  209. #ifdef HAL_UART_MODULE_ENABLED
  210. #include "stm32f0xx_hal_uart.h"
  211. #endif /* HAL_UART_MODULE_ENABLED */

  212. #ifdef HAL_USART_MODULE_ENABLED
  213. #include "stm32f0xx_hal_usart.h"
  214. #endif /* HAL_USART_MODULE_ENABLED */

  215. #ifdef HAL_WWDG_MODULE_ENABLED
  216. #include "stm32f0xx_hal_wwdg.h"
  217. #endif /* HAL_WWDG_MODULE_ENABLED */

  218. /* Exported macro ------------------------------------------------------------*/
  219. #ifdef  USE_FULL_ASSERT
  220. /**
  221.   * @brief  The assert_param macro is used for function's parameters check.
  222.   * @param  expr: If expr is false, it calls assert_failed function
  223.   *         which reports the name of the source file and the source
  224.   *         line number of the call that failed.
  225.   *         If expr is true, it returns no value.
  226.   * @retval None
  227.   */
  228.   #define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
  229. /* Exported functions ------------------------------------------------------- */
  230.   void assert_failed(uint8_t* file, uint32_t line);
  231. #else
  232.   #define assert_param(expr) ((void)0U)
  233. #endif /* USE_FULL_ASSERT */   
  234.    
  235. #ifdef __cplusplus
  236. }
  237. #endif

  238. #endif /* __STM32F0xx_HAL_CONF_H */
复制代码

20190917电机软硬件更新:软件跟前版基本一样只更改了几个参数以提高稳定性,增加了中文注释以方便学习理解;硬件加了防反接二极管,型号SL54,将原来的排针座子改为更美观高度更低的XH2.54座子,另外将串口和烧录口合二为一,方便用STLINKV2.1直接进行烧录和串口通信。   
    20190831软硬件更新:硬件电路板将光耦输入侧覆铜挖空防止干扰,传感器改为底层焊接,电路板设计为需要用尼龙垫圈跟电机隔开2mm左右以防止干扰;软件方面所有浮点数变量都改为定点变量,重新改写了程序以适应定点变量,单片机计算量大为降低,CPU仍然有3/5左右空闲时间可以用来进行其他功能的二次开发。位置环更新频率由5KHZ提高到10KHZ,控制性能加强,42最高转速提到1200RPM左右,57提到1000RPM左右。优化了定时器处理STEP/DIR信号的部分程序,即使是几百K乃至上M的高速脉冲都可以轻松处理而不丢脉冲。重载了stdio.h头文件里的fputc()和fgetc()两个函数,程序现在可以利用printf()和scanf()等标准输入输出函数编写RS232和RS485协议,另外加了一个简单的ASCII协议作为参考。
      20190810最新更新:硬件电路板换了新的LDO型号RS3005,彻底解决了稳压芯片过热停机的问题。另外输入信号CLK由原来的外部中断脚位改为定时器TIM1的外部计数输入脚,电路板改为同时支持STM32F103和STM32F030两种单片机。软件上对原来CLK信号的处理由外部中断改为定时器计数,这样就不需要耗费大量的处理器资源。原先用中断来处理CLK信号导致耗费大量的处理时间,也会导致程序对电机的测速不正确,32细分的情况下电机转速只要跑到1000RPM就可能使程序崩溃,想要使用128/256这样的高细分几乎不可能。

     这套一体化闭环步进电机是店主自己全新研发的,不是拿人家外国开源的项目直接山寨抄袭来骗小白的, 购买电机附带全套软硬件,包括源代码程序、42步进和57步进的原理图和PCB,可以买回去自己打板复制,也可以二次开发,店主会不定期更新软硬件并修复BUG,可以提供代码级技术支持。数量有限,都是平时抽空手工焊接做出来的,购买前请先咨询店主是否有货。
    电机软硬件性能大幅提高,硬件成本仅国外MECHADUINO及其山寨产品的1/2不到,最大驱动电流可达3.5A,是国外版的2倍,最大转速提高2.5倍(42电机1000RPM,57电机800RPM),振动及噪声减小2/3。按照工业级标准设计,加入高速隔离光耦、软件看门狗,可靠性大幅优化。自带开环闭环模式随意切换,细分选择、编码器校正全部拨码开关一键完成,无需连接上位机二次编程!

更多细节和视频可以参考帖子:
https://www.bilibili.com/video/av53223504?from=search&seid=10269700708564966156
闭环步进参数:
主控芯片:意法半导体STM32F030C8T6
驱动芯片:两颗A4950(最大电流3.5A)
编码器芯片:英飞凌15位汽车工业级TLE5012B
高速光耦:东芝双通道TLP2168
工作电压:12-30V(推荐24V)
工作电流:额定1.3A(42步进)2.5A(57步进)最大3.5A
控制精度:小于0.08度
电子齿轮:4、8、16、32(可任意设置)

清单:包含一块电机驱动板+电机+专用径向磁铁
          +安装垫片,全部组装好测好到手能用!

11.jpg (136.81 KB, 下载次数: 242)

11.jpg

10.jpg (169.72 KB, 下载次数: 269)

10.jpg

9.jpg (187.37 KB, 下载次数: 252)

9.jpg

8.jpg (182.66 KB, 下载次数: 313)

8.jpg

7.jpg (183.76 KB, 下载次数: 258)

7.jpg

6.jpg (189.47 KB, 下载次数: 251)

6.jpg

5.jpg (218.12 KB, 下载次数: 269)

5.jpg

4.jpg (172.64 KB, 下载次数: 259)

4.jpg

3.jpg (254.95 KB, 下载次数: 274)

3.jpg

13.jpg (136.69 KB, 下载次数: 272)

13.jpg

如何设置电机控制电流.png (135.92 KB, 下载次数: 331)

电流设置

电流设置

2.jpg (184.43 KB, 下载次数: 250)

2.jpg

STM32_FLASH的3种烧写方式.pdf

606.22 KB, 下载次数: 655, 下载积分: 黑币 -5

烧录

PID经典教程.pdf

343.56 KB, 下载次数: 723, 下载积分: 黑币 -5

pid调整

42步进电路图,57步进电路PCB文件图.7z

14.08 MB, 下载次数: 885, 下载积分: 黑币 -5

原理图pcb

4257通用固件.7z

2.7 MB, 下载次数: 1106, 下载积分: 黑币 -5

源码


作者: yyyhhhsss    时间: 2019-10-29 14:55
感谢分享。
作者: CARY橙    时间: 2019-10-29 18:08
厉害厉害,学习了
作者: lvlv99    时间: 2019-10-29 20:12
谢楼主搬过来!
作者: yyyhhhsss    时间: 2019-11-1 14:19
好像现在有更新的版本了,你有了吗
作者: heyexiaolu    时间: 2019-11-6 12:27
正在学习stm32,谢谢
作者: luoxun    时间: 2019-11-6 15:08
楼主厉害了,谢谢
作者: a894304337    时间: 2019-11-10 14:43
楼主厉害了,谢谢
作者: djzoom    时间: 2019-11-10 15:52
正在学习STM32,楼主威武
作者: cn_x    时间: 2019-11-11 12:55
正在学习STM32 步进控制部分,楼主威武
作者: zhaoshimax    时间: 2019-11-17 00:36
已经加楼主的群了
作者: 阿瓦塞翻译    时间: 2019-11-29 14:11

厉害厉害,学习了
作者: ar_fa    时间: 2019-12-4 17:42
能将资料集合一起吗?
作者: hahajun1986    时间: 2019-12-7 15:45
想打板试一下效果
作者: shenghuowukaka    时间: 2019-12-7 22:37
给力,牛逼
作者: sunnyqingfeng    时间: 2019-12-9 16:46
楼主辛苦了,感谢分享!!!
作者: odahou    时间: 2019-12-10 12:05
感谢分享
作者: cxl88688    时间: 2019-12-11 11:42
厉害厉害, 感谢分享。
作者: 光华街    时间: 2019-12-16 21:39
yyyhhhsss 发表于 2019-11-1 14:19
好像现在有更新的版本了,你有了吗

你有么?
作者: 正在缓冲    时间: 2019-12-17 09:20
板子好看。。。最近也在学AD
作者: max211400    时间: 2019-12-20 22:14
不错,感谢分享!
作者: goodluckliwu    时间: 2020-1-1 13:29
给力!
作者: vvyywy    时间: 2020-1-2 11:27
有作者的那个宝店吗
作者: ccczx    时间: 2020-1-2 16:13
真好要开发步进电机驱动,谢谢楼主
作者: M先生    时间: 2020-1-31 07:27
感谢楼主,多谢分享
作者: 180    时间: 2020-2-1 19:29
用什么软件打开?keil?

作者: jackshi618    时间: 2020-2-2 11:24
好东西,收藏
作者: jtpeng01    时间: 2020-2-3 14:33
到哪里去买?楼主给个地址
作者: qjp1988113    时间: 2020-2-3 22:39
谢谢楼主分享~
作者: azxiaxp    时间: 2020-2-7 17:46
这个非常实用!!楼主的资料很好!
作者: lg186ls    时间: 2020-2-8 23:09

楼主的资料很好!赞赞赞
作者: stefen    时间: 2020-2-9 13:15
很好,有用的
作者: calvinxxw    时间: 2020-2-21 14:45
谢谢分享!!!
作者: shenchaobiao    时间: 2020-2-21 21:43
要是打包了就好了,要太多币了,下不起
作者: mg888888vt    时间: 2020-2-25 11:11

感谢分享。
作者: 碧海涛声    时间: 2020-2-25 13:30
有网店吗?
作者: jackshi618    时间: 2020-2-25 22:31
没有积分啊,下载不全啊
作者: smartphone    时间: 2020-2-27 21:32
这个看着很好,下载来看看。
作者: Nimaby    时间: 2020-3-1 11:05
楼主厉害了,谢谢
作者: piyima    时间: 2020-3-1 13:03
正在学习stm32,谢谢
作者: flycat    时间: 2020-3-1 21:33
谢楼主搬过来!
作者: smartphone    时间: 2020-3-6 16:04
不知道这个作者还在更新没有
作者: YUGYUG    时间: 2020-3-6 18:40
正在学习stm32,谢谢
作者: xieyajun888    时间: 2020-3-6 20:38
非常棒的分享
作者: 一只小龙猫    时间: 2020-3-8 17:23
很给力
作者: 王天星    时间: 2020-3-17 10:51
厉害厉害,打样回来试试
作者: tuohang2012    时间: 2020-3-17 14:48
楼主确实下大力气了,很给力
作者: 黑旋风1    时间: 2020-3-19 20:59
看样子很不错
作者: maijinzhi    时间: 2020-3-22 23:02
感谢楼主,多谢分享
作者: libinhithd    时间: 2020-3-23 08:53
感谢楼主,多谢分享
作者: 王天星    时间: 2020-3-28 09:57
好东西,大哥有没有带注释的程序版本?
作者: fafa88520    时间: 2020-4-2 00:32
很好,谢谢楼主
作者: bao321    时间: 2020-4-2 07:58
楼主厉害了,谢谢
作者: zhaooptimus    时间: 2020-4-2 11:24
看起来很不错,打板试试
作者: 王天星    时间: 2020-4-3 10:53
版本怎么不是最新版的呢
作者: share366    时间: 2020-4-7 19:21
太给力了,谢谢
作者: share366    时间: 2020-4-7 19:22
正好学习,谢谢
作者: hominidclint    时间: 2020-4-9 20:52
非常好的学习资料,感谢分享,
作者: kokorou    时间: 2020-4-16 00:04
感谢楼主的搬运
作者: 游戏而已    时间: 2020-4-20 17:32
感谢分享。
作者: smartphone    时间: 2020-4-20 21:23
有人做成功没?想请教个问题。
作者: 51hei_user    时间: 2020-4-20 21:44
学习闭环控制
作者: zzs俊逸洒脱    时间: 2020-4-24 17:49
你好,我想问一下电流的大小是靠谁限制的,电路板吗?我有一个加长42,电流可以在2A左右!
作者: wulingqing    时间: 2020-4-24 20:30
感谢分享,学习stm32
作者: mhchw    时间: 2020-4-25 09:18
好东东
作者: marshallemon    时间: 2020-4-27 13:16
学习了,感谢
作者: 一只小龙猫    时间: 2020-5-1 09:22
楼主可以回复下吗,我开机都正常  但是电机不转动,是不是哪里调试出错了
作者: kokorou    时间: 2020-5-4 08:14
我也是这样,只能校准,不转动
作者: see443    时间: 2020-5-4 23:48
楼主,刷了你的固件,自检可以,就是不能转,手转电机灯就亮,然后抽搐,主板能控制使能,是什么回事,麻烦回复一下
作者: STM32F429    时间: 2020-5-5 08:07
好厉害,感谢分享,学习一下
作者: kokorou    时间: 2020-5-5 10:41
see443 发表于 2020-5-4 23:48
楼主,刷了你的固件,自检可以,就是不能转,手转电机灯就亮,然后抽搐,主板能控制使能,是什么回事,麻烦 ...

我是校准过后再上电led灯就长亮了
作者: lionmon    时间: 2020-5-9 15:24
不错,正在搞,学习了
作者: djzoom    时间: 2020-5-11 10:29
楼主好人,工程,代码都有了,已经调试成功
作者: 灰灰熊猫    时间: 2020-5-11 13:50
感谢分享  赞赞赞
作者: kokorou    时间: 2020-5-12 08:21
djzoom 发表于 2020-5-11 10:29
楼主好人,工程,代码都有了,已经调试成功

能正常使用吗
作者: cylon    时间: 2020-5-31 11:21
下来研究研究!
作者: 鹏博士PBs    时间: 2020-5-31 19:36
PCB的绘制板图不错
作者: swustlx86    时间: 2020-6-1 02:03
好资料,51黑有你更精彩!!!
作者: qep345    时间: 2020-6-2 18:10
好东西!
作者: 爆炎集合体    时间: 2020-6-2 22:44
厉害厉害
作者: wdjz    时间: 2020-6-3 16:51
辛苦楼主了 谢谢分享

作者: airkillerah64    时间: 2020-6-7 02:37
请问源程序在哪?

作者: MikeCai    时间: 2020-6-9 08:52
感恩楼主分享,学习
作者: k_xg9    时间: 2020-6-9 14:29
谢谢分享              
作者: dalek    时间: 2020-6-12 14:02
给力~
作者: wwexdw    时间: 2020-6-15 22:41
谢谢分享
作者: cqhuchangyong    时间: 2020-6-16 09:40
感谢分享
作者: chunglin    时间: 2020-6-17 15:42
还在更新,那个宝上有看到
作者: andykim    时间: 2020-6-18 00:26
不错,谢谢分享
作者: hzd530    时间: 2020-6-18 08:24
资料是好,正在学步进电机的控制,就是要太多币了,只能下一部分了
作者: fengnan50    时间: 2020-6-26 13:46
参考~~~~~
作者: wjb444    时间: 2020-6-27 08:16
谢谢开源,好资料
作者: Thinker2014    时间: 2020-7-14 12:52
有物料表吗? 楼主能分享一下吗?谢谢
作者: hanningjisi    时间: 2020-7-14 22:25
正好是现在需要的,谢谢分享,下载来学习学习
作者: laochang1221    时间: 2020-8-1 21:11
厉害了,正准备做3D打印机,看能不能做一个
作者: laochang1221    时间: 2020-8-1 21:40
正好要做个3D打印机,谢谢楼主的分享

作者: fishbedx    时间: 2020-8-11 23:07
不错,正好在组3D打印机,想玩玩看闭环步进电机
作者: tanker_zheng    时间: 2020-8-13 10:54
感谢楼主无私分享,学习了,非常棒!
作者: wlq19911021a    时间: 2020-9-26 11:14
好啊,楼主好人呀,支持楼主
作者: wlq19911021a    时间: 2020-9-26 11:32
楼主好人呀,值得表扬,不错,不错




欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1