{"id":39603,"date":"2026-02-22T02:45:40","date_gmt":"2026-02-22T07:45:40","guid":{"rendered":"https:\/\/twiar.net\/?p=39603"},"modified":"2026-02-08T19:25:55","modified_gmt":"2026-02-09T00:25:55","slug":"via-hackaday-555-based-square-wave-and-triangle-wave-function-generator-build-for-beginners","status":"publish","type":"post","link":"https:\/\/twiar.net\/2026\/02\/22\/via-hackaday-555-based-square-wave-and-triangle-wave-function-generator-build-for-beginners\/","title":{"rendered":"via Hackaday: 555-Based Square-Wave and Triangle-Wave Function Generator Build for Beginners"},"content":{"rendered":"<div><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"450\" src=\"https:\/\/hackaday.com\/wp-content\/uploads\/2026\/01\/Function-Generator-Build-for-Beginners-banner.jpg?w=800\" class=\"attachment-large size-large wp-post-image\" alt=\"The function generator circuit on a breadboard\" data-attachment-id=\"908771\" data-permalink=\"https:\/\/hackaday.com\/2026\/02\/07\/555-based-square-wave-and-triangle-wave-function-generator-build-for-beginners\/function-generator-build-for-beginners-banner\/\" data-orig-file=\"https:\/\/hackaday.com\/wp-content\/uploads\/2026\/01\/Function-Generator-Build-for-Beginners-banner.jpg\" data-orig-size=\"1774,997\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Function-Generator-Build-for-Beginners-banner\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/hackaday.com\/wp-content\/uploads\/2026\/01\/Function-Generator-Build-for-Beginners-banner.jpg?w=400\" data-large-file=\"https:\/\/hackaday.com\/wp-content\/uploads\/2026\/01\/Function-Generator-Build-for-Beginners-banner.jpg?w=800\" \/><\/div>\n<p>Over on YouTube [Andrew Neal] has a <a href=\"https:\/\/www.youtube.com\/watch?v=KfFmZIZ67MM\" target=\"_blank\">Function Generator Build for Beginners<\/a>.<\/p>\n<p><a href=\"https:\/\/hackaday.com\/wp-content\/uploads\/2026\/01\/555-square-wave.png\" target=\"_blank\"><img decoding=\"async\" class=\"alignright size-full\" src=\"https:\/\/hackaday.com\/wp-content\/uploads\/2026\/01\/555-square-wave.png\" alt=\"This is the 555 circuit we are building taken from the datasheet\" width=\"300\" \/><\/a>As beginner videos go this one is fairly comprehensive. [Andrew] shows us how to build a square-wave generator on a breadboard using a <a href=\"https:\/\/www.ti.com\/product\/LM555\" target=\"_blank\">555 timer<\/a>, explaining how its internal flip-flop is controlled by added resistance and capacitance to become a relaxation oscillator. He shows how to couple a potentiometer to vary the frequency.<\/p>\n<p>He then adds an integrator built from a <a href=\"https:\/\/www.ti.com\/product\/TL082\" target=\"_blank\">TL082 dual op amp<\/a> to convert the circuit to a triangle-wave generator, using its second op amp to build a binary inverter. He notes that a binary inverter is usually implemented with a comparator, but he uses the op amp because it was spare and could be put to good use. Again, potentiometers are added for frequency control, in this case a 1 M\u03a9 pot for coarse control and a 10 k\u03a9 pot for fine control. He ends with a challenge to the viewer: how can this circuit be modified to be a sine-wave generator? Sound off in the comments if you have some ideas!<\/p>\n<p>If you\u2019re interested to know more about function generators check out <a href=\"https:\/\/hackaday.com\/2025\/10\/10\/a-function-generator-from-the-past\/\">A Function Generator From The Past<\/a> and <a href=\"https:\/\/hackaday.com\/2025\/07\/08\/budget-brilliance-dho800-function-generator\/\">Budget Brilliance: DHO800 Function Generator<\/a>.<\/p>\n<p><span><\/span><\/p>\n\n<p> Blog \u2013 Hackaday <a href=\"https:\/\/hackaday.com\/2026\/02\/07\/555-based-square-wave-and-triangle-wave-function-generator-build-for-beginners\/\" target=\"_blank\" class=\"feedzy-rss-link-icon\">Read More<\/a><\/p>\n<p>\u200b<\/p>","protected":false},"excerpt":{"rendered":"<p>Over on YouTube [Andrew Neal] has a Function Generator Build for Beginners. As beginner videos&#8230;<\/p>\n","protected":false},"author":5,"featured_media":39616,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"twitter_16139062_16139062":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[1,109],"tags":[1452,3672,2225,5798],"class_list":["post-39603","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general","category-hackaday","tag-555-timer","tag-generator","tag-op-amp","tag-waveform-generator"],"_links":{"self":[{"href":"https:\/\/twiar.net\/wp-json\/wp\/v2\/posts\/39603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twiar.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/twiar.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/twiar.net\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/twiar.net\/wp-json\/wp\/v2\/comments?post=39603"}],"version-history":[{"count":1,"href":"https:\/\/twiar.net\/wp-json\/wp\/v2\/posts\/39603\/revisions"}],"predecessor-version":[{"id":39617,"href":"https:\/\/twiar.net\/wp-json\/wp\/v2\/posts\/39603\/revisions\/39617"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/twiar.net\/wp-json\/wp\/v2\/media\/39616"}],"wp:attachment":[{"href":"https:\/\/twiar.net\/wp-json\/wp\/v2\/media?parent=39603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/twiar.net\/wp-json\/wp\/v2\/categories?post=39603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/twiar.net\/wp-json\/wp\/v2\/tags?post=39603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}