Pololu TReX Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Hardware Pololu TReX. Pololu TReX User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 24
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
Pololu TReX 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.c. Jumper Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.d. LED Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.e. Automatic Calibration for Your RC/Analog Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4. RC/Analog in Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.a. Channel Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.b. Channel Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.c. General RC Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.d. General Analog Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.e. Safe-Start Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5. The Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.a. Serial Communication Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.b. Serial Command Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.c. Serial Command List and Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.d. Configuration Parameter List and Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.e. Cyclic Redundancy Check (CRC) Error Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.f. CRC-Generation Algorithm in C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5.g. Resetting the Serial Communication Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6. Updating the TReX's Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Pololu TReX User's Guide © 2001–2013 Pololu Corporation
http://www.pololu.com/docs/0J1/all Page 1 of 24
Zobrazit stránku 0
1 2 3 4 5 6 ... 23 24

Shrnutí obsahu

Strany 1 - Pololu TReX User's Guide

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

Strany 2 - 1. Overview

TReX LEDs• Power LED (1): The blue power LED is located on the top board. When it is brightly illuminated, the TReXis receiving power and is running.

Strany 3 - 2. Contacting Pololu

serially to an unpowered microcontroller. Ungrounding the SO pin will cause the TReX to startup asnormal; removing the mix jumper will put the TReX in

Strany 4 - 3. Getting Started

◦ While in Firmware-Upgrade Mode (see Section 6):▪ Red and green LEDs alternate around once per second: The TReX is waiting to see if it shouldenter f

Strany 5

Learning mode phase 1: learning neutralsWhile the red LED is on solid, the TReX is attempting to learn the neutral values of all five channels. Do NOT

Strany 6 - TReX joint-motor connection

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

Strany 7

4.b. Channel CalibrationAs was covered in Section 3.e, you can automatically calibrate your TReX for your RC or analog controller. If thisdoesn’t prov

Strany 8 - 3.c. Jumper Settings

Unlike with RC signals, the TReX has no way of telling if a channel is receiving a valid analog signal. A disconnectedchannel will still produce a res

Strany 9 - 3.d. LED Feedback

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

Strany 10 - TReX LEDs

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

Strany 11

5.c. Serial Command List and DocumentationThe TReX command documentation [http://www.pololu.com/file/download/TReX_Commands_v1.2.pdf?file_id=0J1] (100

Strany 12

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

Strany 13

Steps 3, 4, & 5:_______________________________________________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

Strany 14 - 4. RC/Analog in Detail

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

Strany 15 - 4.c. General RC Information

6. Updating the TReX's FirmwareCurrent Firmware VersionOur most recently released firmware update for the TReX motor controller is trexv1_2.trx [

Strany 16 - 4.e. Safe-Start Mode

This will bring up the Firmware Upgrade dialog, as shown below.Pololu TReX User's Guide © 2001–2013 Pololu Corporation6. Updating the TReX's

Strany 17 - 5. The Serial Interface

Select the COM port your TReX is connected to and enter the firmware update file’s path. Click the Program buttonto initiate the firmware update. If a

Strany 18

2. Contacting PololuYou can check the TReX motor controller page [http://www.pololu.com/catalog/product/777] for additional information.We would be de

Strany 19

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

Strany 20

TReX motor connections (single battery)The figure above demonstrates how to connect two bidirectional motors and a unidirectional auxiliary motor to y

Strany 21

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

Strany 22 - Current Firmware Version

motor is considered “motor 1”. The motor speed/direction indicator LEDs will not work in this mode, nor will currentsensing or channel mixing. Althoug

Strany 23

or SI line should connect to your target’s transmit line (the orange wire in the figure above). On a DB9 connector, pin2 is your computer’s receive li

Strany 24

Warning: The Vcc column is tied to the output of a linear voltage regulator, so its current output islimited by thermal dissipation. The regulator wil

Komentáře k této Příručce

Žádné komentáře