Table of Contents

Advertisement

Quick Links

UM1560
User manual
STEVAL-IPC004V1: handheld point-of-sale (POS)
based on the STM32F1 series
Introduction
This user manual describes the functioning of the handheld point-of-sale system (the
STEVAL-IPC004V1) based on the STM32F1 series.
The system consists of the inbuilt thermal printer, external bar code scanner, memory
interface, LCD display, rechargeable battery supply system and many other features.
This system works like a typical POS. It catches the item information thanks to a USB-based
bar code scanner and after processing the information, adds it to the transaction record.
There are 2 methods of payment: smart card/ magnetic card interface over GPRS or cash
through keypad. The thermal printer prints the sales report and the result is recorded in the
onboard memory. The STEVAL-IPC004V1 operates from a 5 V adaptor, which is connected
to the board through the power jack provided. The system also comes with a PC-based
server application which has various access levels to control the STEVAL-IPC004V1
activities such as registration, the loading of item allotment tables in the internal memory,
and the storage of sales data for future reference. The server keeps sales data in the
database up to 2 months and it also monitors the STEVAL-IPC004V1 health status and
accordingly enables/disables its functioning. For human interaction, there is a keypad with
16 keys allowing a flexible interface. Finally, the system can be customized to include
interfaces such as: smart card, GPRS as per customer requests.

Figure 1. STEVAL-IPC004V1 evaluation board

May 2014
DocID023545 Rev 1
1/59
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STEVAL-IPC004V1 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST STEVAL-IPC004V1

  • Page 1: Figure 1. Steval-Ipc004V1 Evaluation Board

    The server keeps sales data in the database up to 2 months and it also monitors the STEVAL-IPC004V1 health status and accordingly enables/disables its functioning. For human interaction, there is a keypad with 16 keys allowing a flexible interface.
  • Page 2: Table Of Contents

    Connecting the STEVAL-IPC004V1 to the server application ..20 STEVAL-IPC004V1 registration ....... . 21...
  • Page 3 STEVAL-IPC004V1 synchronization with server application ..22 Using the STEVAL-IPC004V1 for transactions ....24 Starting transaction .
  • Page 4 STEVAL-IPC004V1 layered architecture ........
  • Page 5: Getting Started

    Right click “my computer” Click “properties” Go to system tab where the operating system is listed Package contents The STEVAL-IPC004V1 system includes the following items: Hardware content: the STEVAL-IPC004V1 evaluation board Software content: PC-based server application software with help file Hardware installation 1.3.1...
  • Page 6: Software Installation

    J14 is used for USB operation to connect to PC or to connect to USB scanner. J2 (DFU connector) enables DFU mode to upgrade the firmware. Software installation The latest version of the PC application software can be downloaded from St’s official website. To install the PC-based STEVAL-IPC004V1 server application software, follow below steps: •...
  • Page 7: Figure 3. Sql Server Installation

    UM1560 Getting started Figure 3. SQL server installation Figure Please, follow instructions and accept both terms and conditions as displayed in Figure 4. SQL server component installation DocID023545 Rev 1 7/59...
  • Page 8: Figure 5. Installation Window

    Getting started UM1560 • Step 2: when the software has been installed, the following window appears, see Figure Click on “Next” button. Figure 5. Installation window • Step 3: read the license file and click on “I accept” button if you accept it. Figure 6.
  • Page 9: Figure 7. Customer Information

    UM1560 Getting started • Step 4: below, the application registration window, fill in the form and click on “Next” button. Figure 7. Customer information • Step 5: select the folder where the software has to be installed. The destination folder is by default C:\..\STMicroelectronics\POS PC Application\.
  • Page 10: Figure 9. Ongoing Installation

    Getting started UM1560 • Step 6: click on “Next” button to start the software installation. Figure 9. Ongoing installation When the installation has been completed, the window appears, so click on “Finish” button to complete the operation. The software is now available in the selected directory or in the default directory.
  • Page 11: Steval-Ipc004V1 Evaluation Board Description

    Peripheral layer Figure 10. STEVAL-IPC004V1 layered architecture Application management layer. This is the main application layer of the STEVAL-IPC004V1, whose major role is to interact with the server application and to handle various events and output the correct message on LCD.
  • Page 12: Steval-Ipc004V1 Evaluation Board Block Diagram

    STEVAL-IPC004V1 evaluation board description UM1560 Peripheral layer. This is the driver layer and it is the software implementation over the STM32F1 hardware to use all available peripherals. STEVAL-IPC004V1 evaluation board block diagram Figure 11. STEVAL-IPC004V1 block diagram 12/59 DocID023545 Rev 1...
  • Page 13: Steval-Ipc004V1 Behavior Diagram

    UM1560 STEVAL-IPC004V1 evaluation board description STEVAL-IPC004V1 behavior diagram Figure 12 shows the STEVAL-IPC004V1 behavior diagram. Figure 12. STEVAL-IPC004V1 behavior diagram DocID023545 Rev 1 13/59...
  • Page 14: Major Component Description

    Once the STEVAL-IPC004V1 system is authenticated, access to sales record is allowed. Figure 13. STEVAL-IPC004V1 PC-based server application To know the details about the STEVAL-IPC004V1 server application, please refer to its help file. 14/59 DocID023545 Rev 1...
  • Page 15: Web-Based Virtual Bank Application

    Major component description Web-based virtual bank application In this web-based virtual bank application, a new account can be added. During the cashless transaction, the STEVAL-IPC004V1 system uses the magnetic card/ smart card interface over GPRS. Figure 14. Virtual bank application...
  • Page 16: Thermal Printer

    Thermal printer Fujitsu FTP-628 MCL101/103 series ultra compact thermal printer is used in the current STEVAL-IPC004V1 evaluation board. This kind of printer is quite useful in applications such as handheld POS. For detailed information, please refer to FTP-628 MCL101/103 series.
  • Page 17: Battery Charger Interface

    Driven by the STM8S microcontroller, this section comes with a customizable dual cell Li- Ion battery charger. This charger is flexible in terms of setting charging voltage, charging current etc. 3.12 Other interfaces The STEVAL-IPC004V1 also has the following interfaces: • UART interface • Pen drive interface DocID023545 Rev 1 17/59...
  • Page 18: Interaction With The Server To Setup The Steval-Ipc004V1

    1.3.1. Some messages can be read on the LCD screen, finally the below message appears: • "In Conf Mode" This means that the STEVAL-IPC004V1 board has been correctly started and user can go ahead. Note: A different final message appears when the STEVAL-IPC004V1 evaluation board is connected to the server application, as described in the coming section.
  • Page 19 User access levels Depending on the access level given, the following user profiles are supported. Table 1. User access levels in GUI Add\ Remove\ Add to Update Delete Change View Synchronize Sales Register Unconditional Feature Description clear delete password inventory terminal record terminal...
  • Page 20: Connecting The Steval-Ipc004V1 To The Server Application

    Interaction with the server to setup the STEVAL-IPC004V1 UM1560 Connecting the STEVAL-IPC004V1 to the server application To connect a new STEVAL-IPC004V1 to the server application, go to “Synchronize” tab, Figure click on “Connect” button as shown in Figure 17. Connecting STEVAL-IPC004V1 to server...
  • Page 21: Steval-Ipc004V1 Registration

    Figure Figure 19. Register window Enter POS serial key in “Terminal Serial” text box and the STEVAL-IPC004V1 description in “Description” text box. Click on “Register Terminal” button. Go back to the “Synchronize” tab window and click on “Connect” button again, “POS Confirmed, Authenticated” is the...
  • Page 22: Steval-Ipc004V1 Synchronization With Server Application

    Interaction with the server to setup the STEVAL-IPC004V1 UM1560 STEVAL-IPC004V1 synchronization with server application After connecting and authenticating the STEVAL-IPC004V1 with the server application as described in the previous section, the synchronization between the STEVAL-IPC004V1 and the server application can be performed.
  • Page 23: Figure 22. Synchronization Operation Result

    During the synchronization, any sales record available in the STEVAL-IPC004V1 terminal merges with the server database and updated item allotment table is downloaded in the STEVAL-IPC004V1 memory. Thanks to the option available in the form “Retain Sales Data”, sales data can be retained in the STEVAL-IPC004V1 memory.
  • Page 24: Using The Steval-Ipc004V1 For Transactions

    'Add Items using Keypad or Scanner' Adding item to the transaction table Currently the item information can be retrieved from the STEVAL-IPC004V1 using the bar code assigned for each item. The current system supports up to 5000 types of item information which is stored in the onboard memory.
  • Page 25: Completing The Transaction

    By pressing “A” complete key, the payment mode selection is asked. Completing the transaction To complete the transaction, press “A” complete key. This forces the STEVAL-IPC004V1 to compile the current transaction list and asks for the payment mode which is shown as...
  • Page 26: Card Mode

    Using the STEVAL-IPC004V1 for transactions UM1560 5.4.2 Card mode Please make sure that SIM card has been inserted before choosing the card mode. The slot for SIM card is on the back of the board. Also, the content of atcommands.h file has to be changed according to GPRS connection.
  • Page 27: Recording Of Sales Record

    UM1560 Using the STEVAL-IPC004V1 for transactions Recording of sales record After recording the transaction, the print of the transaction automatically comes out. Note: Magnetic card is enabled by default, to enable smart card, please contact the technical support. Transaction details on the virtual bank application are available as mentioned in Section 3.2.
  • Page 28: Inventory Management

    Inventory management UM1560 Inventory management The inventory in the STEVAL-IPC004V1 system is managed by PC software application. To Figure update the inventory, go to “Inventory/Reports” tab as shown in Figure 23. Inventory report tab Adding item to the inventory list To add a new item to the inventory, click “Add To Inventory”...
  • Page 29: To View The Inventory

    UM1560 Inventory management Click “Add Item To Inventory” button available at the bottom of the form. If the addition is Figure 25 successful then the message given in is displayed. Figure 25. Item added successfully To view the inventory To view the inventory, click either “View Inventory” or “Update Inventory” button as shown in Figure Figure 26.
  • Page 30: Updating Inventory

    Inventory management UM1560 Figure 25, there are various options to search the inventory. Click on “Check” As shown in button to specify the search. If you have unchecked all search criteria and if you click “Search” button then you can see the complete inventory in the “Search Result” window. Figure 27, a search by using the category search criterion.
  • Page 31: Sales Record View

    UM1560 Inventory management Figure 28. Updated item in inventory Sales record view Figure To view the sales record, go to “Sales Records” tab as shown in Figure 29. Sales tab DocID023545 Rev 1 31/59...
  • Page 32: Figure 30. Sales Record Tab

    Inventory management UM1560 To view the sales record, click “Sales Records” button. You can optimize the search criteria Figure 30. Start date is always enabled by default. as per the option mentioned in Figure 30. Sales record tab 32/59 DocID023545 Rev 1...
  • Page 33: Appendix A Schematic Diagram And Bill Of Materials

    UM1560 Schematic diagram and bill of materials Appendix A Schematic diagram and bill of materials Figure 31. Schematic diagram (1/11) DocID023545 Rev 1 33/59...
  • Page 34: Figure 32. Schematic Diagram (2/11)

    Schematic diagram and bill of materials UM1560 Figure 32. Schematic diagram (2/11) 34/59 DocID023545 Rev 1...
  • Page 35: Figure 33. Schematic Diagram (3/11)

    UM1560 Schematic diagram and bill of materials Figure 33. Schematic diagram (3/11) DocID023545 Rev 1 35/59...
  • Page 36: Figure 34. Schematic Diagram (4/11)

    Schematic diagram and bill of materials UM1560 Figure 34. Schematic diagram (4/11) 36/59 DocID023545 Rev 1...
  • Page 37: Figure 35. Schematic Diagram (5/11)

    UM1560 Schematic diagram and bill of materials Figure 35. Schematic diagram (5/11) DocID023545 Rev 1 37/59...
  • Page 38: Figure 36. Schematic Diagram (6/11)

    Schematic diagram and bill of materials UM1560 Figure 36. Schematic diagram (6/11) 38/59 DocID023545 Rev 1...
  • Page 39: Figure 37. Schematic Diagram (7/11)

    UM1560 Schematic diagram and bill of materials Figure 37. Schematic diagram (7/11) DocID023545 Rev 1 39/59...
  • Page 40: Figure 38. Schematic Diagram (8/11)

    Schematic diagram and bill of materials UM1560 Figure 38. Schematic diagram (8/11) 40/59 DocID023545 Rev 1...
  • Page 41: Figure 39. Schematic Diagram (9/11)

    UM1560 Schematic diagram and bill of materials Figure 39. Schematic diagram (9/11) DocID023545 Rev 1 41/59...
  • Page 42: Figure 40. Schematic Diagram (10/11)

    Schematic diagram and bill of materials UM1560 Figure 40. Schematic diagram (10/11) 42/59 DocID023545 Rev 1...
  • Page 43: Figure 41. Schematic Diagram (11/11)

    UM1560 Schematic diagram and bill of materials Figure 41. Schematic diagram (11/11) DocID023545 Rev 1 43/59...
  • Page 44 LD1117S50TR STT818B SOT23-6L STT818B USBLC6-2P6 SOT666 USBLC6-2P6 ST8024CDR S028 ST8024CDR L5987ATR HSOP8 L5987ATR TL1431CD SO-8 TL1431CDT STM1404ARNIQ6F QFN16 STM1404ARNIQ6F ST devices STM32F107VCT6 LQFP100 STM32F107VCT6TR TS461CLT SOT23-5L TS461CLT M74HC245 TSSOP-20 M74HC245 L293D SO20 L293DD STT3P2UH7 SOT23-6L STS5PF30L STS5PF30L 2STR1215 Q3,Q4,Q5,Q6 2STR1215...
  • Page 45 Table 2.BOM (continued) Manufacturer ordering Reference Supplier Category Component description Package Manufacturer code / orderable part Supplier designator ordering code number Not ST devices 815-AB26T 32.768 kHz Mouser 32.768KHZ Crystal and oscillator 520-HCU2500- 25 MHz Mouser...
  • Page 46 Table 2.BOM (continued) Manufacturer ordering Reference Supplier Category Component description Package Manufacturer code / orderable part Supplier designator ordering code number 1.27 mm x 4 CON14_1.27 mm pitch (Axial) 2.54 mm x 2 DFU_CON2 (Axial) CON36 SMD 0.5mm x 36 Digi-Key HFL136CT-ND FMS205-HS...
  • Page 47 Table 2.BOM (continued) Manufacturer ordering Reference Supplier Category Component description Package Manufacturer code / orderable part Supplier designator ordering code number USB SMD LED LEDs USB power fail SMD LED C1,C9,C12,C13,C 14,C17,C18, C21,C22,C24, C25,C26,C27, 810- C28,C29,C30, 100 nF Mouser CGA2B1X7R1C C43,C55,C56, 104K C65,C66,C68,...
  • Page 48 Table 2.BOM (continued) Manufacturer ordering Reference Supplier Category Component description Package Manufacturer code / orderable part Supplier designator ordering code number 4.7 μF/10 V 1206 Mouser T491A475K016 Capacitors 22 μF 1206 Mouser GRM31CR61C 226KE5K 6.7 nF Digi-Key 445-4950-1-ND...
  • Page 49 Table 2.BOM (continued) Manufacturer ordering Reference Supplier Category Component description Package Manufacturer code / orderable part Supplier designator ordering code number 810- C71,C72 22 nF Mouser CGA2B2C0G1 H220J 810- 100 μF Mouser CGA2B2C0G1 H101J 10 μF 1206 Digi-Key 587-1337-1-ND 220 nF Mouser GRM155F51C2 24ZA1D...
  • Page 50 Table 2.BOM (continued) Manufacturer ordering Reference Supplier Category Component description Package Manufacturer code / orderable part Supplier designator ordering code number 810- 10 nF Mouser CGA2B2X8R1E 103K POT2,C84 180 pF Mouser Capacitors 810- 2.2 μF 1206 Mouser C3216X5R1A2 47 pF Mouser VJ0402A470KX XCBC...
  • Page 51 Table 2.BOM (continued) Manufacturer ordering Reference Supplier Category Component description Package Manufacturer code / orderable part Supplier designator ordering code number 680 Ω 71-CRCW0402- R1,R22,R97 Mouser 680-E3 660- R4,R27 47 kΩ Mouser RK73B1ETTP4 660- 180 Ω Mouser RK73H1ETTP1 800F R11,R28,R43, 660- R47,R105,R106, 100 kΩ...
  • Page 52 Table 2.BOM (continued) Manufacturer ordering Reference Supplier Category Component description Package Manufacturer code / orderable part Supplier designator ordering code number 660- R29,R80 22 kΩ Mouser RK73H1ETTP2 202F R31, 71-CRCW0402- 4.7 kΩ Mouser R76,R111,R112 4.7K-E3 510 Ω R37,R68 0402 71-CRCW0402- R41,R42,R44 4.7 kΩ...
  • Page 53 Table 2.BOM (continued) Manufacturer ordering Reference Supplier Category Component description Package Manufacturer code / orderable part Supplier designator ordering code number 660- R90,R92 470 E Mouser RK73H1ETTP4 700F 66-LR1206-LF- 0.5 E/1 W/SENSE 1206 Mouser R500-F R94,R95,R102, 71-CRCW0402- 5.1 kΩ(0.5%) 0402 Mouser R103 5.1K-E3...
  • Page 54 Power switch Reset AUX2 AUX1 MCO_T POINT ST_LOGO Cable supporting 36 pin Flex Cable Digi-Key WM10229-ND connector Display and keypad 2STR1215 SOT-23 2STR1215 ST devices M24LR64-RDW6T/2 TSSOP8 M24LR64-RDW6T/2 C1,C2,C3,C4,C5, 4.7 μF 1206 C6,C7,C8,C9 Capacitors 810- 100 nF 0805 Mouser CGJ4J2X7R1C 104K...
  • Page 55 Table 2.BOM (continued) Manufacturer ordering Reference Supplier Category Component description Package Manufacturer code / orderable part Supplier designator ordering code number 71-CRCW0805- R14,R15 4.7 kΩ 0805 Mouser 4.7K-E3 R1,R2,R3,R4,R5, 71-CRCW0805- 10 kΩ 0805 Mouser R6,R9,R10,R11 10K-E3 220 Ω 71-CRCW0805- 0805 Mouser 220-E3 Resistors...
  • Page 56 Package Manufacturer code / orderable part Supplier designator ordering code number GSM evaluation board BOM STPS1L30 SOT-23 STPS1L30 Q1,Q2 2STR1215 SOT-23 2STR1215 ST devices LD29300P2MTR P2PAK/A LD29300P2MTR ESDALC6V1W5 SOT323-5L ESDALC6V1W5 R1,R2,R3 0805 Mouser CRCW080522R 0JNEA 33 kΩ 0805 Mouser RCV0805301K...
  • Page 57 Table 2.BOM (continued) Manufacturer ordering Reference Supplier Category Component description Package Manufacturer code / orderable part Supplier designator ordering code number SIM card C707 10M006 0492 361-1021-1-ND connector SKT_PWR_2R0mm_4A_TH RU_RA Connectors CON6 Axial 2.54 mm x 6 Receptacle, male CON3 (RCPT IPEX MHF) Digi-Key 931-1107-1-ND pins...
  • Page 58: Revision History

    Revision history UM1560 Revision history Document revision history Date Revision Changes 13-May-2014 Initial release. 58/59 DocID023545 Rev 1...
  • Page 59 No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

Table of Contents