找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[M2A23] Control the Dashboard Pointer

[复制链接]
跳转到指定楼层
楼主
admin 发表于 昨天 13:26 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Application
This example code uses the M2A23 series microcontroller (MCU) to control the pointer of the agricultural machinery dashboard.
BSP Version
M2A23_Series_BSP_CMSIS_V3.00.001
Hardware
NuMaker-M2A23SG V0.1

This example code is based on the M2A23 platform and implements precise control of a dedicated two-phase, four-wire stepper motor. It is suitable for pointer drive applications on agricultural machinery dashboards and various other instruments. The system primarily includes two core functions:

Automatic Zeroing Calibration at Startup: When the system starts, the motor first locates the mechanical zero point to establish a physical reference. It then calibrates to the dashboard zero point, ensuring accurate pointer indication.

Periodic Reciprocating Motion: After initialization, the system controls the pointer to perform periodic reciprocating swings between the "zero point" and the "set target position" to verify the driving performance.

You can download the sample code at EC_M2A23_DashBoard_Control_V1.00.zip.


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU