element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Frank Milburn's Blog AD9850 Frequency Generator BoosterPack
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fmilburn
  • Date Created: 7 May 2019 5:07 PM Date Created
  • Views 2203 views
  • Likes 9 likes
  • Comments 6 comments
  • frequency_generator
  • frequency generator
  • encoder
  • ad9850
  • msp430
  • msp430fr6989
  • msp-exp430fr6989
Related
Recommended

AD9850 Frequency Generator BoosterPack

fmilburn
fmilburn
7 May 2019

This is a refresh of an old project I did and posted elsewhere quite sometime back.  I am publishing it again so that I can point to it for an upcoming project if needed. That project requires a square wave and thought I would see how well this works before borrowing a friend's function generator.  Since I only need a relatively low frequency square wave, it might also be possible to just use the microcontroller itself.  In any case, here is my AD9850 Frequency Generator BoosterPack for Texas Instruments development boards.  It was one of the first PCBs I designed, and I cringe a bit when looking at it now, but it is functional.

 

The inexpensive AD9850 board was obtained off eBay and is especially useful with the Texas Instruments MSP-EXP430FR6989MSP-EXP430FR6989 LaunchPad that has an integrated LCD. it can generate both sine and square waves. The project use an encoder with a pushbutton to adjust frequency and adjustment coarseness.  In the photo below it is generating a 7000 Hz signal which is displayed on the oscilloscope.

image

 

The schematic is simple:

image

 

The encoder is a Bourns 652-PEC12R-4225F-S24. The capacitance shown in the schematic is supposed to reduce bounce and in practice it works OK. All the parts are through hole as seen in the photograph below:

image

The PCB is too tight and is poorly labelled.   Those are among the things I would change if updating the design.

image

 

While it should work with most LaunchPads I had the FR6989 in mind as I developed it - in particular I wanted to use the integrated LCD display. Accordingly, I was careful not to obscure the display or the reset button. The software was developed with Energia V17. Here is a photo of what it looks like in operation:

image

The output from the AD9850 comes out the jumpers attached to the 90 degree male header pins marked with arrow A. The dark jumper wire is GND and the sine wave is coming out of the lighter wire on the right. Adjustments are made with the encoder knob marked by arrow B. Turning it adjusts the frequency up and down and the current value is output on the LCD as shown by the arrow C. The range is from zero to 32 MHz. Since fine adjustment is desired, as well as rapid adjustment, the push button on the encoder is used to change the coarseness of the adjustment. The magnitude is indicated by the battery indicator on the LCD as shown by arrow D. For example, in the photo three battery bars are showing which indicates that each adjustment/click of the encoder will change the output by 1000 Hz. When the encoder is pushed down it will cycle through in this case to 100 Hz adjustment (with two bars showing), 10 Hz (one bar), 1 Hz (no bars), and then up to 1 MHz (six bars), and so on. In practice, it adjusts pretty quickly with good resolution.

 

Another enhancement might be to have the software scroll the output value since as is it won't display full resolution due to the 6 digit screen.  The Energia sketch can be found here.

  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 6 years ago +3
    Hi Frank, Nice project! The AD.. DDS chips are fantastic. Also that module is incredible value, I have several too. This is a very nice board you've developed, allowing anyone to have a nice interface…
  • DAB
    DAB over 6 years ago +3
    Nice project. Does it maintain amplitude over the entire frequency range? DAB
  • three-phase
    three-phase over 6 years ago +3
    Great little project for someone needing a square wave generator. Kind regards.
  • fmilburn
    fmilburn over 6 years ago in reply to shabaz

    Thanksi Shabaz,

     

    Your amplifier circuit project does sound interesting.  If you need help with feature creep and underestimating the time and cost it will take to implement it let me know :-)

     

    Frank

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 6 years ago in reply to three-phase

    Hi Donald,

     

    Yes, quite easy to use with a microcontroller as well...

     

    Frank

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 6 years ago in reply to DAB

    Hi DAB,

     

    I probably should have mentioned that in the write-up.   It does not maintain amplitude over the frequency range and there is no ability to do DC offset or anything like that.

     

    Frank

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • three-phase
    three-phase over 6 years ago

    Great little project for someone needing a square wave generator.

     

    Kind regards.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 6 years ago

    Nice project.

     

    Does it maintain amplitude over the entire frequency range?

     

    DAB

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube