How to make a Small electric Fan

|500x357 Summer is coming with steadily increasing warmth. Now, it is a right time to prepare a summer thing──fanner! Therefore, I have bought a small fanner on line; it is good except that it cannot steering.

However, is this a problem? No! As a creative engineer, it’s my show time! Looks cute~ isn’t it? Click the video below for details of reforming. https://youtu.be/gXHrgqHaEsQ

  1. Hardware in need:

FireBeetle ESP32 IOT Microcontroller × 1

FireBeetle Covers-Gravity I/O Expansion Shield× 1

Gravity: I2C OLED-2864 Display × 1

BME temperature-humidity sensor × 1

EC11J rotary encoder × 1

9g micro servo (1.6kg)× 1

Dupont line × 10

Crust By Overlord 3D printer × 1 * No need for soldering during the whole working process. |500x375

  1. Hardware Connection: Connect I2C interface of OLED12864 directly to I2C interface of Gravity Expansion shield, and connect A of EC11J rotary encoder to D0, B to D1, C to D8. Then connect the micro servo to D3 and connect SPI interface of BME280 directly to SPI interface of Gravity Expansion shield, CS (Chip Select) to D5.

The Circuit Diagram is as below: |500x291

  1. Working Process:
  2. Print the crust with 3D printer.

Click here to download the program and the source code for 3D printing. |500x457

Fix the rotary encoder to the crust. |500x307 |500x341 |500x416 |500x288

  • Fix OLED2864 to the crust.

Connect OLED display to Gravity board with Dupont and the connection interface is I2C.

  • Connect BME280.

BME280 uses SPI interface, please refer to the previous circuit diagram for details of connection.

  • Allocate the fan.

Remove the lithium battery and connect the power supply of the fan to Vcc and GND of FireBeetle ESP8266, edge connecting the lithium battery to FireBeetle ESP8266. Then set connect the micro servo to D3. |500x333 |500x341 |500x351

  • Complete machine assembly.

Cover the bottom and fix it with hot-melt glue, and download the program.

LOL~ well done!