Help with Temperature control of window fan.

Ok so I can't program to save my life. I'm good with hardware. And I know this can be done but I can't design it. Here the project.

I have a window fan that I run when it's cool outside, to save money. I'd like to automate its operation. So what I want is to have 2 thermometers, one inside and out outside. Then have it so that when the temperature inside is above 70 AND the temperature outside is under 65. Then a relay is activated letting 120vac threw to the fan.

I know this is super simple. It could be as easy as 2 thermocouples going from power to analog in. and 1 digital out controlling a relay. But I can't program to save my life.

I even have a parts list :frowning:

Would anyone be willing to write the code and draw a circuit diagram? I'll pay $20 over pay pal for it. I know I'll have to tweek the code to get the temperatures right. But if you leave me comments in the code as to what variable to change and what kind of changes I should make to the variable. Then I can calibrate it. And I can solder just about anything if I have a basic line drawing. I'm NASA certified at soldering xD.

Hi,

Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.

To help yourself you will need to edit your subject line.
Try

Temperature control of window fan.

The forum members do not read every posting, they use the subject title to see if the request is in their relevant field of expertise.

Thanks.. Tom... :slight_smile:
PS You as the originator can edit the subject.

The thing is, you would still have to upload the code to the arduino and that alone is 5x harder than writing the code you need.

lg, couka

Uploading is easy for me. that's mostly hardware. And I can hardware just about anything. I've seen the how to's and I have the USB to serial on hand and I can wire it up easly.

If you want someone to do this for you have this thread moved to:
Gigs and Collaborations

If you want to learn how to do this, ask and we will help out.

.

there are examples of the code for a thermistor. very easy to find. google whatever you want and add the word Arduino and you should find examples.

since you will have two, you just need to make sure your names are different, like thermistor1 and theremistor2
or OutsideAirTemp and insideAirTemp

if you play around with those, you will get two temperatures.
Arduino is good at math.

the idea you stated was if the outside is colder than the insdie, then turn on the relay.

Once you get it working, you might find that if the outside air is less than 60, turn off the fan.
I find it gets too cold at night.

Already cross-posted to Gigs. Thread locked. Please don't cross-post.