UM1572 User manual. STEVAL-IPE020V1: ST energy meter application based on the Android platform. Introduction

Similar documents
STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description

STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description

AN4113 Application note

AN2667 Application note

STEVAL-PCC010V1. ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board. Features. Description

AN2676 Application note

AN2672 Application note

AN3996 Application Note

AN626 Application note

EV-VNQ5E050AK VNQ5E050AK evaluation board

AN2143 Application note

AN2470 Application note TS4871 low voltage audio power amplifier Evaluation board user guidelines Features Description

AN3279 Application Note

AN3354 Application note

STM32-MP3NL/DEC. STM32 audio engine MP3 decoder library. Description. Features

UM1488 User manual. STPMC1 evaluation software. Introduction

AN3980 Application note

AN3250 Application note

AN2855 Application note

STM3220G-SK/KEI. Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Features. Description

UM0693 User manual. 1 Introduction. STM8L101-EVAL demonstration firmware

STM3210B-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

UM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction

UM1084 User manual. CR95HF development software user guide. Introduction. Reference documents

AN3965 Application note

EVAL6235PD. L6235 three-phase brushless DC motor driver demonstration board. Features. Description

ST19WR08 Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Features Contactless specific features

OSPlus USB Extension. OSPlus USB 2.0 extension. Description. Features. Application. TCP/IP stack NexGenOS NexGenIP VFS. FAT Ext2 LVM Device layer

STTS V memory module temperature sensor. Features

STM32-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

AN2734 Application note S-Touch design procedure Introduction

ST33F1M. Smartcard MCU with 32-bit ARM SecurCore SC300 CPU and 1.25 Mbytes high-density Flash memory. Features. Hardware features.

AN2825 Application Note

SOT23-6L ESDALCL6-2SC6

RN0046 Release note. 1 Introduction. SimpleMAC library for STM32W108xx kits. About this release note

ST21NFCB. Near field communication controller. Features. RF communications. Hardware features. Communication interfaces. Electrical characteristics

AN2261 APPLICATION NOTE

AN2240 Application note

AN3154 Application note

STM8 I 2 C optimized examples

STEVAL-IHM028V1. 2 kw 3-phase motor control demonstration board featuring the IGBT intelligent power module STGIPS20K60. Features.

STLC2500D. Bluetooth V2.1 "Lisbon" + EDR. Features. Description

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx.

AN2474 Application note

AN2361 Application note

Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension

STICE CF/Stice_Connect AD/Stice_Connect AS/Stice_Connect

EMIF02-SPK02F2. 2-line IPAD, EMI filter and ESD protection. Features. Application. Description. Complies with the following standards

STM32-SK/RAIS,STR91X-SK/RAI,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS

Obsolete Product(s) - Obsolete Product(s)

AN2673 Application note

Main components USB charging controller with integrated power switch

EMIF01-SMIC01F2 IPAD. Single line EMI filter including ESD protection. Main application. Description. Benefits. Pin configuration (Bump side view)

AN2737 Application note Basic in-application programming example using the STM8 I 2 C and SPI peripherals Introduction

STA bit single chip baseband controller for GPS and telematic applications. Features

SMP75. Trisil for telecom equipment protection. Features. Description. Applications. Benefits

Main components 1 A, high efficiency adjustable single inductor dual mode buckboost DC-DC converter

ST19NP18-TPM-I2C Trusted Platform Module (TPM) with I²C Interface Features

AN4321 Application note

AN2557 Application note

STMicroelectronics. STxP70-4 assembler. User manual Rev A. October

Description SPC564A-DISP. March 2014 DocID Rev 3 1/5

AN2408 Application note

UM1719 User manual. The STPM3x evaluation software. Introduction

AN2594 Application note

AN2592 Application note

AN3001 Application note

EMIF02-MIC01F2 2-line IPAD, EMI filter including ESD protection Features Application Description Complies with the standards:

STM32 embedded target for MATLAB and Simulink release 3.1. Summary for STM32 embedded target for MATLAB and Simulink release 3.1:

STM8L-PRIMER STM32-PRIMER STMPRIMER

AN2202 Application note

AN3362 Application note

ST33F1M, ST33F1M0, ST33F896, ST33F768, ST33F640, ST33F512

LD A very low drop adjustable positive voltage regulator. Description. Features

AN2430 Application note

TN0189 Technical note

AN4274 Application note

AN2781 Application note

AN3975 Application note

STM8L-PRIMER STM32-PRIMER STMPRIMER

SMP30. Trisil for telecom equipment protection. Features. Applications. Description. Benefits

TN0132 Technical note

How to interpret the LPS331AP pressure and temperature readings. Main components mbar absolute barometer with digital output

AN3265 Application note

AN3099 Application note


AN3991 Application note

STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS

ST10F271B/E, ST10F272B/E Errata sheet

AN3988 Application note

AN3188 Application note

AN2061 APPLICATION NOTE

AN2768 Application note LIS331DL 3-axis digital MEMS accelerometer: translates finger taps into actions Introduction

UM1008 User manual. Demonstration kit for the ST7570 power line modem with graphical user interface. Introduction

AN3140 Application note

EMIF03-SIM06F3. 3-line IPAD, EMI filter including ESD protection. Description. Features. Application. Complies with the following standards:

L6460. SPI configurable stepper and DC multi motor driver. Features. Description

ECMF02-3F3. Common mode filter with ESD protection. Features. Description. Applications. Complies with the following standard:

AN2792 Application note

ESDA25LY Automotive dual Transil array for ESD protection Features Applications Description Benefits

Transcription:

User manual STEVAL-IPE020V1: ST energy meter application based on the Android platform Introduction The ST energy meter application is a user friendly Android based solution based on NFC technology that can write and read data to and from a dual EEPROM. The application was developed on Android 2.3.4 which is compatible with 2.3.4 and higher versions. NFC is a wireless technology based on RFID (radio frequency identification) that establishes a communication between the devices by bringing them into close proximity. The M24LR64-R is a dual interface EEPROM which targets a wide range of applications, such as, industrial/medical equipment and consumer electronics. RFID (13.56 MHz) and I2C serial communication are the two interfaces available with EEPROM. The M24LR64-R supports ISO 15693, NFC-V category of NFC communication. The single-phase energy meter based on an STPM metering IC and the STM8L152C6 microcontroller is a fully functional single-phase solution with parameter display, tamper management, maximum demand (MD) calculation, and with dual interface (RF and I2C interface) EEPROM data logging and low power management. Figure 1. M24LR64 EEPROM based energy meter November 2012 Doc ID 023599 Rev 1 1/19 www.st.com

Contents UM1572 Contents 1 Application overview........................................ 4 1.1 Installation and launch of application............................. 4 1.2 NFC detection.............................................. 6 1.3 Configure energy meter....................................... 7 1.4 Download meter data......................................... 9 1.5 About energy meter......................................... 11 1.6 Consumption data.......................................... 12 1.7 Miscellaneous information.................................... 13 1.8 Plotting consumption data.................................... 14 Appendix A Definitions............................................. 17 Revision history.................................................... 18 2/19 Doc ID 023599 Rev 1

List of figures List of figures Figure 1. M24LR64 EEPROM based energy meter....................................... 1 Figure 2. Launch energy meter application............................................. 4 Figure 3. Main application.......................................................... 5 Figure 4. NFC discovery........................................................... 6 Figure 5. Successful discovery of NFC................................................ 7 Figure 6. Configure energy meter (no NFC tag detected).................................. 8 Figure 7. Configure energy meter (NFC tag detected ).................................... 9 Figure 8. Downloading meter data................................................... 10 Figure 9. Energy data menu....................................................... 11 Figure 10. About energy meter...................................................... 12 Figure 11. Consumption data........................................................ 13 Figure 12. Miscellaneous information................................................. 14 Figure 13. Cumulative energy plot.................................................... 15 Figure 14. Earth Tamper count plot................................................... 16 Doc ID 023599 Rev 1 3/19

Application overview UM1572 1 Application overview 1.1 Installation and launch of application The user can easily download the ST energy meter application from the Google Play store by browsing the following link in Cell Phones : https://play.google.com/store?hl=en&tab=w8 The user can search for the application by the name ST energy meter application and an application with the name Metering and ST logo appears on the screen with an Install button option. Select the Install button to download the application to your phone. The ST energy meter application is an.apk file that can be installed on an Android based cell phone by browsing the application using any file browser. After successful installation of the.apk file, an application with EnergyMeterApplication appears in the applications list. Select the application to launch it, as shown in Figure 2. Figure 2. Launch energy meter application On launching the application, the user is able to see the main screen with four buttons, as follows (Figure 3): a) Application b) Slideshow c) Help d) www.st.com/dualeeprom. 4/19 Doc ID 023599 Rev 1

Application overview Figure 3. Main application Application Select the Application button to perform read and write operations with the dual EEPROM through NFC. Help Select the Help button to go to the help file integrated into the application. Slideshow Note: Selecting this option from the menu opens a slideshow on the concept and benefits of the dual EEPROM. Clicking on www.st.com/dualeeprom leads the user to the dual EEPROM webpage. The images in this document are the same as those found in the Help menu of the application. Kindly refer to the comments in RED on each screen for help. Doc ID 023599 Rev 1 5/19

Application overview UM1572 1.2 NFC detection Figure 4. NFC discovery When the user selects the Application button on the main screen of the application, it switches to the screen shown in Figure 4. The red signal indicates that no NFC tag was detected by the application. The user needs to bring the phone into the NFC range. The user must also make sure that their phone has support for NFC; this can be verified in the Specifications list of the phone or the Go to Settings Menu > Wireless & Networks Menu on their phone, where they can see if NFC is on the list. If their phone does not support NFC, the user is able to install the application but it does not work. If the Tag is detected by the application; the signal turns to green, as indicated in Figure 5. The application is now ready to download data from the dual EEPROM. 6/19 Doc ID 023599 Rev 1

Application overview Figure 5. Successful discovery of NFC 1.3 Configure energy meter Once the NFC tag is successfully discovered by the application, the user can easily perform read and write operations with the dual EEPROM. The configure energy meter is a very useful feature of the application. Using this feature, the user can enter the manufacturer name, model, serial number, hardware version, firmware version and manufacturer location and can select the setup energy meter button to write the data into the dual EEPROM which can be retrieved anytime. Before writing any data, the user should make sure that the color of the signal is GREEN, as indicated in Figure 8. If at anytime the signal turns to red, it means the cell phone has been removed from the NFC range. It returns to green once the mobile is in the NFC range. This is useful for the user during 1st time installation of the meter. Configuration of the meter may not be needed once the meter is already installed. Doc ID 023599 Rev 1 7/19

Application overview UM1572 Figure 6. Configure energy meter (no NFC tag detected) These entries for the configuration of the meter can be done in offline mode and can then be programmed into the dual EEPROM once the phone is brought into range. The signal color changes from red to green. Warning: Using the 'Configure' option for an already installed E-meter erases the old data and adds the new data. 8/19 Doc ID 023599 Rev 1

Application overview Figure 7. Configure energy meter (NFC tag detected ) 1.4 Download meter data Select the download meter data button to read the full memory of the dual EEPROM. When the user selects this button, it starts retrieving data and a progress bar starts moving. It stops once the data is read successfully. Before downloading any data from the memory, the user must check that the color of the signal is green, which means that the NFC tag is in range of the cell phone and has been discovered by the application. Doc ID 023599 Rev 1 9/19

Application overview UM1572 Figure 8. Downloading meter data 10/19 Doc ID 023599 Rev 1

Application overview Figure 9. Energy data menu After the data is successfully downloaded, the user can view that data in three categories: a) About energy meter b) Consumption data c) Miscellaneous Information. 1.5 About energy meter The About energy meter category provides the details of the energy meter as entered by the user using the configure energy meter option of the application. Doc ID 023599 Rev 1 11/19

Application overview UM1572 Figure 10. About energy meter 1.6 Consumption data In this category, select any of the options, such as cumulative energy, maximum demand log, cumulative energy month, average PF log, earth tamper count, reverse tamper count, neutral missing count or case tamper count to plot its corresponding data for the last 7 months. To view and compare data for the last 7 months is a very important feature of the application. 12/19 Doc ID 023599 Rev 1

Application overview Figure 11. Consumption data 1.7 Miscellaneous information Miscellaneous information is the last category of data downloaded from the dual EEPROM. It provides the basic energy meter data such as the installation date, last maintenance date, calibration data, and power-down date-time, total cumulative energy, and overflow count in the form of text. Miscellaneous information is not configurable and is directly read from the dual EEPROM. Doc ID 023599 Rev 1 13/19

Application overview UM1572 Figure 12. Miscellaneous information 1.8 Plotting consumption data Figure 12 and 13 are snapshots of the plots used to display 7-month energy meter data. These plots are provided with zoom and pan effects to make them easier to use. 14/19 Doc ID 023599 Rev 1

Application overview Figure 13. Cumulative energy plot Doc ID 023599 Rev 1 15/19

Application overview UM1572 Figure 14. Earth Tamper count plot 16/19 Doc ID 023599 Rev 1

Definitions Appendix A Definitions Table 1. Definitions Acronym NFC RFID EEPROM Definition Near field communication Radio frequency identification Electrically erasable programmable read only memory Doc ID 023599 Rev 1 17/19

Revision history UM1572 Revision history Table 2. Document revision history Date Revision Changes 29-Nov-2012 1 Initial release. 18/19 Doc ID 023599 Rev 1

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. UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK. 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. 2012 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 Doc ID 023599 Rev 1 19/19