Pololu TReX Jr Manual de usuario

Busca en linea o descarga Manual de usuario para Hardware Pololu TReX Jr. Pololu TReX Jr User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 23
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
Pololu TReX Jr User's Guide
1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Contacting Pololu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3. Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.a. Motor and Power Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.b. Signal Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.c. Jumper Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.d. LED Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.e. Automatic Calibration for Your RC/Analog Controller . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4. RC/Analog in Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.a. Channel Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.b. Channel Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.c. General RC Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.d. General Analog Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.e. Safe-Start Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5. The Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.a. Serial Communication Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.b. Serial Command Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.c. Serial Command List and Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.d. Configuration Parameter List and Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.e. Cyclic Redundancy Check (CRC) Error Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.f. CRC-Generation Algorithm in C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.g. Resetting the Serial Communication Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6. Updating the TReX Jr’s Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Pololu TReX Jr User's Guide © 2001–2009 Pololu Corporation
Page 1 of 23
Vista de pagina 0
1 2 3 4 5 6 ... 22 23

Indice de contenidos

Pagina 1

Pololu TReX Jr User's Guide1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 2 - 1. Overview

for the mode selected by the “channel input source” parameter (this parameter’s default value is RCmode).▪ Red and green LEDs blink in unison around o

Pagina 3 - 2. Contacting Pololu

otherwise it continues to the next phase, which is learning the values of the extremes. Once this lastlearning phase is complete, the status LEDs will

Pagina 4 - 3. Getting Started

6. Place the mode jumper to select for either RC or analog (whichever type of controller you’re trying tocalibrate for).7. Restore power to your TReX

Pagina 5

4. RC/Analog in DetailThis section provides a detailed overview of the RC and analog modes of operation. It explains how the TReX Jrprocesses its chan

Pagina 6

The TReX Jr measures the width of RC servo pulses with 12-bit resolution and an accuracy of 1 us. The raw channelvalue is provided as a 12-bit number

Pagina 7

1. All required channels must have a valid signal. This only applies when the TReX Jr is in RC mode sinceit’s not possible to have an invalid analog s

Pagina 8 - TReX Jr jumpers

5. The Serial InterfaceYou can use the serial interface for four general purposes: querying the TReX Jr for information (any mode), settingits configu

Pagina 9

significant bits cleared (i.e. range from 0 – 127). This means that each data byte can only transmit seven bits ofinformation.One significant improvem

Pagina 10

5.c. Serial Command List and DocumentationThe TReX Jr command documentation [http://www.pololu.com/file/download/TReXJr_Commands_v1.0.pdf?file_id=0J12

Pagina 11

1 0 0 0 1 0 0 1 ) 1 0 0 0 0 1 1 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 0XOR 1 0 0 0 1 0 0 1 | | | | | | | | | | | | | | |--------------- | | | | | | | | | | |

Pagina 12

1. OverviewThe TReX Jr Dual-Motor Controller [http://www.pololu.com/catalog/product/767] is a versatile DC motor controllerdesigned to seamlessly blen

Pagina 13 - 4. RC/Analog in Detail

// generate a table value for all 256 possible byte valuesfor (i = 0; i < 256; i++){CRCTable[i] = (i & 0x80) ? i ^ CRCPoly : i;for (j = 1; j &l

Pagina 14

6. Updating the TReX Jr's FirmwareCurrent Firmware Versions• Our most recently released firmware update for the TReX Jr motor controller istrexjr

Pagina 15

Option 1: using the TReX Configurator programRun the TReX Configurator program [http://www.pololu.com/file/download/TReXConfiguratorInstaller_090923.z

Pagina 16 - 5. The Serial Interface

your current firmware and you will then see a progress bar showing you the status of the upload. If no errors occur,you will see a success message whe

Pagina 17

2. Contacting PololuYou can check the TReX Jr motor controller page [http://www.pololu.com/catalog/product/767] for additionalinformation. We would be

Pagina 18

3. Getting StartedTReX Jr input/output connection pointsGetting started with your TReX Jr can be as simple as connecting power, your motors, and your

Pagina 19

Note: The TReX Jr uses a linear voltage regulator to obtain its logic voltage (5-V Vcc). If you supply aVIN of 24 V, your Vcc line will be limited to

Pagina 20

TReX Jr motor connections (separate battery for the auxiliary motor)It is possible to power the auxiliary motor with a second, separate 0 – 24 V batte

Pagina 21

Warning: This middle Vcc column is tied to the output of a linear voltage regulator, so its current outputis limited by thermal dissipation. The regul

Pagina 22

TReX Jr before changing jumpers (other than the mix jumper, which can be changed at an time). This is not strictlynecessary, but it is the safest prac

Pagina 23

to upgrade its firmware. When placed across the SO and G pins, this jumper puts the TReX Jr into learning/firmware-upgrade mode via the “secret handsh

Comentarios a estos manuales

Sin comentarios