DO CONNECTION AS SHOWN IN PICTURE AND OTHER REFERENCE PICTURES BELOW
CONNECTIONS:
PIN 13 of ARDUINO toMOC3020 PIN 1 via limiting resistor
GND to PIN 2 of MOC3020
PIN 6 and PIN 4 OF MOC 3020 to BTA16 TRIAC via limiting gate current resistor
FOR LM35 SENSOR:
Output LM35 to A0 PIN of ARDUINO
+V of LM35 to 5V output of ARDUINO
GND of LM35 to GND PIN of ARDUINO
zero detection circuit input at pin 2;
3 way switch to pin 11, 12, 13 ;
triac pulse to pin 10;
For Buzzer: (connection is optional )
+ V to PIN 13 of ARDUINO
GND of buzzer to GND of ARDUINO
EXPANDED TECHNICAL DETAILS
Active Thermal Management
This project implements a dynamic cooling system that adjusts its performance based on real-time environmental stress.
Linear Temperature Sensing: Uses the LM35 or DHT11 sensor. The Arduino reads the analog voltage (LM35) or digital packet (DHT) to calculate the Celsius temperature.
PWM Fan Drive: Instead of a simple On/Off switch, the Arduino uses Pulse Width Modulation (PWM) to drive a 12V DC fan via a MOSFET.
Proportional Control Logic
Variable Speed Mapping: The firmware implements a linear ramp; e.g., the fan starts at 30% speed at 25°C and reaches 100% speed at 40°C. This reduces noise and energy consumption when full cooling is not required.
ข้อมูล Frontmatter ดั้งเดิม
title: "Temperature based fan speed control"
description: "Speed of fan is linearly controlled in temperature range between 30°C and 50°C using optocoupler and triac. Fan turn off below 30°C"
author: "abhishake_jamwal"
category: ""
tags:
- "home automation"
- "smart appliances"
views: 2927
likes: 0
price: 299
difficulty: "Intermediate"
components:
- "1x Arduino UNO"
- "1x mosfet(moc3020)"
- "1x bta16(triac)"
- "1x Jumper wires (generic)"
- "1x Solder Wire, Lead Free"
- "1x Soldering iron (generic)"
- "1x LM35(TEMPERATURE SENSOR)"
- "1x 1N4007 – High Voltage, High Current Rated Diode"
- "1x Resistor 1k ohm"
- "1x PCB, For DMB-4775"
- "1x 4n25 mosfet"
- "1x 1N4007 – High Voltage, High Current Rated Diode"
tools: []
apps:
- "1x Arduino IDE"
downloadableFiles:
- "https://projects.arduinocontent.cc/18bb0281-d4b5-49ef-b4ee-ccd8f953d629.ino"
documentationLinks: []
passwordHash: "e8ba44bb02cd3799b2823fd423d0102d828877bfed0c6a5bdce80c87c29b96f5"
encryptedPayload: "U2FsdGVkX1/rQtmhTRGiXhLHHM/kSr7UbJk/tULcl69AURbLTr9VpMWd/TCdMXRNI0TvjFdE2unLCU7LQj5wj0HYnptL/5h841hIGhzEjDc="
seoDescription: "Control Fan Speed linearly based on Temperature (30°C-50°C) using Optocoupler and Triac. Fan turns off below 30°C."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/temperature-based-fan-speed-control-1f6d3d_cover.jpg"
lang: "en"