BitWacker Command GUI

From OpenCircuits
Revision as of 15:31, 19 March 2008 by Russ hensel (talk | contribs)
Jump to navigation Jump to search

Summary

  • Name: BitWacker Command Graphical User Interface
  • Status: still developing, but is working. Implementation is incomplete
  • Technology: Java -- should run on many platforms, Windows 98 through Vista, Mac, Linux
  • Author: russ_hensel ( where you can find an email address to reach me )
  • License: not fully determined, but open source and object code.

Purpose:

The project is a specialized communications program designed to issue commands to a BitWacker. Input format is specialized to make input easy. I/O direction is specified in binary to make it clear what the function of each pin is.


A complete log of activity is provided both to the screen and to a log file.

Early Mock Up of Screen

Screen Shot

Notes:

Field lablels may include a note as to the data type to be entered:

  • (b) binary, eight characters 0's and 1's as 00101111.
  • (d) decimal, a normal decimal number

Download

Not posted yet, for now email russ_hensel

Command Details

These commands are fairly direct implementations of the basic command set of the BitWacker. The interface does change format of the input. For example in configuring the IO ports binary seems easier than decimal.


  • Reset ( Reset )
    • No input, no output, should just work.
  • Version
    • No input, output is the version response from the BitWacker.
  • Configure
    • 3 Inputs ( binary ) for the direction of PortA, PortB, PortC, and one input for Analog.

1 is input, 0 is output.

    • Output: none.
  • Output All ( )
    • 3 inputs, one field for each port. Binary input 1 for output high, 0 for output low.

Input All () No input. Output one field for each port, binary.

Output Pin 3 Inputs. Port use either decimal numbers 0, 1, 2, or A, B, or C. Pin, use decimal number 0 to 7. State 0 or 1 ( could be in any base, how can you tell? ).

Input Pin 2 Inputs. Port use either decimal numbers 0, 1, 2, or A, B, or C. Pin, use decimal number 0 to 7. Output, state of pin 0 or 1.

RC Servo As with Output Pin except that state is 0 to xxxxx ( decimal ) 0 for RC off, 1 for no rotation, xxxxx for full rotation.