logo elektroda
logo elektroda
X
logo elektroda

[BL602] IoT relay series on BL602, SM-028_V1.3, KR0548-2CH-W, KR05-1CH

p.kaczmarek2 

I put here a description of the pins of smart relays with the WiFi / Bluetooth BL602 Bouffalo Lab module. The basic module is the TROLINK SM-028_V1.3 BL602L20, it is used in the QIACHIP KR05-1CHKG-W relay and in the QIACHIP KR0548-2CH-W relay. Most likely, they are used by the entire series, i.e. the KR05-1CH, KR0548-1CH, KR0548-2CH and KR0548-4CH models. Without changing the firmware, they work with the eWeLink application, uploading OpenBeken allows you to free them from the cloud. These relays here are available to buy without a housing, it is the so-called. "DIY" version, they are additionally powered from USB - 5V.

The materials collected here were sent to me by one of the US users on Github. I'm posting them here at his request. Thank you!

SM-028_V1.3 BL602L20
Here is the module itself - pins probably inspired by TYWE2S from ESP8266 (and also WB2S, CB2S and so on)

LABEL GPIOs PIN
L GPIO_1 2
AND GPIO_4 5
b GPIO_20 29
g GPIO_14 22
R GPIO_3 4
22 GPIO_22 31
17 GPIO_17 28
c GPIO_21 thirty
In GPIO_2 3

The pins of the integrated circuit itself, QFN housing:

The UART port used for logging (and for programming) here are the P16 (TX) and P7 (RX) signals, they are on the back of the module, loose. There is also a BT signal that allows you to start programming mode, as in my topic:
https://www.elektroda.pl/rtvforum/topic3889041.html
The log baud on this platform is 2000000.
For comparison - TYWE2S:


QIACHIP KR05-1CHKG-W (SM-028_V1.3 BL602L20)
To buy on various Chinese portals, not always with the given model:


Connection:

Photo of what it looks like in reality, from the user:

Roles of individual pins (for use with OpenBeken):
Btn -> GPIO_14 (G)
Rel -> GPIO_20 (B)
WifiLED_n -> GPIO_22 (22)


QIACHIP KR0548-2CH-W (SM-028_V1.3 BL602L20)
There are even more results here, it's a bit easier to find this product under "KR0548-2CH-W". Even on the Qihip website:




Other portal:





Photo of what it looks like in reality, from the user:

Roles of individual pins (for use with OpenBeken):
Btn(1) -> GPIO_20 (B)
Rel(1) -> GPIO_21 (C)
Btn(2) -> GPIO_4 (A)
Rel(2) -> GPIO_17 (17)
WifiLED_n -> GPIO_14 (G)

KR0548-4CH module
Neither I nor the user had this module physically, but I will post its photos from sellers' offers anyway.


Other seller:

Module photos:

Leads - to be completed. The module is quite cheap, maybe someone will be tempted to experiment?

Summary
Thanks to OpenBeken on Github for sharing information about the modules and for specifying their pins. It will definitely come in handy - OpenBeken supports the BL602 platform, so these devices can be freed from the cloud, and not only them - at the moment the BK7231T, BK7231N, BL602, XR809, T34, W800/W801 and W600/W601 platforms are supported.
About OpenBeken for BL602:
https://www.elektroda.pl/rtvforum/topic3889041.html
Project repository:
https://github.com/openshwprojects/OpenBK7231T_App
Has anyone else encountered any devices on the BL602? Let me know, then we'll complete the topic.

About Author
p.kaczmarek2
p.kaczmarek2 wrote 11846 posts with rating 9941 , helped 566 times. Been with us since 2014 year.

Comments

rubik123 31 Dec 2022 14:04

Can it be configured so that the relay turns on for 0.5s, e.g. to control the gate? [Read more]

p.kaczmarek2 02 Jan 2023 03:15

If you're asking about the original app, I'm not sure, although there were simple automations available. If you are asking about OpenBeken, yes, you can freely script it and the scripts are executed... [Read more]

rubik123 02 Jan 2023 06:19

Approx. I will keep that in mind when purchasing. Thank you. [Read more]

michaeljuniper 02 Jan 2023 18:02

Hi, I have a smart switch. https://obrazki.elektroda.pl/1196256100_1672678561_thumb.jpg As you can see it stated eWeLink compatible so I assumed (foolishly!) it had an ESP chip inside. It... [Read more]

p.kaczmarek2 02 Jan 2023 18:26

Hello @michaeljuniper , I didn't check the datasheet now, but I did a XR809 to ESP8266 transplant in the past in this topic: https://www.elektroda.com/rtvforum/topic3816654.html In a nutshel, for that... [Read more]

michaeljuniper 02 Jan 2023 18:40

Thank you for quick reply I will check out the pins which are used (rst pin) and I will update on my progress. [Read more]

mikkojordman 11 Jan 2023 19:35

Hi, I have flashed many ESPs but this is my first BL602. I dont get what pad does this mean? "BOOT from the module to the 10k resistor to the power supply" So, what pad/pin on BL602 / SM-028 is this... [Read more]

p.kaczmarek2 11 Jan 2023 20:52

Hello @mikkojordman . According to my knowledge, the BOOT pin on BL602 is D8. https://obrazki.elektroda.pl/9830430800_1673466740_thumb.jpg [Read more]

ipadbendavid 16 Mar 2023 23:24

Hello Amazing work I would like to pair the Remote Control . What is the process ? Thank you [Read more]

p.kaczmarek2 16 Mar 2023 23:35

Hello, what kind of remote control, and which device? [Read more]

ipadbendavid 17 Mar 2023 17:04

Hi I have successfully installed the OpenBeken. Its is working very well to control the 2 relays and 2 the buttons. But i don't how to add a Receiver for the Remote control / and to pair it. Here the... [Read more]

Jekob 12 Jan 2024 11:45

@p.kaczmarek2 Good morning, I tried to use the ready-made OpenBL602_1.17.402.bin file from the repository and upload to the SM-028_V1.3 module soldered from some Chinese Mini switch. While the upload... [Read more]

p.kaczmarek2 12 Jan 2024 12:27

@jekob at first glance I'm not sure what could be going wrong. The log looks like it's booting up old soft, but I could be wrong, I haven't physically interacted with a lot of devices on the BL602. In... [Read more]

Jekob 12 Jan 2024 13:00

@pkaczmarek2 Wise is and nice to listen to I hooked up the Korad KD3005D, which indicates current draw varying between 55 and 65mA and the module seems to work, i.e. AP appeared Thank you very much. [Read more]

p.kaczmarek2 12 Jan 2024 13:08

So that's it after all... in that case, I guess I'll add this problem to the FAQ, since it's not the first time I've seen it on the forum. I'll update https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/faq.md... [Read more]

stancecoke 14 Jan 2024 19:33

Thank you for this great project. I use it for my E27 bulb socket relay https://www.ebay.de/itm/314264464569 It has the same pinout as the QIACHIP KR05-1CHKG-W relay. Btn -> GPIO_14 (G) Rel -> GPIO_20... [Read more]

p.kaczmarek2 14 Jan 2024 20:00

Can you post here full OBK template? To switch of relay with a delay, you can use a repeating event with repeats count equal to one. [Read more]

stancecoke 14 Jan 2024 21:06

this is my recent OBK template, but I've not filled any specific in there. It uses the SM-028 board. { "vendor": "Tuya", "bDetailed": "0", "name": "Full Device Name Here", "model": "enter... [Read more]

p.kaczmarek2 14 Jan 2024 22:28

The examples are already shown on the autoexecs samples page, but they are for platforms with LittleFS, so you need to modify them a bit: https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/autoexecExamples.md But... [Read more]