Close
0%
0%

Arduino Frequency Generator

Arduino Uno or Nano generates 244-8,000,000 Hz by dividing the 16 MHz crystal oscillator.

Similar projects worth following
50 views
0 followers

Arduino Uno or Nano generates 244-8,000,000 Hz by dividing the 16 MHz crystal oscillator. The pushbuttons set the division from 0 to 255 holding the button advance the frequency every second.. The high frequency output at pin 6 is 8000000 / (division + 1) , the low frequency output at pin 11 is 62500 / (division + 1). Division is by integer so not any frequencies can be set, for example the High Frequency output can be 8, 4, 2.666, 2, 1.6, 1.333 MHz etc. The LCD of 16x2 display the High and Low Frequencies. The LCD module has to be HD44780 compatible.
The software is for Arduino with ATMEGA328. The outputs are generated by using Timer2 and Timer0 in CTC mode.

ino - 2.40 kB - 08/11/2022 at 17:45

Download

  • 1 × Arduino Nano
  • 1 × LCD display 16x2
  • 2 × pushbutton
  • 1 × 10K pot

  • 1
    Circuit

View all instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates