Talking  Computer with Touch Screen

Table of Contents

I. Project Scope
II. Customer Needs
III. Project Specification
IV. Project Specification Verification
    A. Verification Method
    B. Extent to Which the Specifications Were Met
VI. Project Details
    A. Block Diagrams
    B. Software
    C. Packaging and Assembly
VI. Project Costs
VII. Summary
Appendix A: Gantt Chart and Subproject description
    Subproject Description
        VI.1 Part Acquisition
        VI.2 Prototype the Voice Synthesizer Interface to the HC11
        VI.3 Prototype the LCD Interface to the HC11
        VI.4 Design the Memory Module Board
        VI.5 Interface Input Devices
        VI.6 Design and Build the Processor Board
        VI.7 Design Portable Power Supply
        VI.8 Design and Build a Case or Mount
        VI.9 Develop Drivers
        VI.10 Develop Downloader
        VI.11 Develop an Operating System
        VI.12 Develop Demo Applications
 
 

Author: Benjamin R. Paul
Project Title: Talking Computer
Faculty: Dr. Schwartz
Date: June 5, 2000

Back to Ben's Project Page


I. Project Scope

The Talking Computer will be a portable computer capable of displaying text and images, voice syntheses, and storing more than 1 megabyte of data on a removable memory board. This device will provide an interesting multimedia interface for devices such as robots, Automated Teller Machines (ATM), pay-at-the-pump gas stations, and educational games/toys. The large memory will give it the ability to download large amounts of text, like a 250 page book for example, from the Internet and then display and read it to you aloud.

Table of Contents

II. Customer Needs

Adviser: Dr. Eric M. Schwartz
Benton 332
Gainesville FL 32611
 
 
List of needs in a ranked order (5=high, 1=low)
Rank Customer Need
5 RS-232 Interface
5 +5V Serial interface
5 Voice Synthesis
5 LCD (Text)
5 Drivers 
5 Test Software
4 Touch Screen
3 >1 Mbyte Non-volatile Memory
3 LCD (Graphics and Animation)
3 Operating System
3 Input Devices
2 Content Downloader
2 Portable Power Supply

Dr. Schwartz, after hearing my concept agreed to be my faculty sponsor. As the customer I need a robust multimedia interface to impress potential employers and for a future robot. This product needs to be audibly and visibly impressive as well as dependable. This device needs voice synthesis, a large display, input devices, and more than 1 Mbyte of non-volatile memory to store software content. Computer and micro-controller interfaces are also needed to download new content as well as future expansion. The mother-board needs to be designed using Protel and then cut, populated, and debugged. Software is needed for testing, debugging, and driving the system. Battery power is need for portability.

Table of Contents
 

III. Project Specification

Project Design Specification Value or Range
LCD 240 pixels X 128 pixels
LCD Driver >30 char/sec.
Voice Synthesizer >10,000 words
Voice Synthesizer Driver >50 words/min.
Touch Screen  5.25 x 4 in.
Memory >1 Mbyte Non-volatile 
RS-232 Interface 9600 baud
+5V Serial interface 9600 baud
Content Downloader 9600 baud
Portable Power Supply >1 hour supply

Table of Contents
 

IV. Project Specification Verification

The specifications in this lab were verified showing that each of the devices worked and that the devices selected met the specifications. With the exception of the LCD transfer rate, the Flash memory, and the content downloader all the specifications where met.
 

A. Verification Method

Project Design Specification: Value or Range: Method of Verification
LCD 240 pixels X 128 pixels This was a device parameter specified in this devices data sheet and verified by filling the display with 40 x 16 characters each 6 x 8 pixels in size.
LCD Driver >30 char/sec. The time taken to send a full screen of characters (40 x 16) was measured to verify this specification.
Voice Synthesizer >10,000 words The voice synthesizer can reproduce any number of words, due to the fact words can be spelled phonically. This was verified by example.
Voice Synthesizer Driver >50 words/min. This was verified by sending 50 words of average length and timing the transfer rate. 
Touch Screen  5.25 x 4 in. This was a device parameter specified in this devices data sheet and was measured using a ruler.
Memory >1 Mbyte Non-volatile  Not verified
RS-232 Interface 9600 baud This was verified by interfacing the talking computer to several different computers using Hyper Terminal set at 9600 baud.
+5V Serial interface 9600 baud
Content Downloader 9600 baud Not verified
Portable Power Supply >1 hour supply The device was operated for a full hour and a half using the portable power supply.

Table of Contents
 

B. Extent to Which the Specifications Were Met

 
Project Design Specification: Value or Range: Extent to Which the Specifications Were Met: 
LCD 240 pixels X 128 pixels Pass: The LCD is the required size
LCD Driver >30 char/sec. Failed: The transfer rate was found to be 21.3 char/sec which is less than the desired >30 char/sec. 
Voice Synthesizer >10,000 words Pass: By spelling a word phonically any word can be synthesized.
Voice Synthesizer Driver >50 words/min. Pass: The transfer rate was found to be 73.4 words/min which is more than the desired >50 words/min. 
Touch Screen  5.25 x 4 in. Pass: The touch screen was measured and found to have an active area of 5.25 x 4 in. 
Memory >1 Mbyte Non-volatile  Failed: Flash memory was not fully implemented
RS-232 Interface 9600 baud Pass: Communication was established at 9600 baud.
+5V Serial interface 9600 baud
Content Downloader 9600 baud Failed: The content downloader was not fully implemented.
Portable Power Supply >1 hour supply Pass: The Batteries used in the 1.5 hour test are still in use and have powered the device for about two more hours

Table of Contents
 

VI. Project Details

A. Block Diagrams:


 
 

Table of Contents
 

B. Software:

The software was developed using ImageCraft's C compiler, ICC11 Version 5.0. Many C files were written and used during the development of this project. For the sake of brevity, only the C file used in the final demonstration are shown in Appendix B.
 

C. Packaging and Assembly:


The project was packaged in a customized plastic toolbox. The removable tray of the toolbox was cut so it would hold the LCD, touch screen, three toggle switches, one push button switch, 25-pin female RS-232 connector, 15-pin PC gamepad connector, and a terminal block. The electronics, batteries, and speaker where then stored below this tray.

Table of Contents

VI. Project Costs

Part Description Actual Cost  Projected Cost 
Voice Synthesizer $160.00 $160.00
LCD  $190.00 $190.00
Inverter for LCD $16.00 $16.00
Memory $30.00 $30.00
HC11 EVBU $68.11 $150.00
Touch Screen $0.00 $70.00
Tool Box $5.00 $5.00
Switches $6.00 $6.00
Batteries $30.00 $30.00
Misc. $100.00 $200.00
Total $605.11 $857.00

Table of Contents
 

VII. Summary

I accomplished a great deal with this project. While I failed to complete the projects objectives I am very close and feel I have over come many of the obstacles. I successfully integrated the LCD display, the voice synthesizer, and the touch screen, completing three of the four main objectives of this project. The non-completed objective, the Flash memory, is close to being ready. It is wire-wrapped and only needs to be tested and have drivers created.
 

Table of Contents
 

Appendix A: Gantt Chart and Subproject description

Gantt Chart
24 Sept Wk 2 Wk 3 Wk 4 Wk 5 Wk 6 Wk 7 Wk 8 Wk 9 Wk 10 3 Dec
Part Accusation X X X X X X X
Prototype the Voice Synthesizer Interface to the HC11 X
Prototype the LCD Interface to the HC11 X X X
Design the Memory Module Board X X
Interface Input Devices X X
Design and Build the Processor Board X X X
Design Portable Power Supply X X
Design and Build a Case or Mount X X
Develop Drivers X X X X X X X X X
Develop Downloader X X
Develop an Operating System X X X X X
Develop Demo Applications X X X

Table of Contents
 

Subproject description

VI.1 Part Acquisition

Description:

Select and purchase a voice synthesizer and LCD that meets the project requirement.

Technical Description:

The following parts are needed for this project:
 
Voice Synthesizer: Capable of taking input through a SCI or memory mappable interface and produce understandable audible voice output. 
LCD: Must have a built in driver and be 240 pixels X 128 pixels in size. Also be sure to get the backlighting inverter.
Touch Screen: Capable of producing output that can be sent to the HC11 through a SCI or memory mapped input and have the dimensions 4 in. X 2.5 in. 
Memory: More than 1 megabyte of non-volatile RAM

Table of Contents

VI.2 Prototype the Voice Synthesizer Interface to the HC11

Description:

Interface the voice synthesizer (V600) to a HC11 EVBU board and write driver software to learn how the voice synthesizer works and how it should be done in the final product.

Technical Description:

The V600 is to interface to the HC11 as if it where a 1 byte memory device. Decoding the address lines to provide the proper chip select signals (RE and WR) is required. Attach power (+5v), ground, the RE and WR signals, the data bus, and a speaker to the V600. Write software to drive the V600.

Table of Contents

VI.3 Prototype the LCD Interface to the HC11

Description:

Interface the LCD display to the EVBU board and write driver software to gain understanding about how it works and how it should be interfaced in the final product.

Technical Description:

Read all of the documentation on the LCD and develop an understanding of the power and voltage requirements. Power and memory map the LCD to the EVBU in a similar manner as the V600. Take great care not to burn this expensive device. Write drivers to test and debug the LCD.
 
 

VI.4 Design the Memory Module Board

Description:

Design and build a memory board capable of braking the one megabyte or more of RAM into smaller blocks that the HC11 can handle.

Technical Description:

This board will hold the one megabyte or more of non-volatile RAM and the paging circuit. The board will use a PAL or similar logic array device to page through the memory.

Table of Contents

VI.5 Interface Input Devices

Description:

Interface the input devices to the EVBU board and create software drivers for them.

Technical Description:

Interface the touch screen and other input devices to the EVBU board using memory mapping and HC11 A-D system. Write software drivers for each device as well as a sample application. Potential input devices include: PC game-pad, potentiometer, keypad, keyboard, switches, dials, and buttons.

Table of Contents

VI.6 Design and Build the Processor Board

Description:

Use Protel to design a processor board that will be a more permanent replacement for the wire rapped EVBU board. This board should meet all of the needs of the project including the SCI and RS-232 interfaces. It should also have headers for all the interfaced devices already interfaced with the EVBU.

Technical Description:

This board should provide everything the HC11 needs to operate as well as:

Table of Contents

VI.7 Design Portable Power Supply

Description:

Design and build portable power supply capable of:

Technical Description:

This system needs to provide regulated +5V, +12V, and -12V. Monitoring the battery level can be accomplished by providing an analog signal created by dividing the unregulated battery voltage to one of the A-D input ports on the HC11.

Table of Contents

VI.8 Design and Build a Case or Mount

Description:

Design and build a case or mount capable of securely holding and meeting the special needs of all of the systems components.

Technical Description:

This case should have:

Table of Contents

VI.9 Develop Drivers:

Description:

Write, debug, and test software drivers for all input and output devices used in the system.

Technical Description:

Each driver should be capable of fully utilizing the device it is designed for and use as few global variables as possible. The driver should also include testing and initializing software for its intended device.

Table of Contents

VI.10 Develop Downloader:

Description:

Due to the large amount of paged memory, a special down loading program will be needed to transfer content and software to this device.

Technical Description:

This downloader will need to be capable of paging through the memory as it stores data and code on the large memory device. It will also need to meet the special writing needs of the FLASH memory.

Table of Contents

VI.11 Develop an Operating System:

Description:

This operating system should integrate the memory paging system as well as all of the drivers. It should also be able to initialize and check the status of all the components in the system.
 

Technical Description:

The devices used work independently of each other and thus the system should not require much integrating. The operating system should simply be the collection of drivers that have been designed and tested as to not interfere with the other drivers and their devices. It should also include a driver for paging through memory.

Table of Contents

VI.12 Develop Demo Applications:

Description:

Write, test and debug code that will show most if not all of the capabilities of this device.

Technical Description:

Possible applications include:

Table of Contents

Back to Ben's Project Page