Thursday 3 October 2013

7 Segment Display : Java : BlueJ

Objective :

7 Segment Display with 0-F with Decimal Point
A seven-segment display (SSD), or seven-segment indicator, is a form of electronic display device for displaying decimal numerals that is an alternative to the more complex dot-matrix displays. Seven-segment displays are widely used in digital clocks, electronic meters, and other electronic devices for displaying numerical information. A seven segment display, as its name indicates, is composed of seven elements. Individually on or off, they can be combined to produce simplified representations of the arabic numerals. Often the seven segments are arranged in an oblique (slanted) arrangement, which aids readability. In most applications, the seven segments are of nearly uniform shape and size (usually elongated hexagons, though trapezoids and rectangles can also be used), though in the case of adding machines, the vertical segments are longer and more oddly shaped at the ends in an effort to further enhance readability.

Truth Table Of A Seven Segmented Display 0-9
Each of the numbers 0, 6, 7 and 9 may be represented by two or more different glyphs on seven-segment displays.
The seven segments are arranged as a rectangle of two vertical segments on each side with one horizontal segment on the top, middle, and bottom. Additionally, the seventh segment bisects the rectangle horizontally. There are also fourteen-segment displays and sixteen-segment displays (for full alphanumerics); however, these have mostly been replaced by dot-matrix displays.
The segments of a 7-segment display are referred to by the letters A to G, as shown to the right, where the optional DP decimal point (an "eighth segment") is used for the display of non-integer numbers.

BlueJ Program Screenshot :



Java Program Source Code :

The Source Code Uses Certain Image Files So : For Proper Distribution, The Program is Available for Download in Two Formats :

1. For Windows (Direct Executable .exe) Recommended  [Link] :  http://www.fileden.com/files/2012/1/12/3250168/7SegmentDigitalBCD.zip

2. For Other Platform (Mac, Ubuntu, Linux) [Link] :
http://www.fileden.com/files/2012/1/12/3250168/DigitalBCD.jar

No comments:

Post a Comment