Square wave generator

I found a 74HC294 programmable clock divider in my IC box. After reading the datasheet i liked to build a little box...

Similar projects worth following
I use the 74HC294 programmable clock divider to derive some clocks from a 16MHz oscillator. After a little test on the breadboard i thought about a little box to select all the different clocks now available.. First thought: use more vintage 74HC and a rotary switch to create a MCU free project. But i am a MCU whore.. so yeah it needs an LCD and two buttons for UI. I will use a arduino nano and a 16x2 LCD. You can find all design files (firmware, hardware, 3d parts) on github.
Ps: This is my first project on hackaday. I normally store my project data in folders an keep them locked on my HDD till... forever. So this is a great tool for sharing and also some documentation for me. So feel free to ask questions or talk about tech stuff.


The project files are under version control and can be found on:

Adobe Portable Document Format - 301.26 kB - 12/07/2017 at 18:34


  • 1 × 74HC294
  • 1 × Arduino nano
  • 1 × 16x2 LCD
  • 1 × 2 Push buttons
  • 1 × some electronic parts (7805, resistors, capacitors - schematic)

  • A6 A7 no GPIO?

    Ringo2k12/10/2017 at 07:22 0 comments

    I learned that A6 and A7 cannot be used as digital IO (stands in the datasheet of the mega328, wow didn't see that..). So had to adjust the schematic. 

    The rest seems to work from POV hardware, so just a little bit of firmware needed and this little mini project is ready for the next step.

    Also created a repository on github to handle the versions of the files (schematic and firmware). 

  • PCB soldered

    Ringo2k12/09/2017 at 18:19 0 comments

    So turning off the soldering station. LCD works, so i am starting to write the firmware for this puppy. 

  • Schematic finish

    Ringo2k12/09/2017 at 15:13 0 comments

    so made a rough schematic. Begin soldering... 

    Also inspect some parts:

    Lets go!

View all 3 project logs

Enjoy this project?



kamussuwanto wrote 11/27/2023 at 02:22 point

However, I will use Arduino Uno. 

  Are you sure? yes | no

kamussuwanto wrote 11/27/2023 at 02:20 point

Hi, your collaboration is clear and easy to understand. I like this Square wave generator because I would like to measure frequency from your previous video "High Frequency Counter" on Is that possible? How is the connection from this generator to High Ftequency Counter?

Thank you for your guidance.

Kamussu (

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

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