Making Custom Cables

Making Custom Cables

CAN I MAKE MY OWN SENSOR 2 This lesson will explain how to hook a standard dial potentiometer into the Vex system to function as a custom analog sensor. Vex offers a limited selection of sensors that are optimized to work with the system. Dont let this limit your creativity. Off-the-shelf sensors and electrical components can be adapted to work with the Vex system. Adapting off-the-shelf components is different in every case; you should take all the necessary precautions and be sure to understand the electrical behavior and requirements of each device before attempting to use it.

Vex 1.0 2005 Carnegie Mellon Robotics Academy Inc. CAN I MAKE MY OWN SENSOR 2 Basic components Potentiometer 3-wire cable (12") Wire stripper Soldering Soldering pen Solder Vice Crimping Male Molex pins (3) Molex connector (1) Crimping tool Vex 1.0 2005 Carnegie Mellon Robotics Academy Inc.

CAN I MAKE MY OWN SENSOR 2 The potentiometer is a resistor with an adjustable resistance (via dial) The potentiometer has 3 terminals The two outside terminals define the maximum and minimum voltages that the potentiometer can read The voltage of the middle terminal will have a voltage that is determined by the position of the knob on top. Maximum Voltage Minimum

Voltage Voltage set by knob Vex 1.0 2005 Carnegie Mellon Robotics Academy Inc. CAN I MAKE MY OWN SENSOR 2 The variable voltage on the middle terminal can act as the sensor output for the potentiometer "dial sensor" A low voltage will register a high numeric reading in ROBOTC in the Vex micro controller A high voltage will register a low numeric reading in ROBOTC

+5V 0V Output voltage Vex 1.0 2005 Carnegie Mellon Robotics Academy Inc. CAN I MAKE MY OWN SENSOR 2 Set min voltage: Black wire to First terminal Set output voltage: White wire to Middle terminal Set max voltage: Red wire to

Third terminal Note: Picture is shown from rear so wire order appears reversed Vex 1.0 2005 Carnegie Mellon Robotics Academy Inc. CAN I MAKE MY OWN SENSOR 2 This end of the cable will be plugged into the Micro Controller Create a standard 3-pin Molex connector Wire order must be Black-RedWhite Vex 1.0 2005 Carnegie Mellon Robotics Academy Inc. CAN I MAKE MY OWN SENSOR 2 Plug the crimped connector into the

Micro Controller Analog/Digital port bank in an Analog Sensor Port Port 1 is set this way by default Black wire must go on the same side as black wire on regular Vex connectors Vex 1.0 2005 Carnegie Mellon Robotics Academy Inc. CAN I MAKE MY OWN SENSOR 2 RE-DOWNLOAD FIRMWARE (IF NECESSARY) You may have to re-download the RobotC firmware if you have ever downloaded any programs or other firmware to the microcontroller. (If nothing has been downloaded to the

microcontroller after downloading the ROBOTC firmware, you may skip this step.) Connect the programming module to both the PC and the microcontroller Make sure the microcontroller is turned on Open ROBOTC. Select Robot/Download Firmware Select VEX VM 0724.hex/Open (or later version of ROBOTC firmware). Vex 1.0 2005 Carnegie Mellon Robotics Academy Inc. CAN I MAKE MY OWN SENSOR 2 Click Robot/Debugger. A Devices window should appear. Under Sensors, next to in1/Raw Value, there

should be a number between 0-1023. Test the sensor. Observe the value for in 1 Turn the dial on the potentiometer and observe how the sensor value on in1 changes Vex 1.0 2005 Carnegie Mellon Robotics Academy Inc.

Recently Viewed Presentations

  • Gerakan Islam Transnasional dan Pengaruhnya di Indonesia

    Gerakan Islam Transnasional dan Pengaruhnya di Indonesia

    SALAFI DAKWAH DAN SALAFI SURURI Tokoh dan Pesantren Salafy Sururi di Indonesia: Yusuf Ustman Baisa, Lc (dulu di Ma'had Ali Al Irsyad Tengaran dan d'ai resmi al-Lajna al-Khairiyah a-Musytarakah), Syarif Fuad Hazza' (da'i dari Mesir dan kaki tangan Jum'iyyah Islamiyah...
  • CCS Outreach Presentation: Provider Relations Unit (PRU) Module

    CCS Outreach Presentation: Provider Relations Unit (PRU) Module

    , enter the NPI number of the rendering provider in the. Rendering Provider ID Number . field 24J. This is an example of the proper way to share a SAR on a CMS 1500 form. Note the Referring Physician's name...
  • Exercise, Fitness and Weight Loss Calories In vs

    Exercise, Fitness and Weight Loss Calories In vs

    Exercise . Most people think that exercise is the primary driver of weight loss (this is not an evidence based idea) Weight loss is driven by our diet/food (hormones) and exercise can compliment this
  • Any Light Particle Search - DESY

    Any Light Particle Search - DESY

    The ALPS Collaboration started its first Light-Shining-Through-a-Wallexperiment to search for photon oscillations into WISPs in 2007.Results were published in 2009 and 2010. The ALPS I experiment at DESY set the world-wide best laboratory limits for WISPs in 2010, improving previous...
  • Chapter 11: Intermolecular Forces and Liquids and Solids

    Chapter 11: Intermolecular Forces and Liquids and Solids

    A crystalline solid possesses rigid and long-range order. In a crystalline solid, atoms, molecules or ions occupy specific (predictable) positions. A . unit cell. is the basic repeating structural unit of a crystalline solid.
  • CLU3M Unit 2 Rights and Freedoms - Southcorner Barber

    CLU3M Unit 2 Rights and Freedoms - Southcorner Barber

    R. v. Oakes. Section 8 of the Narcotic Control Act could not be saved by sect 1. The Oakes Test was born: Does the law enforce an important government objective? Proportionality: is there a connection between limiting a person's rights...
  • To Your Credit PSAs - Debt Reduction Services

    To Your Credit PSAs - Debt Reduction Services

    Too often we hear individuals and couples complain that they can't get out of debt or make headway on their retirement because they're not "earning" enough. It's not how much you earn, it's how much you keep.
  • Chapter 20: What Jesus Taught - Midwest Theological Forum

    Chapter 20: What Jesus Taught - Midwest Theological Forum

    Christ's New Law commands love of enemies and unconditional forgiveness of those who offend, which is an imitation of God's love. God gives grace—even though no one deserves it—because he loves as a Father loves his children; people must go...