STEVAL-IPG001V1 Gas meter demonstration board Data brief • • • • Description Features • • • • • • • • • • • Nominal operating voltage from battery: 3.3 V to 3.6 V External power supply source USB/Wall adapter (5 V) Low power mode current consumption (Standalone mode) : 15-20 µA 2 I C communication interfacing with OMRON gas sensor Dual Interface EEPROM support Maximum gas flow rate: 6.000 m3/hr Minimum gas flow rate: 0.000 m3/hr No. of tampers supported: 4 Maximum tariff scheduling supported: 4 (with minimum time difference between every tariff is 1 Hr in ascending order) WMBUS stack running on STM32L microcontroller available on board Supports Sub GHz SRD bands: 169 MHz (N mode), 868 MHz (S mode) December 2013 A very low-power and high performance RF transceiver "SPIRIT1" used for wireless communication Windows application available to configure WMBUS parameters at concentrator side and reading various metering data received from the gas meter Android application available for accessing various parameters of meter from dual interface EEPROM using smartphone through NFC RoHS compliant The STEVAL-IPG001V1 demonstration board is a fully functional gas meter demonstration board. It is interfaced with OMRON gas sensor and able to read/write and display various parameters on LCD e.g. configuration parameters, maintenance parameters, total consumption parameters, tariffwise consumptions, 4 types of tampers etc. The STEVAL-IPG001V1 also manages maximum demand (MD) calculation and communication with dual interface EEPROM (RF and I2C interface). SPIRIT-RF Sub GHz module is also supported by the board and WMBUS protocol stack is running on STM32L microcontroller available on board. The STEVAL-IPG001V1 also has provision of controlling gas valve by driving a motor. Connectors for external seismic detector, IrDA, STRNFC module are available for future use. Similarly footprints for external RTC, temperature sensor, USB connector are also available on the board. DocID025299 Rev 1 For further information contact your local STMicroelectronics sales office 1/11 www.st.com Schematic diagram 1 STEVAL-IPG001V1 Schematic diagram Figure 1: MEMS section C4 100nF 3V3 U2 3V3 GND VDD_IO NC NC SCL GND 13 12 11 10 9 GND GND INT1 RESERVE INT2 PE15_MEMS_INT1 PE10_MEMS_INT2 6 7 8 SDA SDO CS C9 100nF 1 2 3 4 5 GND RESERVE VDD 16 15 14 GND LIS3DH PB13_SPI2_SCK PB15_SPI2_MOSI PB14_SPI2_MISO PD0_SPI2_NSS GSPG2309DI1140 Figure 2: IRDA module J4 1 2 CON2 PA2_IRD A_US ART 2_T X PA3_IRD A_US ART 2_R X R9 0 0 R 10 0 0 IRD A_T xD 3V3 IRD A_R xD R 1 6 PA1_IRD A_S D R 15 0 0 R 11 5 .1 E U5 IRD A_T xD IRD A_R xD 47 E 3V3 3V3 GND 1 2 3 4 5 6 7 8 ANODE CATHODE TxD RxD SD VCC1 VLOGIC GND T FD U 6300 C 18 4 .7 u F C 19 C 20 1 0 0 n F 4 .7 u F C 21 100nF GSPG2309DI1145 2/11 DocID025299 Rev 1 STEVAL-IPG001V1 Schematic diagram Figure 3: SPIRIT1 section J8 2 PA0_SPIRIT_GPIO3 4 PE11_SPIRIT_GPIO2 6 PE7_SPIRIT_GPIO1 8 PE4_SPIRIT_GPIO0 10 1 3 5 7 9 PA4_SPIRIT_CSN PA5_SPIRIT_CLK_SPI1 PA7_SPIRIT_MOSI_SPI1 PE14_SPIRIT_MISO_SPI1 HEADER 5X2 J9 3V3 2 4 6 8 10 3V3 3V3 1 3 5 7 9 PD9_SPIRIT_SDN HEADER 5X2 GSPG2309DI1150 Figure 4: RTC section R 20 U6 PE12_R TC_SWQ_EEPR OM_PWR R 25 1 R 75 10K 2 GND 3 47k 3V3 R 21 0E PB11_ I2C2_SD A_RTC_EEPR OM 4 SDA SCL SQW NC IRQ/OUT VSS NC VCC 8 0E PB10_ I2C2_SCL_R TC_EEPRO M 7 6 PD4_R TC_IRQ 5 3V3 R 32 47k 3V3 M 41T 62LC 6F 3V3 C 30 680uF C 31 4 .7 u F GSPG2309DI1155 DocID025299 Rev 1 3/11 Schematic diagram STEVAL-IPG001V1 Figure 5: Temperature sensor 3V3 3V3 PB7_I2C1_SDA_OMRON_TS R 26 47k U7 R30 12k 3V3 1 2 3 ADDR/THERM SDA GND EVENT VDD SCL R 31 0 0 R 33 0 0 6 5 4 PD3_TS_INT S TTS 751 PB6_I2C1_SCL_ OMRON_TS C 29 100nF GSPG2309DI1200 Figure 6: Pressure sensor 3V3 R37 R38 1M 1M J13 PE9_PRESSURE_SENSOR R47 0 0 CON2 R43 R44 1M 1M GSPG2309DI1205 4/11 DocID025299 Rev 1 STEVAL-IPG001V1 Schematic diagram Figure 7: Board schematic R1 GND NRST 0E C5 R34 10k VDD_3 GND PE1_LCD_SEG3 7 PE0_LCD_SEG3 6 PB9_LCD_COM 3 PB8_LCD_SEG1 6 SW6 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 SENS59150-SPST 10pF 2 C11 Y1 1 32.768KHz 20pF R45 2 10K C15 3 C14 10pF 1 C13 1 2 PE2 PE3 PE4_SPIRIT_GPIO0 3 PE5_M_DRIVE_4 4 PE6_PUSH_BU T TON 5 6 PC13_OMRON_ INT 7 8 9 GND 10 VDD_5 11 12 13 1uF Y2 4 NRST 8 PC0_LCD_SEG1 14 15 16MHz PC1_LCD_SEG1 9 PC2_LCD_SEG2 0 PC3_LCD_SEG2 1 16 17 18 19 20 21 22 23 24 25 20pF STM32L162VXTX NRST PC0 PC1 PC2 PC3 VSSA VREFVREF+ VDDA PA0-WKUP PA1 PA2 VDD_2 VSS_2 PH2 PA13 PA12 PA11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PB15 PB14 PB13 PB12 VDD_2 GND PH2_CASE_TAMPER PA13_SWDIO PA12_USB_DP PA11_USB_DM PA10_LCD_COM 2 PA9_LCD_COM1 PA8_LCD_COM0 PC9_LCD_SEG2 7 PC8_LCD_SEG2 6 PC7_LCD_SEG2 5 PC6_LCD_SEG2 4 PD15_LCD_SEG3 5 4 PD14_LCD_SEG3 PD13_LCD_SEG3 3 PD12_LCD_SEG3 2 PD11_LCD_SEG3 1 PD10_LCD_SEG3 0 PD9_SPIRIT_SDN PD8_STRNFC_IRQ_OUT PB15_SPI2_MOSI PB14_SPI2_MISO PB13_SPI2_SCK 2 PB12_LCD_SEG1 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 PA3_IRDA_USART2_R X GND VDD_4 PA4_SPIRIT_CSN PA5_SPIRIT_CLK_SPI1 PA6_LCD_SEG 3 PA7_SPIRIT_MOSI_SPI1 PC4_LCD_SEG2 2 PC5_LCD_SEG2 3 PB0_LCD_SEG 5 PB1_LCD_SEG 6 26 27 28 29 30 31 32 33 34 35 36 37 PE7_SPIRIT_GPIO1 38 PE8_M_DRIVE_3 39 PE9_PRESSURE_SENSO R 40 PE10_MEMS_INT2 41 PE11_SPIRIT_GPIO2 42 PE12_RTC_SWQ_EEPROM_PW R 43 PE13_WC_RF_BUS Y 44 PE14_SPIRIT_MISO_SPI1 45 PE15_MEMS_INT1 46 PB10_I2C2_SCL_RTC_EEPRO M 47 PB11_I2C2_SDA_RTC_EEPRO M 48 GND 49 VDD_1 50 VDDA PA0_SPIRIT_GPIO3 PA1_IRDA_SD PA2_IRDA_USART2_TX PE4 PE5 PE6 V_LCD PC13-TAMPER-RTC PC14-OSC32_ IN PC15-OSC32_OUT VSS_5 VDD_5 PH0_OSC_IN PH1_OSC_OUT PA3 VSS_4 VDD-4 PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2/BOOT1 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 PB10 PB11 VSS_1 VDD_1 8 PE2_LCD_SEG3 9 PE3_LCD_SEG3 VDD_3 VSS_3 PE1 PE0 PB9 PB8 BOOT0 PB7 PB6 PB5 PB4 PB3 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 PC12 PC11 PC10 PA15 PA14 U3 GND C10 PB7_I2C1_SDA_OMRON_T S PB6_I2C1_SCL_OMRON_T S 9 PB5_LCD_SEG PB4_LCD_SEG 8 7 PB3_LCD_SEG PD7_M_DRIVE_2 PD6_M_DRIVE_1 PD5_WMBUS_SW ITCH PD4_RTC_IRQ PD3_TS_INT PD2_USB_P U PD1_STRNFC_ IRQ_IN PD0_SPI2_NSS PC12_LCD_SEG4 2 PC11_LCD_SEG4 1 PC10_LCD_SEG4 0 PA15_LCD_SEG1 7 PA14_SWCLK 3V3 100nF GND 3V3 3V3 3V3 3V3 3V3 R17 0E 3V3 VDD_1 VDD_2 VDD_3 VDD_4 VDD_5 VDDA C22 C23 C24 C25 C26 C27 C28 100nF 100nF 100nF 100nF 100nF 100nF 10uF L1 GND 10uH_BEAD AGND GND GSPG2309DI1210 Figure 8: Valve motor drive section MOTOR_SUPPLY_CON_2 1 2 VDD_MOTOR D7 VDD_MOTOR R35 1k 10V J12 R39 PD6_M_DRIVE_1 1 2.2k 1 2 D9 BAT54JFILM J17 Q1 2STR1160_SOT23 R41 2 22k D11 Q5 4 3 R53 22k BAT54JFILM VDD_MOTOR R68 470E 1 2 R55 2.2k R49 2.2k D16 BAT54JFILM 1 Q3 2STR1160_SOT23 R51 2 2.2k C32 100nF R66 22k 3 Q2 2.2k R40 PD7_M_DRIVE_2 1 2STR1160_SOT23 2 5 6 5 6 7 8 7 8 BAT54JFILM D10 R42 22k 4 3 BAT54JFILM D12 22k R54 1 2 R56 2.2k VDD_MOTOR STS8C5H30L_8P D18 D8 10V 10V R67 22k 3 C33 100nF Q6 2STR1160_SOT23 1 2 J18 MOTOR_OUTPUT_CON_1 R50 PE5_M_DRIVE_4 2.2k R52 2.2k D17 BAT54JFILM 3 2 1 PE8_M_DRIVE_3 1k Q4 R69 470E STS8C5H30L_8P 3 10V D15 R36 LED LED 1 2 3 MOTOR_SUPPLY_CON_1 D13 D14 3 J15 GSPG2309DI1215 DocID025299 Rev 1 5/11 Schematic diagram STEVAL-IPG001V1 Figure 9: LCD section J1 PA6_LCD_SEG3 PB0_LCD_SEG5 PB1_LCD_SEG6 PB3_LCD_SEG7 PB4_LCD_SEG8 PB5_LCD_SEG9 PB12_LCD_SEG12 PB8_LCD_SEG16 PA15_LCD_SEG17 PC0_LCD_SEG18 PC1_LCD_SEG19 PC2_LCD_SEG20 PC3_LCD_SEG21 PC4_LCD_SEG22 PC5_LCD_SEG23 PC6_LCD_SEG24 PA8_LCD_COM0 PA9_LCD_COM1 PA10_LCD_COM2 PB9_LCD_COM3 PC11_LCD_SEG41 PD10_LCD_SEG30 PD11_LCD_SEG31 PD12_LCD_SEG32 PD13_LCD_SEG33 PD14_LCD_SEG34 PD15_LCD_SEG35 PE0_LCD_SEG36 PE1_LCD_SEG37 PE2_LCD_SEG38 PE3_LCD_SEG39 PC12_LCD_SEG42 PC7_LCD_SEG25 PC8_LCD_SEG26 PC9_LCD_SEG27 PC10_LCD_SEG40 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 R12 3V3 10k C35 100nF SW2 PE6_PUSH_BUTTON LCD_GLASS CONN GSPG2309DI1220 Figure 10: OMRON gas sensor 3V3 R8 4k7 J5 3V3 PC13_OMRON_INT PB7_I2C1_SDA_OMRON_TS PB6_I2C1_SCL_OMRON_TS 3V3 R13 4k7 3V3 R14 4k7 C38 10pF C39 1 2 3 4 5 CON5 10pF GSPG2309DI1225 6/11 DocID025299 Rev 1 STEVAL-IPG001V1 Schematic diagram Figure 11: Power supply section U4 STLQ015XX30 VIN 1 2 J3 GND D4 VIN 3 C41 STPS1L30A 2 + + 1 EN 2 3 VIN NC 6 NC 5 VOut 4 3V3_EXT C17 1uF/10V ++ 1uF/10V 1 U9 LD1117D33TR/SO-8 8 BATTERY_CON_1 D3 1 2 3V3_BAT VIN 4 VIN J7 ++ C16 STPS2L60A 3V3_EXT J6 3V3 3V3_BAT 1 2 3 BATTERY_CON_2 1 2 220uF GND VO VO VO VO 2 3 6 7 3V3_EXT 1 CON3 J16 GSPG2309DI12230 Figure 12: RF EEPROM section U8 R 62 0E 1 2 3 4 R 65 0E DU VCC DU WC E2 SCL VSS SDA 8 7 PE13_WC_RF_BUS Y 6 PB10_ I2C2_SCL_R TC_EEPRO M 5 PB11_ I2C2_SD A_RTC_EEPRO M M 2 4 M 0 2 -D R J14 PE12_R TC_SWQ_EEPROM_PW R 3V3 3V3 3V3 R 63 4k7 R 73 R 72 0 0 PB10_ I2C2_SCL_R TC_EEPRO M P B 1 1 _ I2 C 2 _ S D A_ R T C _ E E P R O M 8 6 4 2 7 5 3 1 C 36 10pF PE13_WC_RF_BUS Y R 74 1M R 64 4k7 C 37 EEPR O M _C O N 3V3 10pF In case user wants to provide VCC to EEPROM through GPIO mount R73 else mount R72 DocID025299 Rev 1 GSPG2309DI1235 7/11 Schematic diagram STEVAL-IPG001V1 Figure 13: STRNFC section J11 3V3 GND PD0_SPI2_NSS PB15_SPI2_MOSI PB13_SPI2_SCK PB14_SPI2_MISO PD1_STRNFC_IRQ_IN PD8_STRNFC_IRQ_OUT 1 2 3 4 5 6 7 8 CON6 GSPG2309DI1240 Figure 14: USB section + + C2 4.7uF/10V C3 4.7nF USB5V PA11_USB_DM 3 USB_DP 1 J2 6 7 8 9 C12 SHELL SHELL SHELL SHELL USB_VCC USBDM USBDP ID USB_GND 1 2 3 4 5 USB5V USB_DM 2 I/O1 GND I/O2 R2 22 5 U1 USB_DM VBUS USB5V I/O1 I/O2 4 USB_DM 6 USB_DP R4 22 C6 15pF PA12_USB_DP USBLC6-2P6 R5 1M R6 1.5k C8 15pF 4.7nF PD2_USB_PU D2 USB5V VIN ST PS1L30A GSPG2309DI1245 8/11 DocID025299 Rev 1 STEVAL-IPG001V1 Schematic diagram Figure 15: WMBUS data switch R19 3V3 10k C34 100nF SW5 PD5_WMBUS_SWITCH GSPG2309DI1250 Figure 16: Case tamper R 48 3V3 C 40 100nF 10k SW 7 PH2_C ASE_ T AMPE R GSPG2309DI1255 3V 3 Figure 17: SWD section R 18 10k CON5 1 2 3 4 5 R 22 R 23 R 24 R 27 R 28 0E 0E 0E 0E 0E PA13_SWD IO PA14_SWCL K NRS T 3V3 GN D R 29 10k J10 GN D DocID025299 Rev 1 GSPG2309DI1300 9/11 Revision history 2 STEVAL-IPG001V1 Revision history Table 1: Document revision history 10/11 Date Revision 11-Dec-2013 1 DocID025299 Rev 1 Changes Initial release STEVAL-IPG001V1 Please Read Carefully Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ("ST") reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. 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. UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES 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. ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER’S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR "AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL" INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. © 2013 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com DocID025299 Rev 1 11/11