Sandwich IoT
Published

Prototype a Tuya IoT Connected DC Inverter Fan

In this tutorial, we will show you how to make a Fan smart and conntected.

BeginnerFull instructions provided-720 minutes820
Prototype a Tuya IoT Connected DC Inverter Fan

Things used in this project

Hardware components

Buck converter
Integrated with an SY8121B step-down chip from Silergy, it steps down the mains voltage to provide power for the Wi-Fi module and its peripherals, as well as the FU6832S motor driver chip and its peripherals.
×1
Power plug
Provide 12V DC 2A power for the fan.
×1
Button
It is used for on/off control, timer, network reset, and wind mode setting.
×4
LED indicator
Prepare at least eight LEDs, whose status is controlled by the I/O output of the Wi-Fi module.
×8
Rotary encoder
It is used to set the fan speed. Increase the speed by clockwise rotation and decrease the speed by counterclockwise rotation. The shaft has unlimited 360-degree rotation. You can set the required speed levels as needed.
×1
Tuya's CBU Wi-Fi module
The module determines the wireless communication protocol of hardware. Wi-Fi is a common wireless technology utilized in residential and business scenarios. We use Tuya's CBU Wi-Fi network module.
×1
Motor driver
It is used to drive the BLDC motor. The FU6832 series chip from Fortior Technology is used as the BLDC microcontroller (MCU). Having a dual-core processor of 8051 core and motor control engine, the FU6832 series features 16 KB flash, 256 bytes internal RAM (IRAM), 768 bytes external RAM (XRAM), SSOP24 packaging, and integrated BLDC control algorithm
×1
Brushless DC electric motor (BLDC)
The advantages of BLDC motors over AC motors are good speed–torque in moderate- to low-speed applications, high efficiency, and long lifetime. We use a three-phase 12V BLDC motor speed controller from Minebea.
×1

Software apps and online services

Tuya module SDK
Tuya Smart app (optional)
Sample code

Story

Read more

Credits

Sandwich IoT
40 projects • 5 followers

Comments