Checking the Quadrature Encoders

Similar documents
Downloading a Sample Program over USB

Using the VEX Cortex with ROBOTC

CONTENTS. What is ROBOTC? Section I: The Basics

Testing Robots Using the VEXnet Upgrade

ROBOTC Software Inspection Guide with Additional Help Documentation

Additional Guides. TETRIX Getting Started Guide NXT Brick Guide

Modern Robotics, Inc Core Device Discovery Utility. Modern Robotics Inc, 2015

Capacitive Touch Lab. Renesas Capacitive Touch Lab R8C/36T-A Family

Configuration Software User Instruction

Replacing the USB DIO Decoder

Lab 3 Microcontroller programming Interfacing to Sensors and Actuators with irobot

Win 7 - STIMA CLS / CMP Driver Installation Quick Guide

The Sensor Readings Gadget for Window 7. Version

Best Robotics Sample Program Quick Start

Firmware & Software update procedures Amicroe TouchTAB IV.

Table of Contents. Use. Troubleshooting. Setup. Welcome. 11 How to arm/disarm system/camera(s) 19 Sync Module setup issues. 3 Installing the Blink app

Multi-Touch Control Wheel Software Development Kit User s Guide

Programming the VEX Robot

SE05: Getting Started with Cognex DataMan Bar Code Readers - Hands On Lab Werner Solution Expo April 8 & 9

COBRA. Audio Box Detailed User Guide

PN L, Revision B, October Epic 950 TM. Master Programmer User s Guide

Colorfly Tablet Upgrade Guide

After: bmotorreflected[port2]= 1; //Flip port2 s direction

PL-2305 USB-to-Printer Cable Windows 8 Installation Guide

The Swivl Solution. Uses. Swivl User Guide. Swivl is more than just video capture, it is a 3-part solution.

TETRIX Add-On Extensions. Encoder Programming Guide (ROBOTC )

SMS Alarm Messenger. Setup Software Guide. SMSPro_Setup. Revision [Version 2.2]

NOQ_NQ-9121 Z-Wave Data Logger for Gas Meters Firmware Version : 2.55

What s in the Box? Welcome. The GymAware Kit. Congratulations on your purchase of a GymAware PowerTool POWERTOOL CHARGER.

Manual. Sealer Monitor Software. Version

a. If necessary update the Beamage-3.0 s firmware, using the BeamageUpdater (refer to p.7);

INSTRUCTION MANUAL All-In-One GSM Home Alarm System SB-SP7200-GSM

1 INTRODUCTION. This document describes the procedure to upgrade LTMR.

EasyC. Programming Tips

DAS202Tools v1.0.0 for DAS202 Operating Manual

EPSON Stylus. Start Here

DAKTON µ BOX MANUAL µbox User Manual 1

Testo FlashUpdate. Instument Software Update and Download Instructions How to Download Instrument Software and Updates from the Internet

USB CASH DRAWER INTERFACE. Introduction

ANDROID RECOVERY STICK QUICK START GUIDE

USER GUIDE. Publication AP7080. Allen & Heath 1 XONE:1D User Guide

System update procedure for Kurio 7 (For build number above 110)

By: John W. Raffensperger, Jr. Revision: 0.1 Date: March 14, 2008

Line Tracking Basic Lesson

An Introduction to MPLAB Integrated Development Environment

The Basics of Robot Mazes Teacher Notes

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD Six-servo Robot Arm

Lizard Standalone Mode Guide Version 1.0:

USER S MANUAL. AXIS Mobile Monitor

1 managing your photos

Data Entry Foot Switch Operation Manual

Symbol MT2070 Scanner

Dr Robot C# Advance Sputnik Demo Program

5. Tutorial. Starting FlashCut CNC

MASTER GUIDE (MAC) Gaming on the go is now possible.

MTX-D, Oil Temperature/Pressure Gauge

Using USB Flash Drives

This guide will show you how to configure a Windows Mobile 6 PDA for Bluetooth connection to the KBM Systems OBDKey Bluetooth device.

USB Driver Installation for Windows XP

Temperature & Humidity SMS Alert Controller

PRODUCTIVITY THROUGH INNOVATION 600 CONTROL DIRECT DRIVE TECHNICAL/OPERATION MANUAL

Starting Guide - Poseidon 3265 First steps for remote monitoring with Poseidon & GSM

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

How to Install and Set up a Jabra Go 6400 and Pro9400 Series Headset with an Avaya 96x1 Series IP Phone

Solving printing problems

How To Program An Nxt Mindstorms On A Computer Or Tablet Computer

Download/Firmware upgrade instructions

Multi-Touch Control Wheel Software Development Kit User s Guide

Procedure for updating Firmware of EZ4 W or ICC50 W

ModS. SIO. USB analog. computer

REC FIM LOCKPICK INSTALLATION OPTIONS

Retrofit Instructions Installing a Sport Heated Steering Wheel - Leather, Multifunction BMW X5, E53,

Getting Started Guide

PDA Software Manual For the Windows CE and Mobile Operating Systems

product. Please read this instruction before setup your VenomXTM.

How to connect your Victron to a computer with VE Bus Quick Configure

VDF Query User Manual

Royal Mail Despatch Manager Online Printer Installation Guide

mybullard Personal Control Panel User Guide

Manual Instruction for. AU06-DL13W/RGB/30K MiLight Wifi LED Controller

The following pages will help you to solve issues linked to the installation and first use of the Wintech Manager software and Wintech USB computer.

D-Moticam BTW8 Microscope Tablet / Camera Use and Care Manual

CurveMaker v2.1 DYNAFS programmable ignition software

Device Diagram Compatible with: Charging your wristband

Jianjian Song LogicWorks 4 Tutorials (5/15/03) Page 1 of 14

Servo Info and Centering

Ultra Dashcam. with Smartphone app control INSTRUCTION MANUAL

QUICK START GUIDE. SG2 Client - Programming Software SG2 Series Programmable Logic Relay

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

Smart Safety and Motion Analyser Tool

INF-USB2 and SI-USB Quick Start Guide

INSTRUCTION MANUAL MONITOR REDUCE SAVE ENERGY MANAGEMENT SOFTWARE ENERGY MANAGEMENT SOFTWARE

NeoTV 350 HD Media Player (NTV350) Installation Guide

Using Cisco UC320W with Windows Small Business Server

MTX-D, Boost/Shift Gauge

Installing S500 Power Monitor Software and LabVIEW Run-time Engine

FG MOISTURE MONITOR Installation & Operation Manual

How do I configure the wireless printer using a USB or Ethernet cable and install the printer driver in Windows?

Advanced LED Controller (LED Chaser)

Experiment 5: Magnetic Fields of a Bar Magnet and of the Earth

Transcription:

Use this guide to ensure that your Quadrature Encoders are functioning properly before you install them on a robot. Materials Needed 2 Quadrature Encoders 1 VEX Micro Controller and Battery 1 VEX Programming Module ROBOTC for IFI v. 1.4 or higher installed 1 Axle 1 2.75 Green Wheel Electrical Tape 1. Plug the USB end of the Programming Module into your computer. Plug the other end of the cable into the SERIAL port of your VEX Micro Controller. NOTE: Before your VEX Micro Controller can correctly read data from the Quadrature Encoders, it s firmware must be updated to the one included with ROBOTC for IFI v. 1.4 or higher. Instructions on updating your robot s firmware can be found in the Setup > Firmware section of Teaching ROBOTC for IFI VEX Robots and online at: http://www. robotc.net/content/vex_quick/vex_quick.html.

2. Connect the Quadrature Encoders to the Vex Micro Controller. 2a. Situate the Encoders Face the Encoders so that the VEX label is right-side-up and the two wires are coming out of the left side. Top Wire Bottom Wire 2b. Connect Encoder 1 Plug the top wire into ANALOG/DIGITAL Port 3. Plug the bottom wire into INTERRUPTS Port 3. 2c. Connect Encoder 2 Plug the top wire into ANALOG/DIGITAL Port 4. Plug the bottom wire into INTERRUPTS Port 4. 3. Slide the axle through the wheel and then through the center of the first Quadrature Encoder. (We will test only one Encoder first. Then we will compare the two.) 3a. Mark the Wheel Attach a small piece of tape to the wheel to act as a position marker. This setup allows you to simulate the wheel-to-encoder relationship.

4. In ROBOTC for IFI, open the sample program Quad - Encoder Test.c from the Quadrature Encoders Sample Programs folder. 4a. Open Sample Program Go to File > Open Sample Program, open the Quadrature Encoders folder and select Quad - Encoder Test.c 5. Make sure your VEX is turned on and download the program to your robot. 5a. Download Sample Program Go to Robot > Download Program to download the program to the robot.

6. Open the Debug Windows > Devices window. 6a. Open the Devices Window Go to Robot > Debug Windows > Devices to open the Devices window so we can view the sensor values of the Quadrature Encoders. 7. Press Start on the Program Debug window. This begins the program and resets the values in the Devices window to default. 7a. Start the Program Press the Start button to start the program on the VEX. 7b. Set the Refresh Rate Make sure that this button reads Stop and not Continuous to ensure that the Devices window receives continuous feedback from the Quadrature Encoders.

8. While holding a Quadrature Encoder, rotate the wheel so that the piece of tape moves from top to bottom, or 180 degrees. In the Devices window, you should notice that the value of the Encoder you spun went from 0 to about 180 (or -180 depending on the direction you rotated it). 8a. Check the Encoder Value The updated value of the Quadrature Encoder you spun will appear under the value column. Note: The value of the Encoder may not be exactly 180. Some error expected due to the width of the tape and how far you actually rotated the wheel. Also, keep in mind that very small rotational movements of the wheel or Encoder will cause the value to change.

9. Now rotate the wheel in the opposite direction. The value should count back to zero. Notes: If the value in the Devices window matches how far you rotated the wheel, then your Encoder is working correctly. Continue on to step number 10. If the value never changes, repeatedly switching back and forth between 0 and 2, or if the Encoder only counts a fraction of the actual wheel rotation, your Encoder is defective. Contact your supplier s customer support for a replacement. 10. If your first Quadrature Encoder is working correctly, slide the second onto the axle. We will now check to make sure that they are both in sync.

11. Hold both Encoders firmly together, so that neither can move. Select Clear All on the Program Debug window to reset their values to 0. 11a. Press Clear All Pressing Clear All will reset the Quadrature Encoder values to 0. 12. Rotate the wheel and observe the values for QuadCount1 and QuadCount2. Again, keep in mind that very small rotational movements of the wheel or Encoder will cause the value to change. 12a. Observe Encoder Values The values in QuadCount1 and QuadCount2 should roughly align. Notes: If the value of the second Encoder is the opposite of the first Encoder (-180 instead of 180), the placement of the two wires can be switched as a correction. If the values in the Devices window differ by more than 6 counts or they don t correspond at all, your second Encoder is defective. Contact your supplier s customer support for a replacement. Otherwise, both Encoders are working correctly.