The human-machine interface of vending machine is implemented by monochrome and small screen LCD currently, the information which displays is not plentiful and vivid. With the development of electronic technology, integration of embedded microprocessor chip has hit a high level with more functions and low cost, which supports multimedia controller to be implemented in Vending Machine.Based on analyzing the status of multimedia technology, a multimedia controller based on PXA255 and embedded Linux is designed and used in vending machine. Firstly, PXA255 is adopted in hardware as a processor and the whole pattern departs into kernel board and extends interface board. Secondly, embedded Linux is adopted as operating system, the reduction and porting of which is mainly analyzed, including establishment of bootloader, compiling of Linux standard kernel of 2.6.18 edition, creation of file system, then embedded Linux and file system of JSFF2 suited to multimedia controller are implemented. Thirdly, graphics display is designed based on FrameBuffer, including character, GIF, JPEG display, and WAV format music is also used as prompting music to play during shopping, which make Vending Machine have a good human-machine interface. Finally, multimedia player based on FFmpeg is implemented, which make multimedia controller have an ability of playing MPEG4 video.Meanwhile, in order to enhance the compatibility of the system, Multi-Drop bus/Internal Communication Protocol(MDB/ICP) is used in the communication between multimedia controller and Vending Machine Controller(VMC). Then document update system based on MDB and network interface is implemented to make multimedia controller can update documents.Through this thesis's research, the multimedia controller based on PXA255 and embedded Linux is designed and used in vending machine, which makes vending machine can process multimedia, have a good human-machine interface, and also become a particular electronic advertisement medium. |