You are on page 1of 3

Design Brief

Topics -

1. How to program in arduino and what are the specific loops and code lines I
will have to use -

Depending on what type of fan I will use the code will change, If I am using a 2 pin fan I
will have to use a code like this -

Float temperature;
Const int fan_control_pin= 3;
Int led = 2

Void setup () (
pinmode (led, output)
pinmode (fan_control_pin, output);
pinmode (fan_control_pin, low);
)

Void loop() (
Temperature = float(analog read(A0)) * 500/1024.0;
If
(temperature>50) digitalwrite(fan_control_pin, high) digitalwrite(led, high);
Else
digitalwrite(fan_control_pin, low);
delay(3000);
)

(“Arduino“)
(“From”)

With this code I will be turning the fan(and LED) on when the temperature goes over 50
degrees and it will repeat this and check if the temperature is over 50 degrees every 3
seconds.

If I chose to add another variable like maybe a motion sensor the code will have a part
that says something like -
if
motion=1 digitalwrite(fan_control_pin, high);(“Derekbanas”)

2. What type of fan will I use in the circuit?


I can design code that will fill the purpose with 2 pin, 3 pin and 4 pin fans.
A 2 pin fan will work, but it is not ideal as I will have to set it to turn on and off in a cycle
every second in order to mimic the low fan speed and have it turn on completely when a
temperature threshold is crossed.
Having a 3 pin fan for my circuit will give me control over the fan speed by increasing
and decreasing the voltage of the power input. It is not ideal as I will have to reduce the
flow of the current using resistors and change it with a fan ramp curve.

If I use a 4 pin fan, I will use the PWM control instead of changing the voltage in order to
change the fan speed, this is the ideal way to control the fan speed as I know the coding
to change the PWM and thus the fan speed. If I am not able to salvage the fan from an
old Pc I will have to buy the fan. I have found a fan that is cheap and has good reviews
on amazon that is a 3 pin connector fan.
https://www.amazon.de/-/en/Xilence-Performance-XF037-3-Pin-Black/dp/B01L6PVTL6/ref=sr_1_fkmr0_1?dchild=1&keywords=singular+pc+l%C3%BC
fter+billig&qid=1621585489&refinements=p_36%3A100-300&rnid=428358031&sr=8-1-fkmr0

It is important to find the right fan for the purposes of the product as if the fan does not
meet the requirements of the cooling situation, or if it is the bottleneck of the system it
will be something that will affect the usefulness and effectiveness of the product. The
purpose of the product is to

3. What types of sensors are available and what are their functions?

I can use a motion sensor(ultrasonic) that will turn on only when the laptop turns on or it
will only turn on when the sensor is turned on with a button as it takes up a lot of battery
life and will require a lot of battery power.

I can also use an infrared sensor to do this by also using much less power and having a
smaller size that will be more discreet.

I can also use a led as an output to show when the pc is overheating. It is not really
required, but it will be interesting to know when the pc is overheating and when it is
under heavy load with something other than through task manager or my radeon
software.

4. What will the enclosure for the circuit look like?


The enclosure for the circuit can just be a cardboard box or it could be as a black large
binder that has the fan underneath the flap of the binder, this will not make the whole
laptop jut up on one end more than it needs to and will look weird, but not too weird.

Another option for the enclosure is having no enclosure and just having the fan on the
side of my computer where the fan spins very little for some reason(yes it does have 2
fans I opened it up and checked). I will have the actual arduino and breadboard will just
lie on the table along with the infrared sensor.
Citations -
“Arduino Fan Control // 2-Wire, 3-Wire, and 4-Wire CPU Fan Speed Control and Measurement.”
YouTube, YouTube, 1 June 2020, www.youtube.com/watch?v=UJK2JF8wOu8&t=156s%5C.

Derekbanas, director. Arduino Programming. YouTube, YouTube, 15 Aug. 2018,


www.youtube.com/watch?v=QO_Jlz1qpDw.

“From Mind to Design in Minutes.” Tinkercad,


www.tinkercad.com/things/4d5imtEdFvM-start-simulating/editel?lessonid=EHD2303J3YPUS5Z&
projectid=OIYJ88OJ3OPN3EA&collectionid=OIYJ88OJ3OPN3EA#/lesson-viewer.

You might also like