Example uart protocol for IRMCK099

Announcements

From sunburn to sun earn – we’ve got the power! Watch our #poweringgreen videos now.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User18018
Level 1
Level 1
First question asked Welcome!
Hi all!
I would like to share example uart protocol for IRMCK099
I tested and work 100%
Clear Fault FF 01 00 00 00 00 00 FF
Read Status FF 00 00 00 00 00 01 00
I want to Set speed 300 RPM , when Max speed = 4096 RPM
refer TargetSpeed register Scaling 16384 = Max speed ,
16384 = 4096 RPM

So value send to registor 300 RPM is
(16384/4096)*300 = 1200 = 0x04B0
Command Set Speed 300 RPM FF 03 00 00 04 B0 FC 4D

set speed 500 RPM
(16384/4096)*500 = 2000 = 0x07D0
Command Set Speed 500 RPM FF 03 00 00 07 D0 F9 2D

Stop motor FF 03 00 00 00 00 00 FD
3755.attach
0 Likes
1 Reply