Studio711.com – Ben Martens

Projects

Converting DC To AC

[UPDATE] A couple days after I declared success on this project, the village piece stopped lighting up even when I put batteries back in it. If any of you electrical wizards out there can tell me what I did wrong, I would love to know. Or maybe it’s just some crazy coincidence that both bulbs burned out at the same time mere days after I changed the power source. Occam’s Razor disagrees with that theory. I’ve left the post as it was originally written so you can debug it for me (and laugh at my feeling of success.)

Tyla always sets up our Thomas Kinkaide Christmas village as part of the decorations. Just about every piece has a plug so it all goes into a power strip which, this year, we can control with a remote. But there were two pieces that ran on batteries and thus had separate switches. This year I set out to convert them to use power from the wall just like the rest of the pieces.

The first piece I tried were the street lights. They took two batteries. I purchased an adjustable power adapter, set it to 3V, touched the wires to the right places and POOF. I blew out the lights. I still don’t know what happened because I had tried quite a few things before I realized the lights were broken, but I think I might have hooked up the power while the batteries were also inserted resulting in 6 volts to the lights. Oops. I immediately went online and purchased replacement streetlights. They’re from a different village set but look fine in our set. This new set was sold with a power adapter so I had no problems there.

The second village piece was a little skating rink. Now it should be noted that there’s only one place to buy pieces for this village set (The Bradford Exchange.) They’re extremely annoying to deal with. Anything you order takes at least a month to arrive, most pieces are limited editions, and you often have to sign up for a set of pieces that arrive installments just to get the one you want. The net effect is that if destroyed this village piece, there was pretty much no way to replace it. I was appropriately nervous given the broken streetlights staring at me from the trash can.

I measured the voltage of the adjustable wall wart and even though I had it set to 3V, it said 3.2V. For most projects, I would have just tried that to see if it worked, but I decided to learn something new and build a circuit to knock the voltage down to something more like 2.6 or 2.7V which is what two lightly used AAs would produce.

To that end, I purchased an LM317 adjustable voltage regular and dug out the rest of my electronics parts. After watching some YouTube videos and lots of trial and error, I ended up with a simple circuit that spit out 2.72V. Perfect!

The next task was to transfer this off the breadboard and solder the connections. I made everything nice and neat with shrink wrap and a small box to hold the voltage regular and it’s heat sink. (I added a heat sink after taking the picture above.) I used red and black wires to help me remember positive and negative voltage, but it dawned on me later that I should have used white so it was easier to hide under the fake snow. The wire was twisted using a trick I learned from Ben Heck: clamp down the wires on one end and stick the other ends in your power drill. Voila! I also added a plug near the village piece for easy setup, takedown and storage.

The last piece of the puzzle was connecting the wires to the terminals where the batteries would normally go. I could have soldered them on, but I was trying to modify the village piece as little as possible. So instead of anything permanent, I created wooden batteries! I cut 1/2” dowels, drilled pilot holes in each end, and attached screws. The first battery got the positive and negative leads from the plug attached to its ends. The second battery just has a wire running between the two ends to transfer the power. Now I have removable “batteries” and I suppose I could use this same setup to power other 3V battery devices.

It was pretty nerve-wracking the first time I tried it (after measuring the voltage a hundred times), but everything works! I was able to turn the wall wart down to 4.5V and still get 2.7V out of the voltage regulator. The heat sink is doing it’s job and the box has a very tiny bit of extra warmth but nothing anywhere near dangerous. Here’s what the finished product looks like with the light inside the cocoa stand and the large pine tree:

If we get any more battery powered pieces, I should be able to add a couple more leads off of this same voltage regulator, make some more wooden batteries, and be done pretty quickly.

Church Sign

Many moons ago we embarked on building a new sign at church. The masonry and the main sign were installed earlier this year along with all the landscaping and irrigation. The final step was to build a reader board below the sign to hold acrylic letters. Tim and I met up a few weekends back to get the sign built and it didn’t take too long. We used some cedar and got it all put together. Then I spent about a week putting coats of primer, paint and clear coat. Hopefully it’s fairly waterproof at this point but only time will tell. Logan met me at church to help get the sign mounted. It looks pretty good! I wish we could have matched the colors of the sign, but the sign company just mixed paint to get the colors and couldn’t give us any paint codes. Getting an exact match from a photo or something like that seemed like an impossible task. Black and white should work fine. The only thing we might have to still do is add a piece of plastic over the sign with a lock to keep people from messing with the letters.

Custom Storage and Desk: Part 3

Part 1 showed the cabinets going in. Part 2 talked about building and finishing the desk surface. Once that was all done, it was time to install the desk!

The two desk pieces fit into their spots pretty well. There were some non-square walls that I had to deal with and it required a bit of sanding on one end for a good fit, but overall, it wasn’t too bad. The oak desk surface was screwed to the cabinets and supports from the bottom up. I added a couple 45 degree angle supports just to ensure that the desk was solid. I was able to put all my weight on the biggest span so it should be ok.

After installing it, I drilled a hole for the cords to snake down under the desk and installed a grommet. This was one of the most nerve-wracking parts of the build. I had to take a giant hole saw and cut through this piece of wood that I had spent weeks building. Thankfully it went smoothly.

Once it was all assembled, I realized that the surface was an inch or two too high. I’m a big guy so I like a tall desk, but this was too much. When I designed this, I had only accounted for the height of the cabinets and forgot to include the thickness of the desk and the spacers I had to put under the cabinets so the doors wouldn’t scrape against the carpet as they opened. It wasn’t a huge deal though because I knew I could use a keyboard tray. I don’t generally like keyboard trays because I feel like they are too small or too flimsy so I decided to build my own. I ordered 14” slides and then used some leftover oak plywood to build a keyboard tray that is almost 3 feet wide and over a foot deep. Now THAT is a keyboard tray! It’s rock solid and plenty big enough.

After that was all done, it was time to move in. I ran all the cables and tried to start with some nice cable organization. One of my favorite features is this little cord manager which sits to the left of my keyboard. It holds all of the little USB dongles that I use regularly (micro USB, mini USB, smart card reader, etc) so that I don’t have to go digging through a door or under my desk to find the right one.

I’ve started cleaning up the pile of boxes that used to be up against this wall. A lot of it is getting thrown away or donated, but the remainder is getting organized into the cabinets. Once that is done and I finish a couple other house projects, I would like to build some small shelves under the desk to the right of where my desk chair is to help even out that space. Right now that opening looks a little lopsided. I also need to add some handles on the drawers and cabinet doors. Those parts can wait a little while though.

This was a huge project, but I’m very proud of the way it turned out. I did it for about $3500 less than a contractor would have charged me. It’s not overly fancy, but it gets the job done.

Custom Storage And Desk: Part 2

Part 1 showed the cabinets going in. Once that was done, I added two sets of quad outlets above what will be the desk surface. Each quad outlet contains two outlets that are built-in surge protectors. This seemed useful for things like printers and scanners which will sit on the desk surface.

The length of the wall wasn’t an even multiple of the cabinet sizes I had available so I couldn’t stretch cabinets all the way to the end of the wall. Instead I wrapped some custom shelves around that corner. This is my least favorite part of the project, but they were cheap and functional. I can replace them later if I come up with something better. I bought some 10” metal supports and a couple melamine boards. I cut the boards to fit, ironed white veneer on the exposed ends and mounted them.

Next it was time for the hardest part of the job: building a desk surface. I went through a ton of different ideas from buying a bunch of boards to make a butcher block style table and using laminate flooring. This kept me up nights. I won’t go into details but there were a bunch of requirements that seemed to conflict. Finally I decided to build it with 3/4” sheets of oak plywood and face it with 1” strips of solid oak.

I had to build the desk in two parts in order to get it up the stairs into the room. One piece was an L-shape with a 45-degree angle where I’ll sit and the other wise was a simple 2’x8’ rectangle with a notch cut out of one corner to accommodate a support structure in the wall. I don’t have a table saw (yet) so all of the big cuts were done on the garage floor using a clamped straight edge to guide my circular saw. It’s not the most glamorous way to make cuts, but it sure works well even with one person. (The blue tarps were set up to cover my shelves and to block off the third bay where I was working in an effort to control dust.)

The building work went pretty quickly once I got started. The L-shape part was two pieces of plywood joined together with biscuits and glue. The facing went all the way around the desk and was also attached with biscuits and glue. There are no nails in the whole thing so the surfaces are pristine. I bought some 48” clamps and got good at using them as I slowly attached each piece of oak to face the plywood.

Once the building part was complete, I nervously set about staining the desk. It’s a huge surface and I’m no expert. A new 5” random orbital sander helped immensely as I got the surfaces prepped. I ran through 120 grit, 150 grit, and 220 grit sand paper.  I figured I needed to do each piece in one pass so that the stain would be put on roughly even. I started by doing the bottoms of both pieces, made my mistakes there and then did the tops. After the stain I applied three coats of polyurethane (the bottom only got one coat.) Given the cool weather, I wanted to let everything dry extra long so I did one coat per day. That stretched the project out a long time, but in the end, I had a desk surface that I was pretty proud of.

Next up: Installation and finishing touches

Custom Storage And Desk: Part 1

The only want I’m able to distract people from the pile of boxes and junk along the wall in the man cave is with a 110” screen. On that same wall, I also had a tiny little cheap desk and chair setup that have been progressively getting worse and worse over the years. I had grand visions for what that area of the room could be, and after completing a bunch of other home projects, it was time to tackle this one.

My first decision was whether to do this myself or contract it out. To get a rough idea of material costs, I did a drawing in Google Sketchup using the dimensions of Ikea cabinets. I then got a bid from a contractor for one of these online cabinet places. The contractor’s design was definitely nicer than what I drew, but it was about 2.5 times the cost. While getting that bid might feel like a waste of time, it helped me a lot throughout the project because I knew how much money I was saving.

The cabinets were the first big steps in the project after the planning was done. They were quick to assemble and very easy to hang even with only one person. The design of the cabinets is really intelligent and allows me to easily swap shelves for drawers or vice versa if I ever want to later. I could also upgrade the cabinet facing without too much cost. I still need to pick out door pulls and cabinet handles but I’ll probably do that at the end.

Next up: shelving along the left side of the cabinets and a desk surface.

CascadeSkier Architecture

A lot has changed since the last article about the architecture of the CascadeSkier apps. So let’s get geeky and peek behind the scenes.

The ecosystem includes a Windows 7 gadget, Windows Phone app, and a Windows 8 app. With all of these various applications (and more floating around in my head), it made sense to keep the clients as simple as possible. The complicate part is pulling in raw weather data from 11 different mountain sensors, 11 weather forecasts, and various web cams and links for each resort. That all happens on a centralized server. When the clients start up, they pull in a text file that has all the polished data and they display it. It makes it fairly easy to crank out new clients, and there’s a centralized location to make any changes to the data.

A configuration file sits on the server. It has a section for each resort and instructs the data cache how to pull the weather data from the raw mountain sensor feed and how to find the three day forecast from NOAA. It has contains a list of web cams for each resort and a bunch of related links like trail maps.

Every 15 minutes, the data cache refreshes by reading the config file, making about a couple dozen requests to various websites to pull in the data, and parses the data into a format that the clients can easily consume. At roughly the same interval, a tile cache generates live tiles for each resort so that the tiles don’t have to be generated on the phone or in the Windows 8 app. Depending on what parameters you pass in the URL to the live tile cache, you can get the tile with any combination of Farenheit or Celsius and metric or imperial.

Using the two caches also relieves pressure on all the various data sources. I don’t know how they’d feel about thousands of clients pinging their servers multiple times every hour. They probably wouldn’t notice, but this is better overall because the clients only have to make a single call to get the data from the cache and it’s instantly available.

This is the sixth ski season for the Cascade skier family of apps and it’s still going strong. The phone and Windows 8 apps are some of the highest rated and most downloaded apps in their categories. There’s even a line of clothing if you’re a superfan (or if you’re my mom.) In the grand scheme of things, this app is just a blip on the radar, but I’ve had a blast with it and it’s fun to hear from people who use and love the apps!

CascadeSkier Clothing

I’ve been running this CascadeSkier thing on the side for five years now. The sidebar gadget is still running but will be phased out as people move to Windows 8. The phone app just crossed 1000 sales and the Windows 8 app is on track to overtake the phone app sometime this ski season. I make pennies per hour, but as I’ve said before, it’s the only hobby I have that makes any money.

Today is a big day for the Windows 8 app. The update that hits today includes support for live tiles. Each ski resort can be pinned to your start screen and it will show a current web cam along with hourly temp, 24 hour snow total and total snow base. It’s the feature that got the most positive feedback on the phone and I’m happy that it’s in the Windows 8 version now.

Additionally, today is the launch of the CascadeSkier clothing line. I have a hoodie and a t-shirt sitting in my closet and they look great! If a dozen people purchase something, I’ll be shocked, but I mostly did this just for myself.

CascadeSkier for Windows 8

Ever since we started getting word about Windows 8, I’ve been getting asked if I’m going to write a new version of the CascadeSkier application. Up until now, only Windows Phone users have been able to enjoy it, but I expect the Windows 8 market reach will be a lot greater. Today I’m happy to announce that CascadeSkier for Windows 8 is available in the store!

Jeremy, the graphic designer who gave the phone app a huge facelift, is back on board for the Windows 8 version. He’s done a great job making this app look amazing!

If you’ve used the phone app before, you’ll notice that this new version is very basic. For example, there aren’t any live tiles yet or the ability to filter and sort the resorts. That’s all coming, but we wanted to nail the basics and get it into the store. There was a lot to learn with this first foray into Windows 8 development.

You can buy it in the store right now for $1.49 (the lowest price they let you choose, other than free) and there is a free 1 day trial. We’re planning to bump up the price once we get more of the features implemented so if you think you’re interested, grab it now! I’d also really appreciate if you could leave feedback for the app. As with most online stores, the average rating and number of reviews is a huge factor in the success of a product. Be honest, but if you have really negative stuff, it would obviously be better for me if you approached me directly!

We hope you have as much fun using it as we did creating it. Bring on the snow!

For more information on the CascadeSkier family of apps, head over to cascadeskier.com.

Build Your Own Theater

I’ve gotten a few questions about my theater room and how much it costs to put something like this together. I know it’s impolite to talk about stuff like this in public, but on the flip side, I also want to point out that this might not be nearly as expensive as you think. Plus when I was putting this together, it was very helpful to read through other people’s build list. So I’ll just list out all the gear that I used and you can click the links if you want to look into buying it for yourself. I did this almost as cheaply as I could except that I splurged and spent a couple hundred extra to get a slightly better projector that had a lot of lens shift. That makes it a lot easier to mount it wherever is convenient and adjust the lens to hit the screen. And I suppose you could save some more money if you go for a 720p projector instead of 1080p, but if you can afford it at all, go for 1080p. At this size of a screen, you’ll notice the difference.

I think that about covers it. I still want to buy some curtains to hang over the windows. There are blinds on the windows already but now that the days are getting longer, we find ourselves watching the projector more when it’s not completely dark outside. A little extra darkening would help.

The bottom line is, if you’re interested in a project like this, take a peak at the costs first. A projector isn’t much more expensive than a good quality TV. Yes you have to replace the bulb every once in a while for $200-300 but at the rate I’m using this (and it seems pretty heavy) my bulb will last for 3-4 years with no problem. By then I might be interested in upgrading to a new projector anyway. The rest of the room can be as fancy or simple as you want. In Jersey we just had it projecting on a blank white wall and it was still a lot of fun!

If I had money to upgrade a single piece in the room, I’d go for a nicer screen. I’m learning to live with the hot spots and a bit of streakiness because it was 1/2 to 1/3 of the cost of a good screen, but I think that improvement would give me the most bang for my buck.

[UPDATE] Thanks to Nancy for reminding me about the rope lighting. We found it was sometimes difficult to see our food when we were eating and watching a movie. I added some rope lighting behind the couch. It provides a nice light distribution and the color of white is good. I added a dimmer switch to the outlet where the lights are plugged in and the switch has an infrared remote control. I was able to program the Harmony One Remote to control the rope lights.

Theater Room Paint

The “final” step in the theater room is complete. Logan came over a week or two ago and helped me paint the walls. I was going for a dark gray color with a little blue but I ended up with a dark blue color with a little gray. It still looks great though so I’m not planning to change it. The darker color really looks nice when we’re watching movies.

I put final in quotation marks because there is always more that I want to do to the room (ie. better drapes), but this is the end of the list of top items (furniture, screen, mounting the speakers, running cables up the wall to the projector, etc.) I hope you get to stop by and enjoy it soon!