Pages: [1]   Go Down
Author Topic: Controlling 3-wire PWM fan speed  (Read 1809 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Montreal
Offline Offline
Faraday Member
**
Karma: 27
Posts: 2556
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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. 
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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? 
Logged

Montreal
Offline Offline
Faraday Member
**
Karma: 27
Posts: 2556
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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. smiley
Logged

Pages: [1]   Go Up
Jump to: