how to make a mini electric fan

How to Make a Mini Electric Fan Incorporating keywords naturally is essential for SEO, and this title effectively communicates the purpose of the article while using the primary keyword "mini electric fan" right at the beginning. Following the rules, the title is not enclosed in quotation marks, and it starts with the first letter of each word.

By Richard Young
AD

In the midst of a sweltering summer day, a DIY solution can do wonders to cool you off. Nowadays, crafting your own mini electric fan is not only cost-effective but also a fun and engaging project for tech enthusiasts. Let's delve into a step-by-step guide on how to build your own mini electric fan, perfect for a refreshing breeze on hot days or while working in your home office.

First, gather your materials: a small 12V computer cooling fan, a power supply, a Arduino microcontroller, jumper wires, a breadboard, and a USB cable. Make sure to choose a fan with a diameter suitable for your needs. A 60mm fan is a good starting point for most applications.

Understanding the Components

Before diving into the assembly, let's get familiar with the components you'll be working with:

AD
How to Build a Realistic Miniature Electric Fan : Step-by-step Tutorial | ASMR
How to Build a Realistic Miniature Electric Fan : Step-by-step Tutorial | ASMR
someone is holding two batteries in their hands
someone is holding two batteries in their hands
Fully functioning paper electric fan
Fully functioning paper electric fan

1. Computer Cooling Fan: These are small, efficient, and easily available. They come in various sizes, so pick one that suits your need. Ensure it's rated for 12V DC.

2. Power Supply: A 12V power adapter or a battery pack can be used to power the fan. Choose one that can deliver your fan's required current.

๐Ÿ’จ๐Ÿ  Budget-Friendly Cooling: DIY Home Fan Hacks! ๐Ÿ’กโ„๏ธ
๐Ÿ’จ๐Ÿ  Budget-Friendly Cooling: DIY Home Fan Hacks! ๐Ÿ’กโ„๏ธ
DIY cardboard fan
DIY cardboard fan

3. Arduino Microcontroller: This will control the fan's speed. We'll use the Arduino Uno, which is beginner-friendly and versatile.

Preparing the Arduino Circuit

Wire up the Arduino board to connect it with the control components:

AD

1. Insert one end of the jumper wire into one of the Arduino's GND (ground) pins and the other end into a GND pin on the breadboard.

2. Similarly, connect a jumper wire from an Arduino's 5V pin to a 5V power rail on the breadboard.

Controlling the Fan's Speeds

The Arduino will use a PWM (Pulse Width Modulation) signal to control the fan's speed. Here's how to set it up:

AD

1. Connect one end of a jumper wire to a digital pin (say, 9) on the Arduino and the other end to the fan's positive terminal.

2. Connect the fan's negative terminal to a GND pin on the breadboard.

Now that your circuit is set up, let's move on to writing the code to control your fan's speed using your Arduino board.

AD

Programming the Arduino

Open the Arduino IDE, which comes with the Arduino board package. Here, we'll write a simple PWM-based control program to change the fan's speed based on a potentiometer's value.

First, set up your Arduinoboard and serial port in the Arduino IDE by going to Tools > Board and Tools > Port, respectively. Now, let's write our code.

Using PWM for Fan Speed Control

In this section, we'll use the Arduino's built-in PWM capabilities to control the fan's speed. Here's a simple sketch:

```cpp const int FAN_PIN = 9; // PWM pin connected to the fan const int POT_PIN = A0; // Analog pin connected to the potentiometer void setup() { pinMode(FAN_PIN, OUTPUT); } void loop() { int fan_speed = analogRead(POT_PIN) / 4; // Divided by 4 to get a range of 0-255 for PWM analogWrite(FAN_PIN, fan_speed); } ```

Upload this code to your Arduino board using the right arrow in the Arduino IDE or by going to Tools > Upload.

Testing Your Mini Electric Fan

Connect your Arduino to your computer via USB, then connect your power supply to both the Arduino (via the 5V and GND pins) and the fan. Turn the power on, and you should see the fan spinning. Turning the potentiometer will adjust the fan's speed.

Congratulations! You've just built a DIY mini electric fan with speed control. This project can be extended to include other features like automatic speed adjustment based on temperature or remote control using an IR sensor.

Now that you've mastered the basics of creating a mini electric fan, why not experiment with different fan sizes, shapes, or even add RGB LED lights for visual appeal? Happy tinkering, and don't forget to share your creations with the maker community!

AD