How do I make the relay pulse for 0.5 s to trigger a gate opener?
backlog power on; addRepeatingEvent 0.5 1 setChannel 0 0 via HTTP GET or console. The relay turns on, waits 0.5 s, then off [Elektroda, p.kaczmarek2, post #20909962]Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tam| 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 |
TL;DR: 55-65 mA current draw is normal during BL602 flashing [Elektroda, Jekob, post #20905200]; “LittleFS is not available on BL602 yet” [Elektroda, p.kaczmarek2, post #20910293] Robust 3 V – 3.6 V supply stops 100 % of boot-loop cases [Elektroda, p.kaczmarek2, post #20905126]
Why it matters: Stable power and correct pins let you free QIACHIP/Trolink relays from cloud control in minutes.
• MCU: Bouffalo Lab BL602 RISC-V @ 192 MHz, 2 MB SPI flash [TI602B2S Datasheet]. • Idle power: ≈ 12 mA; flashing: 55–65 mA [Elektroda, Jekob, post #20905200] • UART: P16 = TX, P7 = RX, 2 000 000 baud [Elektroda, p.kaczmarek2, post #20360406] • Boot pin: D8 (strap LOW to enter flash mode) [Elektroda, p.kaczmarek2, post #20380423] • OpenBeken supports BK7231T/N, BL602, XR809, T34, W800/W801, W600/W601 [Elektroda, p.kaczmarek2, post #20360406]
backlog power on; addRepeatingEvent 0.5 1 setChannel 0 0 via HTTP GET or console. The relay turns on, waits 0.5 s, then off [Elektroda, p.kaczmarek2, post #20909962]autoexec.bat can’t be stored. Send commands via HTTP or put them in the short startup string [Elektroda, p.kaczmarek2, post #20910293]requests.get('http://IP/cm?cmnd=backlog%20Power%20on;%20addRepeatingEvent%201200%201%20setChannel%200%200') turns the load off after 1 200 s [Elektroda, stancecoke, post #20910617]OpenBL602_xxxxxx appears [Elektroda, divadiow, post #20993476]mqtt_host, user, pass via WebUI; OpenBeken publishes to topics obl<chipID>/ and listens to +/set [Elektroda, code, post #20360406]
Comments
Can it be configured so that the relay turns on for 0.5s, e.g. to control the gate? [Read more]
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]
Approx. I will keep that in mind when purchasing. Thank you. [Read more]
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]
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]
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]
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]
Hello @mikkojordman . According to my knowledge, the BOOT pin on BL602 is D8. https://obrazki.elektroda.pl/9830430800_1673466740_thumb.jpg [Read more]
Hello Amazing work I would like to pair the Remote Control . What is the process ? Thank you [Read more]
Hello, what kind of remote control, and which device? [Read more]
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]
@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]
@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]
@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]
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]
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]
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]
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]
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]