<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Free Project - Medium]]></title>
        <description><![CDATA[You can find projects in various languages like Java, Java Script, C, C++, C# and Python / Django. These projects are available for free on various websites and resource portals. We try our best to provide reliable collection of projects and source codes freely to our users. - Medium]]></description>
        <link>https://medium.com/code-projectz?source=rss----47eee01fd36f---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Free Project - Medium</title>
            <link>https://medium.com/code-projectz?source=rss----47eee01fd36f---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 09:21:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/code-projectz" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to make automatic night lights ?]]></title>
            <link>https://medium.com/code-projectz/how-to-make-automatic-night-lights-19f7826c7b34?source=rss----47eee01fd36f---4</link>
            <guid isPermaLink="false">https://medium.com/p/19f7826c7b34</guid>
            <category><![CDATA[automatic-light-switch-nz]]></category>
            <category><![CDATA[electronics]]></category>
            <category><![CDATA[tutorials-free-download]]></category>
            <category><![CDATA[circuit]]></category>
            <dc:creator><![CDATA[xVentures]]></dc:creator>
            <pubDate>Sat, 03 Sep 2022 01:22:52 GMT</pubDate>
            <atom:updated>2022-09-03T01:22:52.597Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to make automatic night lights ?</h3><p>In this tutorial blog, we are going to see how to turn on and off the lights automatically depending upon the surroundings. Some people may forget to turn off the light in the morning, which leads to wastage of electricity as well as money. Let us see how this circuit helps us to overcome from these problems.</p><p>Find more similar<a href="https://circuitsgeek.com/"><strong> tutorials on circuits and electronics</strong></a> at CircuitsGeek.</p><h3>Circuit diagram of a night lamp</h3><p>You can find the circuit diagram of a night lamp below -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DFX4HCN-PtbASBXy.jpg" /></figure><h3>Working of a night lamp</h3><p>Instead of giving the AC supply directly to the bridge rectifier, we implement a tank circuit series with the bridge rectifier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*GdTljBNkcxY9cwEX.jpg" /></figure><h3>So what is the use of tank circuit here ?</h3><p>Here the tank circuit acts as a current limiting device. In simple, in AC circuit the resistance of the capacitor was calculated by</p><blockquote><em>Xc = 1/ 2piFC</em></blockquote><p>Where ,</p><ul><li><em>F = frequency</em></li><li><em>C = capacitance</em></li><li><em>Pi = 3.14</em></li><li><em>unit of Xc is ohms</em></li></ul><h4>For example,</h4><p>frequency = 50 hz, capacitance of the capacitor = 2.2uf ,</p><ul><li>Xc = 1 / (2 X 3.14 X 50 X (1000 x 10 e -6))</li><li>= 1447 ohms or 1.4 k ohms</li></ul><p>by using ohms law,</p><ul><li>V / R = I</li><li>I = 230 / 1447</li><li>I = 0.15 — -&gt; 150 mA</li></ul><p>From here we can find that, the current entering into the bridge rectifier was 150mA. In order to discharge the capacitor, we connected the R1 across the C1. From bridge the circuit closed by connecting to the neutral via 10ohms resistor, which acts as a fuse. The capacitor c2 connected in parallel with bridge output which acts as a filter to reduce the noise from the bridge o/p.</p><h3>How to select the c2 ?</h3><p>from the concepts of full wave rectifier we know that,</p><blockquote><em>Vmax = Vrms X 1.414</em></blockquote><p>here, Vrms is the input voltage.</p><ul><li>Vmax = 230 X 1.414</li><li>= 325.22 volts.</li></ul><p>So maximum RMS voltage across the bridge rectifier was around 325 volts.The selection of the capacitor should be more than 350 Volts.</p><p>In order to reduce the voltage from 320 to 10 volts across the circuit, we are using a 10v zener diode. It is important to use a current limiting resistor series with the zener to prevent the large current flow into it.</p><p>using this formula,</p><p><strong>Rz = Vt — Vz / Iz</strong></p><p>where,</p><ul><li>Rz = resistance required</li><li>Vt = total polariation resistance voltage</li><li>Vz = zener voltage</li><li>Iz = zener current</li><li>Rz = (325–10) / 0.02</li><li>= 15750 ohms or <strong>15.7Kohms</strong></li></ul><p>Resistor in series with the zener diode should be 15 k ohms. But in some case the resistor will become very hot. So try to use 35 to 45 k ohms 5 watts resistor.</p><p>Once we reduce the current we can connect the zener diode to reduce the voltage. The 10K resistor across the zener diode will support to handle the load.</p><p>We find some noise in the circuit after regulating the voltage. In order to omit that we used the 2 more capacitor (c3 and c4 ) parallel with the circuit.</p><p>The 100k variable pot in series with the LDR forms a voltage divider. By varying the pot value we can change the sensitivity of the LDR.</p><p>LDR will have high resistance when there is no light around it. This helps to turn on the T1 (NPN). Once the T1 is ON, the voltage across the collector and emitter will become LOW. This makes the T2(PNP) to turn on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/0*ald0c0HMnkL2nbJQ.jpg" /></figure><p>The high output of the T2 was connected to the 1 pin of the optocoupler, Internally the 1st pin was nothing but an anode of led. The cathode was the 2nd pin. In order to reduce the current across the internal led, the resistor R7 was connected.</p><p>Once the internal led was turn on, the photo DIAC inside the optocoupler will conduct. In simple, current will flow from mains to 6th pin and comes out from the 4th pin.</p><p>Which helps to turn on the TRIAC attached to it. When the circuit closed by the triac, the light will glow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19f7826c7b34" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-projectz/how-to-make-automatic-night-lights-19f7826c7b34">How to make automatic night lights ?</a> was originally published in <a href="https://medium.com/code-projectz">Free Project</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>