User`s manual

ROBOT . HEAD to TOE
Product User’s Manual – SC08A
7. GETTING STARTED
7.1 Protocol of SC08A
Like SC16A, SC08A has two types of protocol but the protocols are different with SC16A.
The 1
st
protocol is important which is uses to send command to SC08A, further control a
particular servo to a position with a defined speed. 2
nd
protocol is for host to request the
current position of servo. The 2
nd
protocol is alternative to user, if position reporting is not
requirement, it can be ignored. If position reporting is required, please do remember to
connect the Tx pin of SC08A to Rx pin of host.
Activate Servo Channel Command
The initial status for servo motor is deactivate. Users need to send this command to SC08A to
activate selected channels or all channels before running the servo motor.
a) The command is being sent in packet format. Each packet consists of 2 bytes. Servo
motor channel is from 0-16. Select '0' to activate/deactivate all servo motor from
channel 1 to 8(if single SC08A used) or 1 to 16 (if double SC08A used).
i. 1
st
byte: Mode + Servo motor channel
0b 1 1 0 x x x x x
ii. 2
nd
byte: On/Off
0b 0 0 0 0 0 0 0 x
Created by Cytron Technologies Sdn. Bhd. – All Rights Reserved
22
Mode to activate
servo channel
Servo motor channel
1 = activate motor
0 = deactivate motor