ST STEVAL-IPC002V1 User Manual
ST STEVAL-IPC002V1 User Manual

ST STEVAL-IPC002V1 User Manual

For parking ticket vending machine

Advertisement

Quick Links

UM0886
User manual
STEVAL-IPC002V1 demonstration board
for parking ticket vending machine
Introduction
A parking ticket vending machine is a hand-held, battery operated device, inside of which a
thermal printer is interfaced with the STM32 microcontroller from STMicroelectronics. This
document focuses on the STEVAL-IPC002V1 demonstration board, whose objective is to
print and generate parking tickets for different types of vehicles. The application can easily
be modified to suit other applications where paper printing is to be managed directly by the
microcontroller, such as POS-based applications, railway and bus ticket printing
applications, standalone printers, and the like.
Figure 1.
STM32-based parking ticket vending machine
The thermal printer has an in-built stepper motor for thermal paper feeding, paper
movement, and so on. The stepper motor is controlled by a dedicated stepper-motor driver
with an SPI interface. The system operates on two Li-Ion batteries and an optional DC
adaptor. On-board battery chargers are available to charge the batteries from the DC
adaptor. The data to be printed is entered by way of touch keys, and can be verified on an
alphanumeric LCD.
June 2010
Doc ID 16916 Rev 1
1/30
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for ST STEVAL-IPC002V1

  • Page 1: Figure 1. Stm32-Based Parking Ticket Vending Machine

    A parking ticket vending machine is a hand-held, battery operated device, inside of which a thermal printer is interfaced with the STM32 microcontroller from STMicroelectronics. This document focuses on the STEVAL-IPC002V1 demonstration board, whose objective is to print and generate parking tickets for different types of vehicles. The application can easily...
  • Page 2: Table Of Contents

    Contents UM0886 Contents Definitions ..........4 Features .
  • Page 3 UM0886 List of figures List of figures Figure 1. STM32-based parking ticket vending machine ........1 Figure 2.
  • Page 4: Definitions

    Definitions UM0886 Definitions Table 1. Definitions Acronym Definition Electrostatic discharge Inter-integrated circuit JTAG Joint test action group Liquid crystal display Microcontroller unit Point of sale PTVM Parking ticket vending machine Real time clock Serial peripheral interface 4/30 Doc ID 16916 Rev 1...
  • Page 5: Features

    UM0886 Features Features The STM32-based demonstration board has the following key features. ● Thermal printer interfaced through SPI2. ● Stepper motor driver interfaced through SPI1 used to rotate the printer head while printing. ● S-Touch™-based keypad for user interfacing. The S-Touch™ controller device is interfaced through the I2C2.
  • Page 6: Getting Started

    Getting started UM0886 Getting started Package The STM32-based parking ticket vending machine demonstration board includes the following items. ● Hardware: – demonstration board ● Documentation: – this user manual – schematics, gerber files, BOM ● Firmware: – pre-programmed STM32 device soldered on the demonstration board –...
  • Page 7: Figure 2. Stm32-Based Parking Ticket Vending Machine Demonstration Board

    UM0886 Getting started The time can be set by pressing the SET function (FUNC + 9). The 9 V adaptor is used to charge the batteries through the on-board battery charger. To see the last 20 entries, press "FUNC" and then "6". Figure 2.
  • Page 8: Figure 3. S-Touch-Based Keypad

    Getting started UM0886 Figure 3. S-Touch-based keypad The vehicles are categorized as follows: ● 4 WHL = 4-wheelers (cars) ● 2 WHL = 2-wheelers (bikes and scooters) ● HEAVY = heavy vehicles such as trucks or buses The entry types are: ●...
  • Page 9: Hardware Layout

    The components used on this board are listed below. Figure 5 Figure 6 provide the component layouts to assist you in locating the different component sections on the board. ● ST components: – STM32F103RBT6 (32-bit MCU) – L9935 (stepper motor driver) –...
  • Page 10: Figure 6. Hardware Layout: Main Board - Bottom Side

    Getting started UM0886 Figure 6. Hardware layout: main board - bottom side Figure 7. Hardware layout: daughterboard S-Touch keypad - top side 10/30 Doc ID 16916 Rev 1...
  • Page 11: Figure 8. Hardware Layout: Daughterboard S-Touch Keypad - Bottom Side

    UM0886 Getting started Figure 8. Hardware layout: daughterboard S-Touch keypad - bottom side Doc ID 16916 Rev 1 11/30...
  • Page 12: System Overview

    The microcontroller has several communication interfaces, including multiple I2Cs, USARTs (4.5 Mbps) and SPIs, a CAN 2.0B active interface and a USB 2.0 interface. For more information, go to http://www.st.com. The microcontroller works on a single voltage ranging from 2 to 3.6 V, unlike some other microcontrollers that require a dual voltage.
  • Page 13: Alphanumeric Lcd

    UM0886 System overview The paper is fed in a forward direction when the motor shaft is rotating in the normal direction (clockwise) as seen from the motor gear side. The motor is driven by a 2-2 phase excitation, constant-current chopper method and feeds 0.125 mm of paper (equivalent to a single dot pitch) every two steps of the motor drive signal.
  • Page 14: S-Touch-Based Keypad

    System overview UM0886 4.1.6 S-Touch-based keypad The demonstration board incorporates an S-Touch keypad based on the STMPE1208SQTR to navigate through the menus. This keypad is a 12-key daughterboard. Figure 3 shows the placement of the keys. 4.1.7 Power supply unit The power block is the main module of any hand-held system.
  • Page 15: Flowchart

    UM0886 System overview Flowchart Figure 14 is a flowchart of the entire system. Figure 14. Flowchart Doc ID 16916 Rev 1 15/30...
  • Page 16 System overview UM0886 ● Start printing: the thermal printer starts printing stored data. ● Set Date: modify the date and time of the system. ● Set Entry Type: entry type 'Pass' or 'Single' is stored in the user buffer data. ●...
  • Page 17: Hardware Schematics

    UM0886 System overview Hardware schematics The following figures represent the schematic diagrams for the board. Figure 15. Schematic: microcontroller section Doc ID 16916 Rev 1 17/30...
  • Page 18: Figure 16. Schematic: Motor Driver

    System overview UM0886 Figure 16. Schematic: motor driver Figure 17. Schematic: connectors (printer, LCD and JTAG) 18/30 Doc ID 16916 Rev 1...
  • Page 19: Figure 18. Schematic: Power Management Section

    UM0886 System overview Figure 18. Schematic: power management section Doc ID 16916 Rev 1 19/30...
  • Page 20: Figure 19. Schematic: S-Touch Keypad

    System overview UM0886 Figure 19. Schematic: S-Touch keypad 20/30 Doc ID 16916 Rev 1...
  • Page 21: Bill Of Materials

    Bill of materials Table 2. STEVAL-IPC002V1 BOM Manufacturer’s ordering Serial Ref. Supplier Category Component description Package Manufacturer code/orderable part Supplier description ordering code number or equivalent Microcontroller, ARM 32-bit Cortex™-M3 CPU, 128 kΩ LQFP64 STMicroelectronics STM32F103RBT6 Flash, 64 kΩ RAM...
  • Page 22 Table 2. STEVAL-IPC002V1 BOM (continued) Manufacturer’s ordering Serial Ref. Supplier Category Component description Package Manufacturer code/orderable part Supplier description ordering code number or equivalent P-Channel 30 V, 0.16 Ω, 7 A, STMicroelectronics STS7PF30L STripFET™ II power ST devices MOSFET D1, D7, D8...
  • Page 23 Table 2. STEVAL-IPC002V1 BOM (continued) Manufacturer’s ordering Serial Ref. Supplier Category Component description Package Manufacturer code/orderable part Supplier description ordering code number or equivalent Single row Header, pin, 2.54 mm, straight, LCD CONN straight 16-WAY, single row, Protectron P9101-16-12-1 Through hole,...
  • Page 24 Table 2. STEVAL-IPC002V1 BOM (continued) Manufacturer’s ordering Serial Ref. Supplier Category Component description Package Manufacturer code/orderable part Supplier description ordering code number or equivalent 5 pF SMD0805 C31,C36 10 pF SMD0805 C32,C39 20 pF SMD0805 82 pF SMD0805 C24,C49, 1 nF...
  • Page 25 Table 2. STEVAL-IPC002V1 BOM (continued) Manufacturer’s ordering Serial Ref. Supplier Category Component description Package Manufacturer code/orderable part Supplier description ordering code number or equivalent 220 nF SMD0805 C40,C41 1 µF/16 V SMD1206 EIA 3528-21/ C38,C43 4.7 µF/16 V size A EIA 3528-21/ 10 µF...
  • Page 26 Table 2. STEVAL-IPC002V1 BOM (continued) Manufacturer’s ordering Serial Ref. Supplier Category Component description Package Manufacturer code/orderable part Supplier description ordering code number or equivalent R6,R10, R12,R14, R15,R16, R17,R18, 10 kΩ SMD0805 R19,R20, R21,R22, R32,R44, R45,R55 0.4 Ω R7,R8 SMD0805 100 Ω...
  • Page 27 Table 2. STEVAL-IPC002V1 BOM (continued) Manufacturer’s ordering Serial Ref. Supplier Category Component description Package Manufacturer code/orderable part Supplier description ordering code number or equivalent 3.5 kΩ SMD0805 R52,R58 Resistors R53,R59 12 kΩ SMD0805 Thermal Thermal printer Modular FM 205 – HS Evolute FM 205 –...
  • Page 28 Table 3. STEVAL-IPC002V1 touch daughterboard BOM list Manufacturer’s ordering Serial Ref. Supplier Category Component description Package Manufacturer code/orderable part Supplier description ordering code number or equivalent ST devices S-Touch QFN40 STMicroelectronics STMPE1208SQTR C1,C2,C3,C 4,C5,C6,C7, 1 pF SMD0805 C8,C9,C10, C11,C12 Capacitors...
  • Page 29: Revision History

    UM0886 Revision history Revision history Table 4. Document revision history Date Revision Changes 17-Jun-2010 Initial release. Doc ID 16916 Rev 1 29/30...
  • Page 30 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