ST STEVAL-BLUEPLUG1 User Manual

ST STEVAL-BLUEPLUG1 User Manual

How to use the evaluation board for home automation smart plugs

Advertisement

Quick Links

UM2395
User manual
How to use the STEVAL-BLUEPLUG1 evaluation board for home automation
smart plugs
Introduction
The STEVAL-BLUEPLUG1 evaluation board for home-automation and IoT (internet of things) applications is designed to help
you develop your own home or building automation subsystems for energy management, in a small form factor solution for easy
integration into home and building electrical systems.
The board is compliant with Bluetooth Low Energy (BLE) specification 4.2 to allow secure communication of metering data from
specific electrical loads to a smart phone with BLE support.
You can use an Android application for your smart phone to display energy measurement parameters and send dimming and
scheduling commands to the Smart Plug board.
This board embeds an STPM32 metering chip for high accuracy measurement of power and energy in power line systems using
shunt current sensors, and a non-isolated buck converter supply based on the VIPER06Xs. A three-terminal TRIAC controls the
current through AC switching.
You can also interface the board with NFC enabled EEPROM via a dedicated connector.
Figure 1.
STEVAL-BLUEPLUG1 evaluation board - top and bottom
UM2395 - Rev 1 - May 2018
www.st.com
For further information contact your local STMicroelectronics sales office.
Arrow.com.
Downloaded from

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for ST STEVAL-BLUEPLUG1

  • Page 1: Figure 1. Steval-Blueplug1 Evaluation Board - Top And Bottom

    Introduction The STEVAL-BLUEPLUG1 evaluation board for home-automation and IoT (internet of things) applications is designed to help you develop your own home or building automation subsystems for energy management, in a small form factor solution for easy integration into home and building electrical systems.
  • Page 2: Safety Information

    FCC notices Note: ST reference designs and evaluation boards are intended to help and facilitate development of products. Using a direct copy of any of them does not waive the requirement for testing and certification of products mandated by governing agencies and authorities.
  • Page 3: Overview

    UM2395 Overview Overview Features • Smart Energy Meter design with wireless connectivity • BLE (Bluetooth Low Energy) v4.2 connectivity for control and metering panel: Smart-phone connectivity for energy consumption dashboard, control of appliances • Dimming: Some loads can be controlled. For example, AC Induction fan speed, Heaters, Incandescent lamps •...
  • Page 4: Board Architecture

    UM2395 Board architecture Board architecture Figure 2. STEVAL-BLUEPLUG1 featured components BTA12-800BWRG (12 A TRIAC) STPM32 (IC for metering applications) SPBTLE-1S (Bluetooth Low Energy v4.2 module) VIPER06 (30 KHz offline converter) STTH110RL (High voltage ultrafast rectifier) L4931 (very low drop voltage regulator) Figure 3.
  • Page 5: Zero Crossing Detector Circuit

    UM2395 Zero crossing detector circuit The mains supply and loads are monitored by the STPM32 standard metering IC, while the SPBTLE-1S Bluetooth Low Energy module handles data and command interfacing for the Smart Plug Android app developed for the board, and can store data via the EEPROM connector. The 12 A TRIAC acts as a switch for the load and phase controller for dimming.
  • Page 6: Power Supply

    UM2395 Power supply Figure 5. Zero crossing detection with oscilloscope Note: AC voltage Output of the transistor Output of the transistor goes low as ac voltage approaches zero Figure 6. AC at 50% phase Note: AC voltage TRIAC Output at 50% duty cycle Power supply For power supply, a non-isolated Buck converter using the VIPER06Xs offline converter is used, with PWM operation at 30 kHz and frequency jittering for lower EMI.
  • Page 7: Figure 7. Non-Isolated Buck Converter

    UM2395 Power supply Figure 7. Non-isolated buck converter D D 2 2 D D 1 1 R R 1 1 PHASE 1 1 0 0 E E , , 1 1 W W L L 1 1 4 4 7 7 0 0 u u H H S S T T T T H H 1 1 1 1 0 0 R R L L S S M M A A C C 3 3 4 4...
  • Page 8: Set Up The Board And Connect With The Android App

    UM2395 Set up the board and connect with the Android app Set up the board and connect with the Android app Warning: Before performing this task, please review all the safety procedures and precautions associated with high voltage electrical circuits, and prepare the necessary protection equipment. Use the procedure below to set up the board.
  • Page 9: Control A Load With The Device

    Control a load with the device Follow the instructions below to control a load with the STEVAL-BLUEPLUG1 board and the Smart Plug app. Step 1. Connect the board to a mains supply and a load, such as a light bulb.
  • Page 10: Figure 11. Smart Plug - Load Control Panel

    UM2395 Control a load with the device Figure 11. Smart Plug - load control panel UM2395 - Rev 1 page 10/22 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from...
  • Page 11: State Machine

    UM2395 State machine State machine Figure 12. State machine Start Initialization of module and peripherals BLE Stack initialization initial routines state machine routines BLE Stack Tick interrupt routines Interrupt Connected Receive to App? from SW3? commands Turn ON/OFF load Dimming/ scheduling of the bulb (load) send...
  • Page 12: Figure 13. Steval-Blueplug1 Schematic - Spbtle-1S

    UM2395 Schematic diagrams Schematic diagrams Figure 13. STEVAL-BLUEPLUG1 schematic - SPBTLE-1S E E 1 1 L L D D 2 2 L L E E D D 2 2 2 2 0 0 R R 4 4 3 3 DIO14_LED2...
  • Page 13: Schematic Diagrams

    UM2395 Schematic diagrams Figure 15. STEVAL-BLUEPLUG1 schematic - Viper power supply D D 2 2 D D 1 1 R R 1 1 PHASE 1 1 0 0 E E , , 1 1 W W L L 1 1...
  • Page 14: Figure 18. Steval-Blueplug1 Schematic - Swd

    SWTCK NRST C C O O N N 1 1 0 0 A A R R 4 4 0 0 1 1 0 0 K K Figure 19. STEVAL-BLUEPLUG1 schematic - M24LR dual EEPROM 4.7K 4.7K EEPROM_EN EEPROM_EN DIO4_I2C_EEPROM_SCL DIO5_I2C_EEPROM_SDA...
  • Page 15: Bill Of Materials

    UM2395 Bill of materials Bill of materials Table 1. STEVAL-BLUEPLUG1 bill of materials Item Qt.y Ref. Part/Value Description Manufacturer Order code ASSP for metering applications with up to four independent STPM32TR 24-bit 2nd order sigma-delta ADC Voltage Regulator L4931CD33-TR Energy saving 4W...
  • Page 16 UM2395 Bill of materials Item Qt.y Ref. Part/Value Description Manufacturer Order code 330µF 10V CAP ALUM SMD Nichicon UUR1A331MNL1GS ±20% Multilayer Ceramic 4.7uF 25V Capacitors MLCC - Murata Electronics GRM188R61E475KE11D ±10% SMD/SMT 0603 DIODE GEN PURP 2KV 1A Bourns Inc. CD214A-R12000 2KV 1A LD0,LD3...
  • Page 17 UM2395 Bill of materials Item Qt.y Ref. Part/Value Description Manufacturer Order code 10K Ω 1% R51,R53 RES SMD 0402 Yageo RC0402JR-0710KL 1/16W 4.7K Ω 5% R16,R22 RES SMD RΩ Semiconductor ESR03EZPJ472 1/4W RES SMD JUMPER 0.0Ω 1/10W Yageo RC0603JR-070RL 0603 470µH 170MA FIXED IND EPCOS (TDK)
  • Page 18: Revision History

    UM2395 Revision history Table 2. Document revision history Date Version Changes 02-May-2018 Initial release. UM2395 - Rev 1 page 18/22 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from...
  • Page 19: Table Of Contents

    UM2395 Contents Contents Safety information ..............2 Overview .
  • Page 20 STEVAL-BLUEPLUG1 schematic - Snubberless TRIAC section ....... . . 13...
  • Page 21 STEVAL-BLUEPLUG1 bill of materials ........
  • Page 22 ST’s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers’...

Table of Contents