logo elektroda
logo elektroda
X
logo elektroda

Programming ESP12/TYWE3S/CB3S/WB3S/etc. without soldering - solderless motherboard

p.kaczmarek2 7227 7
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • USB to UART converter board with CB3S module.
    Hello, today I will briefly show you a useful board that is essentially a USB to UART converter, but is distinguished by the fact that you can place a module with ESP12-compatible pins without soldering.

    We found the tile in China under the slogan: ESP8266 ESP-WROOM-32 ESP32-WROVER Development Board Test Burning Base Fixture Tool Downloader for ESP-12F ESP-07S ESP-12S . However, I didn't order it myself, my friend from Serbia, @DeDaMrAz, ordered it and I got the photos from him. I tested it with him remotely.
    Below are screenshots of the offer:
    Set of three development boards in boxes: ESP8266, ESP32 WROOM, and ESP32 WROVER
    It may not be the cheapest board, it costs over €6, but what makes it unique is that instead of regular soldering pads, it has springs that allow you to quickly replace the module on board.
    It is available in three versions: ESP8266, ESP-WROOM-32, SP32-WROVER:
    USB to UART adapter for ESP8266 modules.
    ESP-WROOM-32 adapter with spring connectors and two buttons
    ESP32-WROVER adapter with buttons and micro USB port
    Description from the seller:
    Development board with a slot for an ESP module and various components.
    The board board includes:
    - RESET button
    - GPIO0 button (to enter ESP into programming mode; unnecessary in the case of BK7231)
    - USB to UART converter
    I also saw a hybrid version on sale, with places for various modules. Perhaps this would be more economical, but my friend happened to take what was available.

    What is compatible with this board?
    First of all - ESP8266, just like in the name. That is, all modules like ESP12, TYWE3S, below the pinout:
    Pinout diagram of the ESP8266 module with pin labels.
    Details of the dimensions and pins of the TYWE3S Wi-Fi module.
    The most important pins here are power, ground, RESET and UART1 - RX and TX. The WB3S (BK7231T) are compatible with TYWE3S:
    Electrical schematic of a module with pin layout.
    So WB3S fits too. Inevitably, CB3S and related ones are similar:
    Pin diagram of CB3SE module top and bottom view.
    Over time, I also encountered modules based on other microcontrollers with similar pinouts. There was even something with the W600 or W800 from WinnerMicro, and the ground/power supply and UART positions were the same, so this board would be useful even for them.

    Here are photos of the board in action - with the CB3S module:
    Development board with an inserted ESP module, connected to a USB cable. USB to UART converter board with CB3S module. Close-up of a development board with a CB3S module. Development board with a CB3S module mounted on springs. USB to UART converter board with CB3S module in a no-solder socket.
    Together with @DeDaMrAz we checked and it is possible to flash and operate CB3S in this board without any problems. Here is an example of a photo after uploading the CB3S batch of the Tuya lamp whose communication protocol we will be examining:
    Smartphone with LED lamp control app on a blue background. Test board with CB3S module and a phone displaying the device addition screen
    In this situation, the CB3S in the photo is new, and we have uploaded the user's input to it, but that is not important for this topic...
    We uploaded with my flasher:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    For ESP8266, you can look at:
    - How to easily install Tasmota - online installer tasmota.github.io/install via a web browser
    - SmartLife switch - test, interior and programming of a WiFi light switch

    Summary
    A convenient and useful board, although perhaps a version supporting different types of pins at the same time would be better. With ESP8266 (and esptool.py or any other programmer) it has been checked many times, with BK7231 I checked it with @DeDaMrAz and it also works. It's worth having at least one piece, at least if you don't like soldering. The outlet of this type of module may require hot air.
    What can this plate be used for? I see, among others: such possibilities:
    - if we are making a DIY device and do not want to program it in the system, it can be used to program the module before soldering it to the board (but I would rather not do that, it is always worth outputting the UART to the PCB)
    - if we have one motherboard and several modules (say TYWE3S, CB3S, WB3S), we can easily replace them
    - if, for example, we are flashing a smart device that has blocked UART lines (e.g. through TuyaMCU or something else that makes flashing difficult), it may be more convenient to desolder the entire module, program it in this board and solder it into place, although in such a situation you can also just temporarily cut the UART paths...
    Do you see any practical use for this type of tiles? I invite you to discuss.

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 11871 posts with rating 9949, helped 568 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #4 20790913
    krzbor
    Level 27  
    Such programming boards are ideal for OTA-based applications. For example, we make an initial project in Arduino (WiFiManager + OTA). Then we upload it to ESP and we can now solder it to the target place. Now we can replace the input multiple times even if the UART pins are occupied.
  • #5 20802979
    DJ_KLIMA
    Level 24  
    Yes, OTA is great, but if we mess up something in the code and it hangs or does not enter OTA mode, there will be no intervention. Therefore, whenever possible, I always leave some connection to TX/RX, e.g. with SMD jumpers in the form of 0 resistors.
  • ADVERTISEMENT
  • #6 20803068
    krzbor
    Level 27  
    DJ_KLIMA wrote:
    Yes, OTA is great, but if we mess something up in the code and it hangs or doesn't enter OTA mode, we won't be able to intervene without it

    I check the OTA at startup in the setup() function, right after WiFiManager. It's hard to mess it up (you'd have to try really hard). It's easier to simply forget about it, change the internal network addressing concept or the server address from OTA and then there may be a problem.
  • #7 20803161
    khoam
    Level 42  
    krzbor wrote:
    I check the OTA at startup in the setup() function, right after WiFiManager. It's hard to mess it up (you'd have to try really hard). It's easier to simply forget about it, change the internal network addressing concept or the server address from OTA and then there may be a problem.

    Therefore, in the case of ESP32, it is worth implementing OTA based on BLE.
  • #8 20807393
    Daro1003
    Level 33  
    I've had the board for about 2 years now - it's a great thing, I use it to load various loads onto "bare" ESP8266 12F boards and I still use it to build various structures, you could say that without this board it's like without a hand when playing smart home.

    A few years ago, I don't remember who from me, whether it was from a user of this forum or some FB group, as a gift, I received his own construction of such an adapter for loading loads on the ESP:

    Green, 3D-printed plastic adapter for flashing firmware on ESP8266. Adapter for flashing ESP8266 12F in a green case.

    I used this gift for a long time and it helped me a lot. Handmade using a 3D printer and Wemos D1 mini.

Topic summary

The discussion revolves around a solderless motherboard designed for programming ESP12-compatible modules, such as ESP8266 and ESP32. This board features a USB to UART converter with spring-loaded pins, allowing for easy module replacement without soldering. Users have shared experiences with similar boards, highlighting their utility in Over-The-Air (OTA) programming applications. Concerns about potential code errors leading to loss of OTA access were raised, emphasizing the importance of maintaining TX/RX connections. The board is praised for its effectiveness in smart home projects and ease of use with various ESP modules.
Summary generated by the language model.
ADVERTISEMENT