Page 1 of 1

Connecting Tuya with Arduino

Posted: 2023年 Dec 23日 23:41
by dos9191

I have a product developed using Arduino, I'm trying to integrate it so that it can be added and controlled via the tuya app.
Seems there's been so many changes with tuya over the past 2 years, it seems impossible to find any guides that assist with this.
Does anyone have any guides that will assist with this?


Re: Connecting Tuya with Arduino

Posted: 2023年 Dec 24日 17:50
by yangjie

If you are want to use the Arduino MCU + tuya WiFi module, you can see here: https://github.com/tuya/tuya-wifi-mcu-s ... no-library.
Arduino MCU + Tuya ble module: https://github.com/tuya/tuya-ble-mcu-sd ... no-library.
Arduino MCU + Tuya zigbee module: https://github.com/tuya/tuya-ble-mcu-sd ... no-library.


Re: Connecting Tuya with Arduino

Posted: 2024年 Jan 14日 21:22
by dos9191

Working on using an esp32 serial connected to a tuya module. Have been trying a few, T2 development board, wxu & wbru. Cant get any to work.
I'm not sure if I still need to flash the chips with software and thats the reason its not working or because of another reason.


Re: Connecting Tuya with Arduino

Posted: 2024年 Jan 15日 09:30
by yangjie
dos9191 2024年 Jan 14日 21:22

Working on using an esp32 serial connected to a tuya module. Have been trying a few, T2 development board, wxu & wbru. Cant get any to work.
I'm not sure if I still need to flash the chips with software and thats the reason its not working or because of another reason.

The MCU SDK for Wi-Fi enables your MCU to communicate with Tuya’s Wi-Fi module through serial communication so that your device can be connected to the cloud. Now Arduino can't connect to Tuya directly from WiFi module.

You can read more about the MCU SDK here:
https://developer.tuya.com/en/docs/iot/ ... rbv1ub5owo