完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我正在尝试使用Arduino UNO R3来控制IHM03A1步进驱动程序。我找到了一个用于IHM01A1的Arduino库,它看起来像是一个较旧版本的步进驱动程序。我安装了库并上传了一个示例草图,它应该使用各种命令来移动电机。然而,当我给电路板加电时,我得到一个绿色电源LED,红色和琥珀色LED点亮,步进LED灯光非常昏暗。没有马达运动。我想知道是否有人可以提供帮助。它表示它与STM32 Nucleo主板兼容,并与Arduino UNO R3连接器兼容,但似乎没有官方软件适用于Arduino ...我得出结论ST不希望Arduino用户能够将ST库用于此设备,并希望我们购买Nucleo板吗?我希望有一种方法可以在适当的Arduino上使用Nucleo库。 谢谢, 詹姆士 Arduino图书馆信息: http://forum.arduino.cc/index.php?topic=295928.0 https://github.com/MotorDriver/L6474 步进驱动程序信息: http://www.st.com/content/st_com/en/products/ecosystems/stm32-open-development-environment/stm32-nucleo-expansion-boards/stm32-ode-move-actuate-hw/x-nucleo- ihm03a1.html #l6474#ihm03a1 #nucleo 以上来自于谷歌翻译 以下为原文 Hello, I'm trying to use an Arduino UNO R3 to control the IHM03A1 stepper driver. I found an Arduino library for the IHM01A1, which looks to me like an older version of the stepper driver. I installed the library and uploaded an example sketch, which should move the motor about using various commands. However, when I power up the board, I get a green power LED, and a red and an amber LED lighting up, and the step LEDs are very dimly lit up. There is no motor movement. I'm wondering whether anyone can help. It says it's compatible with STM32 Nucleo boards, and compatible with Arduino UNO R3 connector, but none of the official software seems to be for the Arduino... I'm coming to the conclusion ST doesn't want Arduino users to be able to use the ST library for this device, and want us to buy a Nucleo board instead? I hope there is a way to use the Nucleo library on a proper Arduino. Thanks, James Arduino library information: http://forum.arduino.cc/index.php?topic=295928.0 https://github.com/MotorDriver/L6474 Stepper driver information: http://www.st.com/content/st_com/en/products/ecosystems/stm32-open-development-environment/stm32-nucleo-expansion-boards/stm32-ode-move-actuate-hw/x-nucleo-ihm03a1.html #l6474 #ihm03a1 #nucleo |
|
相关推荐
1个回答
|
|
我处于类似的情况 - 不确定你是否找到了解决方案,因为此问题是在不久前发布的。
我真的很感激一些见解,因为我不确定是什么问题。我正在使用AVR 328p通过自定义简单程序与驱动程序连接,并且使用相同通信协议和指令集的L6470没有任何问题。 我需要驱动更大的步进器而不是L6470可以容纳,并且绝对喜欢这些板的功能,所以Powerstep01看起来很完美。但是我得到了和上面相同的问题; powerstep板(X-NUCLEO- IHM03A1)已通电并正确接线。绿色POWER OK和红色FAULT LED都保持亮起,我无法使任何运动命令工作(甚至没有硬停止)。 令人费解的是,我可以写作&读取寄存器,STP_MODE,KVALS,MAX_SPD等...而且我更震惊,因为电路板会让我写ACC寄存器并将其更改为任何值 - 尽管该寄存器只能在电机停止时写入(我的代码在更改ACC时发送一个0xB8命令),这让我相信电路板确实执行了HARD STOP cmd(因为它不会让我写ACC寄存器)。但是当我发送B8或B0 cmd(HardStop / SoftStop)时,它不会将电机保持在STOP模式。 Run和GoTo命令也被忽略。 我的驱动程序与L6470完全相同,在我的应用程序中完美运行。有什么东西我特别缺少PowerStep01或 IHM03A1板的处理方式与L6470不同? Stepper是一款5.6A Nema34步进电源,电源稳定48V / 1000W。 任何帮助将非常感激。 -一个 以上来自于谷歌翻译 以下为原文 I am in a similar situation - not sure if you find a solution as this question was posted a while ago. I would really appreciate some insight, as I'm not sure what is the problem. I'm using an AVR 328p to interface with the driver with a custom simple program, and have had no problems working with the L6470 which uses the same communication protocol and set of instructions. I need to driver larger steppers than the L6470 can accomodate, and absolutely love the features of those boards, so the Powerstep01 seemed perfect. However I get the same problem as above; the powerstep board (X-NUCLEO- IHM03A1) is powered and properly wired. Both the green POWER OK and red FAULT LEDs stay on, and I can't get any motion commands to work (not even Hard stop). What's puzzling is that I can write & read the registers, STP_MODE, KVALS, MAX_SPD, etc... And I'm even more stunned as the board will let me write the ACC register and change it to whichever values - although this register can only be written when the motor is stopped (my code sends a 0xB8 command when changing ACC), which leads me to believe that the board does indeed execute the HARD STOP cmd (since it wouldn't let me write the ACC register otherwise). But it won't hold the motor in STOP mode when I just send a B8 or B0 cmd (HardStop / SoftStop). Run and GoTo commands are also ignored. I have the driver wired exactly the same way as the L6470, which works perfectly in my application. Is there something I am missing particular to the PowerStep01 or IHM03A1 board that is dealt differently than on the L6470? Stepper is a 5.6A Nema34 stepper, and power supply is a steady 48V / 1000W. Any help would be much appreciated. -A |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2725 浏览 1 评论
3237 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1807 浏览 1 评论
3646 浏览 6 评论
6034 浏览 21 评论
1337浏览 4评论
197浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 19:57 , Processed in 1.202983 second(s), Total 77, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号