ST STDES-BLUEPLUG2 User Manual

ST STDES-BLUEPLUG2 User Manual

Stdes-blueplug2 reference design for home automation smart plugs

Advertisement

Quick Links

How to use the STDES-BLUEPLUG2 reference design for home automation
Introduction
The
STDES-BLUEPLUG2
is a reference design for home-automation and Internet of Things (IoT) applications.
The on-board
BLUENRG-M2SP
of metering data from specific electrical loads to a smart phone with BLE support.
It supports multiple roles simultaneously and can act at the same time as Bluetooth smart master and slave device.
The device current consumption on AC mains is 3 to 7 mA.
The device acts as BLE peripheral device which can be connected to any smart device using the Android
(available for free download on Google Play) to control and monitor the load and its energy parameters.
The app features load ON/OFF turning, scheduling, dimming and metering parameters.
The
STDES-BLUEPLUG2
embeds an
line systems using shunt current sensors, a three-terminal TRIAC which controls the current through AC switching for various
electrical system applications, and a non-isolated buck converter supply based on the VIPER06XS. This type of supply is ideal
for the applications (like
ST BLE
The
STDES-BLUEPLUG2
is a fully assembled board developed for performance evaluation only, not available for sale.
Figure 1.
UM2862 - Rev 2 - May 2021
For further information contact your local STMicroelectronics sales office.
is compliant with Bluetooth Low Energy (BLE) specification 5.2 to allow secure communication
STPM32
metering chip for high accuracy measurement of power and energy in power
PLUG) where a large amount of current is not needed and a small form factor is required.
STDES-BLUEPLUG2 reference design - top and bottom views
UM2862
User manual
smart plugs
ST BLE PLUG
app
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STDES-BLUEPLUG2 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST STDES-BLUEPLUG2

  • Page 1: Figure 1. Stdes-Blueplug2 Reference Design - Top And Bottom Views

    UM2862 User manual How to use the STDES-BLUEPLUG2 reference design for home automation smart plugs Introduction STDES-BLUEPLUG2 is a reference design for home-automation and Internet of Things (IoT) applications. The on-board BLUENRG-M2SP is compliant with Bluetooth Low Energy (BLE) specification 5.2 to allow secure communication of metering data from specific electrical loads to a smart phone with BLE support.
  • 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

    UM2862 Overview Overview Features • Smart Energy Meter design with wireless connectivity • BLE (Bluetooth Low Energy) v5.2 connectivity to: – control (turning ON/OFF) – display metering parameters • NFC interface: to configure the design and store the logs • Dimming of light for TRIAC dimmable load rated below 12 A •...
  • Page 4: Board Architecture

    UM2862 Board architecture Board architecture Figure 2. STDES-BLUELUG2 featured components BTA12-800BWRG (12 A TRIAC) STPM32TR (IC for metering applications) BLUENRG-M2SP (Bluetooth Low Energy v5.2 module) VIPER06XS (30 KHz offline converter) STTH110RL (High voltage ultra-fast rectifier) L4931 (very low drop voltage regulator) UM2862 - Rev 2 page 4/25...
  • Page 5: Zero Crossing Detector Circuit

    IC, while the BLUENRG-M2SP Bluetooth Low Energy module handles data and command interfacing for the ST BLE 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

    UM2862 Power supply The purpose of the circuit in our design is to start the TRIAC conducting very near the moment when the load voltage crosses zero volts (at the beginning or the middle of each AC cycle represented by a sine wave), so that the output voltage can be modified by changing the firing angle of TRIAC, which in turn will change the required output waveform.
  • Page 7: Figure 7. Non-Isolated Buck Converter

    UM2862 Power supply This type of supply is ideal for the ST BLE PLUG application, where large currents are not required, but a small form factor is necessary. Figure 7. Non-isolated buck converter STTH110RL PHASE 10E-2410,1W 470uH 1.5uF,400V 1.5uF,400V 200nF-0805...
  • Page 8: Set Up The Board And Connect With The Android App

    N_IN Step 2. After powering up the board, RED LED (LD3) will indicate that the board is turned ON. Step 3. Install the ST BLE PLUG 2.0 from Google Play store. Figure 9. ST BLE PLUG launch screen Step 4.
  • Page 9: Control A Load With The Device

    UM2862 Control a load with the device Step 5. Connect the devices to the App by selecting the STDES-BLUEPLUG2 device. Figure 10. Connect the devices Once connected with the board, the BLUE LED (LD2) will blink at the frequency of 2 Hz.
  • Page 10: Figure 11. St Ble Plug - Load Type Panel

    UM2862 Control a load with the device Step 2. Select the load type ([Bulb] for this example). Figure 11. ST BLE PLUG - load type panel UM2862 - Rev 2 page 10/25...
  • Page 11: Figure 12. St Ble Plug - Controlling The Bulb

    Control a load with the device Step 3. Control the light bulb and view the parameters in the load control panel. Figure 12. ST BLE PLUG - controlling the bulb – Select the bulb image to turn it on or off –...
  • Page 12: State Machine

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

    Schematic diagrams Figure 15. STDES-BLUEPLUG2 schematic diagram (1 of 4) STTH110RL PHASE 10E-2410,1W 470uH 1.5uF,400V 1.5uF,400V 200nF-0805 VIPER 06XS NEUTRAL 82K-0402 1.5uF-0805 25V 7.5K-0805 160k-0402 27nF-0805,25V VOUT GND1 GND3 2.2uF-0402,50V 100nF-0402,16V GND2 GND4 INHIBIT 330uF 5.1K-0805 STTH110RL L4931 CON2 N_IN P_IN Test points - J10 &...
  • Page 14: Figure 16. Stdes-Blueplug2 Schematic Diagram (2 Of 4)

    Figure 16. STDES-BLUEPLUG2 schematic diagram (2 of 4) SWTDIO SWTCK NRST CON10A BLUENRG-M2SP DIO7_BOOT DIOA12_LOAD_SW DIOA12 NRST BT_RESET ADC_IN2 DIO1_SPI_STPM_SCS SPI_CS/DIO1 0.0OHM-0603 ADC_IN1 DIO3_LED1 SPI_MISO/DIO3 DIO4_I2C_EEPROM_SCL I2C_CLK/DIO4 DIO2_STPM_SYN SPI_MOSI/DIO2 DIO5_I2C_EEPROM_SDA I2C_SDA/DIO5 DIO0_OPTO_PWM SPI_CLK/DIO0 4.7uF-0603,16V 100nF-0603,16V BLUENRG-M2SP 10K-0603 DIOA12_LOAD_SW SW PUSHBUTTON...
  • Page 15: Figure 17. Stdes-Blueplug2 Schematic Diagram (3 Of 4)

    Figure 17. STDES-BLUEPLUG2 schematic diagram (3 of 4) DIO2_STPM_SYN DIO1_SPI_STPM_SCS 10K-0603 10K-0603 DIO8_UART_TXD 10K-0603 100E-0603 DIO11_UART_RXD 10nF-0603,25V 10K-0603 1uF-0603,25V 150pF-0402,50V 100nF-0402,16V 150pF-0402,50V 150pF-0402,50V 1uF-0603,25V 150pF-0402,50V CLKOUT/ZCR GNDD 100nF-0402,16V CLKIN/XTAL2 150pF-0402,50V 20pF-0402,50V XTAL1 GND_REG STPM32TR LED1_B LED1 VDDA 150pF-0402,50V 1ME-0402 LED2_B...
  • Page 16: Figure 18. Stdes-Blueplug2 Schematic Diagram (4 Of 4)

    Figure 18. STDES-BLUEPLUG2 schematic diagram (4 of 4) PHASE ANODE MAIN_TERMINAL_2 NEUTRAL_IN BTA12-800BWRG CATHODE SUBSTRATE MAIN_TERMINAL_1 N_OUT MOC3020S 220 OHM-0402 100OHM P_OUT Test points - J11 & J12 DIO0_OPTO_PWM 2STR1215 1K-0603 10K-0603 10K-0402 DIO6_ZCR PHASE 2STR2160 270K-1206 270K-1206 270K-1206 10K-0402...
  • Page 17: Bill Of Materials

    UM2862 Bill of materials Bill of materials Item Q.ty Ref. Part/Value Description Manufacturer Order code ASSP for metering applications with up to four independent STPM32TR, 24-bit 2nd STPM32TR QFN-24L order sigma- delta ADCs, 4 MHz OSF and 2 embedded PGLNAs Very low drop L4931CD33-TR , regulator with...
  • Page 18 UM2862 Bill of materials Item Q.ty Ref. Part/Value Description Manufacturer Order code 1 µF-0603, 25 V, Ceramic C14, C21, C6 Taiyo Yuden TMK107BJ105KA-T SMD, ±10 % capacitors 1.5 µF,400V, through Aluminum C34, C36 hole radial Can, 400 Nichicon ULD2G1R5MED1TD capacitors V, ±20 % Samsung 200 nF-0805, SMD,...
  • Page 19 UM2862 Bill of materials Item Q.ty Ref. Part/Value Description Manufacturer Order code Panasonic 22K-0603, SMD Thick film Electronic ERJ-3GEYJ223V 0603, 1/10 W, ±5 %, resistor Components 1 K, SMD 0603, 1/10 R25, R27, R38 Resistors Yageo RC0603FR-071KL W, ±1 % 4 mOhms, 4527 J- Current dense Vishay Dale...
  • Page 20 UM2862 Bill of materials Item Q.ty Ref. Part/Value Description Manufacturer Order code Connector for NFC- 4-pin Through Hole EEPROM AmpheNol FCI 68002-404HLF Pitch 2.54 mm daughter board P_IN, Through Hole Test point P_OUT, Through Test point Hole N_OUT, Through Test point Hole N_IN, Through Hole Test point...
  • Page 21: Revision History

    UM2862 Revision history Table 1. Document revision history Date Revision Changes 11-May-2021 Initial release. 13-May-2021 Updated Section 3 Set up the board and connect with the Android app. UM2862 - Rev 2 page 21/25...
  • Page 22: Table Of Contents

    UM2862 Contents Contents Safety information ..............2 Overview .
  • Page 23: List Of Tables

    UM2862 List of tables List of tables Table 1. Document revision history ............. 21 UM2862 - Rev 2 page 23/25...
  • Page 24: List Of Figures

    STDES-BLUEPLUG2 reference design - top and bottom views........
  • Page 25 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