ST STEVAL-IPC002V1 Скачать руководство пользователя страница 1

June 2010

Doc ID 16916 Rev 1

1/30

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.

www.st.com

Содержание STEVAL-IPC002V1

Страница 1: ...uit 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 lik...

Страница 2: ...Hardware layout 9 4 System overview 12 4 1 Hardware design 12 4 1 1 Microcontroller STM32 12 4 1 2 Battery connector 12 4 1 3 Thermal printer FM205 HS 12 4 1 4 Alphanumeric LCD 13 4 1 5 EEPROM 13 4 1...

Страница 3: ...10 Figure 8 Hardware layout daughterboard S Touch keypad bottom side 11 Figure 9 Block diagram of an STM32 based parking ticket vending machine 12 Figure 10 Truth table for excitation sequence 13 Figu...

Страница 4: ...itions Acronym Definition ESD Electrostatic discharge I2C Inter integrated circuit JTAG Joint test action group LCD Liquid crystal display MCU Microcontroller unit POS Point of sale PTVM Parking ticke...

Страница 5: ...ndication for battery status On board JTAG connector for firmware upgrades and changes Alphanumeric LCD for displaying numbers and settings entered through the S Touch keypad SPDT switch for switching...

Страница 6: ...re 2 Note Avoid running the demonstration board without inserting the thermal paper since this can cause the printer to overheat and cause permanent damage 3 Switch on the board SPDT ON OFF power swit...

Страница 7: ...ticket vending machine demonstration board 8 To replace the thermal paper pull the black roll out of the printer Place the paper 50 to 52 mm width so that the glossy side faces up as shown in Figure...

Страница 8: ...lers bikes and scooters HEAVY heavy vehicles such as trucks or buses The entry types are Single single entry exit PASS the user has a pass for multiple entries and exits Figure 4 shows a sample printe...

Страница 9: ...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 STMPE1208S S Touch keypad M24C01 W EEPR...

Страница 10: ...Getting started UM0886 10 30 Doc ID 16916 Rev 1 Figure 6 Hardware layout main board bottom side Figure 7 Hardware layout daughterboard S Touch keypad top side...

Страница 11: ...UM0886 Getting started Doc ID 16916 Rev 1 11 30 Figure 8 Hardware layout daughterboard S Touch keypad bottom side...

Страница 12: ...rall performance The IOs are 5 volt tolerant 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 interfa...

Страница 13: ...n the reverse direction Excitation sequence As shown in Figure 10 the printer feeds the paper in the normal direction when the motor is excited in the order of step 1 step 2 step 3 step 4 step 1 step...

Страница 14: ...board can be used in standalone hand held mode with two batteries The circuit is implemented so that the batteries are charged individually and in parallel by dedicated battery chargers and while dis...

Страница 15: ...DWLRQ 3 2 V RQILJXUDWLRQ RQILJXUDWLRQ 6 7RXFK 6HWWLQJV 67 57 17 55837 RQILJXUH H WHUQDO OLQH LQWHUUXSWV 7RXFK QG RI SDSHU RZ EDWWHU V 3ULQW ODJ 6 7 12 V 6HW DWH ODJ 6 7 12 6WDUW 3ULQWLQJ HV 6HW DWH HV...

Страница 16: ...data Set Vehicle Type the vehicle type is 2 WHL 4 WHL or Heavy and is stored in the user buffer data Set Vehicle Number the system stores the last 4 digits of the vehicle number entered by the user O...

Страница 17: ...3 67 6B7 17B3 67 6B B6 B B3 B B3 B B3 B B3 B B3 3 B26 B 1 3 B26 B287 26 B287 26 B 1 227B 227B 9 Q567 67 6B B6 67 6B B6 0 B B3 670 B287B3 B B3 B B3 0 B B6 0 B B6 60 B63 B0 62 5 6 7B1 86 57 B5 B56B3 86...

Страница 18: ...B3 B B3 57 9 54 7 B3 7 B6 B3 7 B6 B3 7 B6 B3 Q567 9 9 9 7 B6 B3 9 B6 7 B3 9 211 725 7 B 211 5 127 86 5 127 86 5 N 5 N 5 N 5 N 7 B 211 7 B 211 5 N 5 N 5 5 211 211 966 9 2175 67 56 5 5 1 5 N 5 N 5 N 5 N...

Страница 19: ...21 3 3 6 6 63 7 6 6 63 7 5 N 5 N 8 B 3 8 B 3 1 1 287 287 Q Q X 9 X 9 5 N 5 N 8 75 8 75 9 1 1 9287 1 9287 9287 9287 1 5 5 X X 8 8 287 6 1 1 203 6 1 9 5 N 5 N Q Q X 9 X 9 5 5 X X X X 8 670 1 8 670 1 28...

Страница 20: ...B 211 6703 6 6 7 21 S S S S 8 6703 6 8 6703 6 3 2B 6B 1B 6B 1B 6B 1B 6B 1B 3 2B 6B 1B 3 2B 3 2B 3 2B B B 5 6 7B1 6B 1B 6B 1B 3 2B 3 2B 6 7 6 7B 17 B 17 3 7 6B 1B 6B 1B 6B 1B 1 9 95 9 6B 1B 3 2B 3 2B 3...

Страница 21: ...der logic with 12 channel touchkey S Touch QFN40 STMicroelectronics STMPE1208S 4 U6 U7 Battery charger system VFQFPN16 STMicroelectronics L6924D 5 U8 Voltage regulator SO 8 STMicroelectronics LD1117D3...

Страница 22: ...6 x 6 mm push button through hole Tyco Electronics FSM2JH Farnell Part 1555981 3 J1 JTAG connector Box header straight 20 way 2 x 10 pin 2 54 x 2 54 mm pitch Protectron P9603 20 15 1 4 CONN1 30 pin S...

Страница 23: ...4 mm straight 6 WAY single row Gold Flash Single row straight through hole 2pin Protectron P9101 06 12 1 LEDs 1 D6 Yellow LED SMD1206 OSRAM LYN971 Z Farnell Part 1226417 2 D9 Green LED SMD1206 OSRAM L...

Страница 24: ...4 C49 C51 1 nF SMD0805 Any 6 C48 C50 22 nF SMD0805 7 C33 47 nF SMD0805 8 C14 C15 C16 C17 C18 C19 C20 C21 C22 C27 C35 C44 C47 C53 C56 100 nF SMD0805 Any Table 2 STEVAL IPC002V1 BOM continued Category S...

Страница 25: ...rolytic capacitors SMD 330 F 10 V SMD Electrolytic 6 3 mm diameter x 11 mm L Nichicon UCD1A331MNL1GS Mouser 647 UCD1A331MNL 1GS Inductors 1 L1 10 H SMD Any 2 L2 10 H 2 5 A SMD Bourns SDR1005 100ML Mou...

Страница 26: ...28 DNM SMD0805 Any 13 R30 R31 R36 R37 4 7 k SMD0805 Any 14 R33 150 SMD0805 Any 15 R34 70 k SMD0805 Any 16 R35 1 5 k SMD0805 Any 17 R40 330 SMD0805 Any 18 R41 R48 R49 R54 1 k SMD0805 Any 19 R42 2 k SMD...

Страница 27: ...D0805 Any Misc 1 Thermal printer Thermal printer Modular APS FM 205 HS Evolute FM 205 HS 2 U3 Oriole LCD 16 x 2 alpha numeric LCD Modular Oriole 3 Relay Relay SPDT 5 pin through hole Tyco electronics...

Страница 28: ...tegory Serial no Ref description Component description Package Manufacturer Manufacturer s ordering code orderable part number or equivalent Supplier Supplier ordering code ST devices 1 U1 S Touch QFN...

Страница 29: ...UM0886 Revision history Doc ID 16916 Rev 1 29 30 6 Revision history Table 4 Document revision history Date Revision Changes 17 Jun 2010 1 Initial release...

Страница 30: ...ARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLE...

Отзывы: