DDS-based Rasp Pi function generator

Pass the Hat

© Lead Image © lightwise,

© Lead Image © lightwise,

Article from Issue 225/2019

A touch display, a case, and a custom add-on board transform the humble Rasp Pi into a high-performance function generator that rivals expensive commercial offerings.

Modern laboratory instruments are a marvel of integration, combining hardware, software, and often mechanical components to produce versatile and highly functional units that bring real value to the engineers and technologists who use them. In this article, I aim to show how such an instrument might be put together by combining the Raspberry Pi with several elements to provide a low-cost and flexible function generator that can rival its more expensive commercial cousins on price and possibly beat them in terms of flexibility.

Function Generator

A signal or function generator is a versatile frequency source able to output a signal in a number of output waveshapes and at an adjustable amplitude and frequency from direct current (DC) up into the high-frequency electromagnetic radio frequency (RF) region, depending on the application. Sophisticated instruments can also include frequency, phase, or amplitude modulation useful for testing radio transmitters and receivers.

No engineer's workbench is complete without such an instrument. Together with an oscilloscope, it allows an engineer to characterize the frequency and phase response of an amplifier, to test and calibrate counters and frequency meters, and to replace built-in oscillators in devices under test or during development.


Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Csound

    The powerful Csound software provides an impressive set of features for audio production and processing. We walk you through the entire system.

  • Free Software Projects

    C2h lets people talk to dolphins and whales, and if you happen to be a jazz musician, you will find a creative helper in Impro-Visor.

  • Software-Defined Radio

    Armed with a US$ 20 hunk of hardware and a free software-defined radio tool, Konstantin starts the hunt for radio-transmitted data from a weather station.

  • Pi FM Radio

    Low-cost RTL-SDR dongles can read frequencies between 24 and 1,766MHz. We built a simple FM radio with a Raspberry Pi, a USB dongle based on the RTL2832U chipset, an LCD HAT, and some Python code.

  • FOSSPicks

    Sparkling gems and new releases from the world of Free and Open Source Software.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95