Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
09.02.2010 at 17:16:09
News: Server upgrade went fine, you are now at the new system


Pages: 1
X10 Book - Case Mod (Read 2744 times)
BroHogan
God Member
*****
Offline

XYZZY

Posts: 533
Denver
X10 Book - Case Mod
17.04.2009 at 18:12:31
 
I was thinking about a case design that most anyone could build that would be cheap, easy to fabricate, and reasonably attractive. (I also didn't think the family could put up with another gadget box in the living room.) Well, people have been stashing stuff in books for years, so why not?



Most of the advantages of using a "hollowed out" book are obvious - you can get various sizes at a second hand store and you can even "skin" them with a dust jacket!  (The "original skin" so to speak.)

Rather than actually cutting the pages, it's easier to remove them all and make a simple wood frame for the sides of the book. (Since frame will not show, even a "wood butcher" can build one.)

The project described below is the "X10 Book". I use X10 to schedule house lighting, detect motion, etc. There is an Arduino library that allows you to transmit X10 signals, and I wrote a driver that allows you to receive X10 signals. (http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1238610818)

Together, this allows the X10 book to do the following:
- Display any X10 signal on the line using an LED matrix. Friendly names for relevant House + Unit codes are stored in EEPROM "profile records".
- Set one or more of 8 LEDs and 4 relays based on the "profile" of the command received. (via TPIC6B595N - 8 bit shift register)
- Create "macros" - i.e. if command 'X' received, transmit commands 'Y' and 'Z', or if garage door open > 5min. display a warning.
- Use a TV IR remote to send X10 commands for a preset house code.
- Send commands based on a schedule stored in EEPROM - i.e turn on light 'X' at 7PM and off at 11PM.
- (near future) Log X10 commands received to an SD memory card.

A tilt switch reorients the display so the book can be vertical or horizontal.

Video at: http://www.youtube.com/watch?v=00t7njIEYQA

BroHogan

Back to top
 
« Last Edit: 17.04.2009 at 20:03:09 by BroHogan »  
View Profile | WWW   IP Logged
Easty
Full Member
***
Offline



Posts: 106
Bagshot, UK
Re: X10 Book - Case Mod
Reply #1 - 17.04.2009 at 19:28:20
 
Very nice!
Back to top
 
 
View Profile   IP Logged
florinc
God Member
*****
Offline

Arduino rocks

Posts: 551

Re: X10 Book - Case Mod
Reply #2 - 17.04.2009 at 19:51:25
 
This is really impressive, better than anything I expected! Congratulations once more!

Back to top
 
 
View Profile | WWW   IP Logged
BroHogan
God Member
*****
Offline

XYZZY

Posts: 533
Denver
Re: X10 Book - Case Mod
Reply #3 - 06.05.2009 at 16:15:58
 
I've added logging to the X10 book. X10 commands from motion sensors and other transmitters are logged to the SD card. Now I know what kind of hours my cats are keeping!

The card socket was scavenged from an old card reader. I soldered it on a protoboard with the voltage divider and 3.3V regulator.



I used the FileLogger lib to write to the card. It works great - (Thanks Eduardo!) It coexists with a second SPI device, 2 pin interrupts, a counter interrupt, and I2C.

Below is a snippet of the log.
Code:
X10 Book Event Log:
5/4  18:21:16 G-3  ON	Garage Door!
5/4  22:00:00 L-4  OFF	Bookcase
5/5   0:57:44 B-1  ON	Cats!
5/5   1:03:29 B-1  ON	Cats!
5/5   2:29:46 B-1  ON	Cats!
5/5   5:52:50 B-1  ON	Cats!
5/5   5:55:58 B-2  OFF	Dusk/Dawn
5/5   7:00:01 L-7  OFF	Security
5/5   7:27:13 A-1  ON	Front Door
. . . 



Back to top
 
 
View Profile | WWW   IP Logged
Pages: 1