User Manual

Version 4.0

01/05/04

Copyright (C) 2001 - 2004

All rights reserved
 
 
 
 
 
 
 
 
 
 
 
 

Kadtronix
 

web: www.kadtronix.com
email: info@kadtronix.com


 
 

Table of Contents

  1. Introduction
    1.  
      1. System Requirements
      2. Email Client Compatibility
      3. Features
      4. Ordering
      5. Demo
      6. Installation

      7.  
  2. Program Operation

  3.  
    1. I/O Database
    2. Properties

    3.  
      1. Global Properties
      2. Email Properties

      3.  
    4. Configuring I/O Signals
    5. SPI Control
    6. Attaching Events

    7.  
      1. Event Trigger
      2. SPI Trigger
      3. Single-Bit Trigger
      4. Multi-Bit Trigger
      5. Time Trigger
      6. Notifications

      7.  
        1. Display Message
        2. Send Email
        3. Set Output
        4. Play Wav Sound
        5. Run Application
        6. Write SPI Slave

        7.  
    8. Copying Attributes
    9. Testing

    10.  
  4. USB I/O Module
    1.  
  5. Legal
    1. License
    2. Warranty

    3.  
 

 
 
 
 
 
 
 
 
 
 
  1. Introduction

  2. The USB Digital I/O Commander, herein referred to as simply "Digio", provides a simple yet powerful means of interfacing your computer to external devices via digial I/O signals.  Compatible with desktop and laptop systems, Digio allows a Windows PC to set digital outputs and/or read digital inputs.  In addition, beginning with version 4.0, Digio now has SPI capability for communicating with devices such as EEPROMs, real-time clocks, shift registers, data converters, etc..  Using 4 signal lines (MOSI, MISO, SCLK, and SS), one Digio module can communicate with up to 10 slave devices.  You can use Digio as a simple means of controlling external devices.  Great for hardware designers, Digio requires no microcontroller, firmware, or programming experience.

    While Digio can perform simple "set" and "get" operations, its real strength lies is its ability to define notification event(s) when input signals, also referred to as "trigger signals" or "input triggers", change state.  This is particularly useful in situations where you want to monitor digital inputs or SPI slave devices autonomously.  For instance, you can specify that an email message is sent to a designated recipient when bit #12, device #0 changes to a HIGH (1) state.  Or specify a digital output to be set when a SPI temperature conroller indicates a high threshold.  You could also indicate that a pop-up message appear on the monitor and/or a sound (wav) file is played.  The possibilities are limit-less.  You'll find Digio an important tool for use in a variety of applications including industrial process control, robotics, hardware design, and prototyping.

    Digio uses a USB I/O interface module that connects to an available USB port on your computer.  The module provides 16 I/O signals configurable in any combination of inputs and outputs.  The system is easily expanded by simply using additional USB modules.  (Note:  Version 2 and below of the USB Digital I/O Commander use an ActiveWire USB I/O interface.  Versions 3 and higher use a USBMicro device.)
     

       
    1. System Requirements
    2. Digio requires a Windows laptop or desktop PC with the following minimum capabilities:
    3. Pentium CPU
    4. 8 MB RAM
    5. 1 MB Available Hard Disk Space
    6. VGA Monitor
    7. 16-bit sound-card (optional)
    8. USB port
    9. Windows 98/2000/XP

    10.  
       
    11. Email Client Compatibility

    12. If you wish to use the optional Email notification feature, you will need a SMTP/POP3 compatible Email program such as:
       
    13. Eudora (Lite & Pro)
    14. Microsoft Outlook
    15. Pegasus
    16. Calypso
    17. PM Mail 98
    18. Actif Mail
    19. Lotus Notes
    20. Netscape

    21.  
    22. Features

    23. Digio features include the following:
       
    24. Configure input(s) as single-bit or multiple-bit event triggers
    25. 6 different notifications including email, WAV file, pop-up message, set output, execute application, and write SPI device
    26. Attach events and perform test preview
    27. USB I/O interface module included, providing 16 I/O signals
    28. I/O signals configurable in any combination of inputs and outputs
    29. Expandable up to 160 I/O signals by adding more modules
    30. Read/write up to 10 SPI slaves, expandable to 100 slaves by adding USB modules
    31. Configure notification delays (filters) to limit the number of notifications over a period of time
    32. Compatible with multiple email client programs including Outlook, Eudora, Netscape, and others

    33.  
    34. Ordering

    35. Digio is available at the following source:

          Kadtronix
          web: http://www.kadtronix.com
          email: sales@kadtronix.com
       
       

    36. Demo

    37. A trial version of the program is available for download.  This version is fully operational, but may lack some functions.  It allows you to examine the features of Digio.   Visit the Kadtronix website for download details.
       
    38. Installation

    39. Before installing the application, be sure to uninstall any earlier version that already exists.  To start the installation process, locate and run  the self-extracting setup file (setup.exe) on the install media.

      Digio uses a USB I/O module card to interface digital signals.  Using a compatible cable, plug the device into an available USB port on your computer or into external USB hub.  The first time you perform this procedure, the Windows operating system will detect the new hardware and attempt to locate a driver.  The required drivers should be already installed as part of your Windows operating system.  If your PC has difficulty locating them, browse to your Windows system drivers folder and to find them.

      If you are using more than one USB I/O module, plug the additional module(s) into available USB port(s) on your computer.  If there are not enough ports, you may need to purchase an external USB hub.  Available at computer stores, this device expands the number of available USB ports.

     
  3. Program Operation

  4. Activate the program by selecting:

    Start Menu -> Programs -> USB Digital I/O Commander

    When the program begins, the main display dialog appears as shown below:





    The toolbar at the upper right portion consists of 6 large buttons.  These controls are convenient quick-select items for choosing some of the more commonly accessed functions.  These selections are also available from the menu.  From left to right, they are: global properties, SPI control, digital I/O control, attach events, copy attributes, and help.  To show the function of a toolbar button, simply move the cursor over it and its description will appear.



    The large white area shows the signal list.  The signal list presents a summary of I/O properties associated with a selected device.  "Device" simply refers to a USB module.  To select a device, choose it from the "Select Device" combo-box near the top of the dialog.  Note that the data in the list is not necessarily valid unless the selected device exists.  The status line at the bottom of the dialog indicates the number of USB modules detected.  Devices are designated by virtual port assignment DEV_nn, where nn indicates a two-digit device number.  If, for instance, the status line indicates 1 device was detected, it will be assigned to virtual port DEV_00.  Additional devices will be identified with successive port number ID (e.g., DEV_01, DEV_02, etc.)  (Note:  Due to the nature of USB enumeration performed by Windows and the means by which USB modules are identified, it is important that if multiple devices are used, that they are all attached before starting the program and that they are not unplugged during program operation, as this could adversely affect device identification.)
     

    1. I/O Database
    2. An important feature of the program is the I/O database.  This proprietary structure contains properties and data associated with the program.  Global program properties are stored as well as information associated with each device and I/O signal.  The database stores the following types of information:
       
    3. Global notification enable flags
    4. Email settings
    5. Signal I/O properties
    6. Internal program parameters

    7.  
      After changing program properties, you can save these settings to the database using the "Save" feature.  To save your settings, choose the following menu item:

          File -> Save...

      You may also delete the database if desired.  To perform this operation, make the following menu selection:

          File -> Delete...

      (In some cases, you may need to delete the database before installing new versions of Digio.)
       
       

    8. Properties

    9. To examine or change program properties, make the following menu selection:

      Tools -> Properties

      A properties dialog will appear containing global properties as shown below:
       
       




      Properties are divided into 2 categories:  global program properties and email properties, as described below:
       

        1. Global Properties

        2. The Properties dialog page contains configurable parameters that affect charactersistics of program operation.  The Global Enable Flags enable or disable one or more notification types, providing a convenient method of activating or deactivating all flags, rather than selecting them signal-by-signal.

          Notification delay provides a means of limiting notifications on signals that are expected to be particularly active.  Imagine a scenario in which a signal input being monitored is continually changing states.  Without some type of filtering capability, the computer would be bombarded with notification events.  The notification delay specifies a minimum time period between successive notifications on any given signal input.  Therefore, when an input trigger occurs and generates a notification, this timer will temporarily disable further notification on the signal until the time period elapses.  (Note that the delay is imposed only on the trigger signal.  All other signal inputs may still be triggered.)

          The device poll rate defines the rate at which the attached USB I/O modules are polled.  A faster poll rate yields better response, but also has the disadvantage of requiring more CPU resources.  A slower rate is recommended where possible.
           

        3. Email Properties
        4. Email properties define parmeters essential for sending email as shown below:
           
           




           The following parameters are required for email notifications:
           

        5. Your email address (e.g., jimmy@att.net)
        6. Outgoing (SMTP) mail server (e.g., mailhost.worldnet.att.net)
        7.  
          The program is compatible with systems where e-mail is implemented on networked servers.  In this instance, simply enter the server name in the "Outgoing Mail Server" field.

          Specify the following parameters only if SMTP authentication is required:
           

        8. SMTP user name
        9. SMTP password

       
       
    10. Configuring I/O Signals

    11. This operation involves configuring the properties of individual I/O signals on the selected device.  To configure a device, select the following from the menu:

      Tools -> I/O Control...
       
       





      To choose a device, use the "Device" combo-box near the top of the dialog.  Remember that although you can configure any device, only those device(s) that are actually plugged in and detected will respond to your configuration.  You should first configure the direction (input/output) and states (high/low). (Note:  It is not necessary to configure the states of input signals since their states are read from the device.)

      Next, assign an optional label for each signal.  The label should be descriptive enough to help you remember its purpose.  Note the following examples:

      Input label examples:  "Water level overflow", "Smoke alert", "Device on"
      Output label examples:  "Close valve", "Activate motor", "Turn off light"

      There is a special column of numbers in the dialog labeled "Notification Delay".  This is a representation of the notification filtering described earlier and provides an indication of when the next allowable notification can occur.  Notification on any given signal is temporarily disabled until this countdown timer reaches "0".  This feature prevents an overload of notifications on very active inputs.

      To see the current value of the timers and input states, press the "Update" button.

      The remaining controls on the dialog are convenience buttons aimed at simplifying operations.  Without these buttons, you would have to select each signal individually.  Of course, it might still be necessary to select signals individually if you are not setting them as all outputs or all inputs.  The "Set All Direction" buttons will set all 16 I/O signals as outputs.  The "Set All State" buttons set all signals states high or low.  Note that state changes, while applied to all signals, only have meaning for signal outputs and have no lasting effect on input signals.  The "Notifiy Timers" reset button provides a convenient means of resetting all notification delay timers, re-enabling notification(s).  This button should only be used in test situations when you wish to recycle a delay quickly to re-enable notification(s).

      Press the dialog's OK button to save changes and exit.  Press "Update" to save changes and without exitting the dialog.  Press "Cancel" to lose changes.
       

    12. SPI Control

    13. This selection allows you to configure and control the serial peripheral interface of selected master device(s).  You may even test attached slave devices by performing simple read/write transactions.  Select the following menu item:

      Tools -> SPI Control...
       
       





      First, choose the desired master device.  This is simply the USB module attached to your PC.  If there is only one USB module attached, your selection should be DEV_00.  Then, select the desired slave device.  There can be up to10 selections per master.  The slave assignment ranges from 0 to 9 and is somewhat arbitrary.  Assign any number to the slave you choose.  You may also assign an optional label to each device.  The label should be a descriptive string or phrase that helps you remember your assignments.  For instance, you could specify "Temperature Sensor, Board 1".

      You may now configure the SPI master.  When configuring the master, you must select several key attributes.  The "Clock" selection specifies the clock rate.  For most applications, the slowest clock rate (52Kbits/sec) will be fine.  If desired, you may choose a higher rate for time-critical applications.

      The "Phase & Polarity" field further defines the clock by specifying the state at which the clock starts (high or low) and on which edge the data is valid.  In many instances, the default selection ("Clock starts low, data valid on rising edge) will be correct.  However, you should consult the datasheet of the slave device for the correct setting.

      Also select the data-width.  This field determines the size in bytes of each data transaction with the slave.  Choose 1, 2, 3, or 4 bytes.  (Note that some devices may not be byte-oriented and may require a transfer that is not aligned to a byte boundary.  In these instances, select the next higher byte size.  For instance, a device requiring a 6-bit transfer can be defined as 1-byte (8-bits).  The two leading or trailing bits should be ignored by the slave device.  (Consult the device's datasheet for details.)

      The slave-select field determines which digital signal of the master (USB module) will be used to select or enable the slave device.  A single digital output must be designated by the master for each slave device exclusively.  Choose any available digital signal except those defined for the SPI interface (PA5, PA6, PA7).  Note that the slave-select must be defined an output signal.  If it is defined as input, you may re-define it using the "..." button.  The activation state defines whether the slave device is selected by active-low or active-high signal.  In most instances, the selection will be "Low".  (Consult the device datasheet for this information.)  The mode field defines whether the slave-select should behave as a chip-select or latch-enable.  A device defined for chip-select will be selected differently than a latch-enable device.  If chip-select, the master will enable or select the slave device, perform the data transaction, and then disable or de-select the device.  If latch-enable, the master will perform the data transaction, and then "latch" the data by toggling the signal line.  Devices such as shift-registers typically require latching operation.  Consult the datasheet for the proper selection to use.

      You may also specify an optional data-conversion operation to convert read data from a raw value to something more meaningful such as degrees, amperes, volts, etc.  To specify a modifier, select one from the combo-box and enter a value.  Then click "->" to transfer it to the edit field at the right.  To specifiy additional modifiers, repeat the process.  You may choose up to 10 modifiers.  Each will be performed in the sequence you have defined them.  Modifiers include:
       

    14. Add
    15. Subtract
    16. Multiply
    17. Divide
    18. Shift Right / Left
    19. Bitwise And / Or / Xor
    20. Modulus

    21. You may also specify a data format from the combo-box list.  These include:
       

    22. Unsigned (hex)
    23. Signed (integer)
    24. Decimal (float)

    25.  
      Choose the format that suits your application.  If you want to work in raw units, choose "Unsigned".  For signed numbers (positive and negative), select "Signed".  For decimal (floating-point) data select "Decimal".  Note that signed and decimal formats require appropriate modifier(s) for conversion from raw units.

      As an example, consider an analog-to-digital converter whose purpose is to determine the amount of current flowing through part of a circuit.  Rather than dealing with raw readings, we'd like to use amperes instead.  To make the conversion, we determined the following example equation:  Current = (((value >> 2) * 0.15) + 5.0).  To effect the conversion, specify a decimal data format and the following modifiers:
       

        RSHIFT  2.00
        MULT     0.15
        ADD       5.00


      Once you have configured the SPI master and selected modifier(s), you may test your configuration in the "Test" region.  Specify an optional write value by clicking the "Write" check-box and entering a value.  To read a value, click the "Read" check-box.  Then, click the "Go" button to perform the operation.  Choose "Repeat" to perform repitive reads/writes.
       

    26. Attaching Events

    27. This process associates signal inputs and notifications.  A notification occurs when the input is triggered (or changes state).  To do this, select the following menu item:

      Tools -> Attach Events
       
       


      1. Event Trigger

      2. An event trigger is an action that causes one or more notification(s) to occur.  There are two types of event triggers:  signal triggers and time triggers.  A signal trigger, also known as an input trigger, refers to a change in signal state, resulting in one or more notification(s).  There are several types of signal triggers: single-bit and multi-bit.digital triggers, SPI triggers, and time triggers.

        To configure an event trigger, you must first select the device and input signal you wish to become the input trigger signal.  Choose these using the "Device" and "Signal" combo-boxes near the top of the dialog.  If you want to use a dicrete digital signal trigger, select the bit-length of the input.  Typically, this value will be 1, but there may be instances when you have an input that is characterized by a multi-bit field.  An example of this might be a 4-bit binary-coded decimal (bcd) input.  For this example, you would select a bit-length of 4, resulting in a multi-bit trigger definition.  Otherwise, use the default bit-length of 1, resulting in a single-bit trigger definition.
         

      3. Single-Bit Trigger

      4. A single-bit trigger is associated with 1-bit signal inputs, as described above.  To configure a single-bit trigger, select the "Single-Bit Trigger" trigger event combo-box.  Select "HIGH" if you want notification(s) to occur when the signal is detected high (1).  Or, select "LOW" if you want notification(s) to occur when the signal is detected low (0).  Choose "DISABLED" if you want no triggers to occur.
         
      5. Multi-Bit Trigger

      6. A multi-bit trigger is associated with signal inputs that are 2 or more bits in length.  Note that a multi-bit input may not span a device boundary.  For example, consider the following example settings:
         
         
        Multi-Bit Example
        Device=0  Signal=14  Bit-Length=4

        This multi-bit setting is invalid because, beginning at signal 14, there are only 3 signals remaining on the device, not 4.

        Shared inputs are allowed.  Shared inputs occur when 2 or more definitions share 1 or more input signals, as indicated in the following example:
         
         

        Shared Inputs Example
         
        Device
        Signal
        Bit-Length
        1
        0
        5
        4
        2
        0
        6
        2
        3
        0
        7
        1

        The above example indicates that all three definitions share 1 or more signals.  Definitions 1 and 3 share signal #7, definitions 1 and 2 share signals #5,  #6, & #7.  And definitions 2 & 3 share signal #7.

        To configure a multi-bit trigger, you must first select the bit-length.  Then choose the trigger event.  There are 3 selections:
         

      7. EQ (=) Value
      8. NEQ (!=) Value
      9. LT (<) Value
      10. GT (>) Value
      11. DISABLED

      12. Choose "EQ" if you want notification(s) to occur when the input signals are equal the trigger value.  Choose "NE" if you want notification(s) to occur when the input signals are not equal the trigger value.  Choose "LT" if you want notification(s) to occur when the input signals are less than the trigger value.  Or, choose "GT" if you want notification(s) to occur when the input signals are greater than the trigger value.  Enter the trigger compare value in the "Value" field.  Otherwise, you may disable notifications on the signal.  (The current state & direction of discrete digital signals are shown in the "State" and "Direction" columns of the main display.  The trigger compare value will be shown in the "Signal Trig." column of the main display.)
         

      13. SPI Trigger

      14. A SPI trigger allows you to define an event that occurs when a slave device yields a predetermined read ("Trigger") value.  (This value will be shown in the "SPI Read" column of the main display.)  Note that the input signal selection mentioned above does not apply in the same way as for other triggers.  Instead, the input signal selection selects a virtual SPI channel.  Using this virtual SPI selection, you can create up to 16 different SPI events per master USB device.  Specify the desired SPI mode from one of the following combo-box selections:
         
      15. Read
      16. Write
      17. Write/Read
      18. Disabled

      19. If the device requires a setup or initialization value, choose one of the write modes.  Otherwise, choose "Read".  Next, define the trigger value in the "Trigger" field.  This value will be compared against the value retrieved from the slave device.  Finally, specify the compare condition.  Choose one of the following selections:
         

      20. EQ (=) Value
      21. NEQ (!=) Value
      22. LT (<) Trigger
      23. GT (>) Trigger

      24. Select "equal", "not equal", "less than", or "greater than".  (The trigger compare value will be shown in the "SPI Trig." column of the main display.)  You may also specify an optional "Setup" value.  Many slave devices require this value.  For instance, the setup value might specify which channel of a multi-channel analog-to-digital converter to read.  Note that SPI operation must be enabled for the USB module before you can specify a trigger event.  To do this, click the button labelled "..." in the SPI trigger region of the display.
         

      25. Time Trigger
      26. A time trigger is a special type of event trigger configured to automatically occur at specified times of day.  It is useful when you desire notification(s) to occur at known and/or regular intevals.  For instance, you could configure a trigger to set an output associated with activating a night-camera each evening at 6:00PM.  To use a time trigger, select the time(s) of day you want it to occur.  Make the desired "Time/Day Trigger" selection as follows:
         
      27. Daily
      28. Quarter Hourly
      29. Half Hourly
      30. Hourly

      31.  
        A daily trigger occurs each day at a specified time.  Use the "Hour" and "Minute" fields to indicate the desired trigger time.  (Note that military format is required.  For instance, to indicate a time of 5:15PM, specify Hours=17 and Minutes=15.)

        The remaining time trigger selections are repetitive in nature and occur at regular intervals.  Select a quarter-hourly trigger when you wish notifications to occur each 15 minutes, ie.,  00:00,  00:15,  00:30,  00:45,  01:00,  01:15,  01:30,  01:45, etc.

        Half-hourly triggers occur at the following intervals:  00:00,  00:30,  01:00,  01:30,  02:00,  02:30, etc.

        Hourly triggers occur each hour:  00:00,  01:00,  02:00,  03:00, etc.

        You may further specify a time trigger by selecting which day(s) of the week they may occur.  To include day(s) of the week, check them.  To exclude, uncheck them.  Time triggers will only occur on those days that are checked.  (Time triggers are shown in the "Time Trig." column of the main display.)
         

      32. Notifications

      33. A notification occurs in response to a trigger event as described above.  There are 5 different types of notifications that can occur.  You may select any number or combination of notifications for a given input signal.  To choose a notification, you must first enable the selection by choosing the check-box associated with it.  You may then select, configure, and preview the notification.  The "Select" and "Preview" buttons appear in the "Select Notifications" section of the dialog.  The "Select" button allows you to configure a notification or examine its current settings.  The "Preview" button allows you to preview or test the notification.  Each type of notification is described below.
         
        1. Display Message

        2. This notification displays a pop-up dialog message on your computer's monitor.  To configure, choose the "Select" button.   The following dialog will appear:
           
           





          Type the message you want displayed and select whether you want an automatic message.  An automatic message is displayed for a selectable period of time and then is automatically extinguished.  Click "OK" once you've finished configuring the message.  You may now preview the message by selecting the "Preview" button.
           

        3. Send Email

        4. This notification sends an email to a designated recipient.  To configure, choose the "Select" button.  The following dialog will appear:




           Type the name of the recipient for this notification.  Use the format "name@domain.com".  (Note:  Previous versions of Digio required surrounding brackets:  '<' and '>'.  These brackets are no longer required.)  You may indicate multiple recipients in this field with comma separators.

           Enter an optional subject for the message.  Also specify a body, the actual message you want to send.  Instead of typing the message, you can also specify a text file to use.  To specify a file, press the "..." button.  The contents of the file you specify will be used in the message body.  (Note that this is not an attachment.)

          If you haven't yet done so,  configure email properties.  These parameters specify the email account and outgoing mail server.  To configure email properties, press the "Properties" button.
           

        5. Set Output

        6. This notification sets an output signal to the desired state when a trigger event occurs.  To configure, choose the "Select" button.  The following dialog will appear:
           
           




            Then select the signal output you want to use.  Configure the desired output state that you want set when the trigger event occurs.  If necessary, use the "Configure Signal" button to configure an output signal.
           

        7. Play Wav Sound

        8. This notification plays a sound file.  To configure, press the "Select" button.  The following dialog will appear:
           
           







          Use the browser to locate and select a wav file to be played when the trigger event occurs.  Once selected, you may preview the sound by pressing the "Preview" button.
           

        9. Run Application

        10. The notification activates an application that you specify.  To configure, press the "Select" button.  The following dialog will appear:
           
           







          Then press the "..." button to locate the executable (.exe) file.  Enter any command arguments that might be needed.  Select "Run the application minimized" if you don't wish the application to appear on your computer screen.
           

        11. Write SPI Slave

        12. The notification writes a pre-specified value to a SPI slave device.  To configure, press the "Select" button.  The following dialog will appear:
           
           





          Choose the desired SPI master.  This is simply the active USB module the slave is attached to.  Also select the slave device.  Choose the hexadecimal value to be written and enter in the "SPI Write Value" field.  If necessary, click the "Configure..." button to configure the USB master for SPI operation.  When complete, click "OK" to save your changes.  Then, click the "Preview" button on the previous dialog to view and/or test.
           
           

    28. Copying Attributes

    29. You may find it necessary to configure many I/O signals with similar attributes.  Rather than configure each signal individually, you can use the "Copy Attributes..." feature to copy the properties of a signal to one or more destination signals.  To use this feature, select from the menu:

      Tools -> Copy Attributes...
       
       





      First specify the source signal.  This is the signal having the attributes you want to copy.  Then, specify the destination signal(s).  If you want to copy to a single destination, indicate identical starting and ending destination signals.  To copy to multiple destinations, specify the range appropriately.  For instance, suppose we had configured device 0, signal 0 as an input with an activated single-bit trigger and an email notification.  If we desired to copy these attributes to all devices, all signals, we could use the copy feature and specify the following:
       
       

      Source Signal
      Device DEV_00
      Signal 00

       
      Beginning Destination Signal
      Device DEV_00
      Signal 01

       
      Ending Destination Signal
      Device DEV_09
      Signal 15

       
    30. Testing

    31. Digio provides a feature for testing output signals on all detected USB modules.  The operation tests each output by changing its state from low to high and vice-versa.  This feature is particularly useful in situations where you need a quick and easy method of determining the operational status of your hardware.  To perform the test, select the following from the menu:

          Tools -> Test Outputs
       
       






      Note that this test requires at least one configured output on the specified device.  If no outputs are found, select another device or re-configure the current device.  You may wish to use the "Config. I/O.." button to configure one or more outputs.
       

  5. USB I/O Module

  6. The USB I/O Module provides the interface between your external hardware and the PC.  Made by USB Micro, this module provides 16 signal lines, configurable in any combination of inputs and outputs.  The following sections further describe the hardware (as documented by USB Micro):

    Along the long edge of the board is the SimmBus compatible connector, "J1". "J2" is immediately next to J1, and is connected one-to-one electrically.
     

    USB Interface Connector Pin Out
    Pin Number USB Interface Signal
    1 <nc> (Pin 1 is located next to the silk screen "J1".)
    2 <nc>
    3 <nc>
    4 <nc>
    5 <nc>
    6 <nc>
    7 +5V USB from PC
    8 <nc>
    9 GND
    10 optional pull up
    11 optional pull up
    12 <nc>
    13 <nc>
    14 <nc>
    15 PA.0 - Port A bit 0
    16 PA.1 - Port A bit 1
    17 PA.2 - Port A bit 2
    18 PA.3 - Port A bit 3
    19 PA.4 - Port A bit 4   [SPI SS (slave-mode only)]
    20 PA.5 - Port A bit 5   [SPI MOSI]
    21 PA.6 - Port A bit 6   [SPI MISO]
    22 PA.7 - Port A bit 7   [SPI SCLK]
    23 PB.0 - Port B bit 0
    24 PB.1 - Port B bit 1
    25 PB.2 - Port B bit 2
    26 PB.3 - Port B bit 3
    27 PB.4 - Port B bit 4
    28 PB.5 - Port B bit 5
    29 PB.6 - Port B bit 6
    30 PB.7 - Port B bit 7

    Other Connectors:

    J3 is the USB connection. J4 and J5 are for factory use.

    Power connection:

    The +5V available on pin 7 of the SimmBus is the power from the PC's USB port. Up to 250mA can be drawn from this supply to power devices attached to the USB interface. If more power is needed, an external supply should be used. Do not attach the +5V from the external supply to this pin. The ground connection of the SimmBus should be common to any external power supply ground as well as any target circuits.

    Board Layout:

    Note that all lines extend from J1 o J2. There are then some J1 lines that only connect to J2, and no other circuitry.


  1. Legal

  2. By purchasing this product, you, the customer agree to terms of licensing and warranty.  Please read the following sections carefully.
  1. License

  2. Kadtronix, Inc. grants the registered user of the USB Digital I/O Commander, herein referred to as "the application",  the right to use one copy of the application software on a single computer. The user may not use the application on more than one computer at the same time.  The application may NOT be distributed without our express written permission.
     
  3. Warranty

  4. KADTRONIX, INC. DISCLAIMS ALL WARRANTIES RELATING TO THIS PRODUCT, WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND ALL SUCH WARRANTIES ARE EXPRESSLY AND SPECIFICALLY DISCLAIMED. NEITHER KADTRONIX, INC. NOR ANYONE ELSE WHO HAS BEEN INVOLVED IN THE CREATION, PRODUCTION, OR DELIVERY OF THIS PRODUCT SHALL BE LIABLE FOR ANY INDIRECT, CONSEQUENTIAL, OR INCIDENTAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE SUCH PRODUCT EVEN IF KADTRONIX, INC. HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR CLAIMS. IN NO EVENT SHALL KADTRONIX, INC.'S LIABILITY FOR ANY SUCH DAMAGES EVER EXCEED THE PRICE PAID FOR THE PRODUCT, REGARDLESS OF THE FORM OF THE CLAIM. THE PERSON USING THE PRODUCT BEARS ALL RISK AS TO THE QUALITY AND PERFORMANCE OF THE PRODUCT.