Tiny Function Generator on the ATtiny85, Complete with OLED

It’s easy to have a soft spot for “mini” yet perfectly functional versions of electronic workbench tools, like [David Johnson-Davies]’s Tiny Function Generator which uses an ATtiny85 to generate different waveforms at up to 5 kHz. It’s complete with a small OLED display to show the waveform and frequency selected. One of the reasons projects like this are great is not only because they tend to show off some software, but because they are great examples of the kind of fantastic possibilities that are open to anyone who wants to develop an idea. For example, it wasn’t all that long ago that OLEDs were exotic beasts. Today, they’re available off the shelf with simple interfaces and sample code.

The Tiny Function Generator uses a method called DDS (Direct Digital Synthesis) on an ATtiny85 microcontroller, which [David] wrote up in an earlier post of his about waveform generation on an ATtiny85. With a few extra components like a rotary encoder and OLED display, the Tiny Function Generator fits on a small breadboard. He goes into detail regarding the waveform generation as well as making big text on the small OLED and reading the rotary encoder reliably. His schematic and source code are both available from his site.

Small but functional microcontroller-based electronic equipment are nifty projects, and other examples include the xprotolab and the AVR-based Transistor Tester (which as a project has evolved into a general purpose part identifier.)

Low Cost Lab Frequency Reference

[Mark] wanted an accurate frequency reference for his electronics lab. He specified some requirements for the project, including portability, ability to work inside a building, and low cost. That ruled out GPS, cesium standard clocks, rubidium standard clocks, and left him looking for a low cost Oven Controlled Crystal Oscillator (OCXO).

The Low Cost 10 MHz Frequency Reference is based around a Morion OCXO. These Russian oscillators are available from eBay second hand at about $40 a pop. With a stability well within the requirements, [Mark] order a few.

The next step was to stick all the components in a box. The two OCXOs in the box need about 3 amps to heat up, which is provided by a 12 V PSU. For portability, a sealed lead acid battery was added. The front panel shows the supply voltages, switches between mains and battery supplies, and provides connectivity to the OCXOs.

Since OCXOs work by heating a crystal to a specific temperature, they can use quite a bit of power in the heating element. To increase battery life, a neoprene foam insulator was wrapped around the OCXOs.

For less than $100, this portable tool will aid in calibrating equipment or creating very accurate clocks.

Neosporin…the Retrobright for bench equipment?


[linux-works] picked up an old power supply from eBay, and as it was built back in the 60’s or 70’s, it was in need of a little TLC. One thing that immediately caught his eye was the condition of the knobs, dials, and banana plug receptacles – they were dull and faded, showing off 40+ years of heavy usage.

He started off by simply removing the knobs from the power supply, giving them a thorough cleaning with soapy water before leaving them to air dry. They didn’t look any better afterward, so he decided to take a different approach and apply some triple antibiotic ointment to the knobs. As it turns out, letting the ointment sit for a few minutes then wiping the knobs with a soft cloth really made them shine, as you can see in the image above. [linux-works] attributes the effect to the white petrolatum base of the product rather than the antibiotics, likely making a wide array of products equally suitable for the job.

We know how well Retr0bright has worked for the vintage computer folks, so we’ll be interested to see how long the effects of the triple antibiotic treatment last. It certainly can’t hurt those readers who spend their time perusing flea markets in search of classic electronic equipment.