Skip to content

BasicCode/function-generator-arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Function Generator

A function / signal generator based on the AD9833 function generator chip. It uses an LCD screen to display a waveform menu and output frequency, and has 5 input buttons (up, down, left, right, select) which are used to change frequency and waveform.
The project uses an old (discontinued) LCD screen from 4D systems and so you might want to modify the project with your own LCD and library as needed.

NOTE: This project is still in progress. More detail on the hardware set up to follow.

Installation

Build

TODO: write the build instructions with pictures

Testing

The AD9833 datasheet reports an output range of 0 Hz to 12.5 MHz. I found that the output stability and voltage break down quite a lot as frequency approaches 10 MHz, and greatly deteriorate by 12.5 MHz. The square wave output in particular loses fidelity above about 1 MHz.
picture
100 KHz triangle wave start-up test signal in this program.

picture
100 KHz sine wave looking very clean.

picture
10 MHz sine wave starting to show some inconsistency.

picture
12.5 MHz sine wave looking very sketchy.

picture
10 KHz low frequency square waves are good.

picture
1 MHz square wave is acceptable.

picture
6 MHz square wave is barely square anymore.

About

Arduino function generator based on the AD9833.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages