Upgrade Puts A Lot Of Zeroes On Kit-Built Frequency Counter

If there’s anything more viscerally pleasing than seeing an eight-digit instrument showing a measurement with all zeroes after the decimal point, we’re not sure what it could. Maybe rolling the odometer over to another 100,000 milestone?

Regardless, getting to such a desirable degree of accuracy isn’t always easy, especially when the instrument in question is a handheld frequency counter that was built from a kit 23 years ago. That’s the target of [Petteri Aimonen]’s accuracy upgrade, specifically by the addition of a custom frequency reference module. The instrument is an ELV FC-500, which for such an old design looks surprisingly modern. Its Achille’s heel in terms of accuracy is the plain crystal oscillator it uses as a frequency standard, which has no temperature compensation and thus drifts by about 0.2 ppm per degree.

For a mains-powered lab instrument, the obvious solution would be an oven-controlled crystal oscillator. Those are prohibitive in terms of space and power for a handheld instrument, so instead a VCTCXO — voltage-controlled, temperature-compensated crystal oscillator — was selected for better stability. Unfortunately, no such oscillators matching the original 4.096-MHz crystal spec could be found; luckily, a 16.384-MHz unit was available for less than €20. All that was required was a couple of flip-flops to divide the signal by four and a bit of a bodge to replace the original frequency standard. A trimmer allows for the initial calibration — the “VC” part — and the tiny PCB tucks inside the case near the battery compartment.

We enjoyed the simplicity of this upgrade — almost as much as we enjoyed seeing all those zeroes. When you know, you know.

The Crystal (High Voltage) Method

Do high voltages affect the resonant frequency of a crystal? Honestly, we never thought about it, but [Joe] did and decided to risk his analyzer to find out. He started with some decidedly old-school crystals like you might have found in a 1960-era Novice rig. Since the crystal is piezoelectric, he wondered if using a high DC voltage to bend the crystal to move the frequency to create a variable crystal oscillator (sometimes called a VXO).

He created a rig to block DC away from the network analyzer and then feed voltage directly across the crystal. The voltage was from an ESD tester that provides over 1000 volts.

Getting a crystal to change much in frequency is difficult, which is why they are useful. So we weren’t surprised that even at very high voltages, the effect wasn’t very large. It did change the frequency, but it just wasn’t very much.

At one point, it looked like he might have killed the test equipment. There was a time when letting the smoke out of a network analyzer would have been a costly mistake, but these days the cost isn’t that prohibitive. In the end, this experiment probably doesn’t produce any practical results. Still, it is interesting, and we always enjoy watching anything that gives us more intuition about the behavior of circuits or, in this case, circuit elements.

If you need a refresher on crystal oscillators, we can help. There are other ways to modify a crystal’s frequency, of course.

Continue reading “The Crystal (High Voltage) Method”

Clock Testing Sans Oscilloscope?

Like many people who repair stuff, [Learn Electronics Repair] has an oscilloscope. But after using it to test a motherboard crystal oscillator, he started thinking about how people who don’t own a scope might do the same kind of test. He picked up a frequency counter/crystal tester kit that was quite inexpensive — under $10. He built it, and then tried it to see how well it would work in-circuit.

The kit has an unusual use of 7-segment displays to sort-of display words for menus. There is a socket to plug in a crystal for testing, but that won’t work for the intended application. He made a small extender to simplify connecting crystals even if they are surface mount. He eventually added a BNC socket to the counter input, but at first just wired some test leads directly in.

Continue reading “Clock Testing Sans Oscilloscope?”

Ergo Keyboard Build Issue Becomes Crystal Clear

Somewhere between the onset of annoying hand pain and the feeling of worn-out, mushy switches, [sinbeard]’s keyboard dissatisfaction came to a head. He decided it was time to slip into something bit more ergonomic and settled on building an Iris — a small split keeb with an ortholinear (non-staggered) key arrangement.

The Iris is open source and uses an on-board controller, so you can have the boards fabbed and do a lot of SMD soldering, or get a pair of PCBs with all of that already done. [sinbeard] went the latter route with this build, but there’s still plenty of soldering and assembly to do before it’s time to start clackin’, such as the TRRS jacks, the rotary encoders, and of course, all the switches. It’s a great way for people to get their feet wet when it comes to building keyboards.

Everything went according to plan until it was time to flash the firmware and it didn’t respond. It’s worth noting that both of the Iris PCBs are the same, and both are fully populated. This is both good and bad.

It’s bad you have two on-board microcontrollers and their crystals to worry about instead of one. It’s good because there’s a USB port on both sides so you can plug in whichever side you prefer, and this comes in mighty handy if you have to troubleshoot.

When one side’s underglow lit up but not the other, [sinbeard] busted out the ISP programmer. But in the end, he found the problem — a dent in the crystal — by staring at the board. A cheap replacement part and a little hot air rework action was all it took to get this Iris to bloom.

Want to build a keyboard but need a few more keys? Check out the dactyl and the ErgoDox.

A Simple Science Fair AM Transmitter

A crystal radio is a common enough science fair project, but the problem is, there isn’t much on anymore. The answer is, of course, obvious: build your own AM transmitter, too. AM modulation isn’t that hard to do and [Science Buddies] has plans for how to build one with a canned oscillator and an audio transformer.

We don’t imagine the quality of this would be so good, but for a kid’s science project it might be worth a shot. Maybe something like “What kind of materials block radio waves?” would be a good project statement.

Continue reading “A Simple Science Fair AM Transmitter”

A PIC And A Few Passives Support Breakout In Glorious NTSC Color

“Never Twice the Same Color” may be an apt pejorative, but supporting analog color TV in the 1950s without abandoning a huge installed base of black-and-white receivers was not an option, and at the end of the day the National Television Standards System Committee did an admirable job working within the constraints they were given.

As a result of the compromises needed, NTSC analog signals are not the easiest to work with, especially when you’re trying to generate them with a microcontroller. This PIC-based breakout-style game manages to accomplish it handily, though, and with a minimal complement of external components. [Jacques] undertook this build as an homage to both the classic Breakout arcade game and the color standard that would drive the home version of the game. In addition to the PIC12F1572 and a crystal oscillator, there are only a few components needed to generate the chroma and luminance signals as well as horizontal and vertical sync. The game itself is fairly true to the original, although a bit twitchy and unforgiving judging by the gameplay video below. [Jacques] has put all the code and schematics up on GitHub for those who wish to revive the analog glory days.

Think NTSC is weird compared to PAL? You’re right, and it’s even weirder than you might know. [Matt] at Stand Up Maths talked about it a while back, and it turns out that a framerate of 29.97 fps actually makes sense when you think it through.

Continue reading “A PIC And A Few Passives Support Breakout In Glorious NTSC Color”

Understanding The Quartz Crystal Resonator

Accurate timing is one of the most basic requirements for so much of the technology we take for granted, yet how many of us pause to consider the component that enables us to have it? The quartz crystal is our go-to standard when we need an affordable, known, and stable clock frequency for our microprocessors and other digital circuits. Perhaps it’s time we took a closer look at it.

The first electronic oscillators at radio frequencies relied on the electrical properties of tuned circuits featuring inductors and capacitors to keep them on-frequency. Tuned circuits are cheap and easy to produce, however their frequency stability is extremely affected by external factors such as temperature and vibration. Thus an RF oscillator using a tuned circuit can drift by many kHz over the period of its operation, and its timing can not be relied upon. Long before accurate timing was needed for computers, the radio transmitters of the 1920s and 1930s needed to stay on frequency, and considerable effort had to be maintained to keep a tuned-circuit transmitter on-target. The quartz crystal was waiting to swoop in and save us this effort.

Continue reading “Understanding The Quartz Crystal Resonator”