Skip to content

tuya IoT interface WP1354

Marco Sillano edited this page May 26, 2021 · 12 revisions

Tuya IoT inteface

From manufacturing company (Whadda) documentation:

Control your Arduino projects from anywhere in the world with a free app thanks to the Tuya IoT interface!

Plug the Tuya IoT interface module into your Arduino by using the included 4 male wires. Then connect your Arduino with the IoT Tuya cloud by simply installing the Tuyav library, which is compatible with ATmega chipsets (or AVR platforming). This will enable you to connect with the Tuya app over WiFi and lets you control up to 5 outputs.

  • dimensions (W x H x D): 31.5 x 42.8 x 9.6 mm
  • power: 5 VDC
  • connectioncs: VCC, GND, TX, RX
  • available IO connections:
    • 9 x AV (arbitrary value): string, max 255 chars
    • 3 x DI (digital input): boolean, 1 or 0 (on or off)
    • 3 x AI (analog input): integer, 0-4095 (suitable for 10-bit or 12-bit resolution dev boards)
    • 5 x DO (digital out): boolean, 1 or 0 (on or off)
    • 3 x AO (analog out): integer, 0-255
  • wireless frequency: 2.4 GHz (not compatible with 5 GHz frequency)
  • working temperature: 0-55 °C
  • typical operating power consumption: 60 mA
  • max. power consumption: 450 mA

This description is correct but limited. As in Tuya documentation, a Tuya device is the union of two modules:

The MCU can be any thing that can talk via serial protocol to WiFi module. This way it is possible to build 'real' custom Tuya devices!

Clone this wiki locally