Till now, all my measurement equipment consisted of a cheap sub $5 multimeter and a soundcard as a poor man's scope. That means, I were mostly blind for anything over say 20kHz, but mostly I were lazy enough not to set up the soundcardscope, so I were mostly limited to DC.
 |
| IT'S ALIVE! |
But that has changed. I've got a new friend!
It's an old
Philips PM3216 (good luck finding any info about that one!), a dual channel, analog oscilloscope which claims to go to whopping 35Megahurtz! Wowzers!
The seller actually claimed this scope was unable to turn on, so he sold it as
broken. And if you try to google for a service manual for this scope, all you've got is a couple of ones in paper form on eBay, but I don't really know anyone who'd want to buy one. So, that meaned the scope's price went quite low -
for about $20, instead of more typical $150+, which is what most scopes go for at a local auction site I bought this on.
The seller happened to live in the same city as I do, so I just went and picked it up, which means
no postage and instant delivery, so I were quite happy about that.
When I went home by tram, I started to look at the scope a bit more in detail. The buttons looked ok, knobs felt great, and everything looked pretty darn nice, apart from a bit of a dust on the front panel, which is really nothing to worry about. The first thing that struck me was the
lack of any power button!
So I started to look at the front panel a bit more - and then realized the ILLUM pot, right over the POWER LED has a marked position saying OFF, which other pots don't. It was in the same color as the 'power', and when I turned the pot, it felt like there's a switch attached to it! What a fool, that seller...
When I came home, I plugged it in. Turned the Illum knob, and
it worked! I felt really happy, which is something that doesn't happen very often.
So I sat and started playing around with it. I realized I have no probes nor any BNC connectors, so what I did is I took a piece of copper wire, bent it 180 degrees, and slapped it into the middle of a BNC connector. It fits perfectly. So I'm using those as temporary probes. Where's the ground lead there I hear you ask. Well, there's a banana/wirescrew groundpoint on the front as well, so I just screwed a wire into that, and put it into a breadboard.
Good enough for now. I'll make myself a pair of probes once I have the money for that.
 |
What do you get when you combine me,
and Arduino, a DAC and an analog scope? |
So then I wondered what to do with it. I rumbled for a while in my parts bin and found an
MCP4822, which is an SPI,
12-bit dual channel DAC with a built-in reference. It also turned out there's an Arduino library for it out there, so I slammed it into my breadboard, whacked a couple of wires to it to the arduino and connected 'probes' to the outputs. Made the scope go XY-mode, and started playing around.
That ended up with writing myself a 'library' to draw some text on the screen! It's a pixel-based font, 7x5. You can see an example of it on the right. I ran into a little problem though - the arduino can't push much more than that to the DAC quickly enough, so anything more and you'd see some flickering on it, which doesn't really please the eye. I wanted to do some vectory stuff as well, but I couldn't really be bothered. The next thing I did was writing a basic
Pong! game for it,
but I don't have any pictures of that yet, maybe that would make for a next blog entry, check it out, it's the next blog entry.
If you managed to read this all, you deserve a cookie.