Monday, April 10, 2017

Repairing Oregon Scientific WGR800 anemometer

First, I'm aware of how hilarious it is that this is the first post in almost 10 years.  What can I say, my attention has been elsewhere directed.  And why am I posting this now, you ask?  Because I feel I have something to say which others may find of use.  I feel I should also add that I'm greatly tempted to delete most, if not all, of my previous posts ... I'm older now; I'll leave it at that.

Anyway, let's move on.

The Problem...

I maintain a small, basic weather station.  It's an Oregon Scientific WMR88 which is kinda the base model when it comes to weather stations that do more than tell you the time, temperature and barometric pressure.  This little setup collects wind and rain data in addition to the aforementioned basics and has done since 2012 when my better half bought it as a birthday present (clever cookie she is).  Now, almost 5 years on, the anemometer has stopped taking wind speed measurements and it turns out the bearing has gone kaput.

What to do?

Well, googling seems to show that most people either update/graduate to another system, or some might even track down a new sensor.  Neither of those options appealed to me firstly because I have a significant investment in time spent coding my own solution to read the messages this thing sends out and secondly because I'm looking at around $145 for a new sensor.

The Solution...kinda

Luckily, a single web site, in French no less, had the answer: http://www.station-meteo.com/forum/station-meteo-oregon-scientific/anemo-wgr800/.  What this site says, in a nutshell, is that a) the bearing can be changed and b) the bearing is of type 623ZZ.  What it doesn't say much of is how to go about changing it.  There was a single post stating that the "...bottom plug is mounted on grooves...".  All true but I aim to expand on that a little more.  Unfortunately, I didn't take my own advice and take photos of the operation so you'll have to wade through my descriptions and figure it out as you follow through the steps.  It's also probably a good idea to give this a full read through before you start to familiarise yourself with the steps involved and any "gotchas" I'll note. 

What You'll Need

Before we go any further, you'll obviously need to source that bearing.  Search ebay for "623ZZ" and you'll find plenty of options to suit your particular needs.  I bought 4 for a few spares (I'm wondering if the 'vane' bearing might also be getting close to end-of-life...) for $5 delivered.

As for tools, I used a small precision screw driver set (10pc in small black plastic case; you've seen them I'm sure) which can be had for about $5 from ebay.  Tweezers are handy, unless you've got the hands of a surgeon, and pliers.  My eyes aren't what they used to be so I also used a good strong light source and magnification for the fiddlier bits.  You might also want to grab a small container to put the parts in as you dismantle the unit to save you chasing a tiny screw around the floor.

Something else to bear in mind as you tackle this work, after some years in the elements, that plastic is likely to be brittle.  Should you get a little over zealous or let your frustration get the better of you, there's a distinct possibility of cracking the housing somewhere or perhaps even breaking off one of the anemometer cups which, needless to say, pretty much means you can pack up and trash the whole thing.  The fact that you're reading this means I made it through safely...but I reckon it was a damn close call.

Ok, let's get down to it.

Disassembly

Start by unscrewing the spinning hub from the body of the sensor unit, the same as you would to replace the batteries.  Inside, you'll find a pretty basic setup with a 'mast' topped by a black 'donut-y' thing secured with small 'C' clip and a couple of small philips-head screws holding down a white bracket (sorry to have to use technical terms).  That mast spins with the anemometer cups and you'll see the bearing that's caused the problem underneath that.

At this point, it's always a good idea to have a close look and take notes about what you're working on before you've taken anything apart.  Note things like the orientation of brackets and moving parts, the position of parts in relation to each other, etc, etc.  Write it down if you want.  Better yet, take photos (ahem...yes, well).  Sometimes even simple operations can go bad and having a reference for how things should fit can save a LOT of anxiety.

Now, using a small flat-head screwdriver, remove that c-clip, carefully!!!  Those things can fly off unexpectedly and, given its size, you'll never see it again and that'll be the end of your sensor.  With a small enough screwdriver placed into one of the gaps in the c-clip and twisting against the shaft (as you would to tighten a screw), you lever the clip from it's groove.  You'll see what I mean.  Just keep a finger against the clip as you guide it off to prevent it flying away.  Also, don't bend the clip because that'll also signal the end of your sensor since they don't work too well once deformed.  The black thing will now slide off easily and those 2 screws can come off too along with the bracket they hold down.  You'll now be looking at the shaft mounted in the bearing.  Feel free to take another photo.

That's the easy part done.  What comes next I'll describe as best I can but you'll need to gird thy loins because it could be frustrating.  If you turn the unit over with the anemometer cups stickup up, you'll notice a small plug in the center.  Underneath that is the other end of the shaft the bearing is mounted on and, as mentioned in that forum post linked to above, the plug you're looking at is VERY snuggly mounted on the grooves of the shaft; it might even be glued.  The aim is to remove that plug, allowing you to gently tap the shaft through the housing thus gaining access to the bearing, which simply slides off.  You might also notice that there's no obvious way to remove that plug, which is where the fun starts.  If you're better than me, you'll remove it without actually destroying it.  Alas, I was not up to that challenge and the plug for my unit is now history, basically having hacked the crap out of it.  If I had it to do over, I might try and use 2 small self-tapping screws (like the ones holding down that bracket perhaps?) on either side of the plug and use some pliers to pull the plug off.  I have a feeling that might work but you'll need those screws to have a good grip; it's a tight fit.  However you manage it, the plug is the hard part and after that, it's all very simple.  With the end of the shaft exposed, you gentle tap it through towards the inside of the housing.  Once through, as I said the bearing just slides on and off.  As far as I know, the bearings I got were symmetrical so I didn't pay any particular attention to which way I put the new bearing on.  You may want to confirm that with your bearings, just in case.

Reassembling

Similarly to how you removed the shaft from the housing, you'll need to gently tap the shaft, with the new bearing in place, into the housing from the other side.  I didn't notice any particular way to know how far to keep tapping except for how far the shaft stood up in the hole where the plug was.  Sound is usually a good guide but I was more worried about cracking the housing so I could have missed something.  Regardless, make sure the shaft goes all the way home.

Back inside the housing, you'll notice that the shaft has a flattened 'landing' close to the where the bearing sits.  That will match the internals of the magnet thingy (technical term there...) and you'll need to make sure that you feel them 'snick' together when you slide the magnet thing home, otherwise you'll never get the c-clip on.

Again, regarding that c-clip, you'll need to use caution.  Getting them on can be harder than taking them off so just be patient and take your time.  The general approach is to use a flat-head screwdriver, larger than the one you used to take it off and, with the clip in it's starting position, you simply push the clip home with the flat edge of the screwdriver.  Sounds simple but things can go wrong.  Firstly, getting the clip into the starting position can be fiddly because of the magnet underneath.  Here's where those tweezers really earn their keep.  If you don't already know it, that c-clip fits into a shallow groove on the shaft and trying to get that clip around the shaft anywhere but that groove just isn't going to work.  So, using those tweezers, place the clip so that the 2 ends are sitting in the groove.  Then, using the broad, flat side of the screwdriver, gently push the clip so it clicks into place.  As with removal, the risk of unauthorised flight is significant so you might want to try and block any escape routes as best as possible.  Secondly, the contact point between the clip and the screwdriver is, shall we say, limited so the natural tendency will be for the clip to slide on the face of the screwdriver.  As you can probably imagine, this is how clips get bent which, as I mentioned above, will generally render the clip useless.  The trick is to apply the required force directly towards the center of the shaft.  If you have the screwdriver face vertically angled at anything other than 90° relevant to the clip, you'll have problems.

You should now have a smoothly rotating, and thus operational, anemometer.  Congratulations!

Final Notes

On the assumption that the bottom plug was there to keep the shaft dry, blu-tack is covering the hole left by the trashed plug and I assume that's temporary.  I don't know if it's waterproof enough for the application and I really should check to make sure it's not hygroscopic.  If blu-tack isn't up to the job, I guess I could use duct-tape but I'll need to be careful not to upset the balance of the anemometer.

Considering how much I paid for the bearings, I find myself wondering how long the new one will last.  I have seen single bearings going for as much as $10 each.

Anyway, hope that helps someone.

Wednesday, October 29, 2008

Beware: your keyboard may be tattling on your typing

Security researchers in Switzerland have found four different ways of
snooping in on the signals that get sent down the wire from a keyboard
to the computer it's controlling, none of which require access to the
hardware.

http://arstechnica.com/news.ars/post/20081028-beware-your-keyboard-may-b
e-tattling-on-your-typing.html


-----------------

Basically, what they're telling you is that it's now possible for
someone to 'read' what you're typing on your keyboard without your
knowledge from up to 20m away!! This only used to be a problem for
wireless keyboards but this is a problem no matter what keyboard you're
using (wireless, USB, PS/2 or even a laptop keyboard!)

On the plus side, the more of these security holes get exposed, the more
that get fixed. The question is whether they get fixed (and whether
those fixes get implemented) before a hacker takes advantage.

Do you live next door to propeller-heads? I hope you're friendly with
'em...

Tuesday, July 12, 2005

A book dare I write?

The idea of putting what I observe into a book seems to get more appealing every day. Thinking about the logistics, possible topics for inclusion, target audience, methods of exposure, etc, etc.

Last night I had a thought that might lead to both a title and a theme for the book. While reading about how the Meat Packer Assoc. of America dealt with the first public outcry's about Upton Sinclair's expose on the conditions of the meat industry, it occured to me that these big corporations behave like a master race or at least above humanity. They lie directly to your face without batting an eye lid and when that doesn't cool the heat, they obfuscate, deal false truths, undermine, etc with brazen impunity. Anyone who shows the gall to actually get them into a court room is drowned paper work till the prosecution can no longer function with the realms of the court system. Governments are either no good or actually side with the corporations since they see themselves beholden to these companies for their election campaign contributions, or won't do anything because it's "breach of free trade" or some other bollocks and inevitable concludes with caveat emptor or similar platitudes.

So, are we, the consumer, a slave race?

We dutifully do our duty of spending according to who generates the most eye-catching and overt advertising. Regardless of where we spend, the fact is that many of us feel compelled to spend, even to our own detriment. We place ourselves in debt to spend. Society, is built around that tenet that "thou must spend". Advertising campaigns are the commands sent down from on high and we listen carefully.

In the documentary "McLibel", a TV shot of George W Bush speaking about the effects of terrorism illustrated the stance of current policy makers nicely. George, in his transparently arrogant way, wasn't worried about how this would affect education or healthcare. No, with incredulity, he stated that terrorism wouldn't stop us from conducting business ... wouldn't stop us from shopping! There's a man who is genuinely concerned for humanity. Not.

A slave race? I think that maybe there's some truth to that.

Thursday, April 28, 2005

Ongoing observations regarding "The Trained Consumer"

Yesterday, I convinced a work mate to rethink artificial sweeteners as a fat reduction strategy. On the face of it, that's a win. In fact, I was so successful, they threw a partially consumed can of soft drink away.

The information I used to perform this feat of magic was taken from the book, Why We Get Sick: The New Science Of Darwinian Medicine by Randolph M. Nesse & George C. Williams, which puts forward the following untested but provocative theory:

What if, when the body senses that it is about to ingest sugar (ie tastes something sweet), it reduces the rate at which it is converting the bodies energy stores to glucose, the expectation being that the ingested sugars will balance the shortfall. If the shortfall is not met, obviously the blood glucose level will drop which produces a hunger response, and perhaps, a craving for sweet foods. The outcome being that the benefits of low-calorie sweeteners is offset, and possibly reversed, by food cravings.

An offshoot of low cal response would of course be more products sales which is good for the corporate bottom line.

I'm sure there would be a fair amount of controversy generated by such a hypothesis if it were to come under public focus but still, I think it may have some merit.

Anyway, the point I'm making is that I felt uncomfortable with the fact that my colleague had taken what I'd said to heart without asking a single question. As I said to my girlfriend last night when I was relaying the story for her, my aim is not to preach to people to change them but to provoke them into finding answers for themselves.

By my own admission, I'm an idealist. I do however acknowledge that my approach to life is a luxury that many other people don't have. What works for me is definitely not for everyone. Which is why I feel uncomfortable when someone accepts my rantings without question. However, I find it very hard to stand by and watch someone I associate with abuse themselves in ignorance.

Sure I may be wrong but at least I don't have a vested interest. No doubt there's more to follow...

Religious faith as a means to keep the masses simple

I've just been reading a few of the entries on "The Celebrity Atheist List" and found Steve Wozniaks entry refering to an email that states that Bill Gates, Linus Torvalds and Larry Ellison are all atheists or agnostic. Steve admits to being "atheist or agnostic", also admitting that he doesn't know the difference.

It occured to me that believing that a god has a plan for you or is otherwise watching over you, or that life goes according to god's plan is a real nice, easy method of social suppression. How many people throughout history have chalked their losses, failures down to "god's will" and left it at that rather than trying again until achieving success?

I wonder how what the ratio is of atheism/agnosticism vs religious beliefs among successful people. And I'm talking about fair dinkum religion, not that bullshit American god of capitalism and ass kissing. Does that ratio match a corresponding enquiry among the general public? I would bet that there's an imbalance towards religion being rarer the higher up the ladder of success we go.

Thursday, April 21, 2005

Blogging via email

Well, it's got to be about 6mths since I've posted here. Mainly because I
couldn't be assed going through all the crap of actually posting. However,
I just discovered or maybe re-remembered that a post can be submitted via
email. Post via email? Hell yes! I can even post from my mobile via email
for christ sakes!

So, now that I've finally joined the rest of blogging humanity in posting
via email, we'll see if I've got anything to actually say via email.

Or something like that...

I'm assuming I'll get better at this.

Thursday, October 07, 2004

Farewell programmer, behold Software Architect

I spent a good part of today, not unlike most days, searching, writing, testing, backtracking and just generally feeling my way around the .NET framework (fx). There can be no doubt that it's an impressive piece of work and, it has to be said, I love it. But, the purist in me wonders what I'm losing (nay, throwing away) by being so lazy.

As part of my thinking process, I still refer to my days (well, yeah ok, nights) of building my C programs on the Amiga. The environment I had trained myself to use was strictly command line and self-rolled scripts. I thought it was pretty flash at the time. And yet the .NET Visual Studio environment is like the finest ice cream to a tea-spoon of sugar. But that ain't necessarily a good thing.

It took me a while to realise that learning a programming language isn't the hard part. It's learning the API or object model of the environment that takes the real work. I spent many hours trawling through the Amiga OS docs, marveling at all those functions and looking forward to the day when I'd have a project that would require me to learn how to use them. Going from VBA v5 (Excel/Access 97), which at the time I thought insurmountable, to VBA/VB v6 to .NET VB/C# has been a continuous seemingly vertical learning 'curve'. The funny thing is, I discovered today that it requires 2 lines of VB.NET code to open and post to a system wide Event Log of my own creation. A few days ago, I found out that it takes about the same amount of code to find out the name of the function that called the current function. These are not simple undertakings, at least I wouldn't have thought so. So what are we losing???

Back on the Amiga, I started out programming in AmigaBASIC. It didn't take me long to dump that and head for C, a much more satisfying and malleable tool. 68K assembly made a brief showing too, the two seeming to be very closely related and never far away from each other. Of course that could be because of Matt Dillon's excellent DICE compiler but I digress. I didn't move from BASIC because of speed issues, although that would have been a valid reason. I moved to get closer to the hardware and have more control over the actual code that was run. In fact, I usually took great panes to make sure things ran as efficiently as possible. It took me a long time to come across to the PC partly because of the bloat of the programs, which seemed to be simply reeking of inefficiency. On the Amiga, I could write a "hello world" program, in C, that compiled and linked to a 400 byte executable. The smallest program I could write on a PC was something like 16KB. Is it any wonder a 7Mhz Amiga felt like a 33Mhz 386?

Is David (a colleague) right to continue to write and debug his code in an environment that is little more than a fancy shell for a basic text editor? Is the frustration I feel when I see him racking his brains trying to hunt down a bug that simply would not happen in a more sophisticated environment, proportional to the level that I've been spoilt by the bells and whistles? Is he really disadvantaged by using an environment that does not dangle under his nose the spoils of the fx such as Remoting and Timespan types. I wonder. Unbeknownst to him, is he not 'paying his dues'?

In my defense, I think I've payed most of my dues and discovering all these new 'toys' in the fx and CLR has renewed my enthusiasm. These days, I feel more like a conductor than one of the instrumentalists as far as programming is concerned. In fact, I think the term programmer should be struck from current language, software developer being much better suited to the actual work. And besides, I can fire up WinUAE anytime and relive those days where you got two fifths of fuck all for free but the rewards were perhaps more valued.

Saturday, October 02, 2004

Ta Da!

My first blog post.

This here this is supposed to help me organise my thoughts as well as keep track of the shit that flows through my head these days. Far too many interests for my own good.

Oh yeah, and we may as well jump on the bandwagon ay??