Saturday, March 22, 2008

Going Wirelessly Wired - Home Networking

I'm an odd fellow. I'm odd because I want convenient things like wireless home networking, but I want performance, reliability and simplicity at the same time, and I'm willing to experiment to find the right way to go about it. In other words throw money at it.

So, here is the set up. I rent the top half of an home. The DSL modem, router, and everything else is in the opposite part of the house to where my home office is. Long history behind that, but it was the only way I could keep my significant other from flipping out over reliability issues otherwise. She gets a wired connection to the router, I suffer through with the wireless one. Now, to make a long story very short, I was having serious Internet reliability issues. Web sites could not be found, my DSL connection was going down at least hourly, etc. When you just use the network to surf and do e-mail that's no bid deal, but when your working from home via a VPN connection, and using some fat-bootie e-mail/contact manager tool like Lotus notes, getting bumped off regularly is a big problem. So I put myself and my home network through the grueling ordeal of upgrading.

First, my Netgear router, which yes, was heavily modified by me with the addition of heatsinks and fans, was replaced by a new DLink Wireless N (802.11n) router. No difference in DSL behavior. Contacted Covad who wanted to charge me $100 for a new DSL modem. Apparently they don't understand, for $50 I could have switched to Cable TV's broadband. Finally, after getting them to test the phone line, I did some experimenting and found the problem was that the phone cored was wrapped around too many power cords. Once I straightened up the phone cord, our reliability all miraculously improved.

Next problem was the wireless connection. My PC sits about 45 feet from the wireless router. However, that's 3 open doorways in between. With the first router I had such problems getting a good signal in this room that I used a Linksys G/USB 2.0 adapter that was taped to the back of a bookcase next to the door. That gave me pretty good signal quality, all I needed was 12' of USB cable in between. The new Dlink Wireless-N router worked fine with that adapter, but I was trying to be cool, and bought a new N adapter for the PC, one that would sit inside the case, eliminating the need for the USB cable, and hey, with the 2 antennas, and using Wireless-N I was sure I would get a great signal. Sadly, no. I had exactly the same problems in this location using N as I did with G and B adapters in the past. So, back to the G adapter tied to the bookcase.

No matter what they say about range, or how wireless N should be better, once I introduced the same obstacles into the mix, it all went downhill the same way. I could have bought a N type USB adapter, but I have serious questions about how easily they overheat. In the past I had bought another Netgear product which overheated, a Wireless-G USB adapter. So, I wasn't keen on another one. Which makes the next part of this posting odd.

My end solution was to buy a pair of Netgear WNHDE111 access points/bridges (also available as a 2 unit kit, the WNHDEB111) . What's odd about this is that after having 2 pieces of Netgear products overheating due to cheap ass design I would buy another one. Believe it or not, what convinced me was the case design. It looked like they paid a lot more thought into cooling these units, and that the industrial designers were a completely different group than the one's that designed the original router and USB adapter. As an aside, I think the same people designed the Hauppauge! WinTV-PVR box I use which had the same basic case design and the same overheating issues. I have NO proof of this, just my guess, but if you look at how the cooling can barely make it through the same basic case design, and how they laid out the inputs, outputs, power and main CPU, you'll understand why I would think so.

So, now a little background. Netgear and Dlink are both selling what we can loosely term "media bridges". They are designed to wirelessly enable devices which otherwise may not have a wireless connection, and even if they do have it, provide even better speed than they would have otherwise. Examples of this include devices like Apple TV, SonyPlaystation, and any of the various wired and wireless media players currently out there. These media bridges work to fool your equipment into thinking that it's hooked up to your network via the Ethernet plug out the back. Once hooked up, they are pretty much transparent to the devices. Since the connection to your important devices (PC, XBox, etc.) work on well established networking protocols, Ethernet and TCP/IP, they should work for any Ethernet enabled device you can buy. Basically anything you can hook up via Ethernet, you can now convert to a wireless connection. Their marketing spiel is of course that they are designed to let you stream High Definition (HD) audio and video over your wireless network, which is true but what they do is create a second, high speed wireless network which now runs in parallel to your original one. What they don't tell you is, they really don't care what you hook up to it so long as it talks TCP/IP over ethernet, and what device now doesn't?

Anyway, I purchased one of the Netgear bridges, thinking "Hey, it's a Wireless N device, it should work with my D-Link N router. Well, no such luck. They use the same N protocol but a completely different frequency, 2.7 GHz and 5 GHz. So, in order to make this work, had to have two. Purchased a second one, upgraded the firmware, set up the security configuration on each manually. Powered it all up. And, as if by magic, I have Ethernet-like speeds coming out at both ends. Sweet!

The benefit in my home office is, I can stick one in my bookshelf, in the room's sweet spot, then run 1 Ethernet cable to my desk, where I have an inexpensive DLink 5 port Gigabit switch, and then I can hook up my laptop, my desktop, even an Internet cam. Whatever devices I want to hook up I can, without buying additional wireless adapters. Another major benefit to this all in my mind is not having to install new devices. Half of all the wireless problems I have had have stemmed from getting the drivers installed correctly. Now, my PC and laptop think they are hooked up via the Ethernet cable, and my network's performance has been great ever since.

What's next? Next I'll probably purchase some sort of High-Def media player for the living room and hook it up the same way. I'm waiting for the Netflix/LG settop device to come out, but I'm also thinking about getting a Sony Playstation 3. Even if I never play another game, I think it's the only Blu-Ray player on the market I won't have to upgrade to keep current. Sony has invested a lot of money on the PS3 platform, and it's consistently been the first Blu-Ray player to meet each new specification.

Also, another aside, I think that if this keeps up the other Blu-Ray licensees will figure out they've been had. Sony doesn't want to license Blu-Ray, they want to dominate it. Their continuous evolution of the Blu-Ray player standard will mean that only PS3 owners will be able to keep their players more than a few months before they are obsolete.

Thursday, March 20, 2008

Resmed S8 Version 2

After trying out my original filter mods I found myself working harder to breathe than I did before. Under load, the filter media surface area was just too small to avoid straining the motor, and my lungs. So, I did what any other hacker would do. I multiplied the surface area by 8, and tried again. Problem solved, but, instead of a square patch, I ended up with this 6" white felt tube sticking out of the corner, and the whole thing looks rather obscene. Fortunately I'm now putting the S8 in my night stand, with plenty of ventilation, and you can't see it. What would mom think?

Monday, February 25, 2008

Modding the Resmed S8 CPAP Machine

Finally, after several overnight studies in two different sleep labs, my doctors have prescribed me a C-PAP machine. Basically, it's a bed snorkel. The mask provides pressurized air to your airways while you sleep, reducing the number of times your airways collapse and try to choke you. Now, if you just died in the middle of the night, this wouldn't be so bad. I mean, it's just death, but what actually happens is that your brain, for some odd reason, realizes you are choking, and wakes you up, so you semi-consciously start breathing again. If this happens frequently enough, instead of dying peacefully in your sleep, you wake up feeling like sleeping is very hard work. In other words, barely rested.

So, enter the CPAP machine. Keep your airways full of air, and you don't wake up before choking to death. In fact, you don't choke much at all. No dying, no waking. Just nice even sleep.

The one major problem I see with almost all CPAP machines being sold today, and the Resmed in particular, is that they really are not designed to be all that quiet, but more importantly for allergy sufferers, the filtration really stinks. They fit this tiny bit of polyester fluff in at the entrance of the machine, which basically won't filter out anything but big tufts of cat hair. Everything else in your room, you will breathe, at high pressure. Not a great way to spend the night. They do make in-line filters, but these have a chance of tricking the pressure meters into thinkign your air pressure is higher than it is. It really would have been oh so very easy for Resmed to put in a HEPA filter on the inake.

I should have taken a picture of the intake before I cleaned it for you to see. It was really dirty. Also, instead of providing you with a place to put an intake filter, or at least a place to attach one to, Remsed instead has an opening that makes it almost impossible to attach anything useful to the intake, like for instance, a muffler, or a HEPA filter. Very frustrating. And on top of everything else, my MD prescribed this particular model. Mind you, it works very well, and I understand it's very reliable, and small and portable and the integrated humidifier is pretty sweet, but they are like morticians. They really don't want you shopping around for the best casket, they want you to buy the one they tell you to buy.

So, what is a hacker like me to do? Well, it turns out that in the woodworking and industrial worlds they make these huge dust collection/air cleaning systems. Often a professional mill work or woodworking shop, and sometimes advanced hobbyists, will have large dust collectors with 4-6" ducts running around their shop, sucking up all the wood chips and keeping the shop clean and the air breathable as the craftspeople work. The air gets expelled in a variety of ways, including through these long polyester felt tubes, at the bottom of which is usually a trash bin of some sort. Anyway, the point is, the polyester felt used in these bags normally filters materials down to 1 micron, and after getting nice and packed with wood dust, they get even better, filtering down to 0.3 microns, or about. Not quite HEPA standards (0.3 microns all the time) but MUCH better than what Resmed provides.

So, my solution? Purchase a bag from Oneida Air , cut out just enough filter media to cover the intake, duct tape it in place, and voila, suddenly I can breathe easier at night. :) I've tried it at least one night, and it worked fine, with no apparent change in performance of the CPAP machine. If I was really clever, what I would do is measure the amperage while it runs to see if there's a difference in strain on the air pump with and without the felt, bur right now, my work and school are taking up too much of my time. If I had more time I would have created a felt "pocket" so that I could increase the surface area of the filter. In the next incarnation this is probably what I will do, though honestly it's hard to tell it needs it.

Tuesday, February 5, 2008

The Things We Do for Love


When you are looking at a mid-80s piece of gear the first thing you have to look at are the power supply filter caps, like the one's I pulled out of the Yammie yesterday.

They are in pretty good shape, and will probably last a while longer, but let's face it, these caps are 20 years old. They aren't fresh anymore, and if they go, you risk loosing everything else in the component. As it turns out, the Yamaha, Sumo Polaris and other amplifiers from this era shared the same filter caps.

Today, unfortunately, these caps are extremely difficult to come by. What makes them so special is the 80V rating. You can buy 15,000uF 100V caps right off the shelf, without any problem however they tend to be 120mm long. About 30 mm longer than the originals. The only manufacturer I could find that still makes them is Nippon Chemi-Con, so as a result of this it looks like I'm going to be forced to purchase a small lot of them, and then try to resell any I don't use. Not exactly how I planned on making extra cash this year.

However, if you find yourself in the same boat as I am, and need these caps, send me a yell, I'll be happy to sell you what I don't use. :)

Saturday, February 2, 2008

The Yamaha P2100 Amplifier

The P2100 was introduced in 1977, about 10 years before the P2075, and it's interesting to look at the differences that there are in the circuits of these two amplifiers.

The 2075 is about a 50 W/Channel stereo amplifier. It includes fully balanced inputs thanks to a pair of JRC op-amps, as well as monolithic chip driver and amplifier stages. While you may sniff at the chip amp design, they did a lot of things better in the 2075 than in the 2100. The inputs are truly balanced, many of the audio signal resistors are metal film, copious amounts of bypass capacitors are used throughout the design, and the output stage is heavily protected. Also, the 2075 relies on a lot of ceramic capacitors used as bypass caps.

On the other hand the P2100, while it has a completely discrete audio path, has a single ended input, and almost no bypass capacitors to speak of. The power supply rails go through three different boards with no local capacitor storage at all. While the resistors are mostly cheap carbon composite the capacitors are all polystyrene or tantalum. There's also almost no output protection to speak of. A couple of thermal cut off switches attached to the heat sinks are all you get.

Both amps use several cemented resistors especially near the output stages.

So, the question is what to do, what to do. First, the 15,000uF/86V screw terminal storage caps in the power supply are completely unavailable today. I'm going to have to find suitable substitutes. This probably means designing a new power supply board. If I'm going to do that, I might as well throw in some discrete, zero-recovery diodes, and large value bypass caps.

Next, the cement and carbon comp. resistors will have to go. So will every single electrolytic in the unit.

Last, if I get really ambitious, I'll design a new input driver board to turn the input into a truly balanced design. I'll probably use the design from the 2075 to stay true to the Yamaha spirit.

More when I start ordering parts. :)

Saturday, September 8, 2007

Being a Harvard Extension School Student

It may be obvious if you think of it, but in your life, the most important upgrades you can make is to yourself. That is, to upgrade your capabilities mentally or physically. As a result of this kind of thinking I have begun taking courses at the Harvard Extension School (HES).

One of the most frequent difficulties I have is explaining to others what it means to be a student of HES, compared to a "real Harvard student." I'll try to answer this for students, potential students, parents and anyone who wants a quick overview of how the two schools are different.

As the HES website notes, of all the colleges that make up Harvard University, only two grant undergraduate degrees, HES and the Harvard Faculty of Arts and Sciences (FAS).


We can divide the differences between HES and FAS in the following broad categories:
  • Admissions
  • Size
  • Course selection
  • Price
  • Community
  • Props
Admissions
HES is easy to get into compared to FAS. This is one major reason HES students just don't get the respect. More below. Harvard keeps a severe boundary between admissions to HES and FAS. The only legitimate way to get into FAS is to go through the FAS admissions process. There is no transfer of students between the two schools.

Size
Harvard FAS has approximately 6,000 undergraduate students enrolled in any given year, while HES has about 600. Also, according to my calculations, HES accepts around 120-180 degree applicants per year. So one way to look at it is that HES is a very small college in a huge university. As a student, the relationship you have to the undergraduate office is really intimate. They know you. Your not going to get away with much, so be careful who you flip off while driving or walking through Cambridge, it could have an immediate effect on your academic progress.

Course Selection
Academically, the biggest difference is not in quality, but in quantity. If you look at the picture above you'll see the Harvard Faculty of Arts and Sciences course catalog on the top, with the HES course catalog on the bottom. The difference is HUGE. FAS offers many more courses, and many more degree specialties. While HES offers many areas of "serious" academic study, it offers no practical art class and only 5 music classes, with only one touching on western art music (i.e. classical). If I may launch from the words of Professor Robert Levine, with apologies, who argues that classical music is essential to the educated mind, if not soul, this lack of potential for a classical musical education is a place where I really wish FAS would improve and then promote. It would give the school a richness I think is missing.

As far as academic quality and rigor of study, HES shares many of the professors from other Harvard colleges, including not only FAS but Harvard Medical School as well, and some classes are identical, given by the same teachers, using the same materials and grading. Indeed, in order to get an HES degree, you must complete at least 52 units with Harvard faculty.

There is however a very bright side to all of this. Keep your GPA over 3.33 and you can apply for special student status, allowing you to take courses through FAS (at full FAS prices!) during the day. A major incentive not to ever get an F.

Price
The prices for courses at HES are very reasonable, it's like an expensive community college. Undergraduate, for credit courses are around $700-$900 each.

Community
The other big way in which HES is different than FAS is the sense of community. There are student organizations and student led activities but with the average student working full time and not living on campus it doesn't feel like a college experience to me, and that is a sad thing. I regret not only not having finished my undergrad when I was young but also not having made the lifelong friends people make in college.

Props
What the social standing / pecking order is of HES students compared to FAS students is a huge and real issue. It is too big a topic for this entry but I am going to spend some time researching it and writing on each aspect of it in the future. But, the quick answer is, right now there isn't much consensus even within the university. Students from FAS and HES don't actually know how to act around each other. It's pretty funny sometimes, sometimes it's sad. Do FAS students say they go to Harvard or FAS? Should extension school students say they go to Harvard or HES? Is that discriminatory or honest? See how messy this is? It's like a bad joke that begins:

"Two Harvard students walk into a bar, the bartender looks up and says ......... "

Works Cited
Even though this IS just a blog, Harvard (FAS and HES) takes plagiarism very seriously, so to avoid being accused of not citing sources 50 years from now as I'm about to accept my Ph.D. (hah!) I would like to note my sources. Much of the materials here are from the HES and FAS websites, and catalogs, especially the Harvard Fact Book, and the Harvard at a Glance web page.

Tuesday, June 19, 2007

There's no Such Thing as a Good Remote

My perfect remote control is an old Marantz RC2000. It was a hungry beast when it came to batteries, but it was an awesome remote when it came to behaving just like you wanted it to, visibility and reliability.

The Logitech Harmony 520 remote, by comparison, was svelte, a battery miser, and an absolutely selfish, manipulative bitch of an appliance. I took particular glee in recycling it's innards when it froze up on me and no amount of replacing the batteries would work. About a week after I had thrown it out, Logitech sent me a very nice e-mail informing me about the remote's "safe mode" boot process. Sorry, too late. I've moved on. Damned if I want an appliance in my life which needs a "safe mode" to boot. Damnit, would it have cost them that much to include a reset button underneath?

I purchased a new Marantz 1400 from Accessories4Less which made it a bargain, and it arrived promptly, with no fuss.

The good news:

  1. Easy programmability, not only text, and buttons but especially, the MACROS are a breeze compared to the lame ass browser/wizard based interface Logitech uses.
  2. Most devices were built in.
The bad news:
  1. Really poor visibility of the LCD
  2. Won't learn new Samsung TV commands (but built in Samsung codes work), leaving me without the compass buttons.
  3. Theta commands not built in.
Am I happier than I was with the Logitech? Yes! Am I completely satisfied? No.

For those of you out there with remotes which do everything you need, tonight, when you are watching Stargate SG-1 re-runs in Dolby Surround, hold the remote close to your breast, and tell it how lucky you really are.