Wednesday, September 05, 2012

Reverse engineering a security keypad

When I previously did the reverse engineering work on my home security system, I just skipped trying to get the keypad working.

Since then someone posted some code to interface an arduino to the exact model of keypad I have in my house (a DSC PC1500RK).

This weekend I tried the code out and it worked perfectly!  Thank you caitsith2, who ever you are!

Now I just need to integrate this with my security node...

Thursday, July 12, 2012

Security Node demo

I created a demo recently to show off the security node I've been working on implementing using JeeNodes. This is not the final version (though the hardware is pretty close to final), eventually I want to use something like HouseAgent to control the entire system.

This was based on my work in reverse-engineering my security system.

Hardware
Very rough model of my house with simulated doors, panic button, and motion sensor.  The JeeNode is in the center.
The hardware consists of a JeeNode attached to 3 magnetic door sensors, a push button, a temperature sensor, and a motion sensor (with controllable power).  I built the circuit on protoboard since it is a one-off project and the circuit is pretty simple.  It attaches to the JeeNode via the standard port connectors, so it's a little like an arduino shield but with the JeeNode layout.

I decided to use this project as an excuse to try out Fritzing.  I primarily wanted to try this since I thought it might be a decent tool to use to lay out the components on the protoboard, since I usually use EagleCAD but it doesn't allow you to work with protoboard.  The breadboard view in Fritzing worked well for this but I still think I could have done it more quickly with pencil and paper.  But at least now I have a decent (if messy) electronic version.

The interface is simple.  The switches are wired directly to the digital inputs of the various JeeNode ports (also using some of the unused analog inputs as digital inputs).  I use the ATMega328's internal pull-up resistors to save some components in the schematic.  I used a 7805 voltage regulator to bring the 12 volt supply's voltage down to something more reasonable for the JeeNode.  The 5V is regulated further to 3.3V by the JeeNode's on-board regulator.


I added a couple of transistors to the circuit to control power to the motion sensor and siren which both use 12 volts.  I also inserted a switch in the siren circuit so there's a hardware way to turn the siren off just in case there is a software failure (the siren is REALLY loud).  While I'm testing things out I'll probably only have the siren circuit enabled while I'm home so I can monitor things.

Firmware
The firmware is pretty simple and has lots of room for improvement.  It should be noted that I haven't done any work to improve the power usage of the firmware since this node will be wall-powered (the motion sensor and siren require way too much power to be battery powered).  The sketch polls all of the inputs every 2 seconds and sends out a packet with the sensor readings.  It also checks for received packets that contain one of two commands: to power up/down the motion sensor or to turn on/off the siren.

In the near future I will probably make this sketch event-based; it will only send sensor packets when one of the inputs changes value (or once when the node first powers up.  I'll also probably make it handle a 3rd command to poll all of the inputs and return a packet with the data (force an event).  Since this node will always be wall-powered I probably won't bother with using the power management functions available in JeeLib.

Host Software
I wrote the host software in LabVIEW.  This is a prototype and will eventually be re-written to be a web-based interface (perhaps using HouseAgent).  The VI monitors the serial port for messages from a gateway JeeNode running the standard RF12demo sketch.  It then parses these messages and extracts the sensor value from them.  Based on pressing buttons on the front panel the VI will also send messages to the node to turn on power to the motion sensor; it then starts a timeout to allow the motion sensor time to initialize after power up.

I used Sketchup to create a quick, not-to-scale, 3D floor plan of the first floor of my house.  I think it spruces up the front panel nicely.


Screenshot of the host-side UI


The host including the host-side JeeNode connected via USB



Tuesday, July 03, 2012

Reverse Engineering my Home Security System

I've been reverse engineering the security system that came installed with my house.  My ultimate goal is to re-use some of the sensors for my own home automation project while bypassing the old control board.

A bit of theory

The system works by monitoring multiple "zones" (up to 6 for the system in my house).  Each zone is really just a digital input that has a switch wired to it that can be open or closed. The control board can be configured on what state constitutes an alarm (for instance, a closed switch on Zone 1 means that the front door is open).  There is a bit more optional complexity that can be added to each zone as well.

The first complexity is that multiple sensors can be added in the loop that the controller monitors.  A good example of this is that you could put several monitored windows one a single zone by wiring the switches in series with one another in such a way that if any of them opened then the whole circuit would open; this would be like wiring the window states into an logical OR gate.  Note that this would also work even if the window switches were normally open (NO) switches, but in that case you would wire the sensors in parallel, such that normally the whole loop would be open but when a window opened one of the switches would close and the controller could detect that state.
Control loop for multiple Normally Closed (NC) sensors 

Control loop for  multiple Normally Open (NO) sensors

Another complexity is that you can use what are called end of line (EOL) resistors in the zone loops.  The idea of these resistors is to provide a third state to the loop besides open or short circuit.  By having a third value on the loop and using that as the nominal value you can detect when a fault condition occurs (either short circuit or open circuit).  The controller can be configured to handle EOL resistors (whether to use 2 or 3 states for a given loop).  In the example below the zone loop should normally read a resistance of R, but when one of the sensors opens then it should read an open circuit.  If the loop reads as shorted then we know that something is wrong with the loop.

Control loop for NC sensors with EOL resistor

Typically all of these sensors will be hard-wired from where the thing they are monitoring actually is.  For instance, if you might have a magnetic reed switch embedded in your front door frame which is wired back to your central control box.  Depending on how the sensor was installed, the wires will be run through the walls, under carpeting, or under the base boards against the wall.

Deciphering my system

My security system is a DSC PC1550 with a DSC 1500RK keypad.  I found an installer's manual online which helped a bit in deciphering things, but mostly I learned quite a bit from looking at the diagram on the inside of the control box (pictured below).  It appears like all of the sensors are connected to the main control board via a screw terminal block

By inspecting what was wired and examining door frames for the tell-tale plastic circles that indicate a magnetic door sensor, I determined that I had 3 door sensors, a motion sensor, a panic button, and a siren.

I started off by checking the resistance of each zone loop with my multimeter.  The motion sensor has to be powered so I supplied 12 volts to it and it worked like a charm.  The panic button also worked.  I hooked up 12 volts to the siren and it worked too.

When I tried the door sensors all of them registered as open circuits regardless of the position of the door.  I started troubleshooting: I pulled  one of the door sensor out of its whole and checked that it did indeed close the switch when a magnet was near, and I checked that all of the magnet and switches were close enough that the switch should trigger when the door was closed.  After that I started pulling up carpet to find the wires that were run under the carpet, and eventually I determined that the wires were accidentally cut during installation of new carpet.

I tracked down all 4 of these wire breaks (that's right, one of the door channels actually had two breaks in it) and fixed them, which involved prying up lots of carpet in my living room.  But eventually I got all of the door sensors working again.

And the good news is that all of these sensors act as switches and should be easy to interface to my own security monitoring hardware.  The only thing I haven't reverse engineered yet is the DSC 1500RK keypad.  I wasn't able to find solid information on the serial protocol it uses, so I'll leave that for later.  My plan is to eventually have my entire house controlled via my smart phone, so I don't care that much if the wall-mounted keypad works or not.

The diagram on the inside of my security control box

Monday, July 02, 2012

Appliance Repair

At least once a year, I have some kind of appliance break-down: my refrigerator stopped chilling food, washing machine electronics went bad, dishwasher started leaking, icemaker stopped making ice – the list goes on and on. Against my wife’s better judgment, I decided to try and fix these problems myself.
I like the idea of repairing things rather than throwing them out and getting new ones. There are so many benefits, including:
  • Saving money by not hiring a repair person and even more money by skipping out on buying a new appliance
  • Feeling a big sense of accomplishment when you can find and fix a problem yourself
  • Having a great excuse to take something apart and figure out how it works
  • Helping the planet by keeping old appliances out of a landfill

6 General Tips for Repairing Appliances

1. Reader’s Digest Fix It Yourself manual

This book is a great resource for troubleshooting and repairing everything in your house including appliances. I received this as a gift years ago, and it has saved me hundreds of dollars in repair costs. The sections on individual appliances are short and sometimes lack the depth required for a complete fix, but they usually have excellent diagrams and troubleshooting guides. I often go to this book first for troubleshooting appliance problems.

2. Learn to use a multimeter

A multimeter is an inexpensive tool that can measure voltages and resistances (and sometimes other electrical properties). You should be able to find a decent one for $10-20. Make sure that it measures AC and DC voltage and resistance, as these will be the most common measurements you will need to make. I would also recommend getting a model with an audible continuity check feature. This will make a beeping sound whenever you touch the multimeter’s probes to something that is electrically connected; this makes it handy to do continuity checks on wires without having to keep your eyes on the multimeter’s display. Click here for a good tutorial on multimeters.

3. appliancepartspros.com

This is a great website for ordering appliance parts. Shipping is inexpensive and fast – the company is based in Oklahoma so parts often arrive in Austin the next day. This site is also a great resource for repair advice. They have extensive forums, and by searching for the model number of appliance you can use an interactive parts diagram help you quickly find the exact part you need.

4. Google search for service manuals

Often appliance manufacturers will create detailed service manuals that they release only to "authorized service technicians." By searching for your manufacturer and model number along with the phrase “service manual” you can usually find online versions of these usually inaccessible manuals. These manuals are great and tend to include very detailed troubleshooting guides and steps on replacing individual parts of the appliance.

5. YouTube videos

YouTube is a great resource for figuring out how to disassemble an appliance, which is often the hardest part of the repair. I start by searching for videos of the exact model of the appliance, but sometimes I find a different model from the same manufacturer. Even if they are not the same model number, these videos are still useful, as manufacturers tend to use the same general design for many different models of an appliance. For instance, if you can find a video that shows how to disassemble one model of Whirlpool washing machine, it will usually still be of help because they tend to put hidden screws or connectors in the same places from model to model.

6. Whirlpool and GE do it yourself repair manuals

I have not used these manuals, but Whirlpool and GE both have a series of repair manuals for the do-it-yourselfer. There tends to be one manual for each appliance type – one for dishwashers, one for refrigerators, and so on.

When You May Need Help from the Experts

Occasionally you might be faced with a repair that’s beyond your abilities, and it is wise to know when to admit defeat and call in a professional repair person. Sometimes a repair costs more than replacing the whole appliance, or the repair requires lots of very specialized equipment – like when the refrigeration system goes bad in a refrigerator. And frankly, sometimes time just is not on your side like when you have a mountain of clothes that need to be washed right away or all your frozen food is in a cooler.
There are also instances when a repair will involve something you are not comfortable doing – for instance, I do not repair things that involve natural gas because it makes me nervous. In those cases, do not be afraid to call a professional repair person. If you do have to take that route, I encourage you to watch and learn from what that repair person does. Generally, if you explain to a repairman that you would like to learn how to make repairs and are genuinely interested, they will not mind if you look over their shoulder as they make the repair. I have found that they will be pleased that you are interested and will explain lots of “insider” tips as they make the repair.
Your friends and family might think you are a little crazy at first for trying to repair your own appliances, but after you have pulled off a successful fix, everyone will be impressed by your appliance repair wizardry.

Disclaimer: The author of this post accepts no responsibility for any injuries or damages that may occur from any advice in this posting.  Doing repairs can be dangerous and if you are unsure of something please consult a professional before attempting a repair.

Tuesday, June 19, 2012

JeeNode Review


I've been playing around with JeeNodes lately and I thought I'd post a review.

Executive Summary
I really, really like JeeNodes.  The software APIs are easy to use and intuitive.  Soldering them was easy.  The PCBs are well thought-out.  My main complaint is the documentation.  It's not that the documentation doesn't exist or that it is unclear.  The problem is the documentation is badly organized and hard to find.  I will attempt to organize the documentation I used in this posting.

Introduction
JeeNode v6 intro
I've been interested in doing some home automation projects and was looking for a good solution for smart wireless nodes.  I looked into the typcial XBee plus Arduino solution that lots of people used but I want to have many nodes and at $40-50 per node XBees were too expensive.  Then I found JeeNodes which can be summarized as inexpensive Arduinos with 2-way radios.  I purchased a set of 3 JeeNodes plus a USB-BUB from Modern Device.  The USB-BUB is a little USB adapter used to program a JeeNode.  It's only needed during programming so I bought one.

Assembly
JeeNode assembly
I largely followed the instructions from the site above.  The only major difference I found was that the large electrolytic cap provided with the kit was much taller than the one in the instructions so I would recommend leaving it for last. This component is the tallest thing on the board and it's easiest to solder the components from shortest to tallest.  For the right angle header on the end, it's a little different than the instructions which use a straight header; it's actually easier.  Just solder one pin then re-flow the solder as needed
to get it positioned properly, then solder the rest of the pins.


Initial Tests
JeeNode initial tests
As far as power settings: The Vout jumper on the USB-BUB should be set to 5V while the LGLV should be set to 3.3V (or VL).  The 5V will power the Jeenode and run through the onboard 3.3V regulator, while the 3.3V will be used for logic levels.

Software setup: Download arduino IDE from here.  Download and install JeeLib library from here using instructions in readme.

Next follow the instructions for the RF12demo sketch which should be located here: \libraries\JeeLib\examples\RF12\RF12demo\README

Luckily the RF12demo app is already flashed into the JeeNodes so you can skip that step.  I kept one JeeNode attached to the USB-BUB for communication and the other one I stuck into a breadboard and powered with 5 volts via the programming header pins marked VCC and GND. Worked like a charm.

Sending packets via the RF12demo sketch is described in stesp 9 and 10 of the README.

The RF12demo (the sketch that the JeeNodes come preprogrammed with) displays received messages like this:

"OK 2 122 3"

which is interpreted like this:
"OK" = checksum passed ("?" means checksum didn't pass)
"2" = node id
"122 3 ..." = data payload

Reference Material
JeeNode v6 schematics and user manual
JeeNode power tips

Impressions
I'm amazed at the quality of the end device.  The silkscreens are very good to the point where you really don't need assembly instructions.  Also the little things like the fact that the battery leads have built in strain relief through the PCB, and the port headers use the Sparkfun-style staggered holes to hold them in place
while soldering.  The software is easy to use especially once you've pinpointed some of the useful examples sketches from the JeeLib directory. The only thing that has been annoying is that the proper voltage settings for the USB-BUB are not spelled out; I had to look at the schematics for both the USB-BUB and JeeNode to figure out
the proper settings.  And as mentioned before generally the documentation is spread out willy-nilly across the jeelabs site.

Further Reading
The following examples are handy to use as building blocks for later reading.  I would also suggest perusing JC's blog and reading his various articles, he really goes in depth on various topics especially power management, which is very enlightening.

There are some very helpful and knowledgeable folks on the JeeLabs forums.

Here are some useful examples (from the the /libraries/JeeLib/examples/RF12 directory):
  • rfRangeTX - good example of a simple transmit
  • radioBlip - good example of putting processor and radio to sleep and waking up and sending message
  • roomNode - complex example of a full sensor node implementation


Monday, January 23, 2012

JeeNodes and a Motor Shield

Over the holidays I spent some time soldering up some stuff that I purchased lately.  The first is a Arduino Motor Shield from Adafruit.  I had just purchased this because it seemed generally useful, not because I had a specific project in mind.  I really hate wasting time breadboarding an h-bridge circuit when I just want to spin a motor.  It soldered up pretty easily in part due to the ridiculously detailed assembly instructions.  That wasn't meant as an insult to the instructions; I think it may have been the best documentation I've seen in quite a while.



The second soldering project was a set of three JeeNodes I bought to start working on doing some home automation projects. These assembly instructions were very good (though not *quite* as detailed as Lady Ada's typical instructions).  Everything went together smoothly, even the surface mount radio component that I was a little worried about.




I then ran the motor shield and all three JeeNodes through some tests to makes sure I had assembled them correctly.  I walked through the JeeNode tests here. It was really handy that all of the JeeNodes were pre-flashed with the RF12demo sketch which acts as a basic configuration and send and receive utility, which makes doing basic RF check out very simple.  Luckily everything worked on the first try.

Onward towards automating my house!




Tuesday, April 05, 2011

I've been away from my usual experiments for quite a while. But I have still been busy. For the whole summer and most of the fall, I decided to do repairs and organization on my workshop. So here's some of the stuff I did:

Shop Roof Repair
A couple of years ago the roof of my shop build got a small leak in it. At the time I didn't do anything about it so it kept getting worse until there was quite a bit of wood rot and water damage to the both the roof and to the floor boards. I started looking into what would be required to re-shingle the roof and I discovered that they had built the roof wrong from the beginning. Basically the roof didn't have enough slope and so water would pool on the virtually flat surface, which is what lead to the water damage to begin with. So rather than just re-shinle the roof and probably have to deal with the same probelm again later, I re-framed the entire roof. I first drew up the design in Sketchup, and I added a couple of new feature such as cross-rafter supports and under-eave vents. With the help of a friend I tore the old roof down to the top-plate of the building. I then built a new frame and put on new shingles. I researched how to do all this using several books on building sheds that I checked out from the library.

I made a huge mistake in doing this in the middle of summer, but in the end I got it done despite the opressive Texas heat. The week or two after I got it finished we had an almost biblical rain storm that lasted for several days, and the roof stood up to the pummeling without a leak. The shop is now a much better place to work without the nasty rotting roof and the fresh air that comes in through the new vents.

Other Shop Repairs
Since the roof turned out so well I thought I'd make a few more improvements. The floor had sustained some damage from all the water coming in through the leaky roof so I replaced a floor board that had rotted out. I also rebuilt part of the door frame that had rotted out by machining down a 2x4 to the exact dimensions of the rotted area.

The floor of the shop is wood that had been painted with some epoxy floor paint (like the stuff you'd paint a garage floor with), so I put a fresh coat of paint on the floor. I had also just had the exterior of my house painted, so I used the leftover paint to paint the outside of the shop so it matched the house.

Parts Database
I have a pretty extensive inventory of electronic parts, so extensive in fact that I often lost track of what parts I had. On several occasions I had purchased the same part several times, not realizing that I already owned what I needed. So I set out to create a parts database to prevent that from happening again.

I decided on going with a web-based approach for two reasons: 1) This application would be an excuse to learn some web technology that I just haven't bothered to learn in the past, 2) a decent web page seemed like the perfect solution for an application that needed search functionality and data storage, and 3) it would be nice to be able to host this web page such that it would be accessible to me anywhere in the world.

I didn't want to start from scratch if I didn't have to so I did a little research and found a simple parts database that had been created for a Circuit Cellar article. The database was written in PHP and used MySQL for the database portion. This site wasn't a perfect fit, so I heavily modified it to have a hierarchical category system using XML to specify the hierarchy, I added several fields like a URL field for links to datasheets, I added a login and password system so that no one could mess up my data if I hosted it on the open internet, and lastly I added browser detection so that I could serve up a special mobile-friendly version of the site if someone was viewing the page from a smartphone or similar device. Now it's easy to search, add new parts, and grab datasheet info for existing parts.

In addition to the database I organized my physical parts so that they are MUCH easier to find. Previously many of my parts had just been in bags and boxes in no discernible order. I got some small parts cabinets (like the kind usually used to hold screws and other small mechanical parts), and organized everything by type and value. So now I've got a cabinet for capacitors, resistors, ICs, sensors, connectors, etc. Now I can find an individual part in seconds instead of the tens of minutes it would take me before.

There's still a few things I need to do like rust-proof and sharpen some of my woodworking tools, but my shop is in a much more usable condition. Now back to my tinkerings...

Friday, June 04, 2010

I did some more work on pressure sensor testing, this time with a MP3V5004 sensor which has higher accuracy than the MPX5010. This sensor definitely did work better than the MPX5010, but it still was not accurate enough for my purposes. I also leanred that my test rig was very sensitive to two things: 1) The position of the tubes (even if one of them moved 1/64th of an inch it would affect the readings significantly), and 2) if there was liquid already in the tube from a previous reading. To correct this I secured the rig's test tubes so they couldn't move at all and I made sure to clear any liquid out of the tubes between readings. With these changes I got much higher accuracy, but the sensors I tested were still not accurate enough.

I found another pressure sensor made by Honeywell (HSCSAAN001PDAA5) that has significantly higher accuracy, but it is also MUCH more expensive ($40-50 per sensor). So I'm going to try some other specific gravity measurement ideas before I invest money in the pricey new pressure sensor.

Lately I've been experimenting with counting CO2 bubbles produced by a fermentation as an indirect way of measuring specific gravity. Currently I'm using a method which shines an infrared beam through an air lock. When a certain amount of CO2 has been produced in the reaction chamber a CO2 bubble goes through the liquid contained in the air lock (which really just acts as a one-way valve). When this bubble escapes it breaks the infrared beam momentarily which I can then detect electronically.

So far I've proven that I can detect bubbles with this apparatus; now I need to make sure that I can detect close to 100% of the escaping bubbles. Here are some pictures of my current test setup:




















Tuesday, April 13, 2010

I was able to find some sufficiently small hose clamps that fixed my air leakage problems, but now I'm having trouble with the accuracy of the pressure sensor. Here is some of the data I got during my last test session:

SG test solution -> ADC counts (0-1023)
1.000 -> 220
1.100 -> 240
1.062 -> 237
1.028 -> 233
1.000 -> 227
1.100 -> 244
1.062 -> 237
1.100 -> 242
1.000 -> 223
1.000 -> 226

So as you can see the trend is generally correct but there is too much hysteresis in the values. After perusing the datasheet for the sensor it seems that the overall accuracy is +/- 5% worst-case, so the sensor is performing much better than its spec. But it's still not very useful for my purposes.

Tuesday, April 06, 2010

I've been working with the pressure sensor again. I finally got a very ugly prototype of a hand-held meter built. The basic idea is that I have the pressure sensor wired to one of the analog inputs of an arduino, and then the arduino sends sample data out via serial to my PC.

I got some pretty good readings that look like I'll have a resolution of around 0.005 SG (which is usable, I think). The only major problem I ran into was that air was slowly leaking out the tubes that were in the water, which means the seal I have between the tubes and the pressure sensor ports isn't good enough. So the next thing on my list is to come up with a way to seal the tubes better.

Here are some pictures of the prototype:
















Tuesday, January 05, 2010

I've been continuing to experiment with the pressure sensor from the previous post. I had a problem for a while where the pressure sensor results were varying by +/- 50mV which basically made the pressure sensor unusable for my purposes as I was looking for better than 5mV accuracy. I did some more troubleshooting and discovered that my power supply was causing the variance. I put an additional voltage regulator before the circuit and that brought the accuracy down to 1-2mV, which is much more usable.

I've also found another Freescale pressure sensor (MP3V5004G) that has about double the accuracy of the sensor I'm currently using (MPX5010). I'm going to try out that sensor in the near future to see if it improves my results.

Now that I'm getting decent results I'm going to build a prototype meter using an arduino and start experimenting with a bit of software filtering and averaging to see if I can get a more accurate result. Eventually I'll also attach an LCD display to the arduino and make a hand-held meter for measuring specific gravity.

Here are some of my latest experimental results with the MPX5010 and solutions of varying density:

hydrometer reading of solution -> sensor reading
(with h = 6 inches)
1.000 -> 882mV
1.028 -> 896 mV
1.062 -> 933mV
1.100 -> 961 mV

(with h = 8 inches)
1.000 -> 1.105V
1.028 -> 1.130V
1.062 -> 1.148V
1.100 -> 1.177V

Tuesday, October 06, 2009

I had a little time to experiment with a new project. I'm working on using a Freescale pressure sensor to measure the specific gravity of a liquid. This is a piece of a larger project that I'm working on, but I need to research this before I work on the rest of it. More on that later.

Pressure in a liquid follows this formula:
p = ghd
where p = pressure, h = height of liquid above sensor, g = acceleration of gravity, d = density of liquid

So using a differential pressure sensor (MPVX5010DP) from Freescale, I can get all of the values in the formula and solve for d. The physical test setup is show in the picture below. Basically I have lengths of plastic tubing of two different lengths attached to the sensor's pressure ports (make sure to get the right tube to the right pressure port; pressure port 1 always have to have a higher pressure on it than pressure port 2; check the datasheet). The tubes are then tied to a steel ruler with the tube ends a fixed distance apart (in this case 4" apart).

It seems like the pressure reading does indeed change with the density of the liquid the probe is placed in. However the difference in the readings is fairly small. This tells me a couple of things:
1) I should increase the distance between the end of the tubes (essentially increasing "h" from the formula before). This should increase the magnitude of the voltage read from the sensor, thereby amplifying the sensor voltage. Eight inches between the tube ends should be good. 2) Since I'm eventually going to be reading the sensor voltage using a microprocessor's ADC, I can decrease the voltage range of the ADC to increase the resolution of the ADC readings. Based on my final application, I'm going to set the voltage range to 0-1.1 V.

Here is then data I got with several different sugar solutions:

Hydrometer Reading -> Sensor Reading
1.000 -> 707mV
1.036 -> 723mV
1.068 -> 734mV


Monday, August 17, 2009

I finished Nadia's desk a few days ago. The MDF sealer worked like a charm. Here are some pics.




















Monday, July 20, 2009

I'm just about done with the desk I've been building. The only thing left to do is putting a couple of coats of paint on it.

I ended up making the desktop itself out of MDF since it is stable, flat, and heavy. I routed some nice edges on the desktop but I've been having trouble painting the routed edges because they're so porous. I found a recipe online for a sealer made from 4 parts water and 1 part wood glue which should fix that problem. I'll try that out tonight.

I'll post pictures as soon as I get the desk done (hopefully this week).

Thursday, June 25, 2009

I've been looking into a new feature for my DVR PC: Boxee. Boxee is basically a media client which makes it very easy to watch streaming media (pandora, youtube, hulu, etc.). I've been jealous of my Linux and Apple-wielding brethren, as they've had Boxee support for some time now. But the Boxee folks have finally put out a public alpha for Windows. It's a little buggy (it is an alpha after all), but I've been playing with it and it has lots of potential. I think I'll definitely be installing it on my DVR PC once it becomes a bit more stable.

I even found a forum posting about how to use a Hauppage IR remote to control it (which is what I currently use to control GBPVR).

Also, I think Netlfix and Boxee are working together to create a Boxee app to allow viewing Netflix streaming content, which I'm really psyched about.

Tuesday, November 11, 2008

Right now I'm building a desk for my wife and I decided to undertake turning my own legs for the project. I didn't really want to purchase a lathe (and learn how to use it), so I found a technique which uses a clever jig plus a plunge router to do simple turnings. The idea came from the book Router Magic by Bill Hylton.

The way it works is you create a box with an open top and holes drilled in each end such that you can suspend a blank in the jig and allow it to turn freely. Then you create a sled that attaches to the base of your router. This sled then slides back and forth along the length of the blank. You just turn the blank by hand as you slide the router back and forth. I used a dish cutting bit in the router and it did an excellent job. Just a slight bit of sanding was necessary after turning the legs.

Here are some pictures:
















Thursday, August 21, 2008

It's been a year since my last entry. Wow. Time flies. The other day I decided to ressureect my PVR machine. Around a year ago the web site I use to get TV listings for my PVR software (GBPVR) stopped offering free TV listings, and so rather than having to pay a monthly fee to get my TV listings, I decided to shutdown the machine. Fast forward a bit and now there is a free way to grab listings from the Yahoo! website and convert to the TV XML format. So I spent the better part of a weekend installing new software and a bit of new hardware. Here's what I did in slightly more detail:
  1. I also use this machine as a file server so I updated it with my latest mp3 collections and got my external backup drive synced up with it.
  2. Fixed color issues with video playback. For the longest time I've had issues where video playback outside of GBPVR had incorrect colors and was basically unwatchable. After a bit of Google-Fu I went into the nVidia control panel and reset the gamma slider in the overlay menu, and that seems to have fixed the issue.
  3. Installed a new wireless network card and external antenna. I'm using an MSI 802.11g card plus a D-link external antenna which drastically improved my network throughput.
  4. Installed GBPVR 1.2.13
  5. Setup Yahoo! XML TV grabber
  6. Ran ChangeDatabase utility (included with GBPVR) to convert from my ver old version of database to the new system GBPVR uses. This fixed an issue with the "Search Guide" feature where it never found results.
  7. Installed latest stable build of Comskip, for commercial tagging in recorded TV
  8. Installed Weather plugin
  9. Installed Cinema Listing plugin
  10. Installed Netflix Watch Now plugin. This thing rocks!

Now my PVR machine is running like a champ! The bugginess in GBPVR and its plugins is gone now. Occasionally before GBPVR would get super slow (maybe a memory leak?) and I'd be forced to reboot the PC. I haven't seen that problem so far. Also, the DVD player is much more usable and smooth. And the Netflix Watch Now plugin allows me to watch Netflix instant movies on my TV without going through the Netflix website!

Thursday, August 16, 2007

I've had a busy summer at work so I haven't been able to work on projects, but all of that is starting to slow down so I've started spending time in the shop again. The first order of business is to clean up the shop and do some improvements to it.

I've got a long list of improvments I want to do, everything from new table saw jigs, to exterior paint, adding a portable spray booth, etc. But the very first thing on the list is to get a better stereo setup so I can listen to tunes while I work.

Long ago when I was in high school I had a spare car stereo lying around and decided to turn it into a small bookshelf stereo for my room. I did it and it worked, but at some point I set it aside and forgot about it at my parents house for many years. When I went home for Christmas I spotted it up in a closet and decided to take it with me.

So a few weekends ago I decided to resurrect the stereo for use in the shop. The stereo was pretty impressive considering I built it in high school with almost no knowledge of electronics. I even built my own power supply for it (which is something I probably wouldn't even take on today). I took it apart and after cleaning up some loose connections I plugged it in and it actually worked! I still upgraded some of the components, such as before I had the speakers attached to the car stereo with some crappy spade connector, so I added some spring terminals for the speaker wires.

When I used to use the stereo it would sometimes cut out for a few seconds every now and then when it had been running for a while. At the time I didn't have the technical expertise to figure out what was wrong. But with my knowledge now I know that that sounds like a thermal issue. So I took a look at the power supply I built so long ago and sure enough the 7812 voltage regulator was burning hot. So I made the guess that it was overheating and the built-in thermal protection was kicking in cutting off the voltage output. I attached a heatsink to the 7812 and viola, I haven't had it cut out yet.

The only thing that didn't survive in the stereo is an old Sony FM modulator that I used to add an audio input (so I could tie in a CD player or mp3 player). It finally modulated it's last audio and it seems dead now, so I'm going to by an FM transmitter for my iPod and we'll be good to go.



Tuesday, May 08, 2007

After a long delay I finally put the last nails in the coffin of the arcade project. It's finally done!!!

Here are some pics of the final assembly stages including the back of the marquee box, the bezel, the "flippy" access door, and the marquee lit from behind. Soon I'll be posting some pictures of the arcade with the TV installed and maybe even playing a game or two. Enjoy!





Monday, March 26, 2007

This weekend I finished up staining and polyurethaning the remaining arcade pieces. I'll spare everyone the boring pictures since it's just a bunch strips of stained plywood.

My dog decided to help out by chewing on one of the pieces just as I was about to put on the first coat of polyurethane. It ended up being repairable but I was still pretty pissed.

Later tonight I'm going to start mounting the pieces.