Running ESPHome on a Mysterious WB3S Wi-Fi Module with Beken BK7231T

Опубликовано: 17 Март 2026
на канале: Leon Anavi
1,050
25

This video is sponsored by PCBWay. Only $5 for 10 PCBs and Only $4.98 for 3D Printing + Express 24 hour service on http://www.pcbway.com/ ⭐ WB3S is Wi-Fi module from Tuya devices. It is with the Beken BK7231T microcontroller. It has 15 GPIOs (6x PWM, 2x UARTs, 1x ADC). It is worth to note that WB3S has the same layout and pins like AI-Thinker ESP12 modules with ESP8266. ESPHome port for WB3S and BK7231T is based on top of the open source LibreTiny PlatformIO development platform. In this video I share my experience with designing an open source hardware WB3S breakout board for breadboard prototyping, building and flashing ESPHome firmware as well as demonstrating it. The breakout board has been designed with KiCad.

wb3s_demo.yaml for ESPHome:
https://gist.github.com/leon-anavi/59...

Note: replace "SSID" and "PASSWORD" with your Wi-Fi credentials

WB3S Breakout Board: https://github.com/AnaviTechnology/an...

Activate Python3 virtual environment:

python3 -m venv venv
source venv/bin/activate

Install ESPHome framework:

pip3 install esphome

Check ESPHome version:

esphome version

pip3 install ltchiptool

Build the ESPHome firmware:

esphome compile ~/wb3s_demo.yaml

Flash the ESPHome firmware on WB3S:

ltchiptool flash write -d /dev/ttyACM0 .esphome/build/wb3s-demo/.pioenvs/wb3s-demo/firmware.uf2

🔗 Useful Links
===
https://esphome.io/
https://docs.libretiny.eu/boards/wb3s/
https://docs.libretiny.eu/
https://gist.github.com/leon-anavi/59...
https://github.com/AnaviTechnology/an...

Exploring ESPHome on WB3S Module with Beken BK7231T Microcontroller and Our New Open Source Breakout Board
https://blog.anavi.technology/explori...

📚 Chapters
===
0:00 Intro
1:04 PCB
2:57 WB3S
7:42 ESPHome
12:10 Demo
13:49 Advantages
14:20 Disadvantages
15:14 Conclusions