Go Down

Topic: Controlling 3-wire PWM fan speed (Read 2043 times) previous topic - next topic

pnolan

Hello all,

I'm new to using arduino and new to the forums and I was hoping I could get some help on my project.  I am trying to build a simple remote control hovercraft and control the fans with an arduino uno.  My aim is to have both the lift and propulsion fan speeds controllable through an RC transmitter.  I really have no idea where to even start for the code, though.  I want to be able to push a stick on the transmitter forward and have the fan speed increase, push it back and the fan speed decrease. 

I am using this fan: http://www.thermaltakeusa.com/Product.aspx?C=1164&ID=1722#Tab1

Any advice you could give would be much appreciated, and any code would help me out a lot.

pnolan

I'm really stuck here.  I know the code should be fairly simple--just simply increase or decrease fan speed when the stick is moved.  Please, any advice will help

Magician


Have a look at :

http://www.codeproject.com/KB/system/RC_Joystick_Tx.aspx

Project more complicated than yours, but remove unnecessary parts
shouldn't be a problem

pnolan

Thank you, magician.  That helps a little bit.  However, it seems almost too much for what I am trying to do.  I want to just be able to read in values sent to the arduino from a receiver that is paired with the transmitter, scale them, and then control the fan speed based on those scaled values. 

pnolan

If I just wanted to modify the PWM of the fans, how would I do that?  Like, for instance, if I could take in a "desired" fan speed from the transmitter, how can I output what I want the fan to do corresponding to what value I get from the transmitter? 

Magician


Check on a link:
http://en.wikipedia.org/wiki/Control_theory

It will give you an idea, in which direction to dig your local library and google. :)

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy