beautypg.com

Analog channel inputs – Pololu Simple User Manual

Page 81

background image

ID Name

Type

Description

Units

4

RC1
Unlimited
Raw
Value

unsigned
16-bit

The positive pulse width of the signal on RC channel 1. This value is 0xFFFF
(65535) if no valid signal is detected.

0.25 µs

5

RC1 Raw
Value

unsigned
16-bit

The positive pulse width of the signal on RC channel 1. This value is 0xFFFF
(65535) if no valid signal is detected or if the signal is outside of the Error
Max/Error Min channel calibration settings.

0.25 µs

6

RC1
Scaled
Value

signed
16-bit

The scaled version of the RC1 raw value (based on RC channel 1 calibration
settings). This value is 0 if the raw value is 0xFFFF, else it ranges from -3200
to +3200.

internal

units

8

RC2
Unlimited
Raw
Value

unsigned
16-bit

See RC1 Unlimited Raw Value.

0.25 µs

9

RC2 Raw
Value

unsigned
16-bit

See RC1 Raw Value.

0.25 µs

10

RC2
Scaled
Value

signed
16-bit

See RC1 Scaled Value.

internal

units

Analog Channel Inputs

The raw and scaled voltages measured on the analog channel inputs are always available through serial variable
requests, which allows programs using the serial interface to factor the channel inputs into their motor control
algorithms. If the controller detects a disconnected potentiometer (this requires potentiometer disconnect detection to
be enabled under the Advanced Settings tab), the raw channel value is reported as 0xFFFF (65535) and the scaled
channel value is reported as 0. The Simple Motor Controller is always reading the analog input channels, even when
the Input Mode is not Analog.

Pololu Simple Motor Controller User's Guide

© 2001–2014 Pololu Corporation

6. Using the Serial Interface

Page 81 of 101