1Hz to 30KHz Wave Generator Using Arduino

1Hz to 30KHz Wave Generator Using Arduino

Wave generator is one of the most needed tools in our electronics labs, you can buy a fully functional ready made one or make a simple one using your Arduino.

Joekutz over Hackaday.io created a simple wave generator using Arduino powered from 9V battery and produces amplified and non amplified signals. This generator uses the 8-bit resistor ladder, aka R2R, DAC with 0.0195V step, knowing that Vout of R2R DAC is Vout = Vref × VAL / 2^N  Where N = 8 (hence 2^8 = 256) and Vref = 5.0 V.

R2R_sch
Image Source – “Arduino Waveform Generator” Instructable

Joekutz used the “Arduino Waveform Generator” instructable, but he added to the original project design a LCD display, a speaker to hear the generated wave and edited the way how user sets the waveform and frequency.

Joekutz decided to hack a cheap calculator LCD and to use it in his project, he found out how to emulate a press of “CE, +, = and 1” Keys using Arduino, so he can display any number using this hack, for example displaying 123 on the LCD means the following sequence: 111 + 11 + 1.

Ard_waveGen_parts

He created an Arduino library for his hack. You can see the below video from Joekutz explaining LCD hack:

In the below video Joekutz demonstrates the project:

The mechanical work in this project included designing a cheap plywood case using Inkscape and designing a switches knobs using FreeCAD.

You can download the Arduino Library and sketch files from the project page on Hackaday.

Please follow and like us:
Pin Share

Embedded Hardware Engineer interested in open hardware and was born in the same year as Linux. Yahya is the editor-in-chief of Atadiat and believes in the importance of sharing free, practical, spam-free and high quality written content with others. His experience with Embedded Systems includes developing firmware with bare-metal C and Arduino, designing PCB&schematic and content creation.

view all posts by yahya
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
Get new posts by email:
Get new posts by email:

Join 97,426 other subscribers

Archives