<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Electronics Archives &#8211; Make Some Stuff</title>
	<atom:link href="https://makesomestuff.org/tag/electronics/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Build Cool Electronics Projects!</description>
	<lastBuildDate>Sat, 27 Sep 2025 21:45:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>

<image>
	<url>https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/cropped-icon2.png?fit=32%2C32&#038;ssl=1</url>
	<title>Electronics Archives &#8211; Make Some Stuff</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">165766821</site>	<item>
		<title>Custom-Made Handclap AC Switch Control Board</title>
		<link>https://makesomestuff.org/handclap-ac-switch-control/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=handclap-ac-switch-control</link>
					<comments>https://makesomestuff.org/handclap-ac-switch-control/#respond</comments>
		
		<dc:creator><![CDATA[Ahmed Ibrahim]]></dc:creator>
		<pubDate>Thu, 10 Oct 2019 20:37:34 +0000</pubDate>
				<category><![CDATA[Electronics Projects]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Logic Control]]></category>
		<guid isPermaLink="false">https://makesomestuff.org/?p=803</guid>

					<description><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/handclap-ac-switch-control/">Custom-Made Handclap AC Switch Control Board</a></p>
<p>Makers always look at the simplest and shortest way to get things done. So, today we will learn how to control our home light switch in the simplest and quickest way. Hardware Components Component Quantity Condensor MIC 1 UA741 op-amp IC 1 Decade counter IC 4017 1 5VDC 5-pin relay 1 2n2222 Transistor 1 1n4007 [...]</p>
<p>The post <a href="https://makesomestuff.org/handclap-ac-switch-control/">Custom-Made Handclap AC Switch Control Board</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/handclap-ac-switch-control/">Custom-Made Handclap AC Switch Control Board</a></p>

<p class="has-regular-font-size wp-block-paragraph">Makers always look at the simplest and shortest way to get things done. So, today we will learn how to control our home light switch in the simplest and quickest way. </p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="1309125976"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<figure class="wp-embed-aspect-16-9 wp-has-aspect-ratio wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube"><div class="wp-block-embed__wrapper">
<iframe title="Handclap AC Electronic Switch" width="770" height="433" src="https://www.youtube.com/embed/4ooOUjQTPz0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div></figure>



<h2 class="wp-block-heading">Hardware Components</h2>



<hr class="wp-block-separator has-css-opacity"/>



<figure class="is-style-regular wp-block-table"><table class="has-background" style="background-color:#f3f4f5"><tbody><tr><td class="has-text-align-left" data-align="left"><strong>Component</strong></td><td><strong>Quantity</strong></td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/2x-Mini-MIC-9x7mm-Capsule-Electret-Condenser-Microphone-CR-CZN-15E-micro/192238576954?hash=item2cc24fe53a:g:ErkAAOSw7PJbxaov" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">Condensor MIC</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/TI-UA741CP-Single-Op-AMP-DIL-8/133203844579?hash=item1f03915de3:g:n7YAAOSwYZJdpcA8" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">UA741 op-amp IC</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/5-10-20PCS-CD4017-CD4017BE-4017-DECADE-COUNTER-DIVIDER-IC/263788022713?_trkparms=ispr%3D1&amp;hash=item3d6afdcbb9:m:mgIBoOY90oyujpgKbKyladg&amp;enc=AQAEAAACQBPxNw%2BVj6nta7CKEs3N0qWycvEz6V5ckS90SvrTcvg2KOiUu7bGg58%2Fgsxb0%2F5uqIW8jz6K%2Bkge%2Bm3yyHPZta6PUKn9%2BB4PQSOsSqofjNQSqNpq2UNizssfQxM%2BpVh%2FRZ46sKXTCFUmbbxdT4uLRaRb8fZ%2FFQsVTXFMTAgD2npvaM%2FTYsusK0udWRhOXpVjRlJiBZm5krXOpV3Spxlt33l9o3WoEnmZZQUAkoWoUfNYJyvo2gpYUDCcE9eDUsadKFdvREVjDxzb6hO249B9YrGnXaiSvu1pXLnIZkreJZeksh3%2Fps69jhZmx1gaMNmFdZVMo1OYQw8R091n5JDzI1%2Bvd1LHBpRFSjB%2Blgvo%2FaMi3nijOOEpFoZ75X%2BhKIfZqmhuA7oJMG3c86D3Liz4gs50h3kBoklMUgEp3PVfbyzq2qgydC0UE5Y5y%2FivlrDPyYG0DaUAjunhoXm2DFXRZDgs2hZoLhk7xSEY3o7QctVM8y8kUyDOWtGYPYraYISBis%2B3SxPra0JOGFNv0mXHMYV8FvOpUOWLdta%2FaKl3WHSvd9yS4xkY7CrXEwxOKT9QDb3Fo3wI6Xuf0u4JJGkYKHTpPJ9V6Nhlitta%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965f4199ec6b45d5b028a8b0135f5149" target="_blank" rel="noreferrer noopener" aria-label="Decade counter IC 4017 (opens in a new tab)">Decade counter IC 4017</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/10pcs-Mini-Power-Relay-5V-DC-SRD-5VDC-SL-C-SRD-5VDC-SL-C-PCB/401563774618?hash=item5d7f10ee9a:m:mf_NTXRyZpicTHzkrToOXYw" target="_blank" rel="noreferrer noopener" aria-label="5VDC 5-pin relay (opens in a new tab)">5VDC 5-pin relay</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/100Pcs-NPN-Transistor-TO-92-2N2222A-2N2222-NEW/311607067106?epid=1001943867&amp;_trkparms=ispr%3D1&amp;hash=item488d3a81e2:g:SQMAAOSwIgNXotih&amp;enc=AQAEAAACMBPxNw%2BVj6nta7CKEs3N0qWeMXkn2F0vRozoVCfXBkbq5yMS9M3q%2BHhhriXLspRjRZC329ZxJDdeo6S6Z8J84wjP642DKOaOmpTsWekCwxEEiza7naG1JltnETr%2FNLI3pr%2Btajkz%2F9it9l4AVCmm%2B2ct8p3phAjpmq7bdRVCqP%2BMIjEpmRvmMlSvxZcRfZ0YFeAjDvX%2B4ClxGbQ6iLQQ1KpLm20AUtZxjM%2BD0eR07xb3P7aekQHA%2FEqdysn2YozMdnwQd5UCBsmlSlz7F55mT%2BaGeEu3cBF5y5YuYvgTIRxwRX1l%2BxPlXQU2gygRjKzMxPWooAzT9qdEfeTHSOwZPLEQ6KM98h8GuwWkiRPJ2EBLWJaZGg%2FRBc1Pxel7ktU%2FklnYKZRpoFQL4eE%2BLYgT4l7S2bIoWComUIp%2BTpdyOwS0A80lfBrz5%2FEbcepmuye9AVrSQ8XQga%2Bo9xoRbtnwI0cI9p6VPCl8DNENXZgqPMqk0GN2O%2FOgnk97%2Bwsbk3vrvyrbgacmL9Bvm1uDznDOmSM1JH8RWUjUDl2NeKY1aikaptvmA%2B2vy7QVBU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cb2248f494ea352a0c3864b2" target="_blank" rel="noreferrer noopener" aria-label="2n2222 Transistor (opens in a new tab)">2n2222 Transistor</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/100pcs-1N4007-Diode-MIC-DO-41-1A-1000V-Rectifie-Diodes-NEW/301924671073?hash=item464c1cde61:g:4f8AAOSwuTxWAg3m" target="_blank" rel="noreferrer noopener" aria-label="1n4007 Diode (opens in a new tab)">1n4007 Diode</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/20Pcs-1W-1-Watt-Metal-Film-Resistor-1-1K-910K-Ohm-1-K-910-K-Free-Shipping/192252609011?_trkparms=ispr%3D1&amp;hash=item2cc32601f3:m:mR2rCX05fL53k9RopChCPFw&amp;enc=AQAEAAACQBPxNw%2BVj6nta7CKEs3N0qV3B7vV1K4PzE5%2Fv%2FTVh6yTMvSd%2FQzVXUQbZlRdlRWNu9TFhtuzshbZ%2BowFXmArbUDgTczLd289kcBy7WkLuQMig5Ltt8IpLRtHlHVCzTP6uMp%2BFySXhLu9BnO4ZsThSmIcYkIiyBVyBAl%2Fsz3YDyES%2BQPTv6nmX5cOWBZt0ezdYlSp9CnEmisgLYOErkIxrcxE%2BEgFGHZCCitFbi60r2BODcQd7AcMPpwZaOZPLv435YSz0qe4ci1GRQY8EeXxiutN862ZsPFKQnpnrH98XMro6KkuI2hmsqzJ92ToPPrE5rZtkp6b8X6bln3Qrv2Esx18NSRFCYjfzMXitkKmzm8F7NbPGiUlhGyg0lRxq81xjQQv0v%2Fa%2B0LRXAm%2F3oWbEWKp%2BMfacoQfh4eIzZP9Pl%2BL1IuTXtFzFcXDSXTThJ%2B8I5VKoxLg3GW785Mak%2B4qVSmCwjS8hkt%2B%2F5XrgKc%2FLtmCVfpfGFf6BP6hAEgzn9v74VGh2IXuB8vk5BujnrX1UAUDmgJ4ZDL8UwxU8G7%2BVoVpMcUTLmxmUO5NchPRzjvufn4VMmP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1w%3D%3D&amp;checksum=192252609011c1068ae05e8943578f48a0ed283c0a1b" target="_blank" rel="noreferrer noopener" aria-label="1kohm resistor (opens in a new tab)">1kohm resistor</a></td><td>4</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/3mm-5mm-monochrome-flash-light-red-blue-white-emerald-green-orange-yellow-LED/293081666256?hash=item443d0752d0:m:mmyBl8s76nluOWJ59z7zGCQ" target="_blank" rel="noreferrer noopener" aria-label="5mm LEDs (opens in a new tab)">5mm LEDs</a></td><td>3</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/20Pcs-1W-1-Watt-Metal-Film-Resistor-1-1K-910K-Ohm-1-K-910-K-Free-Shipping/192252609011?_trkparms=ispr%3D1&amp;hash=item2cc32601f3:m:mR2rCX05fL53k9RopChCPFw&amp;enc=AQAEAAACQBPxNw%2BVj6nta7CKEs3N0qV3B7vV1K4PzE5%2Fv%2FTVh6yTMvSd%2FQzVXUQbZlRdlRWNu9TFhtuzshbZ%2BowFXmArbUDgTczLd289kcBy7WkLuQMig5Ltt8IpLRtHlHVCzTP6uMp%2BFySXhLu9BnO4ZsThSmIcYkIiyBVyBAl%2Fsz3YDyES%2BQPTv6nmX5cOWBZt0ezdYlSp9CnEmisgLYOErkIxrcxE%2BEgFGHZCCitFbi60r2BODcQd7AcMPpwZaOZPLv435YSz0qe4ci1GRQY8EeXxiutN862ZsPFKQnpnrH98XMro6KkuI2hmsqzJ92ToPPrE5rZtkp6b8X6bln3Qrv2Esx18NSRFCYjfzMXitkKmzm8F7NbPGiUlhGyg0lRxq81xjQQv0v%2Fa%2B0LRXAm%2F3oWbEWKp%2BMfacoQfh4eIzZP9Pl%2BL1IuTXtFzFcXDSXTThJ%2B8I5VKoxLg3GW785Mak%2B4qVSmCwjS8hkt%2B%2F5XrgKc%2FLtmCVfpfGFf6BP6hAEgzn9v74VGh2IXuB8vk5BujnrX1UAUDmgJ4ZDL8UwxU8G7%2BVoVpMcU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DRPcpZYy4sjxEiUXGKqiJ1w%3D%3D&amp;checksum=192252609011c1068ae05e8943578f48a0ed283c0a1b" target="_blank" rel="noreferrer noopener" aria-label="10kohm resistor (opens in a new tab)">10kohm resistor</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.sparkfun.com/products/8433" target="_blank" rel="noreferrer noopener" aria-label="Terminal block 3-legs (opens in a new tab)">Terminal block 3-legs</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.sparkfun.com/products/9806" target="_blank" rel="noreferrer noopener" aria-label="Small rotary potentiometer 103 (opens in a new tab)">Small rotary potentiometer 103</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left">Custom PCB manufacture  </td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.sparkfun.com/products/107" target="_blank" rel="noreferrer noopener" aria-label="LM7805 voltage regulator (opens in a new tab)">LM7805 voltage regulator</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.sparkfun.com/products/119" target="_blank" rel="noreferrer noopener" aria-label="DC Plug socket (opens in a new tab)">DC Plug socket</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/Electrolytic-Capacitor-400V-1uF-2-2uF-3-3uF-4-7uF-6-8uF-8-2uF-10uF-15uF-22uF-MFD/253868081098?_trkparms=ispr%3D1&amp;hash=item3b1bb77fca:m:meSEyfOe3-BtuyT-AjTECow&amp;enc=AQAEAAACQBPxNw%2BVj6nta7CKEs3N0qWCutv4hY0VZQN1ROmap%2BrdD8x7r3GrmZGpHZq7B%2Ba9q8jvnDsMVNie7nijDCWwD8LPkfriJemfPJz1uIsgr8d7OV5n5Xn8C9PROelWb3IbJpqVtj5nZhW8QeFO3ARjhLIyqTpXywyz6TgC4Jw9VQDbodQWykaFw1oRhd67ZL0SCgu5BGg%2FQ3U7bwlCeBcShfRHz15o%2B6F0thy2yPiC317PQdjSS1ezSgOS9c7m%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qYcT2FXGjrUMaRrWL2PtDdJRdrVXQ5JqB9bEY7RC3yBXaMjp%2BugNdKKo0Vc7uU7UF2vhfG%2F33v8%2FGHAqGTKEbIF8LQ7fjLzjRhd8c%2F7nNS%2BosKVhOKtqle5T4GhZyTFV0S54xjoeDy%2FX7Up%2FuElrD66ubA7b6x2ivWbnRYC3OFTtk%2FGybMHquAuZ6jJYavUEssO4G35Y9qkqgMrIaEfCLCK9nuo3wp98Xc19h4NRXS9QwM2wcUg6MxM7FT2Qcn8hSWRj9Tk9tQvoSwXRD4iCROEo56Nqodc3sYgCM2yQ0YPnynkIQ95BxHH3YN7e94hITDSypg%3D%3D&amp;checksum=253868081098108cf4971fbc492298adeebbab8fd020" target="_blank" rel="noreferrer noopener" aria-label="1uf electrolytic capacitor (opens in a new tab)">1uf electrolytic capacitor</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.sparkfun.com/products/8375" target="_blank" rel="noreferrer noopener" aria-label="100n capacitor (opens in a new tab)">100n capacitor</a></td><td>1</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">Introduction</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="has-regular-font-size wp-block-paragraph">Today, we will learn how to control home light switches by just hand-clapping, Cool ha! to build that project we will use some new electronic components like the decade counter CD4017 IC and the UA741 op-amp, and a condenser MIC as a sound sensor. So, let&#8217;s do it</p>



<h2 class="wp-block-heading">Working Scenario</h2>



<hr class="wp-block-separator has-css-opacity"/>



<ul class="wp-block-list">
<li class=""><strong>Sensing </strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">The main part of the project is sensing the hand-clap, we used an <strong>electret condenser MIC</strong> to do that job. which converts sound energy into electrical energy. this electrical signal will be an input signal to the UA741 IC. that electret MIC is very sensitive, easy to use, and cheap.</p>



<figure class="wp-block-image"><img data-recalc-dims="1" loading="lazy" decoding="async" width="760" height="588" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Circuit-using-Electret-Condenser-Microphone.png?resize=760%2C588&#038;ssl=1" alt="Condenser MIC output signal" class="wp-image-852" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Circuit-using-Electret-Condenser-Microphone.png?w=760&amp;ssl=1 760w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Circuit-using-Electret-Condenser-Microphone.png?resize=300%2C232&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Circuit-using-Electret-Condenser-Microphone.png?resize=260%2C200&amp;ssl=1 260w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Circuit-using-Electret-Condenser-Microphone.png?resize=87%2C67&amp;ssl=1 87w" sizes="auto, (max-width: 760px) 100vw, 760px" /><figcaption class="wp-element-caption">Condenser MIC output signal</figcaption></figure>



<ul class="wp-block-list">
<li class=""><strong>Triggering </strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">After sensing the hand-clap, the generated electrical signal will go to the input pin of the <strong>UA741 op-amp</strong> which works in this project as a comparator, the UA741 IC will compare the MIC input signal with a specific reference voltage if the input signal is higher than that reference voltage it will output logic value <strong>&#8220;HIGH&#8221;</strong>. And will output <strong>&#8220;LOW&#8221;</strong> when the reference voltage is higher than the input voltage.</p>



<p class="wp-block-paragraph">We are using a potentiometer connected with the UA741 chip to adjust the reference voltage, which works just as setting the sensitivity of the circuit.</p>



<p class="has-regular-font-size wp-block-paragraph">The UA741 IC output value goes to the <strong>&#8220;Clock&#8221;</strong> pin of the <strong>counter 4017 IC</strong> to turn on and off the relay.</p>



<ul class="wp-block-list">
<li class=""><strong>Driving high voltage/current load </strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">You know, we are building this circuit to control AC high voltage loads. So, we used a 5VDC relay to make our small poor circuit able to communicate with that beefy AC high voltage load.</p>



<h2 class="wp-block-heading">UA741 op-amp works as a comparator</h2>



<hr class="wp-block-separator has-css-opacity"/>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="600" height="287" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/UA741CN-IC.jpg?resize=600%2C287&#038;ssl=1" alt="UA741 IC" class="wp-image-865" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/UA741CN-IC.jpg?w=600&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/UA741CN-IC.jpg?resize=300%2C144&amp;ssl=1 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /><figcaption class="wp-element-caption">UA741 IC</figcaption></figure>
</div>


<p class="has-regular-font-size wp-block-paragraph">The typical use of the UA741 IC is to amplify a specific signal. Essentially it takes an input voltage, amplifies it by a specific gain, then outputs an amplified voltage. That&#8217;s it. It&#8217;s mostly used in the speaker circuits to amplify the input signal to make the sound loud and clear.</p>



<p class="wp-block-paragraph">But today, we will use the UA741 op-amp as a comparator, not as an amplifier. </p>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="500" height="284" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/4aefab13524603cb961d26705d54bfdf.png?resize=500%2C284&#038;ssl=1" alt="UA741 as comparator" class="wp-image-820" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/4aefab13524603cb961d26705d54bfdf.png?w=500&amp;ssl=1 500w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/4aefab13524603cb961d26705d54bfdf.png?resize=300%2C170&amp;ssl=1 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /><figcaption class="wp-element-caption">UA741 as comparator</figcaption></figure>
</div>


<p class="has-regular-font-size wp-block-paragraph">As you can see, there&#8217;s a positive pin called &#8220;non-inverting terminal&#8221; and the negative pin called &#8220;inverting terminal&#8221;. these two pins are the input voltage pins. Also, there&#8217;s the voltage output &#8220;Vo&#8221; pin, and obviously the two power supply pins VCC, and GND.</p>



<p class="has-regular-font-size wp-block-paragraph">Since the gain naturally of the op-amp is very huge, then what happens when we feed the op-amp two input pins?  </p>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="500" height="284" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/higher-than-.png?resize=500%2C284&#038;ssl=1" alt="Comparator work logic" class="wp-image-823" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/higher-than-.png?w=500&amp;ssl=1 500w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/higher-than-.png?resize=300%2C170&amp;ssl=1 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /><figcaption class="wp-element-caption">Comparator work logic</figcaption></figure>
</div>


<p class="wp-block-paragraph">If the input voltage on the positive terminal<strong>&#8220;Non-inverting pin&#8221;</strong> is higher than the input voltage on the negative terminal <strong>&#8220;Inverting pin&#8221;</strong> Even by a tiny amount. the op-amp will try to amplify the difference between those two inputs by a huge gain and the output voltage from the op-amp will equal <strong><em>(the difference between the two input voltages * the huge gain)</em></strong> which is a very large amount like hundred and hundred thousands of volts or something. But it can&#8217;t do it since you are powering your circuit by a 12V or 5V or even 15V. </p>



<p class="wp-block-paragraph">As a result, it will saturate at the amount of voltage which you are powering your op-amp with. Which is the<strong> VCC</strong>.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="500" height="284" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/higher-than-1-1.png?resize=500%2C284&#038;ssl=1" alt="Comparator work logic" class="wp-image-824" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/higher-than-1-1.png?w=500&amp;ssl=1 500w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/higher-than-1-1.png?resize=300%2C170&amp;ssl=1 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /><figcaption class="wp-element-caption"><em>Comparator work logic</em></figcaption></figure>
</div>


<p class="has-regular-font-size wp-block-paragraph">Vice versa, if the input voltage on the negative pin &#8220;inverting terminal&#8221; is higher than the input voltage on the positive pin &#8220;non-inverting terminal&#8221; even by a tiny amount, the output voltage will equal the <strong>-VCC (GND)</strong>.</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"> As a general rule, when the positive pin(Non-inverting pin) input voltage &gt; the negative pin(inverting pin), the output voltage will equal to +VCC. And if opposite the output voltage will equal to GND</div></div>



<h4 class="wp-block-heading">UA741 Op-amp Pinout</h4>



<hr class="wp-block-separator has-css-opacity"/>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="385" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/800px-741_pin_assignment_01_dPengo.svg_.png?resize=770%2C385&#038;ssl=1" alt="UA741 pinout" class="wp-image-819" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/800px-741_pin_assignment_01_dPengo.svg_.png?w=800&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/800px-741_pin_assignment_01_dPengo.svg_.png?resize=300%2C150&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/800px-741_pin_assignment_01_dPengo.svg_.png?resize=768%2C384&amp;ssl=1 768w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption"><em>UA741 pinout</em></figcaption></figure>
</div>


<ul class="wp-block-list">
<li class=""><strong>Pin 1 and 5</strong> <strong>(Offset null)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">We can set the op-amp <strong>gain value</strong> by connecting a capacitor on pins <strong>1</strong> and <strong>5</strong> but we don&#8217;t have to use those pins in this application, we will keep them unconnected.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 2 and 3</strong> <strong>(Inputs)</strong></li>
</ul>



<p class="wp-block-paragraph">Voltage input pins. We are connecting a potentiometer on the negative terminal (Inverting pin) to adjust the sound sensor sensitivity (Reference voltage). So, you can make the sensor very sensitive and feel the hand-clap from a long distance. Or decrease the sensitivity if there&#8217;s a lot of noise around you or something.</p>



<ul class="wp-block-list">
<li class=""><strong>Pins 4 and 7</strong> <strong>(GND, VCC)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">Easy! it&#8217;s the power supply pins. Pin 7 is VCC and 4 is GND. This chip can handle an input voltage from 5V to 15V.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 6</strong> <strong>(Output)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">The voltage output pin.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 8</strong> <strong>(Not Connected)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">Pin 8 is unconnected.</p>



<h2 class="wp-block-heading">CD4017 IC Decade Counter</h2>



<hr class="wp-block-separator has-css-opacity"/>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="450" height="450" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/CD4017-IC.jpeg?resize=450%2C450&#038;ssl=1" alt="CD4017 IC" class="wp-image-866" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/CD4017-IC.jpeg?w=450&amp;ssl=1 450w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/CD4017-IC.jpeg?resize=100%2C100&amp;ssl=1 100w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/CD4017-IC.jpeg?resize=150%2C150&amp;ssl=1 150w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/CD4017-IC.jpeg?resize=300%2C300&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/CD4017-IC.jpeg?resize=370%2C370&amp;ssl=1 370w" sizes="auto, (max-width: 450px) 100vw, 450px" /><figcaption class="wp-element-caption">CD4017 IC</figcaption></figure>
</div>


<p class="wp-block-paragraph">Each output of this chip will turn on, one at a time, sequentially or in succession. For example, let&#8217;s say that we are connecting ten LEDs with the chip. Each LED is connected on a different output pin, each LED will light, one at a time unless all have been turned on at the same time. After it reaches the last output pin<strong>(Q9)</strong> it will start over again and repeats and repeats infinitely.</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">This IC called decade counter because it&#8217;s simply can count from 0 to 9 or from 1 to 10 and that&#8217;s why this IC named &#8220;Decade&#8221; (remember it, a decade is made up of 10 years) Actually, I wanna kiss the guy who came up with that name.</div></div>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="1309125976"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">This counting behavior is working by a command from the 4017 IC <strong>&#8220;Clock&#8221;</strong> pin which plays a big role in <strong>4017</strong> <strong>chip</strong>, without this pin the chip will not work at all. Once the <strong>&#8220;Clock&#8221;</strong> pin goes from <strong>LOW</strong> to <strong>HIGH</strong>, at this point the chip knows that it is the time to turn off the <strong>current</strong> output and turn on the <strong>next</strong> output. So, it knows when to act based on the <strong>clock signal</strong>.</p>



<h4 class="wp-block-heading">CD4017 IC Pinout</h4>



<hr class="wp-block-separator has-css-opacity"/>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="840" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/IC4017.png?resize=770%2C840&#038;ssl=1" alt="4017 Chip Pinout" class="wp-image-842" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/IC4017.png?w=939&amp;ssl=1 939w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/IC4017.png?resize=800%2C872&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/IC4017.png?resize=275%2C300&amp;ssl=1 275w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/IC4017.png?resize=768%2C838&amp;ssl=1 768w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">4017 Chip Pinout</figcaption></figure>
</div>


<ul class="wp-block-list">
<li class=""><strong>Pins 1,2,3,4,5,6,7,9,10,11</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">It&#8217;s the output pins where we place the load which we need to control. The outputs are numbered from <strong>Q0 to Q9.</strong> In our case, we will use only two output pins <strong>(Q0, Q1)</strong> to turn on and off the relay, the transistor which controls the relay state will be connected on <strong>Q0</strong>, and a normal LED on <strong>Q1</strong> to indicate that the relay state is off.</p>



<ul class="wp-block-list">
<li class=""><strong>Pins 8 and 16</strong> <strong>(GND, VDD)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">Power supply pins, this chip can handle an input voltage from <strong>3.3V to 18V</strong>.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 15</strong> <strong>(Reset)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">It resets the count back down to <strong>output 0 (Q0)</strong>, normally it&#8217;s grounded. This means when it brought to a <strong>HIGH</strong> logic level it will reset the count down back to<strong> output 0 (Q0)</strong>.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 14</strong> <strong>(CLK)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">As we stated before, It&#8217;s the pin that tells the chip when to start/stop counting.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 13</strong> <strong>(EN)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">The enable pin is an active low pin, which means it will normally be connected to the ground to make the chip active and operating properly, once it is brought to a HIGH logic level, the chip will stop operating.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 12 (CO)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">The carry-out pin remains HIGH as long as the counting is on the first half<strong>(Q0 &#8211; Q4)</strong> and it turns LOW when the counter reaches the second half<strong>(Q5 &#8211; Q9)</strong>.</p>



<h2 class="wp-block-heading">Control high voltage appliances</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="wp-block-paragraph">Relay is an electromagnetic switch that turns on/off a circuit with a low power signal. Like in our case we need to drive a 220VAC load. But, our circuit can&#8217;t do that on its own so we added a relay to switch the AC on/off by the CD4017 output signal.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="500" height="362" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/5v-relay-driver-circuit-module-circuit-diagram_0.png?resize=500%2C362&#038;ssl=1" alt="" class="wp-image-845" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/5v-relay-driver-circuit-module-circuit-diagram_0.png?w=500&amp;ssl=1 500w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/5v-relay-driver-circuit-module-circuit-diagram_0.png?resize=300%2C217&amp;ssl=1 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></figure>
</div>


<p class="has-regular-font-size wp-block-paragraph">It&#8217;s very important to add a diode to protect your controller or your IC from any back-EMF. </p>



<p class="wp-block-paragraph">We a re using a 5VDC relay which has 5 pins as shown in the figure below.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="486" height="249" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Relay-Pinout.png?resize=486%2C249&#038;ssl=1" alt="Relay pinout" class="wp-image-854" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Relay-Pinout.png?w=486&amp;ssl=1 486w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Relay-Pinout.png?resize=300%2C154&amp;ssl=1 300w" sizes="auto, (max-width: 486px) 100vw, 486px" /><figcaption class="wp-element-caption">Relay pinout</figcaption></figure>
</div>

<div class="su-box su-box-style-default" id="" style="border-color:#000000;border-radius:3px;max-width:none"><div class="su-box-title" style="background-color:#333333;color:#FFFFFF;border-top-left-radius:1px;border-top-right-radius:1px">How Do Relays Work?</div><div class="su-box-content su-u-clearfix su-u-trim" style="border-bottom-left-radius:1px;border-bottom-right-radius:1px">Simply, the relay is just an electromagnetic switch operated by a small voltage that can control another high voltage/current circuit.</p>
<p>Relay&#8217;s most important component is the coil, it consists of a coil that turns into a magnet once a current flows through it. when a current flows through the coil there is a magnetic field that will get generated to attract a contact to turn on (close) the load circuit.</p>
<p>And vice versa, when there is no current is flowing through the coil, a spring will attract the contact back to its original position to turn off(open) the load circuit.</div></div>



<p class="has-regular-font-size wp-block-paragraph">The <strong>&#8220;COM&#8221;</strong> is the contact that closes or opens the load circuit based on the coil state, is it energized or not?  <br><br>The <strong>&#8220;Normally Closed&#8221; (NC)&#8221;</strong> is the pin that is closed by default when there is no current flowing through the coil, it will get disconnected from the <strong>COM</strong> pin only when current flows through the coil. <strong>&#8220;Normally Open&#8221; (NO</strong>) is the pin that is opened by default when there&#8217;s no current flowing through the coil, it will get connected with the <strong>COM</strong> pin only when current flows through the coil.</p>



<h2 class="wp-block-heading">Schematic</h2>



<hr class="wp-block-separator has-css-opacity"/>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="301" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Hand-clap-circuit-schematicEdited.png?resize=770%2C301&#038;ssl=1" alt="Circuit Schematic" class="wp-image-857" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Hand-clap-circuit-schematicEdited.png?w=1170&amp;ssl=1 1170w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Hand-clap-circuit-schematicEdited.png?resize=800%2C312&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Hand-clap-circuit-schematicEdited.png?resize=300%2C117&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Hand-clap-circuit-schematicEdited.png?resize=768%2C300&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Hand-clap-circuit-schematicEdited.png?resize=1024%2C400&amp;ssl=1 1024w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Circuit Schematic</figcaption></figure>
</div>


<p class="wp-block-paragraph"><strong>This circuit works on 12V, not 9V.</strong></p>



<h2 class="wp-block-heading">PCB Manufacturing</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="wp-block-paragraph">I designed this circuit using Autodesk Eagle software. all the PCB files are open-source you can access it from the following link. Because we love open source.</p>



<div class="aligncenter wp-block-button"><a class="wp-block-button__link has-background wp-element-button" href="https://www.pcbway.com/project/shareproject/Handclap_AC_circuit_Control.html" style="border-radius:100px;background-color:#00a99d">PCB Files</a></div>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="395" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/PCB.png?resize=770%2C395&#038;ssl=1" alt="PCB Board" class="wp-image-850" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/PCB.png?w=1170&amp;ssl=1 1170w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/PCB.png?resize=800%2C410&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/PCB.png?resize=300%2C154&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/PCB.png?resize=768%2C394&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/PCB.png?resize=1024%2C526&amp;ssl=1 1024w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">PCB Board</figcaption></figure>
</div>


<p class="wp-block-paragraph"><strong>You can order your own PCB From&nbsp;<a href="https://www.pcbway.com/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">PCBWay</a>&nbsp;company these guys have a very good reputation in this field and they ship to more than 170 countries around the world with reasonable prices. all you have to do is to open the project&nbsp;<a rel="noreferrer noopener" aria-label="PCB files link (opens in a new tab)" href="https://www.pcbway.com/project/shareproject/Handclap_AC_circuit_Control.html" target="_blank">PCB files link</a>&nbsp;and press “Add to cart”. That’s it!</strong></p>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="440" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?resize=770%2C440&#038;ssl=1" alt="Add to cart!" class="wp-image-862" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?w=1170&amp;ssl=1 1170w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?resize=800%2C457&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?resize=300%2C171&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?resize=768%2C438&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?resize=1024%2C584&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?resize=900%2C515&amp;ssl=1 900w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Add to cart!</figcaption></figure>
</div>


<h2 class="wp-block-heading">Final</h2>



<p class="wp-block-paragraph">I will assume that you built it and you are happy now. CONGRATS FAM! in this tutorial we learned how does the CD4017 decade decoder IC work, also we learned how to use the UA741 op-amp as a comparator, and how to drive an AC voltage load using a simple relay. Lastly, we build a hand-clap AC control switch which is dope! </p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="1309125976"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
<p>The post <a href="https://makesomestuff.org/handclap-ac-switch-control/">Custom-Made Handclap AC Switch Control Board</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://makesomestuff.org/handclap-ac-switch-control/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">803</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: makesomestuff.org @ 2026-08-04 03:51:59 by W3 Total Cache
-->