background image

 

 

 

Zikodrive Motor Controllers is a trading name of Round Bank Engineering Ltd  

Unit 4B, Top Land Business Park, Hebden Bridge, West Yorkshire, HX7 5RW

  

[email protected]

 

 

www.Zikodrive.com

 - +44 (0) 1422 

647177 

Programming Manual  

 

The UART Protocol  

 

 

The protocol used is non-standard and derived by the Zikodrive engineers to provide fast and 

efficient data transfer.   
  

The Data is transmitted and received in 10 packets of 8bit binary Bytes.  

  
  

Protocol Setup  

 

 

BAUD RATE   =  

19200  

START BITS   =  

One  

STOP BITS  

=  

One  

PARITY   

=  

None  

  

Recommended hardware 

 

TTL-232R-3V3  

Recommended Software  

Realterm serial/TCP Terminal that can be 

downloaded here

 from sourceforge  

There is ongoing development for Zikodrive own software ZDSoft to incorporate the ZDBL series 

of controllers soon.  

 

 

 

Summary of Contents for ZDBL50DCUART Series

Page 1: ...s is a trading name of Round Bank Engineering Ltd Unit 4B Top Land Business Park Hebden Bridge West Yorkshire HX7 5RW enquiries Zikodrive com www Zikodrive com 44 0 1422 647177 Zikodrive ZDBL50DCUART...

Page 2: ...tents Introduction 3 Overview 3 Specifications 3 Setting Up 4 Programming Manual 6 The UART Protocol 6 Protocol Setup 6 Recommended Software 6 The Zikodrive Protocol 7 CheckSum formula 7 Shortlist of...

Page 3: ...ations Up to 28Vdc Up to 50Adc Sensored BLDC trapezoidal Block commutation control Four Optically Isolated Inputs Two Power Outputs 24V up to 2A Modular design connects to many Break Out Boards that c...

Page 4: ...em wired up incorrectly as the motor will not turn may be possibility of damage to either the motor and or controller possibly even PSU due to high currents Power Wires 12 28Vdc must be applied to the...

Page 5: ...TX transmitting from the Master controller must be connected to the RX receiving pin on the ZDBL50DC controller The TX transmitting from the ZD SERIES UART must be connected to the RX receiving of the...

Page 6: ...rd and derived by the Zikodrive engineers to provide fast and efficient data transfer The Data is transmitted and received in 10 packets of 8bit binary Bytes Protocol Setup BAUD RATE 19200 START BITS...

Page 7: ...rocess the given command If the command was rejected all data will be disregarded with a NACK 0x15 and error code and a new command must be sent Example 1 Basic Command From Master 0x7A 0x64 0x01 0x02...

Page 8: ...SB Data 4 Speed LSB 0x00 0x00 0x00 0x00 0x00 0x01 Parameters Data 0 NA Data 1 Max Current Data 2 Reaction Data 3 Move Distance Speed MSB Data 4 Move Distance Speed LSB 0x00 0x0F 0x46 0x00 0x00 0x02 Mo...

Page 9: ...der and motor windings However if Byte 0 is equal to 0 the direction will be A and if Byte 0 is equal to 1 the direction will be B Data Bytes 1 2 are not required and will not be read The speed refers...

Page 10: ...5RW enquiries Zikodrive com www Zikodrive com 44 0 1422 647177 As 925 is half the max 1850 the motor will move in direction B at half the PWM duty cycle This varies depending on what motor is used If...

Page 11: ...a 3 Move Distance Speed MSB Data 4 Move Distance Speed LSB 0x00 0x0F 0x46 0x00 0x00 When the Max Current is measured in the motor phase windings the PWM supplied to the windings will be reduced to pre...

Page 12: ...n be changed by Zikodrive the output is scaled to count every 6 motor commutation point as a single unit of distance So for a 5 pole motor you will get 30 commutation points per revolution 5 3 hall se...

Page 13: ...sets the power bridge configuration into one of two different modes Normal running conditions will resume when the appropriate UART command is received Register Name Byte Data Default 0x04 Motor Mode...

Page 14: ...le Data 1 Commutation Points Data 2 Proportional Value Data 3 Integral Value Data 4 Derivative Value 0x01 0x0F 0x64 0x00 0x00 0x06 Revert to PWM Analogue Data 0 4 NA NA Internally the micro controller...

Reviews: