Measurement USB-5106 User Manual

USB-4302
9513-based Counter/Timer
User's Guide
Document Revision 4, May, 2009
HM USB-4302.doc
Your new Measurement Computing product comes with a fantastic extra —
Management committed to your satisfaction!
Thank you for choosing a Measurement Computing product—and congratulations! You own the finest, and you can now enjoy the protection of the most comprehensive warranties and unmatched phone tech support. It’s the embodiment of our mission:
To provide PC-based data acquisition hardware and software that will save time and save money.
Simple installations minimize the time between setting up your system and actually making measurements. We offer quick and simple access to outstanding live FREE technical support to help integrate MCC products into a DAQ system.
Limited Lifetime Warranty: Most MCC products are covered by a limited lifetime warranty against defects in materials or workmanship for the life of the product, to the original purchaser, unless otherwise noted. Any products found to be defective in material or workmanship will be repaired, replaced with same or similar device, or refunded at MCC’s discretion. For specific information, please refer to the terms and conditions of sale.
Harsh Environment Program: Any Measurement Computing product that is damaged due to misuse, or any reason, may be eligible for replacement with the same or similar device for 50% of the current list price. I/O boards face some harsh environments, some harsher than the boards are designed to withstand. Contact MCC to determine your product’s eligibility for this program.
30 Day Money-Back Guarantee: Any Measurement Computing Corporation product may be returned within 30 days of purchase for a full refund of the price paid for the product being returned. If you are not satisfied, or chose the wrong product by mistake, you do not have to keep it.
These warranties are in lieu of all other warranties, expressed or implied, including any implied warranty of merchantability or fitness for a particular application. The remedies provided herein are the buyer’s sole and exclusive remedies. Neither Measurement Computing Corporation, nor its employees shall be liable for any direct or indirect, special, incidental or consequential damage arising from the use of its products, even if Measurement Computing Corporation has been notified in advance of the possibility of such damages.
3
Trademark and Copyright Information
TracerDAQ, Universal Library, Measurement Computing Corporation, and the Measurement Computing logo are either trademarks or registered trademarks of Measurement Computing Corporation.
Windows, Microsoft, and Visual Studio are either trademarks or registered trademarks of Microsoft Corporation
LabVIEW is a trademark of National Instruments.
CompactFlash is a registered trademark of SanDisk Corporation.
XBee and XBee-PRO are trademarks of MaxStream, Inc.
All other trademarks are the property of their respective owners.
Information furnished by Measurement Computing Corporation is believed to be accurate and reliable. However, no responsibility is assumed by Measurement Computing Corporation neither for its use; nor for any infringements of patents or other rights of third parties, which may result from its use. No license is granted by implication or otherwise under any patent or copyrights of Measurement Computing Corporation.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form by any means, electronic, mechanical, by photocopying, recording, or otherwise without the prior written permission of Measurement Computing Corporation.
Notice
Measurement Computing Corporation does not authorize any Measurement Computing Corporation product for use in life support systems and/or devices without prior written consent from Measurement Computing Corporation. Life support devices/systems are devices or systems which, a) are intended for surgical implantation into the body, or b) support or sustain life and whose failure to perform can be reasonably expected to result in injury. Measurement Computing Corporation products are not designed with the components required, and are not subject to the testing required to ensure a level of reliability suitable for the treatment and diagnosis of people.
4
Table of Contents
Preface
About this User's Guide ....................................................................................................................... 7
What you will learn from this user's guide ......................................................................................................... 7
Conventions in this user's guide ........................................................................................................................................ 7
Where to find more information ......................................................................................................................... 7
Chapter 1
Introducing the USB-4302 .................................................................................................................... 8
Software features ................................................................................................................................................ 8
Connecting a USB-4302 to your computer is easy ............................................................................................. 8
Chapter 2
Installing the USB-4302 ........................................................................................................................ 9
What comes with your USB-4302 shipment? ..................................................................................................... 9
Hardware .......................................................................................................................................................................... 9
Additional documentation ................................................................................................................................................. 9
Unpacking the USB-4302 ................................................................................................................................... 9
Installing the software ...................................................................................................................................... 10
Installing the USB-4302 ................................................................................................................................... 10
Connecting the board for I/O operations .......................................................................................................... 10
Connectors, cables – main I/O connector .........................................................................................................................10
Pin out – main I/O connector ...........................................................................................................................................11
Cables ..............................................................................................................................................................................11
Field wiring, signal termination and conditioning ...........................................................................................................12
Chapter 3
Functional Details ............................................................................................................................... 13
USB-4302 block diagram ................................................................................................................................. 13
Components ...................................................................................................................................................... 14
USB connector .................................................................................................................................................................14
Status LED .......................................................................................................................................................................14
Power LED ......................................................................................................................................................................14
Connector P1 ...................................................................................................................................................................14
Signal connections ............................................................................................................................................ 15
Counter input, gate, and output ........................................................................................................................................15
Digital input and output (DIn, DOn) ................................................................................................................................15
Digital input pull-up/down configuration (DI CTL) ........................................................................................................15
Interrupt input (INT) ........................................................................................................................................................15
Oscillator output (OSC OUT) ..........................................................................................................................................16
Ground (GND) .................................................................................................................................................................16
Oscillator output ............................................................................................................................................... 16
Internal sources ................................................................................................................................................................16
External sources ...............................................................................................................................................................16
Divider .............................................................................................................................................................................17
Counter operation ............................................................................................................................................. 17
Count source ....................................................................................................................................................................17
Gate control .....................................................................................................................................................................17
Counting modes ................................................................................................................................................ 18
Reload ..............................................................................................................................................................................18
Recycle ............................................................................................................................................................................18
BCD/Binary mode ...........................................................................................................................................................18
The "Special" gate............................................................................................................................................................19
Output control ..................................................................................................................................................................19
Example 1 ........................................................................................................................................................................19
Example 2 ........................................................................................................................................................................20
5
USB-4302 User's Guide
Interrupt input pin configuration ...................................................................................................................... 21
Chapter 4
Specifications ...................................................................................................................................... 22
Counter ............................................................................................................................................................. 22
Digital input / output ......................................................................................................................................... 23
Interrupt Input ................................................................................................................................................... 23
Memory ............................................................................................................................................................ 24
Microcontroller ................................................................................................................................................. 24
USB +5V voltage ............................................................................................................................................. 24
LEDs ................................................................................................................................................................. 24
Power ................................................................................................................................................................ 24
USB specifications ........................................................................................................................................... 25
Environmental .................................................................................................................................................. 25
Mechanical ....................................................................................................................................................... 25
Main connector and pin out .............................................................................................................................. 25
P1 pin out .........................................................................................................................................................................26
Declaration of Conformity .................................................................................................................. 27
6
Preface

About this User's Guide

What you will learn from this user's guide

This user's guide explains how to install, configure, and use the USB-4302 so that you get the most out of its counter features. This user's guide also refers you to related documents available on our web site, and to technical support resources.
Conventions in this user's guide
For more information on …
Text presented in a box signifies additional information and helpful hints related to the subject matter you are reading.
Caution! Shaded caution statements present information to help you avoid injuring yourself and others,
damaging your hardware, or losing your data.
< : > Angle brackets that enclose numbers separated by a colon signify a range of numbers, such as those assigned
to registers, bit settings, etc.
bold text Bold text is used for the names of objects on the screen, such as buttons, text boxes, and check boxes. For
example:
1. Insert the disk or CD and click the OK button.
italic text Italic text is used for the names of manuals and help topic titles, and to emphasize a word or phrase. For
example: The InstaCal installation procedure is explained in the Quick Start Guide. Never touch the exposed pins or circuit connections on the board.

Where to find more information

For additional information relevant to the operation of your hardware, refer to the Documents subdirectory where you installed the MCC DAQ software (C:\Program Files\Measurement Computing\DAQ by default), or search for your device on our website at www.mccdaq.com.
7
Chapter 1

Introducing the USB-4302

The USB-4302 is a USB-based high-performance, low-cost counter/timer device.
The USB-4302 is designed with a 9513 counter/timer chip. The 9513 chip has five independent 16-bit counters (65,536 counts). Each counter has an input source, internal count register, load register, hold register, output, and gate.
The 9513 is software-programmable for event counting, pulse and frequency measurement, alarm comparisons, and other input functions. The 9513 can generate frequencies with either complex duty cycles, or with one-shot and continuous-output modes. For detailed information on the 9513 counter/timer, refer to the 9513 data sheet at www.mccdaq.com/PDFmanuals/9513A.pdf.
You can chain up to five 9513 counters together using software to enable a 32-, 48-, 64-, or 80-bit counter that does not require hardware connections. The gate source and gating functions are software-programmable.
An eight-bit, high-current digital output port provides logic-level control, and can be used to switch solid state relays. An eight-bit digital input port can be used to sense contact closures and other TTL level signals.
All I/O connections are made to a 37-pin connector. The USB-4302 is powered by the +5 volt USB supply. No external power is required.

Software features

For information on the features of InstaCal and the other software included with your USB-4302, refer to the Quick Start Guide that shipped with your device. The Quick Start Guide is also available in PDF at
www.mccdaq.com/PDFmanuals/DAQ-Software-Quick-Start.pdf.
Check www.mccdaq.com/download.htm for the latest software version.

Connecting a USB-4302 to your computer is easy

Installing a data acquisition device has never been easier.
The USB-4302 relies upon the Microsoft Human Interface Device (HID) class drivers. The HID class
drivers ship with every copy of Windows that is designed to work with USB ports. We use the Microsoft HID because it is a standard, and its performance delivers full control and maximizes data transfer rates for your USB-4302. No third-party device driver is required.
The USB-4302 is plug-and-play. There are no jumpers to position, dual in-line package (DIP) switches to
set, or interrupts to configure.
You can connect the USB-4302 before or after you install the software, and without powering down your
computer first.
When you connect an HID to your system, your computer automatically detects it and configures the necessary software. You can connect and power multiple HID peripherals to your system using a USB hub.
You can connect your system to various devices using a standard four-wire cable. The USB connector
improves upon serial and parallel port connectors with one standardized plug-and-port combination.
Data can flow two ways between a computer and peripheral over USB connections.
8

Installing the USB-4302

What comes with your USB-4302 shipment?

Hardware

USB-4302
Chapter 2
USB cable (2 meter length)

Additional documentation

In addition to this hardware user's guide, you should also receive the Quick Start Guide (available in PDF at
www.mccdaq.com/PDFmanuals/DAQ-Software-Quick-Start.pdf). This booklet supplies a brief description of
the software you received with your USB-4302 and information regarding installation of that software. Please read this booklet completely before installing any software or hardware.

Unpacking the USB-4302

As with any electronic device, you should take care while handling to avoid damage from static electricity. Before removing the USB-4302 from its packaging, ground yourself using a wrist strap or by simply touching the computer chassis or other grounded object to eliminate any stored static charge.
If any components are missing or damaged, notify Measurement Computing Corporation immediately by phone, fax, or e-mail:
Phone: 508-946-5100 and follow the instructions for reaching Tech Support. Fax: 508-946-9500 to the attention of Tech Support Email: techsupport@mccdaq.com
9
Loading...
+ 19 hidden pages