Arduino Temperature Controlled Fan Speed

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 มิ.ย. 2024
  • drive.google.com/file/d/0B7I6...

ความคิดเห็น • 344

  • @michaelkenney8184
    @michaelkenney8184 6 ปีที่แล้ว +2

    Greatly appreciated the extent in which you explained your code. Wonderful job!

  • @treebeard2220
    @treebeard2220 2 ปีที่แล้ว

    Thank you for showing the wiring of the mosfet clearly on the breadboard, and the details of the shared grounding. I wasn't sharing the ground properly, but now I have got the temperature control working, thanks to this video (and it is the fourth that I have watched looking for enlightenment). I am using a k-thermocouple and an LCD display but the mosfet circuit is the same.

  • @BOBANDERSON5150
    @BOBANDERSON5150 6 ปีที่แล้ว +36

    I REALLY enjoy your videos. You really explain everything in great details. Keep up with the awesome tutorials!! Subscribed for life!

  • @zaynefontes4693
    @zaynefontes4693 3 ปีที่แล้ว +2

    Bro this worked like a charm. Using this to pull in cool air into my electrical enclosure for my mobile solar panel kit to prevent a greenhouse affect. This is super useful because it will only use power when necessary to cool the enclosure what with the PWM and being able to set the desired temp. Thanks so much for this great video. This was basically the first time I was able to successfully make something work with the Arduino other than turn on an LED lol.

  • @chanphongnguyen9172
    @chanphongnguyen9172 5 ปีที่แล้ว +4

    I borrowed your idea for our final project, thank you a lot. What an amazing video.

    • @cr1zmo856
      @cr1zmo856 5 ปีที่แล้ว +1

      Hey i was wondering what did you use to provide the 12 voltage for the fan?

  • @antoniomusico
    @antoniomusico 6 ปีที่แล้ว

    Thanks guy for your explanation! Eventually I used a MCP9700-E/TO temp sensor, instead of the thermoresistor and the resistance, and it worked perfect! :)

  • @StanSorochan
    @StanSorochan 3 ปีที่แล้ว

    Sweet, thank you! Just need to wait for the parts to arrive and I'll have a controlled active cooler.

  • @stubbornshark5475
    @stubbornshark5475 3 ปีที่แล้ว +6

    Thank you, exactly what I needed.
    Also interesting you used a voltage divider on the A0 pin, that is a nice touch with the R1, cheaper than the TMPs used in many other applications.
    Additionally, 12V is probably better than Mains, so this is a relatively safe project.

  • @borsi99
    @borsi99 3 ปีที่แล้ว +2

    Thank you so much for this very interesting video! You explained everything so well as a beginner in arduino I will try to rebuild this circuit. Wish you all the best and I hope you‘re going on with such interesting projects. Boris. 🇨🇭

    • @borsi99
      @borsi99 3 ปีที่แล้ว

      Hi, I wanted to tell you that your project is very fine to me as an arduino beginner! One question: is it normal to hear the ringing sound of the fan maybe coming from pwm? Is there a solution against this ugly sound? Thanks! Boris, Swiss

  • @shaunoslade6942
    @shaunoslade6942 4 ปีที่แล้ว +31

    Incredible. Finally someone who's building their code around their layout and not copying the code and pasting it .... hats off brother. So informative.

  • @jopplehead
    @jopplehead 5 ปีที่แล้ว

    Thank you much. Great video, clear and clean. Much simpler than I expected. I need to choose a mosfet that will handle a 2 amp 200cfm 12vdc fan. My only trick now is how to mount the thermistor to my RF amp heatsink. I think I will give this a try. I was just going to switch the fan on using a relay and some op amp temp circuit, but the pwm capability of the Arduino is just too cool not to try. Take care :)

  • @olvano
    @olvano 3 ปีที่แล้ว

    thank u very much ,i looked all over TH-cam for help ,to under limiting system your circuit is the only one that made sense .now im finish. my on or off grid ,anti-back-feed , chinese solar grid tie inverter diy ( simple energy limiter ) with arduino. Thanks again :)

  • @vidabuena101
    @vidabuena101 3 ปีที่แล้ว +1

    Have been watching this video repeatedly for my project, and it helps a lot! Sad that Jacob is not uploading new videos...

  • @Dally_Sparkles
    @Dally_Sparkles 5 ปีที่แล้ว +4

    You legend, exactly what i was looking for... I'm making solar powered cooling fans for beehives. using a Arduno Nano.. charge controller, lithium battery and some solar panels.

    • @vaizluca
      @vaizluca 4 ปีที่แล้ว +2

      why were you making cooling fans for beehives?

  • @alkhashtee
    @alkhashtee 5 ปีที่แล้ว

    You are the beast of ARDUINO . Thank you very much

  • @jeffschlund8622
    @jeffschlund8622 4 ปีที่แล้ว +46

    "what the heck is up guys"
    -subscribed

  • @paulchan6720
    @paulchan6720 6 ปีที่แล้ว

    well explained, i have learnt a lot from your videos !!

  • @Kntryhart
    @Kntryhart 5 ปีที่แล้ว +2

    I just replicated this setup...works as advertised. I opted to use a IRF540 MOSFET. Thank you for posting!!

    • @survivor351
      @survivor351 5 ปีที่แล้ว

      I did this circuit with another transistor but when the fan work witout %100 power, fan works with a like beep sound, ur circuit a problem like this

    • @robmormile3911
      @robmormile3911 3 ปีที่แล้ว

      @@survivor351 bit late this response but use a 470uf 50V cap in parallel with your fan output wires. this will completely suppress the pwm noise.

  • @agstechnicalsupport
    @agstechnicalsupport 6 ปีที่แล้ว

    Thank you for the instructive video on temperature controlled fan.

  • @sebastiangeppert7506
    @sebastiangeppert7506 6 ปีที่แล้ว

    Awesome video. Thanks for the detailed explanations

  • @celtichongy
    @celtichongy 5 ปีที่แล้ว

    Excellent project Jacob.

  • @Alpejohn
    @Alpejohn 4 ปีที่แล้ว +2

    What the heck is up dude! (I laughed alot of your intro! Lol)
    Would it be possible to replace the temp sensor with a potentiometer? So i can control the speed up and down how i want?
    And i guess its possible to read the RPM, and "print" it to a display or something?
    Im figuring out how i can make a fan controller that shows fan rpm and can control pwm fans (for testing only, not to use in a computer or such things)
    I just want to be able to turn it up to full blast etc.

  • @romanandmel6906
    @romanandmel6906 ปีที่แล้ว

    i would like to be good at this stuff but I suck, I have been looking around for a simple fan controller and this one Rocks, Simple and it works great, GOOD JOB

  • @oOcitizenOo
    @oOcitizenOo 5 ปีที่แล้ว

    Awesome tutorial! Thanks!

  • @RD-ni7qe
    @RD-ni7qe 3 ปีที่แล้ว +2

    Genuine question: would it not be easier to simply use a 4-wire PWM fan and control it directly via your PWM output pin, rather than driving a Non-PWM fan via a MOSFET?
    Would love to hear your thoughts on this, if you think there are Pro's and Con's, etc?

  • @chenegarnxt
    @chenegarnxt 5 ปีที่แล้ว

    Great tutorial, thanks for sharing!

  • @MexiMaker
    @MexiMaker 7 ปีที่แล้ว

    is there any risk of having the motor emf Fry your board? I think heard that diodes are recommended for motors for that reason, but I don't know much about it.

  • @andersb7216
    @andersb7216 4 ปีที่แล้ว

    Amazing detail!

  • @UlysseLouigene
    @UlysseLouigene 3 ปีที่แล้ว

    Very nice, I was going to work on a similar project using a relay to turn on the fan. I like your idea better. Thanks

  • @elecnut8211
    @elecnut8211 7 ปีที่แล้ว

    Good job. Thank you for making this. More videos ?

  • @MrBobWareham
    @MrBobWareham 6 ปีที่แล้ว +1

    Loved the video with a good explanation of the circuit thanks so much but a quick question where did you get the pencil? would love to buy one thanks Bob - UK

    • @DeezyDev
      @DeezyDev 5 ปีที่แล้ว

      silver promecha pencil, 3:54 you can kinda see the name. i thought it was cool too so i was trying to find it

  • @grinerpolevault
    @grinerpolevault 4 ปีที่แล้ว

    This was an very helpful video, thanks so much!
    Question that you or perhaps another viewer could answer - Can I control the fan speed using a PWM signal sent to a MOSFET (such as a IRFLZ44n) or does the MOSFET only act as an "On/Off" switch that is controled by the PWM? Thanks.

    • @lamjeri
      @lamjeri 4 ปีที่แล้ว +1

      In short, yes, you can use the IRFLZ44n to PWM controll a fan.
      Both of your questions together are a bit puzzling though. You can control the fan speed by using the MOSFET you said and the MOSFET does only act as an On/Off switch.
      PWM signal has a duty cycle and a frequency. Frequency of 1Hz (unreal, only for demonstration purposes) says that the signal repeats every second ( Time period = 1/frequency ). And duty cycle of 75% says that during this 1s time interval, the device will be on for 0,75s and off for 0,25s. You can make a PWM signal by simply switching power on and off by hand (nice way to test it). It works ok for a fan, but light sources, need much greater frequency.

  • @megabithero
    @megabithero 7 ปีที่แล้ว

    Now if only this guy taught my circuit analysis classes

    • @TonyRios
      @TonyRios 7 ปีที่แล้ว

      *_Basic Engineering Circuits_* BOOK

  • @PiefacePete46
    @PiefacePete46 4 ปีที่แล้ว

    That's a useful video thanks Jacob. Perhaps adding a piezo buzzer that sounds when sensorVal is greater than 800? I realise there is no end to the list of "enhancements" that could be added.

  • @ryandyc
    @ryandyc 3 ปีที่แล้ว +1

    If you are running a program on your computer that gives CPU temps, could you use those values to communicate with the Arduino and drive the fan based on those values?

  • @danielorellana8607
    @danielorellana8607 4 ปีที่แล้ว +15

    Good video my guy, question though: what pencil is that because that looks really cool

    • @cleoagash
      @cleoagash 3 ปีที่แล้ว

      steadler may be

  • @emiliodubois1433
    @emiliodubois1433 6 ปีที่แล้ว

    Do you get sound from the transistor? Tried with a mosfet and the 2n2222 and both are doing a whistle when not at full speed.

  • @nobentrix
    @nobentrix 7 ปีที่แล้ว

    Thanks !!! Perfect work

  • @zakielharbour9137
    @zakielharbour9137 2 ปีที่แล้ว

    Hi
    I only have a 2k thermistor which resistance would you recommend to put on the second resistance. Also, im using a NPN transistor so what resistance would you put before the gate

  • @carlch8907
    @carlch8907 11 หลายเดือนก่อน +2

    There's an observation about that gate drive...
    Whenever you are PWM switching an inductive load (i.e. like that fan), without a gate resistor, there's a good chance that gate is going to ring (oscillate), that might cause electrical noise issues that could interfere with other circuits, including parts of the microprocessor, especially if you are making that microprocessor to multitask. It happened to me with some serial data I was using, it looked all erratic and did not know where it came from until I hooked up a scope to the power supply line, you could see all kind of noise along...
    At first I thought the freewheel diode alone and the decoupling capacitor would eliminate good part of the noise, but it did not. The gate resistor was the saver here...

  • @wowzande
    @wowzande ปีที่แล้ว

    Trying my hardest to follow lol i have fans and a arduino im trying to cool down a car amplifer on its heatsink when the temperature goes up. I will study this video as reference. Thank you for this awesome information

  • @andreswanepoel4826
    @andreswanepoel4826 4 ปีที่แล้ว

    Great & simple solution. Well done

  • @Hardeepsingh-re8xn
    @Hardeepsingh-re8xn 11 หลายเดือนก่อน

    well done sir...very informative video.....thanks for making

  • @schogaia
    @schogaia 7 ปีที่แล้ว

    This is just the perfect video for my upcoming arduino project. I'm planning to build a fan that keeps my smoker at a constant heat for various longjobs like pulled pork.
    You mentioned that the mosfet isn't powerful enough for a project like this. Could you be so kind and recommend a mosfet that will do the trick for sure?
    Thank you very much!

    • @TwoGunz2008
      @TwoGunz2008 6 ปีที่แล้ว

      schogaia No he says the ardiuno is not powerfull enough to drive the fan, the mosfet is fine.

  • @peterlorne7077
    @peterlorne7077 6 ปีที่แล้ว +2

    Nice video!
    What Mosfet did you use?
    / Peter

    • @yvesboivin8702
      @yvesboivin8702 3 ปีที่แล้ว

      2N7000

    • @peterlorne7077
      @peterlorne7077 3 ปีที่แล้ว

      @@yvesboivin8702 Thank you. !!
      Have a nice sommer.
      / Peter

  • @isaacr1166
    @isaacr1166 6 ปีที่แล้ว

    Hey @Jacob Dykstra, what resister are you using?

  • @johnheather203
    @johnheather203 7 ปีที่แล้ว

    One more question. Do you think it is possible to display the temperature change from the circuit on a display? If possible, let me know how i can integrate in the circuit. Thank you very much

  • @Kntryhart
    @Kntryhart 5 ปีที่แล้ว

    I tried to reverse the code to have fan slow as temperature increased (as in a heater). But, the fan got into a loop where it would stop, run at full speed, stop, run at full sped, and so on. Any suggestions?

  • @NienteNessuno
    @NienteNessuno 5 ปีที่แล้ว

    I LOVE YOU, THANKS!!!

  • @Chikiwikie
    @Chikiwikie 3 ปีที่แล้ว

    Exactly what I need Thanks.

  • @scottcowen4071
    @scottcowen4071 5 ปีที่แล้ว

    Can you run a 120v fan on this setup with a relay or does it take more hardware then that?

  • @Cornflakes691
    @Cornflakes691 4 ปีที่แล้ว +1

    Amazing tutorial thank you! When would you use a PID controller for the PWM?

  • @nateplotnikoff1197
    @nateplotnikoff1197 6 ปีที่แล้ว

    Could you not have your thermistor wired as a switch? Negative to negative post on which ever system is is your wanting to keep cool, say it was a heat sync. Mount the thermistor to the heat sync and run your + wire threw the thermistor to the fan.....? Just a question, lots of good info in your vid.

  • @miketony2069
    @miketony2069 4 ปีที่แล้ว

    Very thorough thank you

  • @hippoeug
    @hippoeug 6 ปีที่แล้ว +64

    "WHAT THE HECK IS GOING ON GUYS"

  • @emiliodubois1433
    @emiliodubois1433 6 ปีที่แล้ว

    Great video!!! I know this vid is almost a year old, but anyway, here is the question: If I want to control the fan with a potentiometer, the "output" part of the system, is it just the mosfet and the fan? Thanks in advance!

  • @packets2661
    @packets2661 6 ปีที่แล้ว

    Nice, thank you!

  • @artursspiridonovs4771
    @artursspiridonovs4771 6 ปีที่แล้ว

    Very solid video. Any chance you know, how to set up a circuit, where a heater is turned on once temperature falls below a certain point and a cooler is turned on once it is over a certain threshold by using a thermistor?

    • @lennartweber1502
      @lennartweber1502 5 หลายเดือนก่อน

      I am a genuine rookie.
      That being said:
      Wouldn't u just need to replace the temperature resistor that lowers it's resistance the higher the temperature gets with one that increases its voltage the higher the temperature gets and otherwise use the same circuit?

  • @zyphit
    @zyphit 7 ปีที่แล้ว

    Would this setup benefit from a flyback diode? Something to limit risk to either your 12V power source or the mosfet?

    • @jacobdykstra8499
      @jacobdykstra8499  7 ปีที่แล้ว

      It's good practice yes but the benefit in this particular case would not be there because brushless dc fans already have them built in their driver circuitry. Also it is very common for mosfets to have some sort of reversed biased diode there for back emf. If the fan was not a brushless fan with its own driver circuitry then yes a diode should be used. It won't hurt to add the diode but with these fans there is no benefit.

  • @AdnanSharifTripleFluffyOG
    @AdnanSharifTripleFluffyOG 3 ปีที่แล้ว

    what are you using for your external powersupply to the DC fan?

  • @markconger8049
    @markconger8049 4 ปีที่แล้ว

    I’ll check the channel for follow up videos but a great next step would be to show an application of this with a much smaller Arduino (or clone) and a smaller fan in a project such as a Raspberry Pi enclosure.

  • @Pedozzi
    @Pedozzi 4 ปีที่แล้ว

    fantastic video, what kind of fan are you using?

  • @brtszczesny
    @brtszczesny 6 ปีที่แล้ว

    Do you have some plans to create video with DS18b20 ? And maybe how to control PWM fan (4 pins)

  • @ausprobierendannweisstdues8686
    @ausprobierendannweisstdues8686 6 ปีที่แล้ว

    Nice Project! thx for the Code.

  • @ReflectingMe2024
    @ReflectingMe2024 7 ปีที่แล้ว

    Jacob - I am totally new to Arduino but something struck me and I am curious to ask you. Why do you use the PWM output of the Arduino rather than an analogue out to provide you with the 0-5v into the MOSFET? Would the fan be better controlled with an analogue 0-5v signal to control the 0-12v supply circuit?

    • @jacobdykstra8499
      @jacobdykstra8499  7 ปีที่แล้ว +1

      John Burns analog out on arduino is not true analog, it is pwm. It can be filtered into analog voltages but mosfets are really good with all the way on or off states and not in between. most likely the mosfet will latch into the full on state once the threshold voltage is reached.

    • @ReflectingMe2024
      @ReflectingMe2024 7 ปีที่แล้ว

      Thanks for the reply Jacob. I'm new to Arduino and when I wrote the initial reply I thought the Uno had analogue outputs - when really they're simply the digitised PWM outs as you say. I am thoroughly enjoying coding and learning - just managed an LM35 temp sensor thing, and am going to work on a huge (for me) project which will utilise some of what I learned watching your vid, so thanks for that.

  • @saadali-qj5fg
    @saadali-qj5fg 7 ปีที่แล้ว +5

    thanks

    • @memz96
      @memz96 6 ปีที่แล้ว

      did u use a 3 pin fan or 4pin?

  • @jenpau0269
    @jenpau0269 6 ปีที่แล้ว

    thank you so much,.. i use attiny 85 and LM35 for this code

  • @bigfilsing
    @bigfilsing 7 ปีที่แล้ว

    great tutorial Thanks

  • @rodneygian12
    @rodneygian12 6 ปีที่แล้ว

    Great video. Very insightful. I have a few questions though. Can the 2N7000 handle a 3.3V PWM? and Does it heat up significantly when load is connected? How much is V across collector and emitter? Thanks in advance

    • @jacobdykstra8499
      @jacobdykstra8499  6 ปีที่แล้ว

      Rodney Yrureta according to the datasheet the maximum gate threshold voltage for a 2n7000 is 3v so yes 3.3 should trigger the gate but it is pretty close, however, 3v is the max so it should be fine. The transistor does not heat up much under normal operation. It is a switching transistor so the voltage drop across it is pretty low. It should remain cool switching any current less than its 500mA pulsed rating.

    • @rodneygian12
      @rodneygian12 6 ปีที่แล้ว

      Ow. great videos and fast response too. You are the man!! LOL maybe I can add a resistor before the transistor to lower it down or is it more advisable to find another trans? I'm trying to control with pwm a 12V at about 400mA.

  • @DJJOAOMARTINS
    @DJJOAOMARTINS 5 ปีที่แล้ว

    The noise with low voltage are OK for you? It seems it makes to many noise

  • @alexgoldstein7553
    @alexgoldstein7553 4 ปีที่แล้ว

    Thanks big time!

  • @frankjonathansaenz1911
    @frankjonathansaenz1911 4 ปีที่แล้ว

    Thanks. really helpfull!

  • @VIRVL
    @VIRVL ปีที่แล้ว

    Very Nice Jacob.. very good explained. THank you.. i am working on a Irrigation PRoject.. i will share it with you if you want.. i m. in to the nodemcu. and oled..

  • @alexisentonfire
    @alexisentonfire 7 ปีที่แล้ว +1

    I understand that in this case your switching the circuit on and off from positive to ground as a percentage of being fully on But what about a 3 pinout fan,
    Im trying to control a fan that has 3 pins, ones vcc ones signal and the others ground, I tried proving the 12v and the ground but when I use the analogWrite to control pwm signal it doesnot work, can you explain this??

    • @brzydka_i_bestia
      @brzydka_i_bestia 6 ปีที่แล้ว

      Usually 3-pin fans have VCC, Ground and a speed output so the motherboard can determine how fast the fan spins. To do what you want you need a 4-pin fan. These have VCC, GND, speed out and pwm in. You can also just PWM the VCC coming into the fan.

    • @dmiha0407
      @dmiha0407 6 ปีที่แล้ว

      the 4 pin fans wont work with arduino because they need at least 5MHz PWM

    • @Rasmus0909
      @Rasmus0909 6 ปีที่แล้ว

      No they dont. It's a 25 KHz PWM for a normal PC 4 pin fan. Intel has a document on this.

    • @mitchibbitson8040
      @mitchibbitson8040 5 ปีที่แล้ว

      well i plugged a fan into my arduino mate pos and neg 2 holes spare

    • @mohammedomer7155
      @mohammedomer7155 5 ปีที่แล้ว

      the one that he has is also a 3 pin fan if u would look closely.

  • @snnwstt
    @snnwstt 6 ปีที่แล้ว

    The Arduino Uno specs are 40 mA per pin other than 5V and GND, 200 mA total (other than 5V and DNG), 1 A max through 5V and GND. So if the motor draw more than 1A, the ground, of the Arduino, may be unable to sink that current?

  • @nadiashifudin3821
    @nadiashifudin3821 4 ปีที่แล้ว

    Hi, I'm doing a floor brush that will move circular, and the speed can be adjusted. Do u think this motor suit the model?

  • @robmormile3911
    @robmormile3911 3 ปีที่แล้ว

    Awesome mate. Exactly what I needed to add some fans to my tv cabinet. ps4 with a 5ch surround sound amp, heats up like a bitch.

  • @kivijs13
    @kivijs13 7 ปีที่แล้ว +1

    Hey, what do I need from all of this, if I want to control the fan Just from time, like 1min 25% the next 50% no temperature sensor. Just thes time intervals?

    • @ankushagarwal5298
      @ankushagarwal5298 7 ปีที่แล้ว +2

      kivijs13 just use delays.. Switch it on on 25% and put a 1 min delay, then on 50% and a 1 min delay.

  • @SZMBudo
    @SZMBudo 6 ปีที่แล้ว

    Hey man i was wondering if you could help me out? a tutorial on using multiple pressure sensors (6) with each one using the same principle to control a fan each (with a scaling value). any tips?

  • @justinfielding
    @justinfielding 6 ปีที่แล้ว

    You don't have any issues with noise from the fan while under PWM? I'm driving a L298N with my arduino but at 50% duty cycle I get a really annoying noise from the fan.

    • @jacobdykstra8499
      @jacobdykstra8499  6 ปีที่แล้ว

      Justin Fielding that is dependent on the fan used. You can change the PWM frequency but it is a bit more involved. I believe libraries have been created to change the PWM frequency for arduino. You can also program it using AVR C if you have the experience with it. You could also just try different fans and see how they sound.

    • @justinfielding
      @justinfielding 6 ปีที่แล้ว

      Hey Jacob. I had done some research, I tried changing the PWM frequency but that didn't really help - even with the frequency at 31.5Khz which should be inaudible. Testing the fan with a 4.8v battery it runs at reduced speed without the noise so it's 100% the PWM. I have read about using a basic RC low pass filter to smooth the PWM output in to an analog voltage - I tried experimenting with a few randomly selected components without joy - needs more work.
      Seems much simpler in your example so I'm thinking I'll try with a MOSFET rahter than the L298N (H-bridge) before getting in too deep!

  • @JohnSmith-td6dn
    @JohnSmith-td6dn 6 ปีที่แล้ว +15

    Whew guy take a breath...

  • @ahmedemad7484
    @ahmedemad7484 7 ปีที่แล้ว

    hi another question can i apply this test with 3 phase ac compressor connected with inverter , and which type of transistor has been used in this test....thank you very much

  • @jeffbanfieldsflwr3537
    @jeffbanfieldsflwr3537 2 ปีที่แล้ว

    If I wanted to get into this stuff, what classes should I take?

  • @bitsurfer0101
    @bitsurfer0101 5 ปีที่แล้ว

    What happens if you have an internal short on the MOSFET? Is that going to fry the Arduino?

  • @NimishSomani
    @NimishSomani 6 หลายเดือนก่อน

    00:01 Creating a temperature-controlled fan controller using an Arduino and a thermistor.
    01:57 Arduino allows for flexible control of fan speeds based on temperature.
    05:28 Explaining the circuit setup for controlling fan speed using MOSFET
    07:10 Arduino Temperature Controlled Fan Speed Wiring
    10:51 Setting up the sensor pin and voltage divider network.
    12:44 Understanding the temperature sensor readings.
    16:22 Pulse Width Modulation (PWM) controls fan speed based on sensor values.
    17:57 Explaining the fan's power startup and operation with PWM.
    21:17 PWM control allows fan speed adjustment based on temperature.
    23:08 Using fan speed control based on temperature sensor readings.
    Crafted by Merlin AI.

  • @josipkrajinovic6221
    @josipkrajinovic6221 6 ปีที่แล้ว

    Nice video! But to get the min/max values of the sensor I'd rather use arduino constrain function.

  • @YanusDV
    @YanusDV 4 ปีที่แล้ว

    Great tutorial

  • @lukasmunster8908
    @lukasmunster8908 3 ปีที่แล้ว

    Hi, can I use the same 5V pin from Arduino (the one that goes to MOSFETs gate) for fan powering (instead +12V in diagram, see scheme at 0:44 in video)? In other words, the 5V Arduino pin will be connected to MOSFET gate, MOSFET drain will be connected to negative fan wire, positive fan wire will be connected to 5V Arduino pin. Could this work or (i) should I include 10k resistor between 5V pin and MOSFET or (ii) should I use lower voltage 3.3V pin of Arduino to connect positive fan wire and sacrifice a bit of small 5V fan speed..?? Thanks for advise.

  • @farahbasaric4001
    @farahbasaric4001 5 ปีที่แล้ว

    I have few questions:
    1) if you are to use 5V fan, do you need to modify resistor values and if yes, what values should they be?
    2) as I understand it, the type of transistor depends upon the voltage that I use to speed up the fan, and which one would I use for my case of 5V-fan?
    I would be really thankfull if someone answered me because I'm having this as my project and I can't find this information anywhere.

    • @timmundt5236
      @timmundt5236 5 ปีที่แล้ว

      1) no.
      The resistors are only used to read a sensor value.
      But when using a 12V Fan you might need a bigger Mosfet or transistor
      2)you can use almost any type of Mosfet e.g. the IRLB8743PBF but the Gate Threshold Voltage shouldnt be too big (2-4V)

  • @truely50
    @truely50 5 ปีที่แล้ว

    Can someone tell me the components that you use? from what I see for many it is not clear to them. Thank you

  • @fischer1672
    @fischer1672 4 ปีที่แล้ว +1

    how can I do this with a water thermostat that has VCC (red), Ground (black), and Data (yellow)

  • @bestgoprovideo
    @bestgoprovideo 6 ปีที่แล้ว +4

    Can you give me a list of the pieces that I need to build this setup?

  • @ahsanbaig74
    @ahsanbaig74 5 ปีที่แล้ว

    you are awesom

  • @petrovski1948
    @petrovski1948 4 ปีที่แล้ว

    Excellent.

  • @ImThatAnimeGuy
    @ImThatAnimeGuy 4 ปีที่แล้ว

    My serial monitor is only showing a reading of 85, I had it varying before but now its fixed at 85. Does that indicate that the Thermistor is faulty?

  • @jamesharvey3618
    @jamesharvey3618 5 ปีที่แล้ว

    I'm having some issues with the fan not turning off,... Would you be able to help me out with this issue?

  • @Inertia888
    @Inertia888 5 ปีที่แล้ว +1

    Intel's PWM fan startup limit was, I think ~30%

  • @jikosauce
    @jikosauce 7 หลายเดือนก่อน

    Nice idea

  • @rapunzeleh546
    @rapunzeleh546 4 ปีที่แล้ว

    what am i missing here... i can get the thing to work with a transistor and 12v fan and a separate power supply for the fan. but i want to run the entire thing from a bank of 12v batteries that run my beehouse/hives etc. this is to turn on small fans to extract humidity from each hive in the winter when they're all insulated up. obviously i already have the stepdowns to go from 12 to 5vdc, but i just can't noodle the wiring for the 5vdc fan... it should be easier right? just set the value of the fan speed based on the output of the sensor pin, and.... and... that's the part i don't seem to get. if i just make two spliced wires so the 5vdc goes to the sensor and the fan, clearly it will run forever without the logic. so it has to go in and out of either the nano (want to keep everything small and cheap - multiple hives)

  • @Bonjour-World
    @Bonjour-World 3 ปีที่แล้ว

    Thank thee :-)