MCU Development Process

Post Reply
ccovolo
Posts: 3

Dear community,

I’m new to Tuya development and would like to integrate Tuya WBR3 modules with my own MCU using the MCU SDK. I have already created a project on the Tuya platform, configured the parameters, selected the WBR3 module and MCU SDK, and received my two free authorizations for that module. In the zip file, I found the auth token and a .bin file.

What should I do next? Do I need to flash the provided .bin file to my WBR3 module using AmebaZ2 and then authorize the module on the Tuya Cloud? Or do the WBR3 modules come preloaded with firmware that allows me to directly authorize and flash using Tuya PMI through the User UART ports?

Could you please advise?

Thank you and best regards,
Carlos Covolo

User avatar
chenyisong
Posts: 147

Re: MCU Development Process

Hello, if you want to connect to Tuya using MCU + WBR3, you must use the dedicated WBR3 firmware. Currently, you can obtain it by purchasing the already generated WBR3 module. The purchased module already comes with the authorization code for connecting to Tuya Cloud.

The relevant documents can be viewed through the following link.
https://developer.tuya.com/en/docs/iot/ ... rbv1ub5owo

ccovolo
Posts: 3

Re: MCU Development Process

@chenyisong, thanks for your reply.

I bought some WBR3 modules on AliExpress. Do they come pre-flashed and pre-authorized?

If these AliExpress units are not pre-authorized, How should I have to proceed ?

Thanks!

User avatar
chenyisong
Posts: 147

Re: MCU Development Process

If you purchase a WBR3 that has been generated and burned, there is an authorization code inside. Please do not burn your own firmware into the WBR3 module. You can follow the instructions in the documentation to do it.

ccovolo
Posts: 3

Re: MCU Development Process

Thanks for you reply @chenyisong

My module, when connected to an USB/Serial adapter shows the following data:

55h AAh 00h 00h 00h 00h FFh

It seems the MCU protocol (0x55AA on header)

Can I conclude that it has been flashed with a MCU firmware and is already authorized on Tuya´s Cloud ?

My best regards,
CCovolo

Post Reply