Products for USB Sensing and Control
Products for USB Sensing and Control

PHIDGETS Inc.

Unit 1 - 6115 4 St SE
Calgary AB  T2H 2H9
Canada
+1 403 282-7335

4x Digital Input Phidget

ID: DAQ1200_0
Recommended for new designs: This product (or a similar replacement with a compatible form, fit and function) is estimated to be available for ten years or more.

Add 4 digital inputs to your VINT Hub. These inputs have a shorter trigger time than a VINT port in Digital Input mode.

$12.00

Quantity Available: 1000+

Qty Price
5 $11.40
10 $10.80
25 $9.60
50 $8.40
100 $7.80
250 $7.20
500 $6.60
1000 $6.00

The DAQ1200 allows you to connect 4 digital inputs; connect switches, buttons, or any device with a 5V logic-level output. This Phidget connects to your computer through a VINT Hub.

Features:

  • Each input can withstand up to 5V DC.
  • Short trigger time - Will trigger with very brief changes (~2ms), a better response than the VINT Hub digital input

VINT Hubs

This Phidget is a smart device that must be controlled by a VINT Hub. For more information about VINT, have a look at the VINT Primer. You can use a Phidget Cable to simply and easily connect the two devices. Here's a list of all of the different VINT Hubs currently available:

Product Board
Image Part Number Price Number of VINT Ports Controlled By
HUB0000_0 $30.00 6 USB (Mini-USB)
HUB5000_0 $60.00 6 Local Network (Ethernet or Wi-Fi)
SBC3003_0 $120.00 6

Phidget Cables

Use a Phidget cable to connect this device to the hub. You can solder multiple cables together in order to make even longer Phidget cables, but you should be aware of the effects of having long wires in your system.

Product Physical Properties
Image Part Number Price Cable Length
3002_0 $2.00 600 mm
3003_0 $1.50 100 mm
3004_0 $3.00 3.5 m
3034_0 $1.50 150 mm
3038_0 $2.25 1.2 m
3039_0 $2.75 1.8 m
CBL4104_0 $1.75 300 mm
CBL4105_0 $2.00 900 mm
CBL4106_0 $2.50 1.5 m


Part 1: Setup

Welcome to the DAQ1200 user guide! In order to get started, make sure you have the following hardware on hand:


Next, you will need to connect the pieces:

DAQ1200 Functional.jpeg
  1. Connect the DAQ1200 to the VINT Hub using the Phidget cable.
  2. Connect the VINT Hub to your computer with a USB cable.
  3. Connect a switch or digital sensor to one of the DAQ1200's inputs.


Now that you have everything together, let's start using the DAQ1200!.

Phidget Control Panel

In order to demonstrate the functionality of the DAQ1200, the Phidget Control Panel running on a Windows machine will be used.


The Phidget Control Panel is available for use on both macOS and Windows machines.

Windows

To open the Phidget Control Panel on Windows, find the Ph.jpg icon in the taskbar. If it is not there, open up the start menu and search for Phidget Control Panel

Windows PhidgetTaskbar.PNG

macOS

To open the Phidget Control Panel on macOS, open Finder and navigate to the Phidget Control Panel in the Applications list. Double click on the Ph.jpg icon to bring up the Phidget Control Panel.


For more information, take a look at the getting started guide for your operating system:


Linux users can follow the getting started with Linux guide and continue reading here for more information about the DAQ1200.

First Look

After plugging the DAQ1200 into your computer and opening the Phidget Control Panel, you will see something like this:

DAQ1200 Panel.jpg


The Phidget Control Panel will list all connected Phidgets and associated objects, as well as the following information:

  • Serial number: allows you to differentiate between similar Phidgets.
  • Channel: allows you to differentiate between similar objects on a Phidget.
  • Version number: corresponds to the firmware version your Phidget is running. If your Phidget is listed in red, your firmware is out of date. Update the firmware by double-clicking the entry.


The Phidget Control Panel can also be used to test your device. Double-clicking on an object will open an example.

Part 2: Using Your Phidget

About

Read four digital output devices with the DAQ1200. This Phidget is best suited for reading switches, or 5V logic level devices.

DAQ1200 About.jpg

The DAQ1200 is an active-low device. You interact with the DAQ1200 through the Digital Input Channel Class. The Digital Input state equals true when grounded and false when connected to a high voltage.

Explore Your Phidget Channels Using The Control Panel

You can use your Control Panel to explore your Phidget's channels.

1. Open your Control Panel, and you will find the following channels:

DAQ1200 Panel.jpg

2. Double click on a channel to open an example program. Each channel belongs to the Digital Input channel class:

Digital Input: Read the state of a 5V digital signal

In your Control Panel, double click on "Digital Input":

DAQ1200-test-DigitalInput.jpg

For more information about Digital Inputs, take a look at the Digital Input Primer.

Part 3: Create your Program

1. Setting up your Programming Environment

2. Phidget Programming Basics

Part 4: Advanced Topics and Troubleshooting

How do I know what channel, serial number, or hub port to use in my program?

Before you open a Phidget channel in your program, you can set these properties to specify which channel to open. You can find this information through the Control Panel.

1. Open the Control Panel and double-click on the red map pin icon:

The locate Phidget button is found in the device information box

2. The Addressing Information window will open. Here you will find all the information you need to address your Phidget in your program.

All the information you need to address your Phidget


See the Phidget22 API for your language to determine exact syntax for each property.

Using the DAQ1200 with a Switch
DAQ1200 SwitchInput.jpg

To interface a switch with the DAQ1200, simply connect the switch across the input and ground terminals for a channel.

Using the DAQ1200 with 5V Logic Level Devices
DAQ1200 LogicInput.jpg

The DAQ1200 can also detect signals from 5V logic level devices. Be aware that the input is active-low, which means that LOW voltages will be detected as TRUE, and HIGH voltages as FALSE.

Isolation with Optocouplers
DAQ1200 Optocoupler Diagram.jpg

In some applications, particularly where there is a lot of electrical noise (automotive), or where you want maximum protection of the circuitry (interactive installations, kiosks), electrical isolation buys you a huge margin of protection.

If wired according to the diagram, driving the LED will cause the DAQ1200 to report TRUE.

Note that in cases where many isolated inputs are required, or for simplicity's sake, you may want to consider using the DAQ1300 or DAQ1301, which are (more sophisticated) ready-made isolated digital input Phidgets.

Product Specifications

Board Properties
Controlled By VINT
Electrical Properties
Current Consumption Min 27 μA
Current Consumption Max * 2 mA
Digital Inputs
Number of Digital Inputs 4
Digital Input Voltage Max 5 V DC
Low Voltage Max (True) 1.5 V DC
High Voltage Min (False) 3.5 V DC
Low Voltage Trigger Length Min 2 ms
High Voltage Trigger Length Min 2 ms
Physical Properties
Recommended Wire Size 16-26 AWG
Operating Temperature Min -40 °C
Operating Temperature Max 85 °C
Customs Information
Canadian HS Export Code 8471.80.00
American HTS Import Code 8471.80.40.00
Country of Origin CN (China)

* Note: Current consumption is equal to 27µA plus 500µA for each digital input that is grounded.

Documents

Product History

Date Board Revision Device Version Comment
June 20170103Product Release

Software Objects

Channel NameAPIChannel
Digital Input DigitalInput 0 - 3

API


Back Forward
Print this API

Code Samples



Example Options


Downloads

				Make your selections to display sample code.
					

Code Samples

Language:

APIDetailLanguageOS
DigitalInput Visual Studio GUI C# Windows Download
DigitalInput Java Android Download
DigitalInput JavaScript Browser Download
DigitalInput Multi-Channel Example JavaScript Browser Download
DigitalInput Objective-C macOS Download
DigitalInput Swift macOS Download
DigitalInput Swift iOS Download
DigitalInput Visual Basic .NET Windows Download
DigitalInput Max/MSP Multiple Download

Check out our digital input boards:

Product Digital Inputs
Image Part Number Price Number of Digital Inputs Low Voltage Max (False) Low Voltage Max (True) High Voltage Min (False) High Voltage Min (True)
1010_0 $80.00 8 900 mV DC 4.2 V DC
1011_0 $50.00 2 800 mV DC 2.1 V DC
1012_2B $95.00 16 900 mV DC 4.2 V DC
1018_2B $80.00 8 900 mV DC 4.2 V DC
1019_1B $110.00 8 900 mV DC 4.2 V DC
1065_1B $75.00 2 800 mV DC 2.1 V DC
1203_2B $70.00 8 900 mV DC 4.2 V DC
DAQ1200_0 $12.00 4 1.5 V DC 3.5 V DC
DAQ1300_0 $20.00 4 1.3 V DC 2.5 V DC
DAQ1301_0 $50.00 16 1.3 V DC 2.5 V DC
HUB0000_0 $30.00 6 (Shared) 1 V DC 1.8 V DC
HUB5000_0 $60.00 6 (Shared) 1 V DC 1.8 V DC

If you need to measure a high-frequency or short pulse signal, have a look at these frequency counting Phidgets:

Product FrequencyCounter Input
Image Part Number Price Number of Channels Input Frequency Max Frequency Error Max
1054_0B $70.00 2 1 MHz 0.25 %
DAQ1400_0 $20.00 1 ** 1 MHz 1 %