The CUCAT logo. A cat with the stars of the Southern Cross on it over the letters CUCAT.

Seven Segment Display Scanner


The purpose of this project is to design and build a device that will optically scan a 7-segment display and verbally identify the number scanned. The device should be small, lightweight, portable and be able to work on any 7-segment display. The numerical recognition is limited to the digits 0 - 9, colon (:) and decimal point (.).

Photograph showing a four 7-segment displays, displaying one, five, one and zero.

Figure 1: Four 7-Segment Displays, displaying one, five, one and zero.

Hardware

A Linear CCD of appropriate size and resolution was needed. Large enough to be able to scan large displays, and detailed enough to handle smaller displays. For this purpose, a Texas Instruments TSL208R linear sensor array was selected.

Photograph of a TSL208R linear sensor array.

Figure 2: TSL208R linear sensor array.

This device has a working length of 64mm, and contains 512 bits (approx 200dpi) which is satisfactory.

For the speech output, the ISD1420 speech chip from ISD was used. This allows the recording and playback of individually addressed sound samples (maximum of 20 seconds worth) through the attached loudspeaker.

Photograph of a ISD1420 Speech Chip Functional Circuit.

Figure 3: ISD1420 Speech Chip Functional Circuit.

The platform used is the Mitsubishi M16C/62. C-Code was developed to perform the following functions in the device:

  1. Drive the TSL208R array
  2. Store the information scanned from the TSL208R
  3. Decode this information and determine the number that was scanned
  4. Send the appropriate address to the ISD speech chip to speak the number found.

Photograph of the M16C/62 Development Board.

Figure 4: M16C/62 Development Board.

Operation

The operation of the device is simple. An activation button is pressed to indicate that scanning should commence, then the scanner array is dragged across the desired display from left to right. When scanning is complete, the speech chip plays the appropriate message, stating the number.

Photograph of a hand holding the sensor to the left of the number 5 at the begining of the scan.
Photograph of a hand holding the sensor over the number 5.
Photograph of a hand holding the sensor to the right of the number 5 at the end of the scan.

Figures 5-7: Scanning the number five.

Current Progress

The device can successfully scan and identify the number on a single, 7-segment display, with the scanner held flush against the display. From conducted trials, the number is successfully identified over 90% of the time if a reasonably clean, and straight sweep is accomplished. The speed in which the individual scans the digit makes little difference to the operation of the device. A scan sweep in an erratic, slow or swift speed will still identify correctly (swift within reason - not breakneck speeds!). The identified number is then spoken through the connected loudspeaker.

Photograph of the various components of the project.

Figure 8: Current progress.

Future Developments