User Guide

Lynxmotion SSC-32U Servo Controller Board
Electronics Guide
Analog Inputs
VA VB VC VD VE VF VG VH <cr>
Pins labelled A to H are analog input / output pins which can be used to read sensors, to drive
low power LEDs etc.
Example: "VA VB VC VD <cr>"
VA, VB, VC, and VD read the value on the input as analog. It returns a single byte with the 8-bit
(binary) value for the voltage on the pin.
When the ABCD inputs are used as analog inputs the internal pullup is disabled. The inputs are
digitally filtered to reduce the effect of noise. The filtered values will settle to their final values
within 8mS of a change. A return value of 0 represents 0vdc. A return value of 255 represents
+4.98vdc. To convert the return value to a voltage, multiply by 5/256. At power up the ABCD
inputs are configured for digital input with pullup. The first time a V* command is used, the pin
will be converted to analog without pullup. The result of this first read will not return valid data.
Read Analog Input Example: "VA VB <cr>"
This example will return 2 bytes with the analog values of A and B. For example is the voltage
on Pin A is 2vdc and Pin B is 3.5vdc, the return value will be the bytes 102 (binary) and 179
(binary).
Baud
The SSC-32U is shipped with a default Baud rate of 9600. It also supports setting Baud rate
using the onboard push button. To set the Baud rate:
1. Press and hold the button. At first the LEDs will glow to indicate the current Baud rate.
a. 9600 (green)
b. 38400 (red)
c. 115200 (both green and red)
d. Non-standard Baud rate (no LEDs)
2. After 2 seconds the LEDs will start to alternate, indicating you can change the Baud rate.
3. Release the button.
4. Press the button to cycle through baud rates outlined in step 1.
5. Once you have selected the Baud rate you want, do nothing; after 5 seconds the LEDs
will return to normal mode and the new baud rate will be written to EEPROM.
Register R4 now holds the Baud rate. In addition to this physical way of setting the Baud rate, it
can be written via the computer using the command below.
The Baud rate can be set to non-standard values if desired by writing to R4. In order to fit the
Baud rates into a 16-bit value, it stores the value divided by 10; so a rate of 9600 Baud would be
34