Please login or register.

Login with username, password and session length
Pages: 1 [2]

Author Topic: Arduino-Based X10 control  (Read 40511 times)

dhouston

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 37
  • Posts: 2547
    • davehouston.org
Re: Arduino-Based X10 control
« Reply #15 on: August 07, 2012, 09:44:09 AM »

The August/September issue of The Shed magazine (New Zealand) http://www.theshedmag.co.nz/online/current-articles has the first Arduino 101 article in an introductory level series of articles on the Arduino. They are written by Terry King of YourDuino.com http://arduino-direct.com/sunshop/ with whom I'm working on my ZarduinoTM designs http://davehouston.org/Zarduino.htm.
Logged
This message was composed entirely from recycled letters of the alphabet using only renewable, caffeinated energy sources.
No twees, wabbits, chimps or whales died in the process.
https://www.laser.com/dhouston

Noam

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 51
  • Posts: 2818
Re: Arduino-Based X10 control
« Reply #16 on: August 10, 2012, 02:20:55 PM »

Here's another update:
My Smarthome Switches arrived on Tuesday afternoon. Unfortunately, my attic fan motor decided to call it quits on Tuesday morning.
I spent Tuesday evening removing the old motor, during which I found that the wiring wasn't done in the smartest way possible (the installer had run power first to the thermostat box, then put the switch (mounted in the closet below) on the the neutral line, not the hot - so the black wire running to the fan was always hot, even when the switch was off). Since I was planning on re-wiring anyway, this wasn't a major setback (not compared to the motor seizing up), but it still bothered me.
I found the right motor (from the same manufacturer) online, for around $60 shipped. My dad offered to head to Grainger on Wednesday, to see if they had an equivalent motor.
Sure enough, he was able to buy the motor on Wednesday for about the same $60, so I spent Wednesday evening installing the new fan and re-wiring the circuit. I needed to re-route the power first to the closet for the Smarthome switch, and then through a 3-way switch which gives me the ability to override the choice of "auto-thermostat" or "on" for testing, and then up to the fan (it is actually a shorter cable run to do it that way, too).

Everything is running again, and my first test of the Arduino-controlled attic fan worked like a charm yesterday.

[WARNING: Way too much detail below]
In a nutshell, my house was built about 50 years ago, and wasn't properly air-sealed between the house and the attic. As a result, my attic fan ends up pulling air from the house when it runs. As we replaced windows in the house, we closed up a lot of the "make-up air" intake, creating a slight negative pressure situation in the house. I know the proper fix is to properly air-seal the house, then add ventilation as needed. However, that solution is not within our budget at the moment. Anyway, the "negative pressure" problem causes the hot water heater to have to fight against the attic fan to draft the exhaust up the flue. The water heater eventually wins, but depending on the outside temperature, it can take longer than it is supposed to. When the fan is off, this doesn't occur. However, until the draft is established, that exhaust spills out of the gap between the water heater and the draft hood. (And yes, I have a CO detector nearby - it has never once been triggered by this, otherwise I would be addressing it differently).

So, the poor-man's interim solution (until I can properly air-seal the house and attic, and fix the ventilation), is to turn off the attic fan when the hot water heater kicks on, long enough to establish a draft.
So, the HVAC monitor (Arduino) checks the "spillover" temperature, and if it reached 100 degrees (a sign that the water heater burner is on, and a draft has not been established), it turns off the attic fan for 5 minutes. It then checks to make sure the draft is established (the "spillover" temp has dropped below 100 degrees), and turns the fan back on.

So, yesterday afternoon was my first "real world" test. The fan was on, and the water heater came on (the kids all took baths after playing outside - before dinner). The "spillover" temp started to rise rapidly. As soon as it hit 100 degrees, the fan turn off, the draft was established, and my "flue temp" (I have another sensor there) shot up as it was supposed to. 5 minutes later, the fan turned back on, and the draft wasn't affected.

Another reason for adding the "override-on" switch: When I do start fixing the air-sealing problem (there are some major gaps I can fix myself), I can test the effect it has (by using the water heater spillover as a guage), even if the attic isn't hot enough to trigger the fan.
Logged

pomonabill221

  • Hero Member
  • *****
  • Helpful Post Rating: 13
  • Posts: 239
Re: Arduino-Based X10 control
« Reply #17 on: August 10, 2012, 03:00:22 PM »

The miss wiring of the fan is yet another confirmation to me that a "licensed electrician" doesn't always know what they are doing, or that they know the code!
  YIKES!!!  backdrafting the hot water heater (AND the space heater and clothes dryer if it is in the living space), is BAD BAD BAD!!!  BUT you know that this is the case and have a co detector monitoring the situation... GOOD!
And YES you need to seal the attic space from the living space!  My home was built in 1911, and the only appliance I have in the living space is the clothes dryer, but I keep the window cracked for makeup air and the door closed to the service porch.
  I have a whole house fan that I have used to find leaks and have sealed them up (pocket doors, walls in closets, old holes in the top plate where the knob and tube used to penetrate, windows, etc.).
  You might want to add a gable vent at the opposite end of the attic, if one doesn't exist already, to help ventilate the attic as well and keep the pressure differential down.
Logged

Noam

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 51
  • Posts: 2818
Re: Arduino-Based X10 control
« Reply #18 on: August 11, 2012, 09:42:14 PM »

The miss wiring of the fan is yet another confirmation to me that a "licensed electrician" doesn't always know what they are doing, or that they know the code!
  YIKES!!!  backdrafting the hot water heater (AND the space heater and clothes dryer if it is in the living space), is BAD BAD BAD!!!  BUT you know that this is the case and have a co detector monitoring the situation... GOOD!
And YES you need to seal the attic space from the living space!  My home was built in 1911, and the only appliance I have in the living space is the clothes dryer, but I keep the window cracked for makeup air and the door closed to the service porch.
  I have a whole house fan that I have used to find leaks and have sealed them up (pocket doors, walls in closets, old holes in the top plate where the knob and tube used to penetrate, windows, etc.).
  You might want to add a gable vent at the opposite end of the attic, if one doesn't exist already, to help ventilate the attic as well and keep the pressure differential down.
I never said the fan was installed by a licensed electrician, and in fact I suspect it wasn't.
Our home was built in 1964, and all of our appliances are in the living space.
I have a 4-inch make-up air vent that I installed last summer through the wall into the laundry room (where the electric dryer, furnace, and water heater are). A gravity-damper (off-balance vertical flap - pivots open when there is a flow of air) opens as needed. However, that wasn't enough make-up air to counteract the pull of the attic fan (I still want to try ducting it over so it dumps out near the water heater, though).

I have gable vents at both ends of the attic, but I have a feeling the screens are both pretty clogged up. A few years ago, I cleaned the one I can reach from the inside, by literally poking open each of the holes in the screen with a bamboo skewer and a stiff brush. I need to find someone who can climb up and change both screens from the outside.
Logged

Noam

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 51
  • Posts: 2818
Re: Arduino-Based X10 control
« Reply #19 on: October 07, 2012, 10:01:01 AM »

Here's another update:
My limited HVAC/X10 interfacing setup has been working nearly flawlessly (I had one case of a signal not going through - I think the CM15A burped that time when it was running the macro).
We're just about at the end of "attic fan" season, so I'm getting ready for the next project - I want to build an Arduino-based multiple input/output combination PowerFlash and Universal Module.
I'm not concerned with the "flash" function, but more with the ability to have a contact closure/release trigger an X10 command, and to be able to trigger a contact closure/release from an X10 command.
I really have no idea what I'm doing, so it will probably take me a while to get it working the way I want.
Logged
Pages: 1 [2]
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.