Building and Testing an Arduino Based Digital Frequency Generator

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • A Digital Frequency Generator using an Arduino Nano and an AD9833 Module.
    This is a quick and easy project to build a 0 - 1MHz digital frequency generator for sine and square waves!
    Features
    Uses a DollaTek AD9833 (+ MCP41010) module (SPI bus).
    Sine and Square wave generation (now also triangle waves - see update below).
    Frequency range 0 - 1MHz (now up to 12.5MHz - see update below).
    This is software bounded - for sine waves the AD9833 can reach 12.5MHz.
    Full control via a KY-040 rotary encoder.
    At a glance settings all on a 20 column x 4 line LCD display (I2C bus).
    Uses open source Arduino libraries for all the hardware modules.
    The hardware details, design, code and pictures are all shared on GitHub:
    github.com/iln...
    The gear I used to help me make this video:
    Owon VDS1022i USB Oscilloscope:
    www.amazon.co....
    Better (unofficial) Software for the VDS1022i:
    github.com/flo...
    PCB Holder/Clamp:
    www.amazon.co....
    LED Illuminated Hands-Free Head Magnifier:
    www.amazon.co....
    Note that I am not affiliated or linked to any of these products, other than having used them and liked them.
    Update!
    After I made this video, I continued and created improved the Arduino sketchs that can be found in the GitHub repository:
    - Allows square and triangle wave up to 1.0MHz.
    - Allows sine waves up to 12.5MHz.
    github.com/iln...
    Enjoy!
    #Arduino #AD9833 #KY040 #HD44780

ความคิดเห็น • 2

  • @adrianbrindley1925
    @adrianbrindley1925 5 หลายเดือนก่อน +1

    Excellent project! nice use of the encoder for control 😃

    • @ianneill9188
      @ianneill9188  5 หลายเดือนก่อน +1

      I was really impressed with a lot of things in this project. I think the encoder was the most impressive due to the many use cases for it. Closely followed by the oscilloscope. The VDS1022i really was quick and easy to use and clearly showed me what was going on. Oh, and the AD9833 was pretty good too. It just worked - did exactly what it claimed it would do.