![Cytron SD02C User Manual Download Page 16](http://html1.mh-extra.com/html/cytron/sd02c/sd02c_user-manual_2706982016.webp)
ROBOT . HEAD to TOE
Product User’s Manual –
SD02C
a.
Sample schematic on above shows a PIC16F877A and CT-UNO interface to
SD02C. No restriction to what type or brand of microcontroller can be used, as
long as it has UART Peripheral.
b.
User needs to connect the RX and TX pin to microcontroller. These two pins should
be cross connected to microcontroller. In other words, RX on SD02C should be
connected to microcontroller’s transmitter pin (TX), while TX on SD02C should be
connected to microcontroller’s receiver pin (RX). For details connection, please refer
to sample schematic above.
c.
To begin, connect VM and GND to power supply at a voltage according to the
specification of the stepper motor used and make sure the voltage is within the
voltage range of SD02C VM. Please refer to section 3, Product Specification and
Limitations for details.
d.
Power up the microcontroller board and SD02C. Once the power is supplied to
SD02C, the SMD green LED should light ON
e.
The hardware interface for SD02C to microcontroller is ready! However, in order to
control stepper motor from microcontroller, user is required to write a program for the
microcontroller to send commands through its UART according to SD02C UART
protocol.
f.
User may refer to
dsPIC30F4013 sample program provided to control two SD02C (thus,
two stepper motors) through two hardware UART using Microchip MPLAB C30 C
Compiler Libraries.
Created by Cytron Technologies Sdn. Bhd. – All Rights Reserved