Beruflich Dokumente
Kultur Dokumente
Executive Summary
A configurable Marquee Display system is a real-world application that catches peoples attention and has a variety of entertainment purposes. This display will be built upon the Altera DE2 board, using a keyboard as a communication device between the user and system. Connected through the parallel ports on the board, at least one external hardware device of a Spinning RGB LED Display will be built to attract even more attention. The aim of the display system is to allow the user to be actively involved by controlling dynamic movements of characters and images of various sizes and colours. There will be five main sub systems to be designed and implemented. Each subsystem will be required to reach the first phase as a bare minimum, with the second phase as the ultimate goal. Data structures will used to implement supporting size changes of upper and lower case letters. The software will be programmed in the C language in conjunction with built-in functions from Altera.
Table of Contents
1.0 Introduction ........................................................................................................................................... 4 2.0 Functional Description ......................................................................................................................... 5 2.1 Computer Interface ............................................................................................................................. 5 2.2 Main System........................................................................................................................................ 5 2.4 External Hardware Device................................................................................................................... 6 2.5 Performance Requirements ................................................................................................................ 6 3.0 Design and Production Approach ........................................................................................................... 6 3.1 Background Information ..................................................................................................................... 6 3.2 Design Components ............................................................................................................................ 8 3.2.1 Design of External Hardware ....................................................................................................... 9 3.3 Parts and Implementation ................................................................................................................ 12 3.4 Timeline and Roles ............................................................................................................................ 13 4.0 Testing and Evaluation .......................................................................................................................... 13 4.1 Testing supported characters and images ........................................................................................ 14 4.2 Testing Display type .......................................................................................................................... 14 4.3 Testing UI .......................................................................................................................................... 14 4.4 Testing Input Device.......................................................................................................................... 14 4.5 Testing Spinning LED Display ............................................................................................................ 14 4.5.1 Testing Required for Both Design Plans ..................................................................................... 14 4.5.2 Testing For the First Plan Only ................................................................................................... 15 4.5.3 Testing For the Second Plan Only .............................................................................................. 15 5.0 Resource Requirements ........................................................................................................................ 15 5.1 Additional resources for external hardware ..................................................................................... 15 6.0 Works Cited ........................................................................................................................................... 16
3
1.0 Introduction
A configurable marquee display system is to be created using an Altera DE2 board connected to an external VGA display and a spinning LED display. The motivation for creating such a device is to have a cheap and highly portable device that would display images and text in a preconfigured pattern, and attract the attention of passers-by. It is expected to be used when transporting a larger more expensive device such as a laptop or even a desktop computer to simply drive a display is unwanted or impractical. Potential situations where such a device would be useful include a booth at a conference to convey information, at a kiosk to attract attention, or perhaps in a storefront showing products and sales. The minimum goals for the VGA display include being able to display pre-loaded images for a userdefined period of time in a set pattern, with the option to overlay text atop the default images. Scrolling text and interesting transitions between images will be explored. The proposed solution includes using the Altera DE2 Media Computer which uses the Nios II embedded processor, and particularly the included VGA core. Users will set up the desired pattern of pre-loaded images in configuration mode, where they input information through an external PS/2 keyboard connected to the Altera board. By connecting to the parallel ports on the board, an external spinning red-green-blue (RGB) LED display will be designed to attract attention to the whole system. By controlling the timing in the software, the external spinning LED display should display dynamic patterns, programmed texts or a LED sphere. A constructed external device of displaying dynamic patterns would be one of the minimum goals for team to accomplish. The final product available at the end of this project will be a working prototype of the system that could be connected to any VGA compatible device. Future work might explore higher resolution images, adding output sound, having the LED display match up to input music. The device would also likely benefit from an improved UI and input mechanism such as a mouse or touch screen.
The created pattern will be looped indefinitely on the display, either until the user enters configuration mode again, or powers down the system.
text to be displayed, the normal letters, numbers and other characters will be used. When done, the user will navigate the selection to the Done return to display mode option and press enter to select it.
understanding of display capabilities. The program demonstrated bouncing words and rotating coloured lines as display possibilities. The VGA Core will be used to drive signals required by the VGA digital-to-analog converter (DAC) as shown in Figure 2. The VGA Core operates in Pixel Mode, Character Mode, and Character Overlay Mode. These modes produce a screen resolution of up to 640 x 480 pixels, which duplicates in both the x and y direction each pixel from a 320 x 240 image [3]. It was found the DE2 board provides a built-in character font, varying between two set character sizes in character mode. Because of the size limitations of the character buffer in character mode, the pixel buffer will be used to generate the available characters instead. A default size of 5x7 pixels for each character will be used in pixel mode as shown in Figure 3. The created characters will then be stored in memory. The user has the option to enlarge the size in configuration mode by selecting a scale factor.
Image display will also be done through the pixel mode. The user specifies the x-y coordinates and the colour. The colour is set through 16-bit or 8-bit colour modes, using the standard RGB or a greyscale. Character overlay mode will allow both characters and pixels to be displayed, with the character layer on top of the pixel layer [3].
Figure 5 - A sample UI
3.2.1.2 Second Plan of a Spinning RGB LED Sphere The Spinning LED Display Sphere consists of three powerful RGB LEDs, two motors, two metal shafts and a vertical axis rotating base. After the base has been built, a RGB LED fan will be implemented and mounted on the base. Figure 7 below shows the front view of the vertical-axis rotating base and motor with a LED fan on its top. The three RGB LEDs will be mounted on a wooden circular board 120 degrees apart. A metal shaft, powered by a small motor, will be attached with the base. The small motor will be fit into a supporting frame, which is mounted and standing on the base described above. Figure 8 below shows the side view of the LED fan and the small motor. The software for this external hardware design will control on/off states of each LEDs and to regulate flash frequency.
10
Figure 8 - Side view of stationary RGB LED sphere (Not Scaled to Size)
11
12
Project Task Group Meeting Parts Ordering Subsystems Design Prototyping/Mockups Build Test Subsystems Redesign Implement Test Systems Integration Poster BluePrint Document Final Document Presentation
Sept
Oct
Nov
Dec
Jan
Feb
Mar
April
Open House
Blueprint Submitted
improve upon the design if resource permitting. The first phases of each component must be fully functional before consideration of components second phase.
4.3 Testing UI
The UI will be tested for its readability, ease of use and aesthetic appeal. The words and images to be displayed on the UI will need to be readjusted to provide sharp display, as well as uniform format switching between menus. The first phase will allow the numbering selection as shown in Figure 5. The second phase will be changed for an arrow selection display with the possibility for wrap-around from top to bottom. A preliminary survey will be conducted with colleagues to gather feedback. The UI will then be readjusted for a second round, after which will be ready for the release version.
The rotation rate of the large motor will also be tested. Since the bigger motor supports heavy loads, it must require higher current to reach an acceptable speed in comparison to the smaller motor. However, the spinning rate of the larger motor should be capped to prevent dislodging of any apparatuses. The final test is for the software. Trials will be run to get the perfect timing for LEDs flash. By timing the on/off states of LEDs- the designed patterns, programmed strings or images should be visually apparent. 4.5.2 Testing For the First Plan Only During rotation, testing should be done to achieve an accurate weight to balance the LED arm on the other side of the metal beam. By adding an appropriate weight on one side, the metal beam should not be titled during the rotation. 4.5.3 Testing For the Second Plan Only A required test should be on the small motor, connected with the small base and LEDs, by measuring its spinning speed. The small motor should work under a required rate to successfully generate a visible circular pattern in the air. To achieve this goal, the motor must receive enough current to rotate above a certain rotation threshold.
16