Cortex VEXnet Скачать руководство пользователя страница 10

Cortex Microcontroller and VEXnet Joystick User Guide

Page 10 of 14

Is the

Game LED

flashing?

Do all

LEDs

flash Red in a

repeating

cycle?

Is 

Cortex 

VEXnet LED

on?

Is the

Robot LED

blinking?

Fast

or slow

blink?

Is the

VEXnet LED

green?

Does

the Cortex

turn on?

Start

Single

or double

blink?

Do all 

motors work

correctly?

Are you

having trouble

running your

competition

autonomous

code?

Is the

Robot LED on

the Cortex

consistently 

red?

  7.  General Robot Troubleshooting Flowchart

Check batteries and power connections. The battery connectors on 
the Cortex can become bent open over time. If necessary, bend the 
connectors back in to ensure a solid power connection.

Low or missing 9v backup battery. 
If in a competition setting, install a 
fully charged 9v backup battery before 
continuing

Programming error. Try switching to 
the Default Code which can be found 
within your programming software. If 
this fixes the issue, return to your user 
code and attempt to isolate the issue to 
a particular line of code. The best way 
to do this is to comment out various 
sections at a time and test after each 
change.

If the units are still not correctly linked, refer to the 

VEXnet Troubleshooting Flowchart in Section 8.

Robot battery is dead. 
Charge or replace batteries 
before continuing.

Fast

Single

Double

Slow

YES

YES

NO

NO

NO

NO

NO

NO

NO

NO

NO

YES

YES

YES

YES

YES

YES

YES

Update the VEXnet Firmware (Master CPU Firmware 
for ROBOTC users) on both the Cortex and the Joystick 
using the Firmware Upgrade Utility included with your 
programming software. If you do not have programming 
software this utility is available on the Downloads page 
at 

vexrobotics.com

.

The Cortex is currently running an Autonomous Only 
user code. If you want to use the VEXnet Joystick, 
download a VEXnet Enabled project such as the Default 
Code using the USB A-A Cable.

When programming a competition robot, it’s very 
important that you write your code in a competition 
template so that the Field Controller will be able to 
correctly enable/disable your robot. Note: during 
autonomous the VEXnet Joystick is disabled.

For any other issues, you can refer to the other guides or post a question on the 
VEX Forum (

vexforum.com

).  You can also contact VEX Technical Support by 

phone at +1-903-453-0802 or email 

[email protected]

. Please note: 

for programming questions contact the developer of your programming software.

Wait 20 second…

Refer to the Motor Troubleshooting Flowchart in Section 9.

Содержание VEXnet

Страница 1: ...to the Joystick thus mating the two units together 0114 b Start with the Cortex and Joystick turned OFF c Connect the Cortex to the Joystick using a USB A A Cable d Connect the 7 2V Robot Battery to the Cortex e Power up only the Cortex f A successful tether is indicated by a Solid Green VEXnet LED on both the Joystick and the Cortex See Figure Below The Solid Green VEXnet LED must remain ON both ...

Страница 2: ...six identical batteries as shown Use Alkaline Ni Cad or Ni MH type batteries but DO NOT mix different kinds of batteries Charge rechargeable batteries only with a quality charger designed for your battery type c Reinstall the battery cover insert the two tabs of the battery cover first along the back edge of the battery cover to aid in installation and then tighten the cover screw Then add the VEX...

Страница 3: ... 1710 Simply plug this cable into your Joystick s PROGRAM FACTORY port and you can operate your Joystick without the use of batteries Please note when using the Joystick Power Adapter it is not necessary to turn your Joystick ON Also the JOYSTICK POWER LED can be ignored e Turn on the Cortex and Joystick by setting the power switches to ON as shown in the two pictures below ...

Страница 4: ...ils on the Default Code refer to Section 4 Please note The default code for the Cortex Microcontroller varies from that of the PIC Microcontroller Please review and follow the tables in this document to ensure your robot behaves in the manner you wish a Add motors and test The following picture shows two VEX 3 Wire Motors plugged into Motor Port 2 and Motor Port 5 With the Default Code pushing Joy...

Страница 5: ...stick should have a VEXnet Key installed When using the Default Code you will need to install a jumper into Digital Port 11 in order to activate two Joystick operation d Limit Switch Inputs The Default Code allows jumpers or switches to be installed in the Analog Ports to limit certain motor directions These are useful for stopping a motor when an arm bottoms out A limit switch plugged in to Analo...

Страница 6: ... Motor response These motor directions will make a Protobot robot go forward when the joysticks are pushed up Note the Jumper variations for each section Please note The default code for the Cortex microcontroller varies from that of the PIC microcontroller Please review and follow the tables in this document to ensure your robot behaves in the manner you wish ...

Страница 7: ...EFT DRIVE Joystick Up Motor CW Robot Forward Speed Motor 2 LEFT DRIVE Joystick Up Motor CW Motor 3 LEFT DRIVE Joystick Up Motor CW Motor 4 RIGHT DRIVE Joystick Up Motor CCW Motor 5 RIGHT DRIVE Joystick Up Motor CCW Motor 10 RIGHT DRIVE Joystick Up Motor CCW Reverse Motor Direction Reverse Motor 1 Jumper in Digital 1 Reverse Motor 2 Jumper in Digital 2 Reverse Motor 3 Jumper in Digital 3 Reverse Mo...

Страница 8: ... Fast red 3 Fault Low Backup Battery 0v 8v Slow red Fault User Microprocessor Issue Note 1 Robot LED only work when Linked Note 2 Lowest CORTEX battery color latched at Joystick and CORTEX Note 3 No Backup Battery only indicated if competition cable is connected Joystick 5 Robot VEXnet Game Off No Competition connection Solid green Driver 4 Fast green Autonomous Fast yellow Disabled Note 4 Game LE...

Страница 9: ... will be discontinued and the VEXnet LED will briefly flash red The Joystick LED will continue to flash red and green during the calibration process f After movement is detected in all 4 directions the Joystick LED will be ON and solid green To save the calibration depress and release the 8U top button If the calibration is accepted and saved the Joystick LED will start flashing fast green for a f...

Страница 10: ...correctly linked refer to the VEXnet Troubleshooting Flowchart in Section 8 Robot battery is dead Charge or replace batteries before continuing Fast Single Double Slow YES YES NO NO NO NO NO NO NO NO NO YES YES YES YES YES YES YES Update the VEXnet Firmware Master CPU Firmware for ROBOTC users on both the Cortex and the Joystick using the Firmware Upgrade Utility included with your programming sof...

Страница 11: ...its may be out of range Consider moving key to a better location or consider moving the Cortex closer to the Joystick Poor signal strength Lost VEXnet link No VEXnet key detected Check key connection and replace key if necessary Powercycle unit when finished Units are correctly linked If the problem persists check user code or try using the Default Code which is available from within your programm...

Страница 12: ...ort by phone at 1 903 453 0802 or email support vexrobotics com This could be a programming issue Try switching to the Default Code to isolate the problem If a motor still looses necessary power it is likely that the motor s internal thermal breaker is tripping This is almost always attributed to the motor being stalled or placed under too high of a load First check your drivetrain or mechanism fo...

Страница 13: ... weak pull up When configured as an output digital lines drive 0 volts for a low and 3 3 volts for a high Circuit details are as follows a Digital input range is 0 to 5 volts b Digital drive is primarily limited by the 1k series resistor so it can output a 2v high into 2k ohms to ground or a 0 8v low into 7k ohms to 3 3v c Digital inputs also have a 1000 pF capacitor to ground on the processor sid...

Страница 14: ...is 1 to 2 milliseconds high time and a 17 millisecond period d Overcurrent protection Motor Port 1 through Motor Port 5 shares one 4 amp circuit breaker Motor Port 6 through Motor Port 10 shares a second 4 amp circuit breaker 15 UART Connections a Ground Power 5v RX data in TX data out Data rate byte width transmit stop bits parity etc are determined by the compiler b Default for LCD data 19 200 b...

Отзывы: