US Digital will be closed for the Holidays from Friday, December 23rd through Monday, January 2nd.
We will resume regular business hours on Tuesday, January 3rd.

QSB Quadrature to USB Adapter

CE Marking: Starting July 22nd, 2014, some US Digital® products will contain the CE Marking. The QSB will not contain a CE Marking and will not be available for shipping to CE Mark required countries (for example, all countries within the European Union (EU)) after July 10th, 2014. See the Product Change Notification PCN 4464 for more information, or contact a US Digital® representative at sales@usdigital.com.

Material Compliance Statement: This product does NOT contain banned levels of substances as defined in European Directive 2011/65/EU specifically, Lead (Pb), Mercury (Hg), Cadmium (Cd), Hexavalent Chromium (CR+6), Poly Brominated Biphenyls (PBB), and Poly Brominated Diphenyl Ethers (PBDE) are not found above the threshold level given in the 2011/65/EU Directive.
1 / 5
  • qsb_webproduct_02.jpg
  • qsb_webproduct_03.jpg
  • qsb_webproduct_04.jpg
  • qsb_webproduct_05.jpg
  • qsb_webproduct_01.jpg

Overview

  • Low cost
  • Easy to use USB serial port interface
  • USB port powered
  • Field upgradable software
  • Reads Quadrature, PWM and Analog encoders
  • Reads quadrature count rate up to 6 MHz
  • Motor Step/Direction control outputs
  • Four analog and four digital I/O pins
  • RoHS compliant

The QSB is a low cost USB data acquisition device that can count quadrature and index signals from an incremental encoder, provide digital I/O, perform A/D conversion or act as a stepper/motor controller. There are...

Read more

Product Specifications

 

ParameterMin.Max.Units
Storage Temperature -40 100 C
Operating Temperature 0 70 C
Relative Humidity (non-condensing) 0 95 %

Parameter

Min.

Typ.

Max.

Units

Supply Voltage (Note 1) 4.75   5.00 5.25 
Supply Current (QSB device only) (Note 2)    52   mA 

Note 1: Voltage is regulated by USB port

Note 2: USB port capable of supplying 500mA maximum

 

QSB-S Pinout

5-pinB_2.gif

Pin5-Pin ConnectorUSB
1 Ground +5 Volts
2 Index D-
3 A Channel or EAN0 or PWM0 D+
4 +5 Volts Ground
5 B Channel  
 Notes:

  • A/B/Index are the quadrature encoder signals
  • Pin 3 EAN0 is an A/D input designed for the MAE3-A10 and MA3-A10 analog output encoders. It an be used as a generic 10-bit A/D input (0-5V range).
  • Pin 3 PWM0 is a pulse width modulation input designed for the 10 or 12 bit PWM output of the MA3/MAE3 encoders.

QSB-D, QSB-M Pinout

Enc10-pinB_2.gif

Pin10-pin
Connector
QSB-D
10-pin
Connector
QSB-M
USB
Connector
1 Digital I/O
Channel 0
Digital I/O
Channel 0
+5 Volts
2 Ground Ground D-
3 Index- Digital I/O
Channel 1 or
Motor Step
D+
4 Index+  Index Ground
5 A- Digital I/O
Channel 2 or
Motor Direction
 
6 A+ or EAN0 or PWM0 A or EAN0 or PWM0  
7 +5 Volts +5 Volts  
8 No connection +5 Volts  
9 B- Digital I/O
Channel 3
 
10 B+  B  

 

 Notes:

  • A/B/Index are the quadrature encoder signals
  • Pin 6 EAN0 is an A/D input designed for the MAE3-A10 and MA3-A10 analog output encoders. It an be used as a generic 10-bit A/D input (0-5V range).
  • Pin 6 PWM0 is a pulse width modulation input designed for the 10 or 12 bit PWM output of the MA3/MAE3 encoders.

 

Parameter

Min.

Typ.

Max.

Units

Quadurature Encoder Input Frequency    MHz
PWM Encoder Input Frequency (Note 1) 250    1000  Hz 

Encoder Single-Ended Interface

  Low Input

  High Input

 

-1.0

2.8

 

 

 

 

2.1

7.0

 

V

V

Encoder Differental Interface

  Differential Voltage

  Common Mode Voltage

 

200

-7.0

 

 

 

 

 

7.0

 

mV

V

Analog Encoder Input

  Voltage Range

  DC Input resistance (Note 2)

  Bandwidth

 

0

4.8

0

 

 

6.3

 

 

5

9.0

3000

 

V

kOhm

Hz

Note 1: MA(E)3 PWM output frequency is 250 Hz for 12-bit and 1kHz for 10-bit resolution.

Note 2: Biased at approximately 2 V DC.

 

 

Parameter

Min.

Typ.

Max.

Units

Digital Input Voltage 0 5 24 V
Positive-going Input Voltage Threshold  (Vin+) 1.5   2.5 V
Negative-going  Input Voltage Threshold (Vin-) 0.83   1.82 V
Input Voltage Hysteresis (Vin+ - Vin-) 0.33   1.1 V
Digital High Output Voltage (Note 1) 4.75 5 5.25 V
Digital Low Output Voltage (Note 1) 0 0   V

Note 1: Output can be externally pulled up to 24V. Open drain MOSFET pulldown capabile of 1.0 A max. continuous current. See digital output port circuits below. When driving inductive loads, add an external diode to protect the QSB from damage caused by large voltage transients.

 

Digital Input Port Circuit:

inputports2_0.gif

 

Digital Output Port Circuit:

outputports2_0.gif

 

The speed and direction of a single stepper motor can be controlled using the QSB-M in conjunction with a stepper motor driver, such as the US Digital MD2S. Two of the four digital I/O port pins can be configured to have motor step/direction functionality or normal digital I/O.

See the "QSB Command List" document for detailed information on the QSB's motor control commands.

QSB Commands

Command Format:

Commands are sent to the QSB in the format seen in the table below.  All commands are composed of a string of ASCII characters terminated by an EOC (end of command) sequence.  The first field in the command string selects the Command Type; there are three types of commands – Read, Write and Stream.  Registers, within the QSB, are configured to support different functions.  The second field, the Register field, selects the register to read or modify.  The Data field holds the value for the selected register.  The EOC field is a command termination sequence.  The commands are sent in RS-232 format over a virtual COM port connection through the USB.  The data rate is 230.4KB, 8 data bits, no parity, 1 stop bit, no flow control.  The RTS line must be held low and the DTR line must be held high for normal operation.  The QSB can be reset with a high-low-high transition on the DTR line.  NOTE: a backspace character will erase the partially entered command from the command buffer; this is useful when entering commands manually from a terminal.

 

Command Type[1] Register[2] <Data[1..8]> EOC[1..2]

Where:

  • "Command Type" is a single upper-case ASCII character indicating an ‘R’=read, ‘W’=write ‘S’=Streaming read.
  • "Register" is the index number (see below) of the register being addressed. Range is 00 to FF (two upper or lower case ASCII bytes representing a single hex byte)
  • "Data" is the optional value to be written to the selected register (eight ASCII hex bytes representing four hex bytes, 00000000 to FFFFFFFF). All data entered, less than 8 bytes in length, will be internally converted to a positive signed long value. Negative values must be entered as a full 4 bytes in two’s-complement format.
  • "EOC" is a one to two-byte ASCII character sequence indicating the end of command. The command termination is any single or dual combination of CR and LF characters.

 

Command Acknowledgement Format:

All commands will be acknowledged.  For read commands, the Data will be the requested register value.  For write commands, the returned Data value will be the data received.  For example, the response to a MODE register "Quadrature Mode" write command will be the ASCII string "w", "00", "00000000",  "!", followed by the EOR sequence.  At the conclusion of the command response, the QSB is ready to accept another command.

 

Command Response[1] Register[2] Data[8] <TimeStamp[8[> '!' EOR[1..2]

 

Where:

  • "Command Response" is a single lower-case ASCII character indicating the Command Type of the last command. An ‘r’=read, ‘w’=write, ‘s’=stream, ‘e’=error, ‘x’=unsupported command.
  • "Register" is the index number of the register in the last command. Range is 00 to FF (two ASCII bytes representing a single hex byte).
  • "Data" is the value written to, or read from, the selected register (eight ASCII hex bytes representing four hex bytes, 00000000 to FFFFFFFF). Returned data will have added leading 0’s to fill the entire eight bytes. If the error response is returned, Data will be the incorrect data value sent to the QSB; this value was not written to the device.
  • "TimeStamp" is the optional timestamp value recorded at the time the data was read. (eight ASCII hex bytes representing four hex bytes, 00000000 to FFFFFFFF). The timestamp represents the number of counts of a 1.9ms internal clock since the last counter reset or power-up time. The value will roll-over if not reset by a user command.
  • "EOR" is the End-Of-Response termination format selected using the EOR TERMINATION register (see below). It could consist of No Termination, CR, LF, TimeStamp or space delimited formatting. No space delimiter precedes the EOR character.

 

See the QSB Command List document for detailed information on the QSB commands.

The QSB firmware can be easily upgraded using the "QSB Firmware Updater" program that is available on the QSB Software page. There may be periodic upgrades to the QSB firmware that can be loaded as needed by a customer.  The firmware upgrades typically take less than 30 seconds.

Title Date Description Download
PCN 4464 - CE - RoHS 6/30/2014

US Digital is aware of the increasing attention to world-wide environmental regulations, specifically with regard to the need for hazardous substance restrictions in electronic components and systems. As of July 10th, 2014 US Digital will now be CE Marking certain products inline with compliance under RoHS Directive (2011/65/EU). In order to achieve RoHS Compliance, the products will not contain more than the acceptable levels of the listed restricted substances within the RoHS 2011/65/EU directive.

Part Numbers Affected:

  • ED3
  • USB4
  • QSB
  • SEI-USB
  • MD2S
  • PS-5, PS-12, PS-24, PS-48 (Power Supplies)
  • PE

For the part numbers listed above, US Digital cannot confirm that they meet Low-Voltage and EMC Directives and for that reason US Digital cannot support shipping those products / product families into the CE required countries (For Example countries in the EU). Those products can still be shipped to Non-CE required countries with a Statement of Material Conformance to the RoHS Directive 2011/65/EU, in place of a RoHS Compliance Declaration.

Download

Product Description

Restriction of Hazardous Substances

The QSB is a low cost USB data acquisition device that can count quadrature and index signals from an incremental encoder, provide digital I/O, perform A/D conversion or act as a stepper/motor controller. There are 3 variants that provide a mix of different features.   

  • QSB-S - One single-ended quadrature, PWM or Analog encoder interface
  • QSB-M - One single-ended quadrature, PWM or Analog encoder interface; 4-bits of digital I/O or 2-bits of digital I/O and 1 channel stepper motor control (step/direction) 
  • QSB-D - One differential quadrature encoder interface and 1-bit of digital I/O

The QSB is USB bus powered and is packaged in a slim, compact "stick" package that it easy to install and wire up. US Digital® provides all the software and documentation needed to use the QSB. A PC demo application is available, allowing the user to confgure and explore various features of the QSB using a graphical user interface. A library with a detailed Application Programming Interface is provided so that users can develop their own applications. Additionally, US Digital® provides several examples that demonstrate how to use the device. For users that prefer lower level control, a documented register based interface is also provided. The QSB appears as a COM serial port to the PC, so any application that can read/write the COM port can be used to control the QSB as well.

Product Notes
  • Cables and connectors are not included and must be ordered separately.
  • US Digital® warrants its products against defects in materials and workmanship for two years. See complete warranty for details.

Cable/connector assembly not included and must be ordered separately.

Related Products & Accessories

Product Configuration

Configure Part Number

We recommend enabling Javascript when using the product configurator.

1. Options




Product Part Number

This product requires configuration. Please supply the product options above.


Please configure your product for 3D model downloads.


Quantity Unit Price
1 $81.65
5 $56.95
10 $46.50
50 $42.25
Over 50 Call for Quote
Quantity
Unit Price

$81.65

Subtotal

$81.65


For purchasing or volume discounts, please use the above part number and contact us at:

sales@usdigital.com or

800.736.0194 (Toll Free)
360.260.2468 (Local)