logo elektroda
logo elektroda
X
logo elektroda

BL602 IoT Lamp Breakout Board: Pinout Layout & Flashing Tips

bl602newbie 8382 34
Best answers LABEL_AI_GENERATED

How do I identify the BL602 breakout board pinout and connect it for flashing?

Use the pads on the back side of the board: 3.3V, BT (bootloader), RX1, TX1, and GND are the only connections needed for flashing [#20102439] BT means the bootloader/boot pin, and the UART lines must be crossed: board RX goes to USB-UART TX, and board TX goes to USB-UART RX [#20102808] Power it from 3.3V only, because 5V on the 3.3V pin can burn the BL602 [#20102808] To avoid misreading the footprint, align the pinout image with the dot mark on the module, since that marks the first pin [#20103128] The reply also points to a BL602 flashing guide for the full procedure [#20102439]
AI summary based on the discussion. May contain errors.
ADVERTISEMENT
  • BL602 relay works on GPIO14, button on GPIO17

    #31 21792340
    tadeu1
    Level 6  
    Posts: 83
    Help: 2
    Rate: 3
    I'm with my baby right now. 10 days :-) I'll do later. Thanks for now, you guys are awesome.

    Added after 58 [minutes]:

    Perfect, the button is working right now, I'll leaving something to check if I an meter the energy
    Tasmota configuration screen with GPIO settings for BL602 ESP MOD


    For now to replace the BL602 to ESP-02S
    the energy meter its not working yet
    {"NAME":"BL602 ESP MOD","GPIO":[0,32,2720,0,0,0,0,0,2592,320,224,2656,0,0],"FLAG":0,"BASE":18}

    Added after 1 [hours] 27 [minutes]:

    >>21792161

    its weird because its say
    GPIO2 = Primary output channel (channel0_pin) – relay
    its gpio15 on esp8266 but the relay just wokr on GPIO14

    its ok:
    GPIO20 = Channel / relay indicator LED (channel0_led_pin)
    GPIO17 = Primary button input (key0_pin)

    I'm based on this map
    GPIO pin mapping table for BL602 and ESP8266 modules with functions and colors
  • ADVERTISEMENT
  • Helpful post

    BL602 boots into normal mode after flash dump

    #32 21793011
    divadiow
    Level 38  
    Posts: 5212
    Help: 446
    Rate: 914
    >>21792093

    boot log from this dump

    Code: Text
    Log in, to see the code
  • ADVERTISEMENT
  • Energy meter calibration values and voltage display option

    #33 21793356
    tadeu1
    Level 6  
    Posts: 83
    Help: 2
    Rate: 3
    I figured out now.
    Just need to calibrate the energy meter sensor.

    {"NAME":"BL602 ESP MOD","GPIO":[0,32,0,0,2720,2656,0,0,2624,320,224,0,0,0],"FLAG":0,"BASE":18}


    Tasmota interface screen showing energy usage data and device status ON

    GPIO configuration for BL602 ESP MOD device in Tasmota interface

    you have to go to the console and set
    I use a light 15w for example for calibration

    VoltageSet 213 (example)
    PowerSet 15.0 (example)
    CurrentSet 70 (0,070A)

    also SetOption21 1 to show voltage when is off

    Tasmota dashboard showing voltage, current, and energy consumption data
  • ADVERTISEMENT
  • #34 21793421
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14755
    Help: 659
    Rate: 12880
    It's worth to mention that you need to connect a known, measured load first, and then enter calibration values. Beginners may be reading our threads.

    So, good job, is it fully functional now?
    Helpful post? Buy me a coffee.
  • #35 21793429
    tadeu1
    Level 6  
    Posts: 83
    Help: 2
    Rate: 3
    Yeah, it's working right now. It's weird because the map from BL602 to ESP GPIO won't match. I have to try each one.
    Yeah, you all right about the calibration. I use a 15 W light to do that. Thanks a lot, guys, for your support.

Topic summary

LABEL_AI_GENERATED
Discussion focuses on identifying the pinout and flashing connections for a BL602-based IoT lamp holder breakout board. The board exposes 3.3V, GND, RX1, TX1, and BT/bootloader pins on the back side, with RX/TX needing cross-connection to a USB-UART adapter and 3.3V power only. Later analysis identifies the device as an eWelink E27 AC90-250V smart lamp holder using an SM-028_V1.3 module with BL602, and a dumped firmware image reveals GPIO assignments for relay, button, WiFi LED, and energy metering signals. The thread also covers BL602 backup/flashing tools, DTB extraction, calibration of the power meter, and an attempted replacement of BL602 with ESP-02S/ESP8266, noting that GPIO mapping differs and may require manual wiring.
AI summary based on the discussion. May contain errors.

FAQ LABEL_AI_GENERATED

TL;DR: Need to flash a BL602 lamp board? Its factory boot log shows 6 partitions, and “BT = BooT = Bootloader.” Power at 3.3V, cross RX/TX, and use the rear BT pad to enter flashing mode. [Elektroda, divadiow, post #21305303]

Why it matters: This FAQ helps newcomers quickly identify pins and safely flash the SM-028_V1.3 BL602 lamp holder without guesswork.

Quick Facts

Which pads do I actually need to flash the BL602 lamp board?

Use five pads on the back: 3.3V, GND, RX1, TX1, and BT (bootloader). That’s sufficient for flashing. [Elektroda, p.kaczmarek2, post #20102439]

Which pad is the bootloader pin on this board?

The bootloader pad is labeled BT. As the expert put it, “BT = BooT = Bootloader.” Hold it appropriately during flashing. [Elektroda, p.kaczmarek2, post #20102808]

How do I wire RX and TX to my USB‑to‑UART adapter?

Connect board RX to adapter TX and board TX to adapter RX. If the board uses non‑standard labels, swap them. [Elektroda, p.kaczmarek2, post #20102808]

Is there a clear, step‑by‑step flashing guide I can follow?

Yes. Follow the author’s BL602 flashing guide linked in the thread; it covers pads, wiring, and tool usage. [Elektroda, p.kaczmarek2, post #20102439]

How do I orient the pinout when tracing pads on an unknown module?

Match the chip’s dot mark (pin‑1) to the pinout image, then trace the pads from that reference. [Elektroda, p.kaczmarek2, post #20103128]

Which module is inside the E27 AC90‑250V smart lamp holder, and what GPIOs matter?

It uses the SM-028_V1.3 BL602 module. Typical assigns: P14=Button, P20=Relay, P22=Wi‑Fi LED. [Elektroda, divadiow, post #21305303]

What useful data can I read from the boot log?

You’ll see partition count, flash geometry, and UART speed. Example: 6 partitions and 2,000,000‑baud UART. [Elektroda, divadiow, post #21305303]

Can I enter bootloader mode without soldering directly to the microchip?

Yes. Use the exposed rear pads, especially BT, RX1, TX1, 3.3V, and GND, to avoid chip‑level soldering. [Elektroda, p.kaczmarek2, post #20102439]

My blue LED flashes until Wi‑Fi connects; is that expected on this module?

Yes. Template notes show WifiLED on P22. The blue LED flashes until connection, then turns off. [Elektroda, divadiow, post #21305303]

The red LED turns on with the relay; is that normal?

Yes. Reports show the red LED tracks the relay state, indicating the socket is live when ON. [Elektroda, divadiow, post #21305303]

Quick 3‑step: how do I flash this board safely?

  1. Wire 3.3V and GND; cross RX/TX; connect BT.
  2. Enter boot mode per the guide; open your flasher.
  3. Flash firmware; power‑cycle and verify serial log at 2,000,000 baud. [Elektroda, p.kaczmarek2, post #20102439]
AI summary based on the discussion. May contain errors.
ADVERTISEMENT