<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MicroPython #3: PWM, LED Fade</title><link>/members-area/personalblogs/b/blog/posts/micropython-3-pwm-led-fade</link><description>MicroPythonPulse Width Modulation &amp;amp; Duty Cycles At the end of this, you will be able to implement PWM technique and see it on inbuilt LED in Pin2 of ESP 8266 and also by attaching external LED&amp;#39;s. The whole process will be done by MicroPytho...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: MicroPython #3: PWM, LED Fade</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/micropython-3-pwm-led-fade</link><pubDate>Fri, 08 May 2020 15:22:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:52d4fddd-50c9-4d8e-8c56-8c37cc375f5d</guid><dc:creator>colporteur</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Great technical tutorial.&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/434x794/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-52d4fddd-50c9-4d8e-8c56-8c37cc375f5d/contentimage_5F00_206930.png:434:794]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;During my early electronic training, I was fascinated how human anomalies we taken advantage of. An example is how the frequency of a digital signal can effect the way the eye sees things. If you apply a digital signal with a frequency of less than 30Hz, the LED light will appear to flicker (waveforms A). The absence of light during the off cycle is picked up by the human eye as flicker.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The frequency rate of 30Hz that creates flicker is not a fixed value. Human eyes and brains are unique; Some people may not see a flicker at a frequency of less than 30Hz, and others (me!–Sean) do.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Increase the frequency above 30Hz, the eyes persistence retains the light over a short period of time (waveforms B). The eye sees the LED light on but doesn’t see the LED off because it occurs to fast.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Increase the frequency above 30Hz (waveforms C) and reduce the duty cycle (pulse width), the higher frequency takes advantage of the eyes persistence. The LED is turning on and off but the human eye sees the light on but dimmer.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=9255&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>