4
The Design And Implementation of Ordering System Based On ARM Hu Guoxiong The Software College Jiangxi Normal University Jiangxi Province, Nanchang, P.R.China [email protected] Huang Li The Junior Teacher College Jiangxi Normal University Jiangxi Province, Nanchang, P.R.China [email protected] Yang Xinghe The Software College Jiangxi Normal University Jiangxi Province, Nanchang, P.R.China [email protected] Abstract In order to improve business efficiency and save manpower catering costs, and to attain food and beverage automation, we design and accomplish a new embedded handheld wireless ordering system based on ARM9 S3C24410. The system completed the wince operating system migration and software development based on the S3C2410. Paper describes in details the system's hardware and software design and implementation. The test shows that the system has the characteristics of low cost, friendly UI, easy to operate, powerful function, easy to update and maintain. It has a positive role in improving the quality of service has a positive role in promoting. Keywords Embedded System; wince; ARM;order dishes I. INTRODUCTION As living standards improved, people are not only satisfied eating diet good or bad, but also very focused dining environment. In addition, the management of traditional food and beverage industry is in relatively low level, all the operations basically carried out by hand, the waiter rush about leaflets, high labor-intensive, low efficiency, and high error probability. For the vast majority of catering industry, catering information management only stays in the "computer account in mind, playing list" extent. Many business data can not be made full use of by manager, and relying on human to extract useful information from the business artificial data is a very difficulty. As market competition intensifies, many restaurants began to use information technology to change the service models and business models. On this basis, the wireless ordering system came with the tide of fashion. [1] At present, there have been many a la carte system in domestic, summed up includes two types as [2]: (1) A wireless la carte machine + wireless + server + identification card. This dedicate a la carte machine has single function, and complex operation, customer operate it inconveniently. (2) Wireless PDA + wireless+ server. In such a way as table number as a customer identification number, customers could order from menu in anytime, anywhere, wireless LAN data transfer speed and quality greatly improved work efficiency and service quality. However, due to a powerful PDA and the high cost of equipment, it is usually used in superior-quality hotel, not suit for promoting to small and medium food enterprises. On the basis of the product low- cost, hardware and software rich resource, powerful function, the author combines the foreground of embedded handheld device technology development. II. SYSTEM INTRODUCTIONS System used C/S architecture, not only provides the basic management functions of the restaurant management, including to maintain the back-end data, inventory management, reservation management , the order devices management, cashier management, membership management, financial management decision support , but also supports ordering on site of handheld devices , it get waiter themselves from the tedious manual record a la carte menu, the menu and other trivial transmission , and allow staff to focus on how to improve customer service quality , reduce the possibility of customer to escape for bills . System includes eight modules, divides into the basic data maintenance module, inventory management module, scheduled management module, handheld devices a la carte management module, cash register management module, membership management module, financial decision support module. The functional structure diagram is shown in the Figure 1. Figure 1. System Function Structure Chart In order to meet these functional requirements, system deployment is divided into four parts: The first part is the database server, installing SQL Server 2000 and providing database service to workstations; The second part is the front workstation, the user is using the reservation staff, front desk cashier, inventory manager and system administrator, and they connect to the database server via IP; 1079 978-1-4577-0321-8/11/$26.00 ©2011 IEEE Authorized licensed use limited to: IEEE Xplore. Downloaded on January 24,2012 at 17:10:45 UTC from IEEE Xplore. Restrictions apply.

the design and implementation of ordering system based on ARM

Embed Size (px)

DESCRIPTION

For more papers visit @ www.nanocdac.com

Citation preview

The Design And Implementation of Ordering System Based On ARM

Hu Guoxiong The Software College

Jiangxi Normal University Jiangxi Province, Nanchang,

P.R.China [email protected]

Huang Li The Junior Teacher College Jiangxi Normal University

Jiangxi Province, Nanchang, P.R.China

[email protected]

Yang Xinghe The Software College

Jiangxi Normal University Jiangxi Province, Nanchang,

P.R.China [email protected]

Abstract In order to improve business efficiency and save manpower catering costs, and to attain food and beverage automation, we design and accomplish a new embedded handheld wireless ordering system based on ARM9 S3C24410. The system completed the wince operating system migration and software development based on the S3C2410. Paper describes in details the system's hardware and software design and implementation. The test shows that the system has the characteristics of low cost, friendly UI, easy to operate, powerful function, easy to update and maintain. It has a positive role in improving the quality of service has a positive role in promoting.

Keywords Embedded System; wince; ARM;order dishes

I. INTRODUCTION As living standards improved, people are not only

satisfied eating diet good or bad, but also very focused dining environment. In addition, the management of traditional food and beverage industry is in relatively low level, all the operations basically carried out by hand, the waiter rush about leaflets, high labor-intensive, low efficiency, and high error probability. For the vast majority of catering industry, catering information management only stays in the "computer account in mind, playing list" extent. Many business data can not be made full use of by manager, and relying on human to extract useful information from the business artificial data is a very difficulty. As market competition intensifies, many restaurants began to use information technology to change the service models and business models. On this basis, the wireless ordering system came with the tide of fashion. [1]

At present, there have been many a la carte system in domestic, summed up includes two types as [2]:

(1) A wireless la carte machine + wireless + server + identification card. This dedicate a la carte machine has single function, and complex operation, customer operate it inconveniently.

(2) Wireless PDA + wireless+ server. In such a way as table number as a customer identification number, customers could order from menu in anytime, anywhere, wireless LAN data transfer speed and quality greatly improved work efficiency and service quality. However, due to a powerful PDA and the high cost of equipment, it is usually used in

superior-quality hotel, not suit for promoting to small and medium food enterprises. On the basis of the product low-cost, hardware and software rich resource, powerful function, the author combines the foreground of embedded handheld device technology development.

II. SYSTEM INTRODUCTIONS System used C/S architecture, not only provides the basic

management functions of the restaurant management, including to maintain the back-end data, inventory management, reservation management , the order devices management, cashier management, membership management, financial management decision support , but also supports ordering on site of handheld devices , it get waiter themselves from the tedious manual record a la carte menu, the menu and other trivial transmission , and allow staff to focus on how to improve customer service quality , reduce the possibility of customer to escape for bills .

System includes eight modules, divides into the basic data maintenance module, inventory management module, scheduled management module, handheld devices a la carte management module, cash register management module, membership management module, financial decision support module. The functional structure diagram is shown in the Figure 1.

Figure 1. System Function Structure Chart

In order to meet these functional requirements, system deployment is divided into four parts:

The first part is the database server, installing SQL Server 2000 and providing database service to workstations;

The second part is the front workstation, the user is using the reservation staff, front desk cashier, inventory manager and system administrator, and they connect to the database server via IP;

1079978-1-4577-0321-8/11/$26.00 ©2011 IEEE

Authorized licensed use limited to: IEEE Xplore. Downloaded on January 24,2012 at 17:10:45 UTC from IEEE Xplore. Restrictions apply.

The third part is the PDA server, it can be installed on the PC side, on one side connect to the database server on the other side connect PDA handheld devices, the main function is provide basic data services for PDA handheld devices;

The fourth part is PDA handheld devices, through the infinite routing, connect to the specified server to access database support via IP. The System deployment diagram is shown in the Figure 2.

Figure 2. System Deployment Diagram

III. HARDWARE DESIGN According to the handheld devices functional

requirements, the device will use the Samsung S3c2410A chip as the processor; storage parts use the two Flash memory, one is AMD's AM29LV160 Nor Flash used to store the bootloader, the other one is used to store files System which is Samsung's K9F1208 NAND Flash, to provide operating system ample space; SDRAM use two HY57V561620, a total of 64MB.In addition, the external processor extends the LCD, keyboard, J-Tag and RJ45 network interface. The overall structure shown in Figure 3.

Figure 3. System Hardware Design

A. Microprocessor Selection S3c2410A is Samsung's launch out of the 16/32 bit RISC

processor (ARM920T core), to apply to handheld devices, POS, digital media player, etc. It has a low cost, low power, high performance characteristics. S3C2410A offers the following extensive internal devices: 16KB Instruction Cache and 16KB Data Cache, MMU virtual memory management, LCD controller (supports STN & TFT), NAND Flash support for system boot, the system manager (chip select logic and SDRAM controller), 3-channel UART, 4-channel DMA, 4-channel PWM timer, I / 0 ports, RTC, 8-channel 10-bit ADC and touch screen interface, I2C bus interface, IIS bus interface, USB host port, USB device interface, SD card & MMC card interfaces, two SPI bus interface and the internal PLL clock frequency multiplier.[3]

B. Memory Circuit OM0 and OM1 two pins of S3C2410 are used to

configure the start-up mode and Bank0 bus width. When OM

[1:0] = 00 start from NAND Flash, at this time Bank0 would not use; When OM [1:0] = 01 start from Bank0, and configure to 16Bit width that is start from Nor Flash.

When S3C2410 lead from NAND Flash, the controller is set NAND Flash bytes through NCON foot level. From this point of view, it is can not guide from the 128M and the capacity of large NAND Flash , as 128M Flash page addressing mode and block have changed in the organization. 1. Flash circuit

NOR and NAND are two main non-volatile flash memory technology now. NAND structure can provide very high cell density, can achieve high storage density, and write and wipe quickly. However, NAND requires a special system interface to the serial to save data, and more complex NAND management. The characteristic of NOR is its application can run in Flash directly not read the code in the system RAM , with a high transmission efficiency, within 1 ~ 16MB of small capacity has highly cost-effective, however low write and clashes speed greatly affect its performance. The NAND Flash adopt Samsung chips K9F1208, due to internal controller in S3C2410 NAND, so K9F1208 connect with S3C2410 directly , and can boot from NAND Flash.

Schematic is shown in Figure 4.

Figure 4. NAND Flash Schematic

Nor Flash use AMD's AM29LV160, to pick up on the S3C2410's Bank0 core board and 16Bit width. 10 feet of Nor Flash connect with LA21 is reserved for 4M capacity AM29LV320 reserved. Nor Flash Schematic shown in Figure 5.

1080Authorized licensed use limited to: IEEE Xplore. Downloaded on January 24,2012 at 17:10:45 UTC from IEEE Xplore. Restrictions apply.

Figure 5. Nor Flash Schematic

2. SDRAM circuit SDRAM has feature about synchronized with the CPU,

execute faster, volatile the data. Devices use two HY57V561620 as SDRAM, 32M bytes

each chips, a total of 64MB size.HY57V561620 data width 16Bit, interior is divided into four Bank, each Bank has 4M bytes. HY57V561620 chips 20 and 21 feet BA [1:0] connect with the S3C2410 LA25: 24. Diagram is shown in Figure 6.

Figure 6. SDRAM Schematic

C. touch screen circuit and LCD circuit S3C2410 internal ADC provides a special touch screen

interface, just adds two pairs of MOS control device , it can produce XMON, nXPON and other switch signals to control external MOS and to switch added to the resistive touch screen voltage, and through their own ADC to complete model digital conversion. Schematic touch screen Diagram is shown in Figure 7.

Figure 7. Schematic Touch Screen

The LCD controller which S3C2410 inbuilt is composed of LCD image logic, the color LCD supports 256 colors and 4096 colors. The equipment S3C2410 LCD circuit directly connect to the display through isolated after the LCD drive signal line.

IV. SOFTWARE DESIGN Handheld devices is mainly responsible for dishes,

service, bill process. Which include the operation of a la carte dishes, retired food, serving, dish reminders, all

reminders single dish, to modify the number of donated food, dishes turntable; the operation of the service, include paying, pay revoke, modify the number of meals, service charges change rate, membership discount, the operation of the bill, include bill view, modify the original order number.

A. Functional Requirements The attendant in the system is mainly responsible for the

rooms and dishes service tasks that is to lead the customer to reach the designated rooms, to order dishes for customers , to reflect the dish state timely and rooms information (such as state rooms , service rates), and other requirements to solve the customer, such as set up the stage and sets, turntable, back food, reminders vegetables, whole vegetables a single reminder, modify the number of dishes, giving food, pay, pay revoke, modify, dining number of member discounts and so on. When the customer after dinner should remind the customer in time and notify the cashier to prepare billing services. Software functional diagram is shown in Figure 8.

Figure 8. Detailed Functional Diagram of Software

B. Functional Flow Chart When attendants log on the device and enter the account

number and password, staff can enter the system after successful authentication. Firstly, the waiter should check the usage of the dining table (used, unused, has been scheduled), and then accord to table conditions and customer requirements to start. After founding successful, the waiter order from menu according to the needs of customers, customers can be on the menu a la carte approach, the number of dishes, the shape and the specific requirements of food to choose, and viewing the pictures. After the success of ordering, the customer can make the order for the reminder dishes, and waiter can inform the kitchen about it through the device. If the customer required amalgamating seat or switching seats, the waiter through the device can quickly meet customer these requirements. If the customer requires to pay, the waiter must be pay before they can checkout operator. Before the checkout, the waiter may make a general discount on the single or cancel discount deal as the

1081Authorized licensed use limited to: IEEE Xplore. Downloaded on January 24,2012 at 17:10:45 UTC from IEEE Xplore. Restrictions apply.

case, if the customer is a member, it can be member discount. The system flowchart which is developed on device is shown in Figure 9.

Figure 9. The System Flowchart of Device

V. SYSTEM IMPLEMENTATION

A. Operating System Choice Windows CE is Microsoft's embedded and mobile

computing platform foundation, Microsoft Windows CE is a compact, efficient and scalable operating system for a variety of embedded systems and products. It has multithreaded, multitasking, deterministic real-time, fully preemptive priority operating system environment, specifically for hardware with limited resources. At the same time, it's modular design allows system developers and application developers to a wide variety of products to customize it, such as consumer electronics equipment, specialized industrial controllers and embedded communication devices, as well as cameras, phones and home entertainment devices like consumer products. [4]

B. Software Implementation The major user of embedded devices is waiter who

service for the dining customers, service personnel handheld devices for customers to order dish from menu. To meet the portability of handheld devices, and to meet user's needs, it uses the list to display in the form of service-related information, so that users feel is simple and convent. Run the main interface as shown in Figure 10.

Figure 10. Effect of embedded devices

VI. SUMMARY Electronic ordering system is an important part of the

restaurants' information management system. With it, customers are able to query the price of dishes in the menu, add a record to the ordered items, delete a record from the ordered items, call the waiters and so on in a convenient way. The boss can manage the menu data conveniently, calculate the billing accurately and make the statistics of business data easily.

The design has reference and practical value to embedded systems development based on ARM. Meanwhile, it has a market prospects and practical value, since it is portable and be used to support a variety of wireless Internet occasions.

REFERENCES [1] Cai Ziyu.The Embedded Wireless Ordering System Based On

ARM[D]. Center South University Master's Degree Paper, [2] Luo QingLan. Research and Realization of An Embedded Handholds

Terminal for Electronic Menu[D]. Soochow University Master's Degree Paper, 2008.5

[3] Sang Nan. Principle and Application of Embedded System Development Technology[M].Higher Education Press,2008.1

[4] QU Ming-bo; BAI Rui-lin; LIU Yang; ZHANG Qi-wei. Development of principal axis control system of high-speed industrial embroidery machine based on WinCE[M]. Computer Engineering and Applications, 2009.7.

1082Authorized licensed use limited to: IEEE Xplore. Downloaded on January 24,2012 at 17:10:45 UTC from IEEE Xplore. Restrictions apply.