logo elektroda
logo elektroda
X
logo elektroda

BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements

p.kaczmarek2 4992 10
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    Hello my dears .
    In this topic I will look at the inside of a WiFi controlled relay called the BW-SS1, the equivalent of the Sonoff made by Blitzwolf. I'll see how it's built inside, if and by how much it differs from the more well-known Sonoff, and I'll check if it can be easily uploaded with some custom batch (e.g. Tasmota). I will also measure how much current it draws when powered from 5V.

    Related topics .
    I have already written several topics on WiFi-based ESP products. I mainly show interiors there, list below:
    - BW-LT30 or WiFi adapter for bulb - test, teardown and ESP firmware upload .
    - WiFi-controlled electrical socket - BW-SHP8 - commissioning and testing
    - Test and interior of the BW-SS3, a WiFi controlled light switch from Blitzwolf .
    - Socket/plug with WiFi PS-16-M and eWeLink/Coolkit app - test and teardown
    - SmartLife switch - test, interior and programming of light switch on WiFi
    Plus, a topic about the DIY version of the relay and about Tasmota:
    - ESP8266 and Tasmota - step-by-step WiFi relay control .

    Purchase of BW-SS1 .
    I purchased the BW-SS1 at a bargain price of $5, or about £20. I used a coupon I came across online for this:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    Normally it can be slightly more expensive:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    The vendor describes it as follows:
    Dimensions Max.
    Brand BlitzWolf®
    Model BW-.SS1
    Color White
    Dimensions 75*40*25mm
    Net Weight 53g
    Material ABS+PC
    Input AC100~240V 50/60Hz
    Rated Power <0.5W
    Max. Power 3300W
    Max Current 15A
    Wireless Type 2.4GHz Wi-.Fi
    Wireless Range Wireless Range 30M
    Working Temperature -.10~45℃
    Working Humidity ≤80%
    Certification CE, RoHS, FCC
    Online User Manual EN, FR, GER, IT, ES, JP
    .
    Additionally, it gives (quite rightly!) a warning:
    Quote:
    Risk of AC electrical shock causing injury or death!
    If you are not sure how to install the switch, please find a professional electrician to do it for you.
    .
    BW-SS1 dimensions:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .

    Test with BlitzWolf app .
    As a matter of principle, I tested the BW-SS1 with an app from its manufacturer, BlitzWolf. This is an app that connects a wide range of Blitzwolf products, various switches, sensors and other IoT hardware for the 'smart home'. It allows you to create all sorts of scenarios, time loops and dependencies. I have already discussed this app in more detail here:
    https://www.elektroda.pl/rtvforum/topic3687040.html#18652154
    The pairing went off without a hitch:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    Once paired, you can conveniently control the bulb via the app (but note that the BW-SS1 only cuts one line, it has a single relay...):
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    You can also set it up with a schedule, stopwatch, etc. just like other BlitzWolf devices:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    All standard, you can look inside.

    Interior of BW-SS1 .
    The BW-SS1 on the outside has no screws. The cover is held on by clips, you have to lever it up:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    After removing the cover. You can immediately see that the tracks from screw terminal to screw terminal are thickened and tinned. The relay just cuts off one of them...:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    The board itself inside is already held on by screws:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    Plate removed:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements
    The plate can now be looked at:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    The blue board tucked into the main board is the module with the ESP8266 from Tuya. I associate it with the BW-LT30:
    https://www.elektroda.pl/rtvforum/topic3736876.html
    One black 'box' is a relay. The other, signed SETT1A250V, is the fuse:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    The blue element next to it is a varistor, also in the role of surge protection.
    The relay is RD-105DM-A:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    Next to the relay is the IC responsible for the power supply:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    This is the PN8016. I have already seen it in another BlitzWolf product, in the BW-SS3:
    https://www.elektroda.pl/rtvforum/topic3729892.html#18929996
    It is a so-called "Non-isolated Off-line PWM converters Width Modulator (PWM)", i.e. a converter circuit without galvanic isolation.
    PN8016 application diagram:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    In the schematic, it is worth noting that the ground of the entire circuit is connected directly to the mains. There is no galvanic separation:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    The PN8016 does not directly power the ESP8266, there is still a 3.3V LDO regulator in the way:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    In the picture you can see the LDO AMS1117 3.3 regulator and next to it is the WiFi module with ESP8266 inside.
    The WiFi module itself with ESP8266 has its pins signed on both sides of the board:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    [added later] Finally, we take another look at the screw terminal itself from the BW-SS1.
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    This is DC29B-7.62 .

    Upgrading a custom ESP8266 batch for BW-SS1 (using Tasmota as an example) .
    Here, uploading your own batch is even simpler than in other such products.
    Here we don't have to worry about providing 3.3V for the ESP, we can plug in comfortably in front of the LDO regulator with our 5V.
    Of course, we must further bear in mind that the UART<->USB adapter used for programming must operate at 3.3V voltage levels at RX and TX.
    On the other hand, plugging in itself can be a problem - there is no connector, you have to look at the pins.
    I plugged in like this myself:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    Adapter (set to 3.3V mode voltage levels on RX and TX):
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements.
    Entirety:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    List of pin connections:
    - ground to ground
    - 5V from USB to 5V on the board (not to 3.3V from ESP, as this will damage it!)
    - RX from adapter to TX from ESP
    - TX from adapter to RX from ESP
    - GPIO0 from the adapter to GND (short-circuiting GPIO0 to GND while ESP is running, i.e. giving it power, activates programming mode)
    - (additionally, the USB-UART adapter has the 3.3V logic level mode selected)
    Just that.
    The programming procedure is as follows:
    1. disconnect the power supply completely
    2. short-circuit GPIO0 to GND
    3. connect the power supply (ESP8266 must boot with GPIO0 shorted to ground)
    4. start uploading the batch from the computer (or other command)
    5. After uploading, unplug the power supply
    6. disconnect GPIO0 from GND
    7. connect the power supply (now the ESP8266 will boot normally, not in programming mode)
    On the computer side I used esptool.py installed with the ESP8266 support package for Arduino (via Boards Manager). Project repo:
    https://github.com/esp8266/Arduino
    First, a test of communication with the ESP - command esptool.py chip_id :
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    I then backed up the BlitzWolf software. Command esptool.py read_flash 0x00000000 0x100000 BW-SS1-flash_1M.bin :
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    The first argument of this command is the offset from which we start reading the Flash memory, and the second argument is the size to load. The third is the name of the file to create.
    I then uploaded the alternative firmware, Tasmota, as an example. The command esptool.py write_flash 0x0 tasmota.bin :
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    After disconnecting GPIO0 from ground and unplugging and re-plugging the power supply, ESP starts with the new firmware and we can configure Tasmota:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    I managed to configure the Tasmota correctly, pin setting:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    But I already described Tasmota in detail in another topic, here:
    https://www.elektroda.pl/rtvforum/topic3760371.html
    So I refer those interested to it.

    After playing around with Tasmota, I restored the batch from Blitzwolf and was again able to control the BW-SS1 via their app (not surprisingly, everything is in that batch, including our WiFi network data):
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .

    Current consumption of BW-SS1 (from 5V supply) .
    Finally, I thought I could still easily measure what current the chip draws from the 5V supply (I powered it from USB).
    I took the measurements with the insert from BlitzWolf.
    Relay open:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    Relay shorted:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    With the relay open it consumes approximately 25mA , i.e. (0.025*5)W = 0.125W . When closed about 100mA , i.e. (0.1*5)W = 0.5W . Of course, this doesn't take into account the losses on the power supply circuit itself (here: PN8016). But it's pretty much in line with what the vendor was quoting (although he was quoting <0.5W, which is a bit of a stretch).

    Next part announced .
    Another Smart Home product with WiFi (and here with RF433 too!) is already in the queue for teardown and programming trials - the QTouch switch:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    I'll test it soon, describe it and give it a go on the forum too.


    Summary
    .
    Inside, the BW-SS1 differs to some extent from the Sonoff. Its power supply and the connection of the ESP8266 is realised in a different way. In the Sonoff (at least the one I know) there is also more convenient access to the Flash memory, which we may want to replace with a larger one if need be. Here, the Flash memory together with the ESP8266 is on a separate board (a module from Tuya?), which may also be an advantage if we want to replace something, but I don't know if the WiFi module used here can be bought separately - you would have to look for it.
    Nevertheless, there are no programming problems here, after soldering the five cables everything goes smoothly.
    PS: However, if anyone has a similar Blitzwolf product and wants to upload their own flash to it, they can wait a few weeks, because this month I will give the forum a detailed description of using tuya-convert to upload the batch via WiFi, and it's a much more convenient method and doesn't require soldering.

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 11844 posts with rating 9941, helped 566 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 19157589
    george2002

    Level 21  
    A question quite out of the blue - I was inspired by those connectors with the yellow flap for 230VAC output and output - what kind of connector does anyone know the model ? name ? :D
  • ADVERTISEMENT
  • #3 19157594
    p.kaczmarek2
    Moderator Smart Home
    Cool question. And I actually overlooked it.
    Take a look here:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    I'll add these photos to the topic soon.

    DC29B-7.62 The rest is a matter of a search engine:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #4 19157686
    george2002

    Level 21  
    p.kaczmarek2 wrote:
    Fine question. And I actually overlooked it.
    Take a look here:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements .
    I'll add these photos to the topic soon.

    DC29B-7.62 The rest is a matter of a search engine:
    BW-SS1, a clone of the Sonoff by Blitzwolf. Interior, programming, measurements
    .

    Thank you very much for the info I am already searching the aliexpress depths :D
  • #5 19157689
    p.kaczmarek2
    Moderator Smart Home
    Let us know how you find one. At the moment I mainly see connectors without a lid available to us (on the more popular sites).
    Helpful post? Buy me a coffee.
  • #6 19157804
    szeryf3
    Level 29  
    You've made a nice description.
  • ADVERTISEMENT
  • #7 19161912
    george2002

    Level 21  
    p.kaczmarek2 wrote:
    Let us know how you find one. At the moment I mainly see the connectors available to us (on the more popular sites) without the lid.


    Here you go, except that I don't know if these aren't the smaller ones :) so far they've scared me a bit in terms of price ;) .
    Link .
  • #8 19167183
    DamianG
    Level 21  
    george2002 wrote:
    so far they have scared me a bit with the price
    .
    Are you saying that 1.6zł for a screw connector with a cover is a lot?
  • #9 19168474
    george2002

    Level 21  
    DamianG wrote:
    george2002 wrote:
    so far they have scared me a bit with the price
    .
    Are you saying that 1,6zł for a screw connector with cover is a lot?


    Yes exactly that is what I say especially on Ali :) .
  • #10 19169697
    metalMANiu
    Level 21  
    george2002 wrote:
    DamianG wrote:
    george2002 wrote:
    so far they scare me a bit about the price
    .
    Are you saying that 1,6zł for a screw connector with a cover is a lot?


    Yes exactly that is what I say especially on Ali :)


    A one-off expense of £1.60 is not much, but if we are to make 1000 devices with 3 such connectors sitting in each, then the price will automatically have to be increased by 5zl. Then PLN 1.60 is a lot.
  • #11 19169879
    george2002

    Level 21  
    metalMANiu wrote:
    One-time expenditure of 1,60 zł is not much, but if we are to make 1000 devices with 3 such connectors in each, the price will automatically have to be increased by 5zl. Then 1,60 zł is a lot.
    .

    That's exactly what I meant, although it's possible that I misrepresented it, which is why I was misunderstood by my colleague DamianG :)

Topic summary

The discussion centers on the BW-SS1, a Blitzwolf clone of the Sonoff WiFi-controlled relay, focusing on its internal construction, differences from the original Sonoff, programmability with custom firmware like Tasmota, and power consumption measurements at 5V. The author shares related teardowns of similar Blitzwolf WiFi devices such as BW-LT30 (WiFi bulb adapter), BW-SHP8 (WiFi socket), and BW-SS3 (WiFi light switch). A notable side topic involves identifying the model of a yellow-flap 230VAC output connector used in the device, identified as DC29B-7.62. The conversation includes sourcing challenges and pricing concerns for these screw connectors with covers, especially when considering bulk production costs.
Summary generated by the language model.
ADVERTISEMENT