DIY Handheld Fan
Introduction: DIY Handheld Fan
Hello Everyone and here's something COOL, a DIY Handheld Fan completely made from scratch.
The goal here was to make a small portable fan that I could use daily when going outside.
I prepared a 3D Printed body and made a custom PCB that holds all the essential electronics on it that drives the main motor, I'm using Micro Brushed DC Motor here which is generally used in Micro Drones, It's loud and super powerful.
As for the brain of this project, I used an Attiny13A to control a Mosfet IC that drives the DC motor.
Its operation is simple, we first turn ON this setup by pressing the ON-OFF Switch.
next, we press the toggle switch to start the FAN.
It has two modes that can be triggered on single and double pressing the toggle switch, on the first press this setup runs at 100% Speed, 50% on the second press, and OFF state on the third press.
This Instructables is gonna be about the whole built process of this Fan, so let's get started.
Supplies
following are materials I used in this project-
* Custom PCB
* Attiny13A
* TP4056
* AO4406A
* 10K Resistor 0805 Package
* M7 Diode SMA
* 1uF capacitor 1206
* 1K Resistor 0805 Package
* RED 0603 LED
* BLUE 0603 LED
* ON OFF Switch
* Toggle switch
* Type C Port
* 3D printed body set
* DC micro brush motor
* drone fan
* 10uf 16v capacitor
* Lithium Cell 3.7V 1200mAh
Step 1: Basic Concept
I started by preparing a simple setup that utilizes an A04406 IC that is connected with a DC Motor that we control via an Arduino Nano by pressing a toggle switch.
I used this setup to create a sample board that uses a Micro Drone motor that is controlled via an Attiny13A and powered by a 3.7V Lithium Cell.
I prepared a 3D model of a handled fan first to hold the motor during testing.
After checking the motor operation and practicality of this setup, I started working on a schematic that will utilize a smaller MCU instead of an Arduino nano.
Step 2: 3D Printed Design
First, I prepared a simple 3D Model that consisted of two parts.
The TOP Part holds the motor and MID Part holds the circuit and lithium cell.
Instead of preparing a single model, I divided the design into two main parts and one net that converge the airflow towards the user.
TOP Part holds the motor and has a channel through which motor wires get neatly enclosed, Then there's a MIDDLE part that holds down the TOP Part and NET through screws and the MIDDLE part also holds the electronic circuit with Li-ion battery.
I model the PCB in Fusion360 first and then used its outline measurements to create a PCB design that will control the fan blade.
Step 3: Schematic
Here's the schematic that I prepared and it consist of three parts that include a TP4056 IC Setup for charging Lithium cell properly, an Attiny13A MCU Setup that is the brain of this project, and the A04406 IC Setup that is configured in mosfet as a switch setup for controlling the load which is in our case the DC Motor.
TP4056 contains two indicator LEDs, RED and BLUE, red is for low battery and Blue is for full charging.
I also added a Type C Port for charging input.
Attiny13A is connected with the Gate of A04406 IC through a 10K Resistor, we control motor speed by providing the gate a PWM Signal through the Attiny MCU.
As for Flashing the Attiny, I've added a CON6 Header Pin with ISP Pins of Attiny so I could connect a programmer with it to burn the bootloader and upload code in it.
Step 4: PCB Design
I finalize the Schematic and then converted it into a Board file, then I started working on the PCB File.
As for the shape of the PCB, I used measurements from fusion360 and prepared the board outline first, then I placed all the componenets in their place and connected them all by tracks and shapes from both layers.
At last, I added a few random round shapes (Silkscreen layer) on board to increase its aesthetic as they would look great on the RED soldermask that I will order from PCB Manufacturer.
Step 5: Getting PCBs From PCBWAY
I finished the PCB Design and exported the Gerber data which I uploaded on PCBWAY's Quote page for placing an order. 982