Page 1 of 1
Help to Control a Fan speed according to temperature.
Posted: Sun Nov 04, 2012 10:50 pm
by Nandika
Hello Friends,
I have a Arduino Duemilanove board ...
I want to control a AC fan using it according to room temperature.
I am beginner(actually I saw a Arduino in first time ...

)
I know something about PIC.
ADC,PWM ...
but,I cant create my program
Please anyone help me soon ...
Thank

Re: Help to Control a Fan speed according to temperature.
Posted: Mon Nov 05, 2012 5:17 am
by Neo
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
Re: Help to Control a Fan speed according to temperature.
Posted: Mon Nov 05, 2012 10:39 pm
by SemiconductorCat
>> 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.
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.
Re: Help to Control a Fan speed according to temperature.
Posted: Fri Nov 09, 2012 9:47 pm
by SukhdeepMankoo
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.
Re: Help to Control a Fan speed according to temperature.
Posted: Sat Nov 17, 2012 1:47 pm
by TRONICLK
If you are interested to buy Peltiers in Sri Lanka, we have imported a lot.
See
TRONIC.LK