two years of vex

21
Two Years of VEX Mike Martin King HS, Riverside, CA February 22, 2013

Upload: kylee

Post on 05-Jan-2016

41 views

Category:

Documents


1 download

DESCRIPTION

Two Years of VEX. Mike Martin King HS, Riverside, CA February 22, 2013. Purpose. To share two years of ideas and findings with POE, CIM, and GTT teachers. To stimulate questions and discussion about VEX in the classroom. Battery Storage and Charging. The New Test Bed. The VEX Gear Box. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Two Years of VEX

Two Years of VEX

Mike MartinKing HS, Riverside, CA

February 22, 2013

Page 2: Two Years of VEX

Purpose

• To share two years of ideas and findings with POE, CIM, and GTT teachers.

• To stimulate questions and discussion about VEX in the classroom.

Page 3: Two Years of VEX

Battery Storage and Charging

Page 4: Two Years of VEX

The New Test Bed

Page 5: Two Years of VEX

The VEX Gear Box

Page 6: Two Years of VEX

The VEX Gear Box

Page 7: Two Years of VEX

The VEX Gear Box

Page 8: Two Years of VEX

Other Gear Boxes

Page 9: Two Years of VEX

Attaching LEDs to a VEX Structure

Page 10: Two Years of VEX

Attaching LEDs to a VEX Structure

Page 11: Two Years of VEX

Inventor Parts

Page 12: Two Years of VEX

Using FischerTech Parts with VEX

Page 13: Two Years of VEX

Cortex Capabilities

• The Cortex is extremely versatile. Any sensor that falls within specifications can be connected.

• Analog characteristics: – 3 dB bandwidth of 16 kHz. – Analog input range: 0.0 v to 5.0 v. – Tolerant of -0.5v to +5.5v. – Only configurable as analog inputs.

• Digital characteristics: – 3 dB bandwidth of 150 kHz. – Needs 0.0 to 0.6 volts for a low and 2.5 to 5.0 volts for a high. – Tolerant of -0.5v to +5.5v. – Can drive a 1 mA load to 1.6v or lower for a low and 1.4 volts or higher for a high.

Page 14: Two Years of VEX

Basic Analog Sensors

• Connect basic analog sensors to the Signal and +5V lines on the Cortex

• Configure them as a light sensor or potentiometer in ROBOTC

Page 15: Two Years of VEX

Basic Analog Sensors• The Potentiometer, Light

Sensor, and Line Follower sensor types all perform simple A-to-D conversions on sensors, so any of them can be used with simple 3rd party analog sensors

• Any sensors you configure will appear in the Sensor debug window, and can be accessed using the SensorValue[] command

Page 16: Two Years of VEX

Basic Analog Sensors• The Touch and Digital In

are basic sensor types and can be used with the basic digital sensors

• Any sensors you configure will appear in the Sensor debug window, and can be accessed using the SensorValue[] command

• If wired incorrectly, the sensor may have inverted logic values (pressed = 0)

Page 17: Two Years of VEX

Basic Digital Sensors

• Connect basic digital sensors to the Signal, +5V, and ground lines on the Cortex

• Configure them as a touch sensor or digital input in ROBOTC

Page 18: Two Years of VEX

Basic Digital Sensors

• Connect basic digital sensors to the Signal, +5V, and ground lines on the Cortex

• Configure them as a touch sensor or digital input in ROBOTC

Red - +5VGroundSignal

Page 19: Two Years of VEX

Advanced Sensors

• Advanced sensors (ultrasonic, gyroscopes, ect) require that you perform calculations on the raw sensor data to get useful information (centimeters, degrees-per-second, ect)

• These calculations are often referred to as “Sensor Drivers”

• Value-returning functions can be very useful in these instances

Page 20: Two Years of VEX

Other Findings and Ideas• Don’t do POE Activities 3.1.1 through 3.1.6 (or the CIM

equivalent)– Too much Copy and Paste– Doesn’t give programming practice– Activities written for older version of RobotC

• Instead, give the students ‘scenarios’ that they can use as programming practice– Prepare your own– Use the one I developed (on flash drive or email me with a

request)• There is a document on the flash drive which details

the EXACT order to set up a Cortex to communicate with a computer.

Page 21: Two Years of VEX

Questions?