# bldc_fan_rainmaker
The `bldc_fan_rainmaker` example connects a brushless motor-driven fan to the ESP Rainmaker cloud, achieving the following functionalities:
* Stepless fan speed control
* Oscillation
* Natural wind mode
* Remote start and stop
* OTA updates
* BLE provisioning

## Component Overview
* [esp_sensorless_bldc_control](https://components.espressif.com/components/espressif/esp_sensorless_bldc_control) is a sensorless BLDC square wave control library based on the ESP32 series chips. It supports the following features:
* Zero-crossing detection based on ADC sampling
* Zero-crossing detection based on a comparator
* Initial rotor position detection using pulse method
* Stall protection
* Overcurrent, over/under-voltage protection [feature]
* Phase loss protection [feature]
* [esp_rainmaker](https://components.espressif.com/components/espressif/esp_rainmaker) is a complete and lightweight AIoT solution that enables private cloud deployment for your business in a simple, cost-effective, and efficient manner.
To create a project from this example, run:
idf.py create-project-from-example "espressif/esp_sensorless_bldc_control=1.0.1:bldc_fan_rainmaker"