Help! is PSF-BLA Flash-able with Tasmota?

Hi everyone,

can you please if there any one have tried to flash this kind of thing with Tasmota tried every thing I could find with no luck at all

its a smart wifi LED driver than can be installed in calling mounted led panel.

PSF-XLA Application Guide

image description

Version V1.0

Copyright © 2019

About this manual

         This manual introduces the product parameters of the PSF-XLA application guide and includes the following chapters.
chapter title content
Chapter One Product Brief Overview of the features and functional applications of PSF-XLA
Chapter two Electrical characteristics Introduce the basic parameters of the electrical performance of the module
third chapter Module type and pin definition Provide module type, pin definition function description
Chapter Four Functional description Describe module functions and specific instructions
chapter Five WIFI radio frequency index Introduce the module’s RF indicators
Chapter Six PCB design Provides module layout and PCB layout considerations
Chapter VII Package information Provide module package dimensions

1. Product Introduction

    PSF-XLA is a universal multi-channel intelligent dimming chip developed by Shenzhen Cool House Technology Co., Ltd. (abbreviation: Cool House Technology) based on ESP8285.

It provides a set of highly integrated Wi-Fi SoC solutions, whose low power consumption, compact design and high stability can meet user needs. PSF-XLA

It can realize basic functions such as Wi-Fi search connection, network server communication, mobile phone APP control, etc., realize remote control, designed for mobile devices and objects

Network application design.

    PSF-XLA has various packaging methods, and the antenna can support IPEX interface antenna and ceramic antenna. It can be widely used in home automation and intelligent dimming occasions.

Product Features

  • Built-in 32-bit MCU, can double as application processor
  • Support wireless 802.11 b / g / n standard
  • Wi-Fi @ 2.4 GHz, supports WPA / WPA2 security mode
    • 20.5dBm maximum output power in 802.11b mode
  • UMA certification standards
  • Support local hardware control
  • Support timer operation
  • Support W (cold), Y (warm) intelligent dimming
  • Support RGB smart dimming
  • Support Wi-Fi remote control
  • Supports compatible pairing mode / fast pairing mode
  • Support OTA upgrade

2. Electrical characteristics

2.1, rated parameters

                                  Conditions: VDD = 3.3V ± 10%, GND = 0V; tested at room temperature 25 ° C.
model Types of
model PSF-XLA
main chip ESP8285
Hardware interface UART, GPIO
Operating Voltage 2.7V ~ 3.6V
GPIO drive capability Max: 12mA
Working current Average current: ≈80mA,

maximum working current: 210mA
Standby: <200uA|
|Operating temperature|0 ℃ ~ 45 ℃|
|Storage environment|Temperature: -10 ℃75 ℃, relative humidity: 20% RH80% RH|
|Wireless network type|STA / AP / STA + AP|
|Security Mechanism|WEP / WPA-PSK / WPA2-PSK|
|Encryption type|WEP64 / WEP128 / TKIP / AES|
|Firmware upgrade|OTA remote upgrade|

2.2 Wi-Fi parameters

                                         Conditions: VDD = 3.3V ± 10%, GND = 0V; tested at room temperature 25 ° C.
Types of parameter
Wireless standard IEEE 802.11b / g / n
Frequency Range 2.412GHz-2.484GHz
Transmit power 802.11b: 20 ± 2dBm (@ 11Mbps)

802.11g: 17 ± 2dBm (@ 54Mbps)
802.11n: 14 ± 2dBm (@ HT20, MCS7)|
|Receive sensitivity|802.11b: -91 dBm (@ 11Mbps, CCK)
802.11g: -75 dBm (@ 54Mbps, OFDM)
802.11n: -72 dBm (MCS7)|
|Antenna type|PSF-ALA: IPEX interface antenna
PSF-BLA: ceramic patch antenna|

3. Module type and pin definition

3.1, module type

        The PSF-XLA multi-channel switch module includes two models: PSF-ALA and PSF-BLA. The difference between the two modules is only the type of antenna, PSF-

ALA uses an IPEX interface antenna, and PSF-BLA uses a ceramic antenna. There is no difference in other respects.

image description

                                                                                 PSF-ALA top view

image description

                                                                                 PSF-BLA top view

3.2. Arrangement order of pins

                  The PSF-XLA module provides WY dimming PWM output port, RGB dimming PWM output port, Wi-Fi indicator interface, and UART serial port.

image description

                                                                              Top view of module pins

image description

                                                                              Low view of module pins

3.3. Pin definition

                                                                         Pin definition and function description
Pin name Features
1 ANT Wi-Fi Antenna Note:
  1. PSF-ALA cannot be used when connected to an IPEX interface antenna
  2. PSF-BLA cannot be used|
    |2|ADC|ADC interface, input range: 0 – 1V|
    |3|EN|High level of chip enable terminal: valid; low level: off.
    Note: Pull up 1 ~ 10K resistor externally, connect 100nF capacitor to ground.|
    |4|GPIO16|NC|
    |5|GPIO14|Warm light control PWM output (channel1)|
    |6|GPIO12|Cold light control PWM output (channel0)|
    |7|STATUS|Wi-Fi status indicator, connect LED lamp in series with current limiting resistor to 3V3|
    |8|GPIO15|GPIO15: Red light control PWM output (channel2)
    Note: The chip configuration pin needs to pull down (1 ~ 4.7K) resistor to ground|
    |9|GPIO2|UART1_TX can be used as flash memory|
    |10|GPIO0|APP configuration pin, enter configuration mode when low level> 5S|
    |11|GPIO4|Green light control PWM output (channel3)|
    |12|GND|GND|
    |13|GPIO9|NC|
    |14|GPIO10|NC|
    |15|GPIO11|NC|
    |16|GPIO6|NC|
    |17|GPIO7|NC|
    |18|GPIO8|NC|
    |19|GPIO5|Blue light control PWM output (channel4)|
    |20|GND|GND|
    |twenty one|RX|UART_RX when flash programming|
    |twenty two|TX|UART_TX for flash programming|
    |twenty three|3V3|power supply|
    |twenty four|RST|External reset signal: low level is effective, external need to pull up 10K resistor to 3.3V, connect 100nF capacitor to ground|

Four, functional description

4.1, module function

        The PSF-XLA module can be used as a 2-way / 5-way dimming device, and users can control it remotely through the APP. The following is the function description:
  1. Configuration method:a. Quick pairing mode / compatible pairing mode. Press and hold the button (IO0 pull down, default high level) for more than 5s to enter the quick pairing mode, For detailed description of the configuration method, see 4.3.b. Power on and off three times in a row, and the power on and off interval is less than 5s, you can also enter the fast pairing mode.
  2. Timing: including single timing, delay timing, loop timing, and repeat timing. For details, see 4.5.
  3. Dimming: The module supports 2-way / 5-way dimming, customers can choose by themselves. The specific IO port description is shown in Table 3. Dimming function specification key 4.6.

4.2 Wi-Fi status light flashing mode description

        The blinking mode of the Wi-Fi status light on the device side represents the current network working state of the device. The specific states include the following seven types:

image description

Wi-Fi device state and status light blinks embodiment relationship map

The flashing characteristics of the Wi-Fi status light take 2 seconds as a cycle. As shown in the figure, the low level light is on and the high level light is off. Detailed explanation of each state:

A. Normal: The device works normally, and the connection to the cloud server is normal. At this time, you can control the device through the APP. In any other mode,

Can’t control the device through the APP.

B. NO Wifi: The device cannot connect to the wireless router.

C. No Server: The device is connected to a wireless router, but cannot connect to the server (that is, “Unable to access the Internet” under normal understanding).

D. Unregistered: indicates that the device has not been bound to any account. Generally, the device needs to be bound to the account of E-Link to be able to connect to the cloud server

  Communication. You can complete the binding operation by "adding device" in the Yiweilian app.

E. Upgrade: indicates that the device is upgrading firmware.

F. Setting G1: indicates that the device is in compatible pairing mode. The configuration mode is used by the device to obtain the necessary access to the service network provided by the mobile terminal APP

 Information, including router ssid, password, server ip, port number, etc.

G. Setting G2: indicates that the device is in quick pairing mode. The configuration mode is used by the device to obtain the necessary access to the service network provided by the mobile terminal APP

  Information, including router ssid, password, server ip, port number, etc. The two configurations, the device obtains different information in different ways, see below

  Section.

4.3. Basic workflow of Wi-Fi module

I. Configuration

   The device module is an "information island" when it is not connected to the local area network, and the device-side operation cooperates with the settings of the Easy Micro App to enable the device to obtain the joining service

Necessary information for the network, including router ssid, password, server ip, port number, etc. The module has two built-in configuration methods:

  1. Compatible pairing mode: the mobile terminal joins the AP as a station to form a LAN to realize data interaction. Quick pairing mode (G state,

For details, please refer to 4.2 Wi-Fi status light flashing mode description) Long press the configuration button 5S, the device enters the compatible pairing mode. Click on Yiweilian APP

   Add device (iOS mobile terminal needs to manually connect ssid in the "Settings" menu: ITEAD-10000XXXX, password12345678

   The hot Android terminal does not need this operation), enter the ssid and password of the home router to complete the preparation of the device online.
  1. Quick pairing mode: In this mode, the Wi-Fi module is in promiscuous mode (Wi-Fi Promiscuous), and the fast pairing mode is empty: this side

    Wi-Fi module is in promiscuous mode (Wi-Fi Promiscuous), and obtains the ssid sent by the mobile terminal in the form of empty and empty packet capture
    
    Encrypted messages such as passwords and passwords. Long press the configuration button 5S in any state of A ~ D mentioned in the previous section, the device enters the quick pairing mode
    
    formula. Click the Yiweilian APP to add the device, enter the ssid and password of the home router, and complete the online configuration of the device.
    

II. online

The device module needs to go through the following process from power on to server connection:

  1. Join the configured router and connect to the Internet.

  2. Connect to the server.

  3. Register the device and bind it to the e-Link account.

  4. Obtain device application parameters and stay online.

In the above steps, when the connection / acquisition fails, there are corresponding backoff strategies and reconnection mechanisms to ensure that the device is stable and online in real time.

III. upgrade

     The module device connects to the upgrade server, downloads and updates to the latest version of firmware, and realizes the online upgrade of the device.

4.4 、 Timer function

The timer function is configured through the APP, and the timer is divided into the following four types:

  1. One-shot timer: Perform the operation at the specified time.
  2. Delay timer: perform the operation after the set time.
  3. Cycle timer: Weekly cycle operation.
  4. Repeat timer: Repeat the operation every day.

4.5, timing function description

        PSF-XLA supports timer operation. In order to facilitate customers to use and use it in more scenarios, Yiweilian APP provides four timing modes

   formula:
  1. One-time timing: This is the most common timing setting, allowing users to set the work schedule of this device. For example, what time is it on or off that day?Closed, or started or closed every Wednesday or so. Similar to the setting of the alarm clock, especially for the device that repeats to run at certain times, timingIt is very convenient to use afterwards.
  2. Delay timing: The delay is to facilitate the user to perform one-time fast timing operations, such as how long after the start or shutdown action is performed, you canIt is very convenient to open a device, let it run for a while and then close it. This device supports up to 24 hours of delayed operation.
  3. Cycle timing: For some devices, in order to be more convenient to use in a certain scene, the cycle timing setting introduced by Yiweilian can allow aBe prepared to start doing something at a certain time. For example, let the oxygen pump of the fish tank start from now on, every hour, every timeTurn off after 20 minutes, and then repeat the automatic cycle to ensure that the fish tank has enough oxygen without manual intervention.
  4. Repeated timing: Repeated timing is convenient without the need to set the timing operation on the next day at the same time. For example, if you set an alarm for work time, after the time is set,Select the date (the number of days is optional for one week), and the alarm will turn on at the time set in the selected date.

4.6 、 Dimming function description

        The PSF-XLA module provides customers with two dimming options of 2 and 5 channels. The specific functions are described as follows:

       1. Functions supported by 2 channels: warm light and cold light;

       2. Functions supported by 5 channels: warm light, cold light, colorful light (red, green and blue);

       3. When the 5-way enters the configuration, the breathing lights flash in sequence (cold → warm → red → green → blue);

       4. The state of the power switch is consistent with the color brightness and switch before power off;

       5. When switching from white light or scene mode to colored light, it will switch to colored red light.

Five, WIFI radio frequency index

                                          Conditions: VDD = 3.3V ± 10%, GND = 0V; tested at room temperature 25 ° C.
description Minimum value Typical value Maximum unit
Input frequency 2412 - 2484 MHz
Output impedance - 50 - Ω
Input reflection - - -10 dB
At 72.2Mbps, PA output peak power 15.5 16.5 17.5 dbm
Peak output power of PA in 802.11b mode 19.5 20.5 21.5 dbm

1. Sensitivity

description Minimum value Typical value Maximum Unit mA
CCK 1Mbps -98 dBm
CCK 11Mbps -91 dBm
6Mbps (1 / 2BPSK) -93 dBm
54Mbps (3/4 64-QAM) -75 dBm
HT20, MCS7 (65Mbps, 72.2Mbps) -72 dBm

2. Adjacent frequency suppression

description Minimum value Typical value Maximum Unit mA
OFDM, 6Mbps 37 dB
OFDM, 54Mbps twenty one dB
HT20, MCS0 37 dB
HT20, MCS7 20 dB
    Note:

        1. 72.2Mbps is measured in 802.11n mode with MCS = 7 and GI = 200uS.

        2. Up to + 21.5dBm output power in 802.11b mode.

Sixth, PCB design

Note on PCB layout and module layout:

   1. Pay attention to the placement of the module during PCB layout, especially the antenna part of the module, as far as possible away from interference sources: magnetic components (such as motors, electrical

         Sense, transformers, etc.), high-frequency signal devices (such as crystal oscillators, high-frequency clock signals, etc.).

   2. The upper and lower layers of the PCB where the module is placed should not be routed as much as possible, do copper clad treatment, and the antenna from the module to the PCB of the nearest pin part of the module can be

         Can be hollowed out.

   3. The area of ​​the module PCB antenna and the area of ​​15 mm expansion need to be cleared (copper, wire, and components are strictly prohibited), refer to the following figure:

image description

    4. The power supply (VCC) pin capacitance of the module and the other pin capacitance and resistance of the module should be placed as close as possible to the module pins, and the wiring path should be short.

7. Packaging Information

         Package dimension drawing:

image description