BEST Control System BEST Robotic, Inc. August 1, 20101 Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Slides:



Advertisements
Similar presentations
Teacher/Mentor Institute Using the Cortex Chuck Powell.
Advertisements

Who are we?  Naomi Fitzsimmons Parts replacement  Matt Lapolla Programming, Technical issues,
BEST Robotic, Inc. easyC Team Training
Teacher/Mentor Institute Using the Cortex Carolyn Bauer July 21-22, 2014.
Robot Design Workshop: VEX Hardware & Robot Building Basics Elliot Eid Minnesota BEST Robotics Copyright © 2010 BEST Robotics, Inc. All rights reserved.
Engineering Roles We will be forming groups of 3 students
Introduction To Frc electronics
Wiring the new control system MVRT 2010 – 2011 Season.
Clean Air Box Usage & Care CABs RAMs CO Monitors.
Teacher/Mentor Institute Hands-On Session: Building a Robot Scott McEwen & Kevin Barrett July 21-22, 2014.
Bread Boarding and Operating The IFI Robotic Control System.
Part 1: Introduction FRC Introduction  FRC 2907 since 2008  Each area of the robot has a team assigned  The Electronics team is headed this year.
Teacher/Mentor Institute Robot Kit Familiarization Carolyn Bauer July 21-22, 2014.
Teacher/Mentor Institute August 6-7, 2012 Robot Kit Familiarization Carolyn Bauer.
How to Construct a Robot Part 7: Wiring and Controller Installation Copyright © Texas Education Agency, All rights reserved. 1.
BAE SYSTEMS PROPRIETARY – Internal Use Only Unpublished Work Copyright 2014 BAE Systems. All rights reserved. BAE Systems C2C SWAT Project Tutorial 1,
Old control system ( ) MVRT. Main Circuit Breaker Connected to the red wire (power) of the battery When turned off, all power is cut off and robot.
(Smart Loop System) Installation Guide. Rev B Shipping Box Contains Everything that is included in the box being shipped to a customer should contain.
Technical Topics for Teams August BEST GAME RULES.
Vex 1.0 © 2005 Carnegie Mellon Robotics Academy Inc. Touch Sensor This lesson will explain how to hook a standard micro switch into the Vex system to function.
Copyright © 2012 BEST Robotics, Inc. All rights reserved.
1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics
RM2C Understanding Connections on the Robot Control Board (RCB).
Minnesota BEST Kits Elliot Eid Minnesota BEST Robotics Copyright © 2010 BEST Robotics, Inc. All rights reserved. 1.
VEX Robotics Platform and ROBOTC Software
Todd Rathier – Mentor Leominster High School Devil Dawgs Robotics
Mentors Workshop Control System Sub-System Mark McLeod Team 358 Festo/Hauppauge H.S. F For I Inspiration and R Recognition of S Science and T Technology.
Available at: – Operate the Tumbler using a Jumper Pin Operate the Tumbler using the jumper pin.
Weston Schreiber & Joshua Gabrielse Robotics Summer Training Programming #1: EasyC Basics.
Teacher/Mentor Institute Hands-On Session: Building a Robot Scott McEwen Chuck Powell.
Control System and Electrical Assembly Produced by Ed Latimer, Team 476 Ken York, Team 476 Ron Markum, Team
The New FTC Platform (Connecting your legacy hardware)
May 2, 2008 Copyright © 2008 BEST Robotics, Inc. All rights reserved. 1 BEST Robotics Advanced Instruction Node Basic BRAIN Training Using Your BRAIN (For.
VEX Parts – Batteries, Logic, and Controls
BEST Robotic, Inc. easyC Breakout Session By: Guy Chetrit Programming With easyC September 15, Copyright © 2012 BEST Robotics, Inc. All rights reserved.
Teacher/Mentor Institute Hands-On Session: Building a Robot Carolyn Bauer July 30-31, 2015.
Set Up for Live Streaming Video This presentation will walk you through the set up and delivery for streaming video of a live event over the internet.
BAE SYSTEMS PROPRIETARY – Internal Use Only Unpublished Work Copyright 2014 BAE Systems. All rights reserved. BAE Systems C2C SWAT Project - WF32 Shield.
Introduction to Vexnet
VEX ARM® Cortex®- based Microcontroller. The VEX ARM® Cortex®-based Microcontroller coordinates the flow of all information and power on the robot. All.
Minnesota BEST Kits Elliot Eid Minnesota BEST Robotics Copyright © 2010 BEST Robotics, Inc. All rights reserved. 1.
Copyright Carnegie Mellon Robotics Academy all rights reserved Vex 1.0 © 2005 Carnegie Mellon Robotics Academy Inc. Multimeters Testing for continuity.
Copyright © 2010 BEST Robotics, Inc. All rights reserved.
Electrical and Controls Workshop – The Basics Mike McIntyre & Rahamath Shaik September 26, 2015 (with props to Tom Barch!)
San Antonio BEST Return and Consumables Kits September 13, 2014 St Mary’s University Center
Mechanical Components and Programming Ken Youssefi Introduction to Engineering – E10 1.
2013 Prototype Game Weekend Hub Development All About BEST Kits Prepared by: David Kwast 27 April 2013.
FlowArm PLTW Motions © 2013 Project Lead The Way, Inc.Computer Integrated Manufacturing.
Connect VEX and ROBOTC Electrical Engineer Responsibilities © 2011 Project Lead The Way, Inc.Automation and Robotics VEX.
Project Overview  Introduction  Frame Build  Motion  Power  Control  Sensors  Advanced Sensors  Open design challenges  Project evaluation.
ROBOTC for CORTEX Teacher Training © 2011 Project Lead The Way, Inc. Automation and Robotics VEX.
Teacher/Mentor Institute Hands-On Session: Building a Robot Carolyn Bauer July 21-22, 2016.
After Construction Name: Per #:.
Introduction to Vexnet
BEST Robotic, Inc. MATLAB/Simulink Team Training
Vex Cortex Controller System and Programming
Using the VEX Cortex Processor
Using the VEX Cortex Processor
cyBorg 1.0 Project by Team ROBOTECH The Green PAFIANS
FlowArm PLTW Motions Computer Integrated Manufacturing
Introduction to Handshaking Communication with SSC-32U
MINDSENSORS PSP-Nx Controller for LEGO® MINDSTORMS®
Electrical Engineer Responsibilities
Teacher-Mentor Workshop
Copier Jam Detector Design Problem
VEXnet User's Guide.
1.11: Robot Controller.
1.15: Dual Joystick Control (Tank)
Introduction to Programing the Cortex for BEST
Presentation transcript:

BEST Control System BEST Robotic, Inc. August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Return Kit (2) Servos Controller Analog motors/ servos battery Digital i/o WiFi key USB/Tether Serial Joystick (2) Servo Extensions Servo Mount H/W Servo Horns Picture Not Available August 1, 2010 Copyright © 2010 BEST Robotics, Inc. All rights reserved. (2) (4) 3x2 pin array USB A-A cable (16) 2 AAA Battery Charger

(2) Return Kit (2) Motors Drive components 3 Copyright © 2010 BEST Robotics, Inc. All rights reserved. Motor controller (2) Screw terminal motor i/f cable (4) Screw terminal sensor i/f cable (8) 7.2V Battery 7.2V Battery charger Picture Not Available Battery adapter (2) August 1, 2010

Example Hookup Servo Motor Controller DC Motors Battery Motor Screw Terminal Cortex Controller August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

VEXnet Control System VEX Cortex microcontroller Dual ARM Cortex CPUs Programmable WiFi radio technology Off-the-shelf system New gaming style controller Additional digital (on/off) channels August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

VEXnet Cortex M3 Controller System Status Indicators WiFi Proprietrary Comm 8 Analog inputs 12 Digital inputs or outputs 10 Motor/Servo Ports (Built-In ESC on 2 ports) Standard Serial Interfaces (UART, I2C) Speaker Output August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

VEXnet Joystick 2 XY analog joysticks 8 buttons on top Plug-in USB/ WiFi Key 4 Button on front-side Programming Interface  “Playstation” game-style controller 3 Axis Accelerometer (XY Tilt, XYZ Accel, Shake) Power switch 6 AAA rechargeable batteries August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

System Features  Wireless communication using g  2 2-wire proportional motor control outputs  8 3-wire PWM servo/motor outputs  12 discrete digital inputs/outputs + 1 speaker  Wireless or direct USB port for program download  Onboard power switch  Built-in resettable fuse for overcurrent situations  Powered by a single 7.2 volt RC hobby battery  9-volt backup battery for WiFi August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

2009 Components Replaced (2) BRAINReceiver Box Transmitter Charger Battery (2) Motors Battery charger Tether CableUSB A-B Cable August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

VEX Cortex Connectors USB Analog in Digital in/out 2-wire motor Standard Serial Interfaces (UART, I2C) Speaker Out SP wire motor 3-wire PWM servo/motor ctrl Gnd (Blk) +5v (Red) Sig (Wht) Sig (Wht) +5v (Red) Gnd (Blk) August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

VEX Cortex Connectors backup battery port for WiFi communications (9V) 75MHz crystal interface ports (not used by BEST) On/Off switch main battery port (7.2V) configuration switch (used for special procedures) August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

VEX Cortex Pinouts Ground + 5V Signal/Control + Battery Power (for + control input) + Battery Power (for – control input) August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

DC Motors (1)  If using built-in motor controller(s)  connect via 2-wire screw terminal cables (red/black)  use motor ports 1 & 10 only  +V is nearest center of Cortex  -V is nearest edge of Cortex  If using external motor controller(s)  connect via 3-wire external motor controller + 2-wire screw terminal cable  use motor ports 2 thru 9 only August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

DC Motors (2)  For power reasons, spread your motors so that you have  no more than 2 motors plugged into ports 1-5 and  no more than 2 motors plugged into ports  You risk overcurrent and shutdown of the processor.  Servo/motor ports are divided into 2 banks  Bank1 = Ports 1-5  Bank2 = Ports 6-10  Each bank can support a maximum of 4Amps of current  BEST large motor stall current can reach 3.5 Amps.  Sheet metal shield around the large motors IS needed and should not be removed. August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

DC Motors (3)  Solder wires to motor terminals  Polarity is NOT marked on motors: positive(+), negative(-)  Wiring (and programming) will determine clockwise or counter clockwise rotation for positive stick movement  Mount motors with 8-32 machine screws Machine screws must be cut to proper length to avoid motor damage! max screw depth= ~1/8” (small motor) ~1/4” (large motor) August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

2-Wire Motor Connection Port 1 or Port 10 Built-In Motor Controllers Suggested Connection (inner wire = Red) Connector is not keyed. Allows swapping polarity. Screw terminals for attaching motor August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

3-Wire Motor Connection (1) External Motor Controller Standard 2-wire motor cable Standard 3-wire PWM connector Suggest using a 4” wire tie or heat shrink tubing here Screw terminals for attaching motor leads August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

3-Wire Motor Connection (2)  Connectors are not keyed  Connect red to red, black to black August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Servos  Futaba S3003 or S3004 series  Maximum 120 degree rotation (+60, -60)  Connection to Cortex controller  via 3-wire PWM + 2x3 pin header  use motor ports 2 thru 9 only  Servo horns may be modified 2x3 pin header servo horns (2) (1) August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Connecting a Servo (1)  Insert a 2x3 pin header  Occupies 2 ports  Converts VEX female port to male port  Because Futaba servos have female connectors August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Connecting a Servo (2) Servo connectors are keyed for proper insertion. (small tab shown) Servo Cables White= Data Red = +Batt Voltage Black = Gnd Second half of 2x3 pin header. August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Motor/Servo Connectors  Servo connectors placement  VEX motor controller adjacent to servo extension or Futaba servo connector; different keying; 1)will work but a tighter fit. 2)Recommend keeping VEX in higher numbered port; may lose 1 servo port due to this  Futaba servo & extension connectors ARE keyed BUT they will still fit in backwards. Pay attention to the keying and wire orientation (white wire to the inside). August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved. 12

Proper Servo Mounting (1)  Futaba 3003/3004 Servos  4 per Kit  Mounting Hardware for each  To eliminate damage to mounting holes  Servo Mounting Hardware  Rubber grommet (2)  Brass spacer (4)  Mounting screw (4) Note: There are 16 of each screw, spacer, grommet in the Return Kit. August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Proper Servo Mounting (2) 1. No h/w attached2. Attach rubber grommets 3. Insert brass spacers4. Secure servo with screws August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Digital Input Connections (1)  Use for limit switches, microswitches  Connect to Cortex digital inputs using 2-wire sensor screw terminal cables (white/black wires) sensor screw terminal cable Connect to switch Connect to Cortex digital input port August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Digital Input Connections (2)  must program digital port for proper direction (input)  open = reads as ‘1’ ; closed = reads as ‘0’ use digital ports 1 thru 12 sensor cable connector is keyed August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Re-Syncing (Pairing) VEXnet August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved. If VEXnet does not connect, you may need to re-sync the joystick/controller pair by simply connecting a USB cable and powering on both units.

Out of the Box Configuration  Allows a team to hook up the Cortex and have it work without having to program it.  Referred to as the “BEST default” program.  This is NOT the only configuration for the Cortex!  Good for initial checkout, but we want teams to load a unique configuration. August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

BEST Default Program Motor/Servo Port Joystick Channel Motor Limits Positive Direction Negative Direction Motor 1 (Arcade Right) Channel 1 (Lt, Rt) Channel 2 (Fwd/Rev) None Motor 2Channel 1Digital Input 1Digital Input 2 Motor 3Channel 2Digital Input 3Digital Input 4 Motor 4Channel 3Digital Input 5Digital Input 6 Motor 5Channel 4Digital Input 7Digital Input 8 Motor 6Channel 3None Motor 7Channel 3 InversedNone Motor 8Channel 4None Motor 9Channel 4 InversedNone Motor 10 (Arcade Left) Channel 1 (Lt, Rt) Channel 2 (Fwd/Rev) None August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

BEST Programming Options  Three different programming environments available  easyCv4  RobotC  Mathworks MATLAB/SIMULINK  easyC is a block programming environment (similar to software for Lego Mindstorms)  RobotC programs in C with a text editor, but it has runtime debugging (can step through program line by line and see what the results are)  SIMULINK is graphical programming/modeling environment with simulation capability (see what your program will do before you download it to the Cortex) August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Option 1: Direct USB Download. Option 1: Direct USB Download Downloading a Program Uses only the A-A USB cable. Battery is not needed August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Option 2: Tethered Download. Option 2: Tethered Download Downloading a Program Uses the programming cable with A-A USB tether. Allows advanced debugging. August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Option 3: Wireless Download. Option 3: Wireless Download Downloading a Program Uses the programming cable with WiFi USB Keys. Allows advanced debugging. Battery is needed August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Testing Tips  Ensure your robot is ‘safe’ to operate:  Can’t move or fall off table (use a jack-stand)  All team members clear of moving parts  Connect either WiFi keys or tether cable between the joystick and the Cortex controller.  Make sure Cortex switch is in OFF position.  Attach a charged battery.  Turn on joystick (if not using tether).  Turn Cortex switch to ON position.  For WiFi comm, link should establish in ~10 sec  Test robot operations with transmitter. August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

LED Status Lights August 1, 2010 Copyright © 2010 BEST Robotics, Inc. All rights reserved. 35 joystick battery status robot battery status comm. link status Game status (not used by BEST) Green battery – good charge Yellow battery - dying Red battery – dead Green VEXnet – comm. established Yellow VEXnet – searching Lights on the controller and the joystick are the same

Team Tips  Tin motor wires with solder before attaching to screw terminals since frayed stranded wires can cause a short.  Do NOT solder wires to Cortex connectors!  Sensor cables, servo wires, and servo extensions are all keyed in correct orientation; insert and remove carefully to avoid destroying connectors.  Tighten screws on motor and sensor connector cables so that wires are not loose and do not pull out.  Mount Cortex to robot using #8 screws through holes provided; be careful not to over tighten.  Avoid “hot insertion” of USB Keys.  You may operate tethered by removing the USB WiFi key and connecting a USB A-A cable between joystick and Cortex. August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Joystick Calibration  If the motors hum or creep (sticks not returning to zero), the joystick may need to be recalibrated  Calibration procedure (as extracted from the easyC help file) 1) The Joystick must be "Linked" to the Cortex Microcontroller using the VEXnet Keys. 2) Hold the "6U" Back Switch depressed. 3) While the "6U" Back Switch is depressed, use a small Allen Wrench (1/16" or smaller) or similar small straight tool to depress and hold the CONFIG Switch. 4) Hold both Switches depressed until you see the Joystick LED Flash RED and GREEN - you can now release both Switches. a.There is a 10 second time limit to complete the following steps 5 and 6. 5) Now move both Joystick Pots to the maximum position desired in all 4 directions - Up, Back, Left, and Right. a.If a movement is not detected in all 4 directions, a timeout will occur after about 10 seconds and the Cal Mode will be discontinued and the VEXnet LED will briefly Flash Red. b.The Joystick LED will continue to Flash RED and GREEN during the calibration process. 6) After movement is detected in all 4 directions, the Joystick LED will be ON and Solid GREEN. a.To "Save" the Calibration, depress and release the "8U" Top Switch Button. b.If the calibration is accepted and Saved, the Joystick LED will start Flashing Fast GREEN for a few seconds. c. If the Calibration is not Saved, a timeout will occur after about 10 seconds and the Cal Mode will be discontinued and the VEXnet LED will briefly Flash Red. d.To cancel a calibration, depress and release the "7U" Top Switch Button. The Cal Mode will be discontinued and the VEXnet LED will briefly Flash Red. e.If the Cal Mode is discontinued or saved, the Joystick LEDs will resume their normal function after the VEXnet LED briefly Flashes. August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Where to find help?  Online documentation (BRI Site)   BEST Public Message Board (for anyone)   Must register for login account  Share ideas, resolve issues, …  Official Q&A “Control System” Category   Use “Official Q&A” page during contest for “rules specific” questions  Is this legal? August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.

Where to find help? (2)  VEX Forum   Technical questions about VEX equipment  easyC and RobotC dedicated forums included here  Robotevents BEST Forum   Dedicated user forum for BEST Robotics  Must register for a login account August 1, Copyright © 2010 BEST Robotics, Inc. All rights reserved.