Help to Control a Fan speed according to temperature.

Post Reply
User avatar
Nandika
Captain
Captain
Posts: 247
Joined: Sat Oct 15, 2011 11:40 am
Location: Galle-Sri Lanka

Help to Control a Fan speed according to temperature.

Post by Nandika » Sun Nov 04, 2012 10:50 pm

Hello Friends,
I have a Arduino Duemilanove board ... :D
I want to control a AC fan using it according to room temperature.

I am beginner(actually I saw a Arduino in first time ... :shock: )
I know something about PIC.
ADC,PWM ...
but,I cant create my program :x :cry:

Please anyone help me soon ... :cry:

Thank :)
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: Help to Control a Fan speed according to temperature.

Post by Neo » Mon Nov 05, 2012 5:17 am

Hi Nandika,

How are you doing? I couldn't login during day time today and I suspect that you have added some questions in DigitalSriLanka group. I really like that group.

Okay. With regard to your question... Arduinos are Atmel based. So you need to switch to Atmel to do those. There are two methods to work with Arduino.

1. Using Arduino IDE
This is a multi-platform IDE with a 'C like' language which uses AVR-gcc libraries internally to compile codes.
One of the advantageous of using Arduino IDE is that you can directly program the unit using USB port. Otherwise you will need a programmer with an IcSP interface.

2. Using AVR Studio and AVR-gcc C compiler
To use this, you will need an IcSP programmer such as the one below. You can avoid using the bootloader (which is required to use Arduino IDE) and directly use the chip as you are doing with PICs at the moment.

If you are good in programming, I would like to recommend you the 2nd method. But if you are not, it will be helpful for you may go on with the first as there are so much coding support around the net.

Before moving to hardware, have a deep look at the official page http://www.arduino.cc/en/Main/ArduinoBoardDuemilanove. It says what you have on board.

Have a look at this article on motor control.
http://www.barnesian.com/2011/05/arduin ... oller.html
User avatar
SemiconductorCat
Major
Major
Posts: 455
Joined: Mon Aug 22, 2011 8:42 pm
Location: currently in hyperspace

Re: Help to Control a Fan speed according to temperature.

Post by SemiconductorCat » Mon Nov 05, 2012 10:39 pm

>> I want to control a AC fan using it according to room temperature.

AC fan? Are you sure on this? Please clarify.

if it's AC ,
What kind of AC fan? Most probably it should be a shaded pole motor or a inductor motor in 99% case. These two types of motors have limited speed controlling, but modern day we have
something like vector controlling. VFD units are little
bit expensive and that's the problem with them.

I could suggest you a middle ground for this. May be you could use an array of these.
Image
https://www.sparkfun.com/products/10080 , Here I posted , because I thought that this may be useful to you.
Since no moving parts and also you could control this very precisely using a MOSFET.

FMI: Old days in mechanical machines we have used a different way to control speed. It's by adjusting the tension
of a slip belt. That's how old compressors have controlled it's speed. But today it's not a recommended method.
SukhdeepMankoo
Lieutenant
Lieutenant
Posts: 92
Joined: Tue Oct 27, 2009 7:50 pm

Re: Help to Control a Fan speed according to temperature.

Post by SukhdeepMankoo » Fri Nov 09, 2012 9:47 pm

Two steps to Fan Speed control with Temperature.

1) Make temperature sensor using ADC connected with temperature sensor.
2) Fan speed can be controlled by PWM. where PWM Varies according to the Temperate. You Can choose the PID Method.
User avatar
TRONICLK
Captain
Captain
Posts: 140
Joined: Fri Oct 12, 2018 2:04 am
Contact:

Re: Help to Control a Fan speed according to temperature.

Post by TRONICLK » Sat Nov 17, 2012 1:47 pm

If you are interested to buy Peltiers in Sri Lanka, we have imported a lot.
See TRONIC.LK
Post Reply

Return to “Arduino”