PhidgetInterfaceKit 8/8/8



Similar documents
PhidgetInterfaceKit 0/16/16

How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers

USB to RS-422/485 Serial Adapter

8 Channel Status Input Panel model SIP-8

JNIOR. Overview. Get Connected. Get Results. JNIOR Model 310. JNIOR Model 312. JNIOR Model 314. JNIOR Model 410

LDG DTS-4/4R Desktop Coaxial Switch / Remote

How To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player

SMART SENSOR COLLECTION

Bluetooth HC-06 with serial port module Easy guide

AUTOMATIC CALL RECORDER JAMECO PART NO

Firmware version: 1.10 Issue: 7 AUTODIALER GD30.2. Instruction Manual

MOTION COORDINATOR MC206X Quick Connection Guide

HCS-3300/3302/3304 USB Remote Programmable Laboratory Grade Switching Mode Power Supply

Combi B Alarm box. Mounting instructions

If an occupancy of room is zero, i.e. room is empty then light source will be switched off automatically

Charge Regulator SCR 12 Marine

AC-115 Compact Networked Single Door Controller. Installation and User Manual

INSTALLATION AND OPERATING INSTRUCTIONS For Model GL1 Gate Locks

GSM HOME SECURITY SYSTEM

Application/Connection Examples

OWNERS MANUAL. WattsVIEW. Power Monitor Model: DC WattsVIEWTM. Models: DC Serial DC-1000 USB DC-25000

PHD User Manual. Table of Contents

Touch Screen for Pictiva OLED display. Application Note. Introduction

Digital I/O: OUTPUT: Basic, Count, Count+, Smart+

USER GUIDE. Studio Hotline Multi-line System Phone Flasher and Door/Alert Indicator Input Module and Indicator. DM Engineering. Version 1.

2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide

Automation System TROVIS 6400 TROVIS 6493 Compact Controller

How To Use An Ams 5812 Pressure Sensor With A Usb Starter Kit

Name Description Model Number. Parameters Min. Typ. Max. Note. Vaux Voltage 9.8 V 12 V 13.2 V Auxiliary Supply Voltage

DATENBLATT USB-DIO32HS USB-DIO32HS-OEM. HABEN SIE FRAGEN ODER WÜNSCHEN SIE EIN INDIVIDUELLES ANGEBOT? Unser Team berät Sie gerne persönlich.

WinLIN Setup and Operation:

T7560A,B,C Digital Wall Module

User manual DinaSys DTC/DTS and DTC/DTZ

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

FTDI VCP DRIVER (free) (WIN/MAC/LINUX)

Designing VM2 Application Boards

Table of Contents Getting Started... 3 The Motors... 4 The Control Board... 5 Setting up the Computer with Mach Starting up the Equipment...

HOW TO USE MULTIMETER. COMPILE BY: Dzulautotech

EVAL-UFDC-1/UFDC-1M-16

5-port / 8-port 10/100BaseTX Industrial Ethernet Switch User Manual

USB3.0 Docking Station. User Manual (DA-70546)

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version ( )

Doc.No. NDP 192U-02. Electric Pump Controller CE-124P. Instruction Manual

Installation Manual (English) Adjustable Active DP Terminator T1-Pepper Active RS485 segment termination for non-compliant cable

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

TS1 Ultra Sonic Tank Sender Training. 27 November 2007

Standard Cables (Without electromagnetic brake, with electromagnetic brake) CC010ES-2. 1 m CC020ES-2. 2 m CC030ES-2. 3 m CC050ES-2.

USB External Hard Disk Drive

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Digital Photo Bank / Portable HDD Pan Ocean E350 User Manual

Current Monitoring Kit QUICK START GUIDE

IMMS-CCC. IMMS-CCC Hardwire Central Interface. Installation Instructions

Advantium 2 Plus Alarm

Machine-to-Machine Management System. Datasheet. Models: mport, mport-s, mpower, mpower Mini, mpower Pro, mfi-cs, mfi-ds, mfi-ths, mfi-msc, mfi-msw

GETTING TO KNOW YOUR PRE-PAID TELSTRA WI-FI 4G

Computer Automation Techniques. Arthur Carroll

Color Mark Sensor with Red or Green LED E3S-VS

HAM841K ALARM CONTROL PANEL FOR COMMERCIAL AND RESIDENTIAL SECURITY SYSTEMS

Current Monitoring Kit

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

AC 800M. EtherNet/IP DeviceNet Linking Device LD 800DN. Power and productivity for a better world TM SP1134

dedicated KVM switch and rackmount screen technology User Manual IP-S101 Combo KVM Extender Designed and manufactured by Austin Hughes

INTERACTIVE WHITE BOARD MANUAL

MANUAL PC1000R

OPLC Installation Guide

Configure Inverter output for two utility settings, (1)120V/60Hz, (2)220V/50Hz

GETTING TO KNOW YOUR TELSTRA PRE-PAID 3G WI-FI

TX GSM SMS Auto-dial Alarm System. Installation and User Manual

GLOLAB Universal Telephone Hold

Digital Keypad Use s Manual

SYSTEM 4C. C R H Electronics Design

Manual for Fire Suppression & Methane Detection System

How To Control A Power Supply With A Mini Transmitter And Switch (Power Supply)

Taurus Super-S3 LCM. Dual-Bay RAID Storage Enclosure for two 3.5-inch Serial ATA Hard Drives. User Manual March 31, 2014 v1.2

GT Sensors Precision Gear Tooth and Encoder Sensors

L5354 ControlNet Communications Interface

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

User Guide Reflow Toaster Oven Controller

RI-215A Operator s Manual. Part Number: RK Revision 0 Released: 10/3/05

16-Port RS232 to USB2.0 High Speed Multi Serial Adapter (w/ Metal Case) Installation Guide

Radio sensor powered by a mini solar cell the EnOcean STM 110 now functions with even less light

ABB Drives. User s Manual HTL Encoder Interface FEN-31

BrightSign Expander Hardware Guide

Business/Home GSM Alarm System. Installation and User Manual

Analog Servo Drive 25A8

telstra.com/ppmbb visit a telstra store or partner GETTING TO KNOW YOUR

omega.com ΩOMEGA RS232 Multi-Drop FMA1600-MDB Multi-Drop Box

Broadway 3D Security System

* DISCLAIMER: Contents. How to Use This Guide: COMMERCIAL INSTALL GUIDE 2

Global Motion Technology Inc Web THCSA200. Capacitive sensor plasma & Oxy-fuel Torch Height Control

ECR Shelf System Installation Guide Centralized Rack Mount Call Recording

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

LEN s.r.l. Via S. Andrea di Rovereto 33 c.s CHIAVARI (GE) Tel Fax mailto: len@len.it url: http//

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

2013 Wireless Video Intercom INSTALLATION GUIDE

Model 201 Wiegand Touchpad Reader Installation Guide

Inductive Proximity Sensors

EDK 350 (868 MHz) EDK 350U (902 MHz) EnOcean Developer Kit

USER MANUAL V5.0 ST100

Transcription:

PhidgetInterfaceKit 8/8/8 Operating Systems: Windows 2000/XP/Vista, Windows CE, Linux, and Mac OS X Application Programming Interfaces (APIs): Visual Basic, VB.NET, C, C++, C#, Flash 9, Flex, Java, LabVIEW, and Matlab Examples: You will find program examples in the download section of www.phidgets.com 1018_0_Product_Manual created: 10/12/07 Page 1

What Can the PhidgetInterfaceKit 8/8/8 Do? The PhidgetInterfaceKit 8/8/8 allows you to connect devices to any of 8 analog inputs, 8 digital inputs and 8 digital outputs. It provides a generic, convenient way to interface your PC with various devices. Analog inputs They are used to measure continuous quantities, such as temperature, humidity, position, pressure, etc. Phidgets offers a wide variety of sensors that can be plugged directly into the board using the cable included with the sensor. Here is a list of sensors currently available: IR Distance Sensor IR Reflective Sensor Vibration Sensor Light Sensor Force Sensor Humidity Sensor Temperature Sensor Magnetic Sensor Rotation Sensor Voltage Divider Touch Sensor Motion Sensor Mini Joy-Stick Pressure Sensor Voltage Sensor Current Sensor Slide Sensor 1018_0_Product_Manual created: 10/12/07 Page 2

Non Phidgets Sensors In addition to Phidgets sensors, any sensor that returns a signal between 0 and 5 volts can be easily interfaced. Here is a list of interesting sensors that can be used with the PhidgetInterfaceKit 8/8/8. Note: these sensors are not plug & play like Phidgets sensors. Manufacturer Part Number Description MSI Sensors FC21/FC22 Load cells - measure up to 100lbs of force Humirel HTM2500VB Humidity sensors Measurement Specialties MSP-300 Pressure sensors - ranges up to 10,000 PSI Freescale Semiconductor MPXA/MPXH Gas Pressure Sensors Allegro ACS7 series Current Sensors - ranges up to 200 Amps Allegro A1300 series Linear Hall Effect Sensors - to detect magnetic fields Analog TMP35 TMP36 Temperature Sensor TMP37 Panasonic AMN series Motion Sensors Note: Most of the above sensors can be bought at www.digikey.com. Digital Inputs Digital Inputs can be used to convey the state of push buttons, limit switches, relays (check out our Dual Relay Board), logic levels, etc... Digital Outputs Digital Outputs can be used to drive LEDs, solid state relays (have a look at our SSR board), transistors; in fact, anything that will accept a CMOS signal. Digital outputs can be used to control devices that accept a +5V control signal. With transistors and some electronics experience, other devices can be controlled, such as buzzers, lights, larger LEDs, relays. 1018_0_Product_Manual created: 10/12/07 Page 3

Getting Started Installing the hardware The kit contains: A PhidgetInterfaceKit 8/8/8 A USB Cable You will also need: A piece of wire to test the digital inputs An LED to test the digital outputs An Analog Sensor to test the analog inputs 2 3 4 1 1. Connect the Analog Sensor to any of the analog input ports (labeled 0 to 7) using a Phidgets sensor cable. 2. Connect the InterfaceKit board to the PC using the USB cable. 3. Connect one end of the wire to a digital input port and the other end to the ground connection. 4. Connect the LED to one of the digital output by inserting the long LED wire into any of the digital outputs (labeled 0 to 7) and the shorter wire to Ground. 1018_0_Product_Manual created: 10/12/07 Page 4

Download and Install the software Go to www.phidgets.com >> downloads Select your operating system (Windows, Linux, MAC OS) Select the language you want to use and download the appropriate examples and Libraries. Install the Libraries and decompress the Example file. Testing the PhidgetInterfaceKit 8/8/8 using Windows Note that some examples are not available for Linux, Mac OSX or Windows CE. Make sure that you have installed the libraries and decompressed your example file. Run the program Manager-full to make sure that the PhidgetInterfaceKit is properly connected to your PC. 1018_0_Product_Manual created: 10/12/07 Page 5

1 3 2 4 5 1. Run the program InterfaceKit- full and check that the box labelled Attached contains the word True. 2. 3. 4. 5. Test the digital output by clicking on the box to turn on the LED. Clicking again will turn the LED off. Test the digital input by disconnecting the wire end connected to the digital input. connector. The tick mark in the box will go away. Test the analog input sensor by observing the sensor value as you activate the Phidget sensor. You can adjust the input sensitivity by moving the slider pointer. 1018_0_Product_Manual created: 10/12/07 Page 6

Programming a Phidget Where to get information Go to www.phidgets.com >> downloads Select the Operating System and the language you want to use. Download the appropriate API manual and read the section under the InterfaceKit heading. Have a look at the source code of the InterfaceKit-full program. Have a look at the C# example below. Modify an existing program or write your own program from scratch. Simple example written in C# // - InterfaceKit simple - // This simple example creates an Interfacekit object, hooks the event handlers, and // opens it for connections to IntefaceKit Phidgets. It will then wait for user input to // terminate, and in the meantime, display event generated data from the InterfaceKit. // For a more detailed example, please see the InterfaceKit-full example. // // Please note that this example was designed to work with only one Phidget InterfaceKit // connected. For an example using multiple Phidget InterfaceKits, please see a // multiple example in the InterfaceKit Examples folder. // // Copyright 2007 Phidgets Inc. All rights reserved. using System; using System.Collections.Generic; using System.Text; using Phidgets; //needed for the interfacekit class and the phidget exception class using Phidgets.Events; //needed for the event handling classes namespace InterfaceKit_simple class Program //Declare an InterfaceKit object static InterfaceKit ifkit; static void Main(string[] args) try //Initialize the InterfaceKit object ifkit = new InterfaceKit(); //Hook the basica event handlers ifkit.attach += new AttachEventHandler(ifKit_Attach); ifkit.detach += new DetachEventHandler(ifKit_Detach); ifkit.error += new ErrorEventHandler(ifKit_Error); //Hook the phidget spcific event handlers ifkit.inputchange += new InputChangeEventHandler(ifKit_InputChange); ifkit.outputchange += new OutputChangeEventHandler(ifKit_OutputChange); ifkit.sensorchange += new SensorChangeEventHandler(ifKit_SensorChange); //Open the object for device connections ifkit.open(); //Wait for an InterfaceKit phidget to be attached Console.WriteLine( Waiting for InterfaceKit to be attached... ); 1018_0_Product_Manual created: 10/12/07 Page 7

ifkit.waitforattachment(); //Wait for input so we can wait & watch for some event data from phidget Console.WriteLine( Press any key to end... ); Console.Read(); //User input was rad so we ll terminate the program, so close the object ifkit.close(); //set the object to null to get it out of memory ifkit = null; //If no expcetions where thrown at this point it is safe to end program Console.WriteLine( ok ); catch (PhidgetException ex) Console.WriteLine(ex.Description); //Attach event handler...display serial of attached InterfaceKit to the console static void ifkit_attach(object sender, AttachEventArgs e) Console.WriteLine( InterfaceKit 0 attached!, e.device.serialnumber.tostring()); //Detach event handler...display serial of detached InterfaceKit to the console static void ifkit_detach(object sender, DetachEventArgs e) Console.WriteLine( InterfaceKit 0 detached!, e.device.serialnumber.tostring()); //Error event handler...display the error description to the console static void ifkit_error(object sender, ErrorEventArgs e) Console.WriteLine(e.Description); //Input Change event handler...display input index and new value to the console static void ifkit_inputchange(object sender, InputChangeEventArgs e) Console.WriteLine( Input index 0 value (1), e.index, e.value.tostring()); //Output change event handler...display output index and new value to the console static void ifkit_outputchange(object sender, OutputChangeEventArgs e) Console.WriteLine( Output index 0 value 0, e.index, e.value.tostring()); //Sensor Change event handler...display sensor index and new value to the console static void ifkit_sensorchange(object sender, SensorChangeEventArgs e) Console.WriteLine( Sensor index 0 value 1, e.index, e.value); Learning more... check out the forums check out the Phidgets projects 1018_0_Product_Manual created: 10/12/07 Page 8

Technical Section Using the Analog Inputs The Analog Input can measure a voltage between 0V and 5V. The analog measurement is represented in the software as a value between 0 and 1000, so a sensor value of 1 unit represents a voltage of approximately 5 millivolts. Each analog input uses a 3-pin, 0.100 inch pitch locking connector. Pictured here is a plug with the connections labeled. If this is wired backwards, damage to your sensor may result. The Interface Kit provides + 5VDC, ground, and an analog input with a range of 0 to 5V. Ratiometric Sensors If you are using a sensor whose output changes linearly with variations in the sensor s supply voltage level, it is said to be ratiometric. Most of the sensors sold by Phidgets are ratiometric (this is specified in the manual for each sensor). If the analog sensors you are using are ratiometric, enable the ratiometric property in software. This causes the reference to the internal Analog to Digital Converter to be set to the power supply voltage level. If ratiometric is not enabled, the ADC reference is set to a 5.0V 0.5% stable voltage reference. User Phidget V+ Using the Digital Inputs To wire a switch to a digital 15KΩ input, connect the switch between an input, labeled 0 to 7, and a provided ground, labeled G. The default state of the Digital Input in software is False (the switch state is open and the input pin is pulled to 5V by an internal resistor). When the switch is closed, the input pin is pulled to ground and the Digital Input is set to True. INPUT GROUND 15KΩ Digital Input Diagram 1018_0_Product_Manual created: 10/12/07 Page 9

Using the Digital Outputs Phidget Connecting an LED or other circuit to V+ a digital output is simple. In the case of an LED, wire the anode to a digital output labeled 0 to 7 on the Interface Kit, and the cathode to a supplied ground, labeled G. 300Ω The 300 ohm resistance is internal to the PhidgetInterfaceKit 8/8/8, and limits the current that can flow through the output. This is intended to protect the device from being damaged if there is a short to ground or if an LED is used. The output is intended to drive TTL or CMOS inputs; it is not designed to provide power to an external circuit. OUTPUT GROUND Digital Output Diagram The digital outputs can be used to switch larger electrical currents and voltages using devices such as power transistors, or logic level MOSFETs. You can also use the 3051 or 3052 to control a larger load. User Mechanical Drawing 1:1 scale 1018_0_Product_Manual created: 10/12/07 Page 10

Device Specifications Analog Input Impedance Digital Output Series Resistance Digital Input Pull-Up Resistance 900K ohms 300 ohms 15K ohms Analog Input Update Rate Digital Output Update Rate Digital Input Update Rate ~65 samples / second ~125 samples / second ~125 samples / second Digital Input Recommended Wire Size Digital Output Recommended Wire Size Digital Input Wire Stripping 16-26 AWG 16-26 AWG 5-6mm strip USB-Power Current Specification Quiescent Current Consumption Available External Current (source) Max 500mA 13mA 487mA Cable and Connector Components for Analog Inputs Manufacturer Part Number Description Molex 50-57-9403 3 Position Cable Connector Molex 16-02-0102 Wire Crimp Insert for Cable Connector Molex 70543-0002 3 Position Vertical PCB Connector Molex 70553-0002 3 Position Right-Angle PCB Connector (Gold) Molex 70553-0037 3 Position Right-Angle PCB Connector (Tin) Molex 15-91-2035 3 Position Right-Angle PCB Connector - Surface Mount Note: Most of the above components can be bought at www.digikey.com Product History Date Product Revision Comment July 2007 1018_0 Product Release 1018_0_Product_Manual created: 10/12/07 Page 11