DIY High Stability Timebase Hack For ~$25. Why? Frequency Stability Matters!

DIY High Stability Timebase OCXO

If you have an old “Racal-Dana 199x” frequency counter or similar 10 MHz internally referenced gear with a poor tolerance “standard quartz crystal oscillator” or bit better “temperature compensated crystal oscillator” (TCXO) you could upgrade to a high stability timebase “oven controlled crystal oscillator” (OCXO) for under $25. [Gerry Sweeney] shares his design and fabrication instructions for a DIY OCXO circuit he made for his Racal-Dana frequency counter. We have seen [Gerry] perform a similar upgrade to his HP 53151A, however, this circuit is more generic and can be lashed up on a small section of solderable perf board.

Oven controlled oscillators keep the crystal at a stable temperature which in turn improves frequency stability. Depending on where you’re starting, adding an OCXO could improve your frequency tolerance by 1 to 3 orders of magnitude. Sure, this isn’t as good as a rubidium frequency standard build like we have seen in the past, but as [Gerry] states it is nice to have a transportable standalone frequency counter that doesn’t have to be plugged into his rubidium frequency standard.

[Gerry’s] instructions, schematics and datasheets can be used to upgrade any lab gear which depends on a simple 10 MHz reference (crystal or TXCO). He purchased the OCXO off eBay for about $20 — it might be very old, yet we are assured they get more stable with age. Many OCXO’s require 5 V, 12 V or 24 V so your gear needs to accommodate the correct voltage and current load. To calibrate the OCXO you need a temperature stable variable voltage reference that can be adjusted from 1 to 4 volts. The MAX6198A he had on hand fit the bill at 5 ppm/°C temperature coefficient. Also of importance was to keep the voltage reference and trim pot just above the oven for added temperature stability as well as removing any heat transfer through the mounting screw.

You can watch the video and get more details after the break.

Continue reading “DIY High Stability Timebase Hack For ~$25. Why? Frequency Stability Matters!”

Making A HP Frequency Counter More Accurate

[Gerry] built his own high stability timebase add-on for his HP 53131 frequency counter. This project started out after [Gerry] built a rubidium 10 MHz standard for his lab. Upon connecting the standard to the frequency counter for calibration, he found that the HP 53131 had an awful internal oscillator. The official high stability timebase add-on from HP cost about $1000, and he was determined to do better.

Using a second hand OCXO as the oscillator, he designed his own add-on module. OCXO modules pack a crystal oscillator in a thermal chamber. Since temperature fluctuation causes drift in crystal oscillators, an OCXO controls the temperature to keep the frequency constant. They can be bought second hand on eBay for under $30.

The PCB design for the module can accommodate a variety of OCXO modules. It uses a high speed comparator and a high stability 5 volt reference to provide the clock signal to the counter. A DAC is used to calibrate the oscillator. By keeping the same DAC as the original counter, the add-on board can be calibrated using the front panel of the device.

The project is a drop in replacement for HP’s $1000 module for a fraction of the cost. [Gerry]’s write up has all the details you’ll need to build your own.

Continue reading “Making A HP Frequency Counter More Accurate”

Arduino As An Inexpensive Ham Radio Frequency Counter

[Todd Harrison] really has our number. Like him, we don’t want to spend money when we don’t have to, and hacking our own solutions is a lot more fun anyway. This time around he’s helping out a friend who is a ham radio enthusiast. The friend’s radio didn’t come with a frequency display, and buying the add-on would cost more than the radio did. So [Todd] has set out to build an Arduino frequency counter for a Kenwood TS-520S HF ham radio.

This post (and the video found after the break) doesn’t cover the entire project. It’s rather involved just to make sure that [Todd’s] initial idea is viable so he spends about 35 minutes explaining the problem, then measuring the radio outputs and testing to see that the Arduino can read them accurately. Because the radio has a very large range of operation, [Todd] will need to add external component to facilitate this. That extra circuit design will be the topic of the next project segment.

Continue reading “Arduino As An Inexpensive Ham Radio Frequency Counter”

7400 Frequency Counter

This frequency counter is [Miguel Pedroso’s] entry in the 7400 Logic contest. After looking at the design we think this is a perfect project for those who have not worked with logic ICs before. The concept is simple and [Miguel] does a great job of explaining his implementation.

At its heart the device simply counts the oscillations of an input signal for one second, then latches the total to the 7-segment displays before zeroing the counter block and starting over. Six 4029 decade counters give the device a range of 1MHz. A set of 4511 BCD to 7-segment decoders translate the count to the display. A 4521 frequency divider chip uses an on-board 4.194304 MHz crystal oscillator to time both the display latching and the counter clearing. [Miguel] mentions that tuning the load capacitors is a bit tricky. Since breadboards have their own capacitance issues it may be necessary to change the load capacitor values when moved to protoboard or the crystal won’t start oscillating. You can see those caps are not the same value, but the tests in the video after the break show that this is pretty much spot-on.

If you’d rather give this a try in HDL here’s an FPGA-based frequency counter from which you can draw some inspiration.

Continue reading “7400 Frequency Counter”

Building A 100 MHz Frequency Counter

The great thing about building with gates is the crazy speeds you can achieve by using hardware directly (as opposed to working with simple microcontrollers). This 100 MHz frequency counter is a great example. [Michael] just finished building it using a Papilio board.

Of course we’re not talking about discreet chips here. The Papilio is an FPGA development board which means he is building with hardware gates, but that is still done by writing code. Above, the rig is measuring a 25 MHz being generated by a second FPGA board. Using the Papilio’s on board 32 MHz clock the device is capable of counting a frequency up to 100 MHz. You can see it measuring a 96.875  MHz signal in the video after the break. One interesting thing about that clip is that near the end he touches the crystal’s case with his finger and the Hertz really jump for a moment.

If the 8-digit display looks familiar that’s because [Michael] recently published a library to use it with an FPGA.

Continue reading “Building A 100 MHz Frequency Counter”

Adding USB Connectivity To Old Benchtop Tools

frequency_counter_hacked_for_usb_connectivity

[Scott] was recently given a frequency counter, and once he brought it home, he started contemplating how he could possibly make it better. While the counter worked well as-is, he wanted to find a way to record data readings over a reasonably long period of time. He figured that interfacing it with his computer would be the best way to do this, but he had to find a way to connect the devices first.

He started poking around inside the frequency counter and stumbled upon a possible data source when taking a closer look at the display board. He found that he could read the frequency data as it was being written to the display, and send that data to his computer. He used an ATMega48 to intercept the data and code from the V-USB project to bit-bang the data to his PC over USB.

Now, anything he sees on the frequency counter can be easily collected and graphed on his computer with little fuss.

Stick around to see a quick video demonstration of his hack in action.

Continue reading “Adding USB Connectivity To Old Benchtop Tools”

Precision Frequency Measurement Library For 8-bit Microcontrollers

[Paul] has been working on porting over Arduino libraries for use with the Teensy microcontroller platform. This tends to be pretty simple since they both use the same Atmel chip architecture. But once in a while he finds the Arduino libraries are not what they’re cracked up to be. When looking to port over a frequency measurement library he ended up writing his own that works better and is much more portable.

He had two big beefs with the Arduino Frequency Counter Library. The first is that it required the compensation factor the be calibrated using an accurate frequency counter. That’s a chick-and-egg problem since many people who build a frequency counter with an Arduino are doing so because they don’t already have a standalone tool. The second problem is that the Arduino library was hardcoded for ATmega168 or ATmega328 chips.

This new library fixes both issues with just one trade-off. Your hardware setup must be using a crystal oscillator. You can see above in the image above that the frequency measurement is quite accurate with this method. The package also uses a thin abstraction layer which will make it easy to port to any 8-bit microcontroller which is programmed in C.