<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7567203116493498486</id><updated>2024-11-01T17:56:21.296+07:00</updated><category term="Interfacing"/><category term="PIC16xxx"/><category term="MIcrocontroller"/><category term="ATmega"/><category term="Microcontroller Project"/><category term="AT89Sxx"/><category term="Programming C"/><category term="Sensor"/><category term="Controller Interface"/><category term="AT90Sxxx Projects"/><category term="Arduino"/><category term="Downloader"/><category term="Power Supply"/><category term="System Numeric"/><category term="Converter"/><category term="Indicator"/><category term="MPC Microcontroller"/><category term="Measurement Control Circuit"/><category term="Microprocessor"/><category term="PLC"/><title type='text'>Free Microcontroller and Interface Programming</title><subtitle type='html'>Make practice is better than never</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mymicro-tutorial.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>117</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-9163486641624207708</id><published>2022-09-08T07:57:00.004+07:00</published><updated>2022-09-08T07:57:45.463+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="Indicator"/><category scheme="http://www.blogger.com/atom/ns#" term="Power Supply"/><title type='text'>USB Power Source Circuit for Arduino</title><content type='html'>&lt;p class=&quot;MsoNormalCxSpFirst&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;Here’s
is a circuit that used for the USB source, power will enter through the USBVCC
section into a P-channel MOSFET&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;a aria-label=&quot;FDN340P (opens in a new tab)&quot; href=&quot;https://www.mouser.com/datasheet/2/149/FDN340P-103694.pdf&quot; style=&quot;box-sizing: inherit; outline: rgb(102, 102, 102) dotted 1px; text-align: start; transition: all 0.2s linear 0s;&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;background: white; border: 1pt none windowtext; color: windowtext; padding: 0cm; text-decoration-line: none;&quot;&gt;FDN340P&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: start;&quot;&gt;. Explaining briefly, MOSFETS are transistors that
are normally closed (connected) until a certain amount of voltage triggers the
gate. Consequently, triggering the MOSFET opens the transistor (disconnected).
Using this characteristic, a comparator is connected to the gate terminal of
the MOSFET to function as a switch mechanism. If you use the USB source, it
will just power up the 3.3V regulator since the MOSFET is normally connected.
If you plug a dc supply, the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a aria-label=&quot;LMV358 (opens in a new tab)&quot; href=&quot;https://www.ti.com/lit/ds/symlink/lmv358-n-q1.pdf&quot; style=&quot;box-sizing: inherit; outline: 0px; text-align: start; transition: all 0.2s linear 0s;&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;background: white; border: 1pt none windowtext; color: windowtext; padding: 0cm; text-decoration-line: none;&quot;&gt;LMV358&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: start;&quot;&gt;&amp;nbsp;op-amp will produce a high output triggering the gate
of the MOSFET, disconnecting the USB source from the 3.3V regulator. So if both
are plugged, the board will use the DC power supply.&lt;/span&gt; This is the figure
of the circuit.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; text-align: center;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-zUjsuZF8O4Q-LHsDuYtl1cxaBoJ_BcajmsVuh-AI5dPVfWIfYj0D5yp08IU_jD0Nz-TJLjb0V5NzPxtngB-YZI9sO9_fa93vAJjSpl0laTuLjgRuq5CQadcr_NG87U8gYKnQvewO-AJqqHfKS_sH8DM3NyLbICAh5-kxY9aHzBPa7jDyXGxKSSTH/s700/USB%20circuit.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;220&quot; data-original-width=&quot;700&quot; height=&quot;101&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-zUjsuZF8O4Q-LHsDuYtl1cxaBoJ_BcajmsVuh-AI5dPVfWIfYj0D5yp08IU_jD0Nz-TJLjb0V5NzPxtngB-YZI9sO9_fa93vAJjSpl0laTuLjgRuq5CQadcr_NG87U8gYKnQvewO-AJqqHfKS_sH8DM3NyLbICAh5-kxY9aHzBPa7jDyXGxKSSTH/s320/USB%20circuit.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFl8pByvNimhTDQXZHb3ztXSAMMHqd6Qd5v1XxO_QUEMTFhtDyBt7POvPrCiPiwuuV6AyoKbW6vk9cnvJGyQvMNHra7llw6nkUqoo5GLo1dEVt0MwOkhgB-JUGD165Z-wWmt6LsX8Uz_kWknQpJlIhEb5dqpbUszvzPKMFu85v8VMPCnh1y8g2twqh/s500/USB%20indicator%20circuit.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;296&quot; data-original-width=&quot;500&quot; height=&quot;189&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFl8pByvNimhTDQXZHb3ztXSAMMHqd6Qd5v1XxO_QUEMTFhtDyBt7POvPrCiPiwuuV6AyoKbW6vk9cnvJGyQvMNHra7llw6nkUqoo5GLo1dEVt0MwOkhgB-JUGD165Z-wWmt6LsX8Uz_kWknQpJlIhEb5dqpbUszvzPKMFu85v8VMPCnh1y8g2twqh/s320/USB%20indicator%20circuit.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7Q0CVfRt5ZmH9fncOb0AVnFUdLupfksXRMnXMMVNTTKnEmMtWgruW8DY8UFcbi7ZvGVoOI-3A2yFDfLb0u4w3tgk3kTTVAblAnVykBfMQVuslG8hGMH00l7uSzu8zgOKmgx-eaQkupxc5AIYugamk16mKTDUgWDmLVPMsFEaBcsOo5dUQZR8olHhx/s561/USB%20Power%20Supply.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;561&quot; data-original-width=&quot;500&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7Q0CVfRt5ZmH9fncOb0AVnFUdLupfksXRMnXMMVNTTKnEmMtWgruW8DY8UFcbi7ZvGVoOI-3A2yFDfLb0u4w3tgk3kTTVAblAnVykBfMQVuslG8hGMH00l7uSzu8zgOKmgx-eaQkupxc5AIYugamk16mKTDUgWDmLVPMsFEaBcsOo5dUQZR8olHhx/s320/USB%20Power%20Supply.jpg&quot; width=&quot;285&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;background: white; color: #232323; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; color: #232323; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;The 5V terminal here indicates a connection to the circuit
powered by the DC power supply earlier. This means that the 3.3V regulator is
powered by whichever powers the circuit.&lt;/span&gt; Lastly, the LED indicator
circuit. Put simply, it lights the green LED up when it detects power from the
5V terminal.&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/9163486641624207708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/9163486641624207708'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2022/09/usb-power-source-circuit-for-arduino.html' title='USB Power Source Circuit for Arduino'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-zUjsuZF8O4Q-LHsDuYtl1cxaBoJ_BcajmsVuh-AI5dPVfWIfYj0D5yp08IU_jD0Nz-TJLjb0V5NzPxtngB-YZI9sO9_fa93vAJjSpl0laTuLjgRuq5CQadcr_NG87U8gYKnQvewO-AJqqHfKS_sH8DM3NyLbICAh5-kxY9aHzBPa7jDyXGxKSSTH/s72-c/USB%20circuit.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-2996019487863910328</id><published>2022-09-08T07:44:00.002+07:00</published><updated>2022-09-08T07:45:19.572+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="Power Supply"/><title type='text'>Power Supply Circuit for Arduino</title><content type='html'>&lt;p class=&quot;MsoNormalCxSpFirst&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;font-size: 12pt;&quot;&gt;This is&lt;/span&gt;&lt;span style=&quot;background: white; color: #232323; font-size: 12.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;background: white; font-size: 12pt;&quot;&gt;the schematic diagram powers our Arduinos. For this, we can
use either DC power supply or USB connection as a source. To trace how the
circuit works, let us start with the 5V linear voltage regulator&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;font-size: 12pt;&quot;&gt;&lt;a aria-label=&quot; (opens in a new tab)&quot; href=&quot;https://www.onsemi.com/pub/Collateral/NCP1117-D.PDF&quot; style=&quot;box-sizing: inherit; outline: 0px; text-align: start; transition: all 0.2s linear 0s;&quot; target=&quot;_blank&quot;&gt;&lt;span color=&quot;windowtext&quot; style=&quot;background: white; border: 1pt none windowtext; padding: 0cm; text-decoration-line: none;&quot;&gt;NCP1117ST50T3G&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: start;&quot;&gt;. This regulator has a pretty straightforward
function. It takes voltage input up to 20V and converts it to 5V. The Vin of
this regulator is connected to the DC power supply via the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://www.vtrons.com/images/DIODE%20M7.pdf&quot; style=&quot;box-sizing: inherit; outline: 0px; text-align: start; transition: all 0.2s linear 0s;&quot; target=&quot;_blank&quot;&gt;&lt;span color=&quot;windowtext&quot; style=&quot;background: white; border: 1pt none windowtext; padding: 0cm; text-decoration-line: none;&quot;&gt;M7&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;span style=&quot;text-align: start;&quot;&gt;&amp;nbsp;diode. This diode provides&lt;/span&gt; &lt;span style=&quot;color: #232323;&quot;&gt;reverse polarity protection, which means current can only
flow from the power supply to the regulator and not the other way around. This
the figure of the circuit.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;background: white; color: #232323; font-family: arial; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; text-align: center;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6TkR1716_xof-MpYh1s9JEvJXKq-jUb7UwGBKr8lP-tMQ6yvNI58V5HZ23zNHLWKA3dUW-1knTD9mhBCguOIt3LwEvgKRws5nRoCzdhyeCxzPF1r7TB5PlvMnY5y131tT29qL9n3i-bTPOMUNygAHMwEEfi1ZKXVXzuoxjZA82NnmDMdtDhaaARvK/s1024/Power%20Supply%20Circuit%20%20for%20Arduino.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;312&quot; data-original-width=&quot;1024&quot; height=&quot;135&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6TkR1716_xof-MpYh1s9JEvJXKq-jUb7UwGBKr8lP-tMQ6yvNI58V5HZ23zNHLWKA3dUW-1knTD9mhBCguOIt3LwEvgKRws5nRoCzdhyeCxzPF1r7TB5PlvMnY5y131tT29qL9n3i-bTPOMUNygAHMwEEfi1ZKXVXzuoxjZA82NnmDMdtDhaaARvK/w441-h135/Power%20Supply%20Circuit%20%20for%20Arduino.png&quot; width=&quot;441&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;background: white; color: #232323; font-family: arial; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span face=&quot;&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;background: white; color: #232323; font-family: arial; font-size: 12pt;&quot;&gt;There are two kinds of capacitors used in this circuit. One,
the polarized capacitors PC1 and PC2. They are used to filter supply noise.
Two, the 100nF capacitor on the far right side acting as a decoupling
capacitor. Decoupling capacitors “disconnects” circuit elements to reduce its
effect on the rest of the circuit. Also, notice the +5V terminals circled in
blue? You can see them around the schematic diagram. That is basically a
connection. Designers often use these terminals so that they can fit their
design in the least amount of pages. Labels like Vin and GND also works the
same.&lt;/span&gt; &lt;span face=&quot;&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;&quot; style=&quot;font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/2996019487863910328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/2996019487863910328'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2022/09/this-is-schematic-diagram-powers-our.html' title='Power Supply Circuit for Arduino'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6TkR1716_xof-MpYh1s9JEvJXKq-jUb7UwGBKr8lP-tMQ6yvNI58V5HZ23zNHLWKA3dUW-1knTD9mhBCguOIt3LwEvgKRws5nRoCzdhyeCxzPF1r7TB5PlvMnY5y131tT29qL9n3i-bTPOMUNygAHMwEEfi1ZKXVXzuoxjZA82NnmDMdtDhaaARvK/s72-w441-h135-c/Power%20Supply%20Circuit%20%20for%20Arduino.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-2047080680209840832</id><published>2020-06-03T08:09:00.002+07:00</published><updated>2020-06-03T08:10:02.179+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MIcrocontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="Microprocessor"/><title type='text'>Microcontroller vs Microprocessor: Primary Differences</title><content type='html'>&lt;p style=&quot;background: white; margin-bottom: 21.75pt; margin-left: 0cm; margin-right: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Typically an MCU uses&amp;nbsp;on-chip embedded Flash memory in
which to store and execute its program. Storing the program this&amp;nbsp;way means
the MCU having&amp;nbsp;a shorter start-up period and executing code quickly.
The&amp;nbsp;only practical limitation to using embedded memory is that the total
available memory space is finite. Most&amp;nbsp;Flash MCU devices available on the
market have a maximum of 2 Mbytes of Program memory. This may prove to be a
limiting factor, depending on the application.&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;p&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; box-sizing: border-box; margin: 0cm 0cm 21.75pt; overflow-wrap: break-word; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;MPUs
do not have memory constraints in&amp;nbsp;the same way. They use external memory
to provide program and data storage. The program is typically&amp;nbsp;stored in
non-volatile memory, such as NAND or serial&amp;nbsp;Flash. At start-up, this is
loaded into an external&amp;nbsp;DRAM and execution commences. This means the MPU
will not be up and running as quickly as an&amp;nbsp;MCU but the amount of DRAM and
NVM you can connect to the processor is in the range of hundreds of Mbytes and
even Gbytes for NAND.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background: white; box-sizing: border-box; margin: 0cm 0cm 21.75pt; overflow-wrap: break-word; text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlEx49cpFfa48CxR63NgVd0OxVFJjtII9Pbol7NJbF6d7KYm3G9cM1souEu12ExB2fsocu5pAIkFqAOOhUKIq5vxmoNmu40KBNUk32JT2jLBz0vGfxwa8HpddV4YcX4bzMafcp_PLunDA/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;611&quot; data-original-width=&quot;900&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlEx49cpFfa48CxR63NgVd0OxVFJjtII9Pbol7NJbF6d7KYm3G9cM1souEu12ExB2fsocu5pAIkFqAOOhUKIq5vxmoNmu40KBNUk32JT2jLBz0vGfxwa8HpddV4YcX4bzMafcp_PLunDA/s320/Differential+of+microcontroller+and+processor.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; box-sizing: border-box; margin: 0cm 0cm 21.75pt; overflow-wrap: break-word; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #222222; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Another
difference is power. By embedding its own power supply, an&amp;nbsp;MCU needs just
one single voltage power rail. By comparison, an MPU requires several
difference voltage&amp;nbsp;rails for core, DDR etc. The developer needs to cater
for this with additiona&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;l&amp;nbsp;&lt;a href=&quot;https://electronicsforu.com/technology-trends/news/isolated-power-supply-control-ics-industrial-inverters&quot; style=&quot;box-sizing: border-box;&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: windowtext; text-decoration-line: none;&quot;&gt;power ICs&lt;/span&gt;&lt;/a&gt;&amp;nbsp;/ &lt;span style=&quot;color: #222222;&quot;&gt;converters&amp;nbsp;on-&amp;nbsp;board. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&quot;background: white; margin-bottom: 21.75pt; margin-left: 0cm; margin-right: 0cm; margin-top: 0cm; text-align: justify;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #222222; font-family: Arial, sans-serif;&quot;&gt;From the application perspective, some aspects
of the design specification might drive device selection in&amp;nbsp;particular
ways. For example, is the number of peripheral interface channels required more
than&amp;nbsp;can be&amp;nbsp;catered for by an MCU? Or, does the marketing specification
stipulate a user interface capability that will&amp;nbsp;not be possible with an
MCU because it does not contain enough memory on-chip or has the
required&amp;nbsp;performance?&lt;/span&gt; When embarking on the first design and
knowing that, it is highly likely there will be many&amp;nbsp;product variations.
In that case, it is very possible a platform-based design approach will be
preferred. This&amp;nbsp;would stipulate more “headroom” in terms of processing
power and interface capabilities in order to accommodate future feature
upgrades.&lt;span style=&quot;color: #222222; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/2047080680209840832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/2047080680209840832'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2020/06/microcontroller-vs-microprocessor.html' title='Microcontroller vs Microprocessor: Primary Differences'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlEx49cpFfa48CxR63NgVd0OxVFJjtII9Pbol7NJbF6d7KYm3G9cM1souEu12ExB2fsocu5pAIkFqAOOhUKIq5vxmoNmu40KBNUk32JT2jLBz0vGfxwa8HpddV4YcX4bzMafcp_PLunDA/s72-c/Differential+of+microcontroller+and+processor.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-3767658470604974324</id><published>2020-06-03T07:02:00.002+07:00</published><updated>2020-06-03T07:02:53.480+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MIcrocontroller"/><title type='text'>STM32F4 Minimal Circuit</title><content type='html'>&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 2.5pt; mso-outline-level: 3; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-weight: bold; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;This is a
design PCB unit to support everything. This circuit &lt;/span&gt;&lt;span style=&quot;background: rgb(231, 234, 239); font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;is of course one of the main things on there is the micro.
I am currently using the STM32F4 discovery board that has the 100 pin
STM32F407VGT on board. Since this basically has everything that I need I
decided to simply use that to keep it simple. This is the figure of the
schematic.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 2.5pt; mso-outline-level: 3; text-align: justify;&quot;&gt;&lt;span style=&quot;background: rgb(231, 234, 239); font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 2.5pt; mso-outline-level: 3; text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVw7MZ8MHJQzlqQwhfCWeoxe4HcAIUnkpjiyz-pjqY8zpOLW5xhe4a7olVM_CVcjW4ApJTI4c6f0jaOv9Ah1jDR-GFnjZBIXghLEXjI4XlO0r00RXnH-uohItJR2J9gS4mxRyCZLQnMlI/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;797&quot; data-original-width=&quot;1500&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVw7MZ8MHJQzlqQwhfCWeoxe4HcAIUnkpjiyz-pjqY8zpOLW5xhe4a7olVM_CVcjW4ApJTI4c6f0jaOv9Ah1jDR-GFnjZBIXghLEXjI4XlO0r00RXnH-uohItJR2J9gS4mxRyCZLQnMlI/s320/STM32F407VGT+schematic.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;background: rgb(231, 234, 239); font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 2.5pt; mso-outline-level: 3; text-align: justify;&quot;&gt;&lt;span style=&quot;background: rgb(231, 234, 239); font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;We know that ARMs are a bit more complex so
that&#39;s why this circuit is asking for help. or now we need a basic circuit that
uses internal oscillators and needs as little hardware as possible (but will
still work reliably). And we want it to be programmable using the SWD
connector. Using different forums and the original datasheet I&#39;ve come up with
the circuit in the attachment.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt; &lt;span style=&quot;background: #E7EAEF;&quot;&gt;Is this OK
or do I need anything else? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 2.5pt; mso-outline-level: 3; text-align: justify;&quot;&gt;&lt;span style=&quot;background: rgb(231, 234, 239); font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifZX1V2-yWVHfEfZTd13MQaL77HPxbAVnOILGSSRQpNPOSjhUdaD_v8Q8tw9E0AGHd7xsYoUYhkEEdLnc3Fj1GnDmUxx7e8K5rq90uTpNaT4Ojb5dSOnf8k7adLZ14BGc3q0xrKnO4c9Y/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1231&quot; data-original-width=&quot;1500&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifZX1V2-yWVHfEfZTd13MQaL77HPxbAVnOILGSSRQpNPOSjhUdaD_v8Q8tw9E0AGHd7xsYoUYhkEEdLnc3Fj1GnDmUxx7e8K5rq90uTpNaT4Ojb5dSOnf8k7adLZ14BGc3q0xrKnO4c9Y/s320/STM32F407VGT+power+supply.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 2.5pt; mso-outline-level: 3; text-align: justify;&quot;&gt;&lt;span style=&quot;background: rgb(231, 234, 239); font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;The data sheet mentions a 4.7uF capacitor on
one of the power lines but I am not sure if this means that I need a 100nF
capacitor and a 4.7uF one or just the 4.7uF. we are also not entirely sure
about the VREF+ capacitor either.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt; &lt;span style=&quot;background: #E7EAEF;&quot;&gt;What
else do I need if I want to use the internal RTC? Probably something connected
to the VBAT pin? The datasheet mentions a power switch but I don&#39;t get how
that&#39;s supposed to work. This article is based on roli’s blog in eevlog.com&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-weight: bold; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 12.0pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/3767658470604974324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/3767658470604974324'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2020/06/stm32f4-minimal-circuit.html' title='STM32F4 Minimal Circuit'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVw7MZ8MHJQzlqQwhfCWeoxe4HcAIUnkpjiyz-pjqY8zpOLW5xhe4a7olVM_CVcjW4ApJTI4c6f0jaOv9Ah1jDR-GFnjZBIXghLEXjI4XlO0r00RXnH-uohItJR2J9gS4mxRyCZLQnMlI/s72-c/STM32F407VGT+schematic.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-7272602725674825591</id><published>2020-05-28T09:07:00.001+07:00</published><updated>2020-05-28T09:07:46.118+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MPC Microcontroller"/><title type='text'>MPC5554 Microcontroller Overview</title><content type='html'>&lt;div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;The MPC5554
microcontroller (MCU) is a member ofthe MPC5500 family of microcontrollers
built on the Power Architecture&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Arial Unicode MS&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;embedded technology.
This family of parts has many new features coupled with high performance CMOS
technology to provide substantial reduction of cost per feature and significant
performance improvement over the MPC500 family. The host processor core of this
device complies with the Power Architecture embedded category that is 100% user-mode
compatible (including floating point library) with the original PowerPC
instruction set. The embedded architecture enhancements improve the performance
in embedded applications. The core also has additional instructions, including
digital signal processing (DSP) instructions, beyond the original PowerPC
instruction set. This is the figure of the MPC5554 chip;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWRn5HUQ-Hpm336qfD9ObiCtlwRVtDwbATqUEa8R9NnTNhuWiCnjVNsoj3C_tOWWNCdafARbJCGbq7YmfIzEj44n-8uS_vE9fd0cGYilFzaM45y9HmDQHEtHIEyPE15somVn-HON7X0cw/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;653&quot; data-original-width=&quot;1000&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWRn5HUQ-Hpm336qfD9ObiCtlwRVtDwbATqUEa8R9NnTNhuWiCnjVNsoj3C_tOWWNCdafARbJCGbq7YmfIzEj44n-8uS_vE9fd0cGYilFzaM45y9HmDQHEtHIEyPE15somVn-HON7X0cw/s320/MPC5554.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;The MPC5500 family of
parts contains many new features coupled with high performance CMOS technology
to provide significant performance improvement over the MPC565. The MPC5554 has
two levels of memory hierarchy. The fastest accesses are to the 32-kilobytes
(KB) unified cache. The next level in the hierarchy contains the 64-KB on-chip
internal SRAM and two-megabytes (MB) internal flash memory. The internal SRAM
and flash memory hold instructions and data. The external bus interface is
designed to support most of the standard memories used with the MPC5&lt;i&gt;xx &lt;/i&gt;family.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;The complex
input/output timer functions of the MPC5554 are performed by two enhanced time
processor unit (eTPU) engines. Each eTPU engine controls 32 hardware channels,
providing a total of 64 hardware channels. The eTPU has been enhanced over the
TPU by providing: 24-bit timers, double-action hardware channels, variable
number of parameters per channel, angle clock hardware, and additional control
and arithmetic instructions. The eTPU is programmed using a high-level
programming language. The less complex timer functions of the MPC5554 are
performed by the enhanced modular input/output system (eMIOS). The eMIOS’ 24
hardware channels are capable of single-action, double-action, pulse-width
modulation (PWM), and modulus-counter operations. Motor control capabilities
include edge-aligned and center-aligned PWM. Off-chip communication is
performed by a suite of serial protocols including controller area networks (FlexCANs),
enhanced deserial/serial peripheral interfaces (DSPIs), and enhanced serial
communications interfaces (eSCIs). The DSPIs support pin reduction through
hardware serialization and deserialization of timer channels and
general-purpose input/output (GPIOs) signals.&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-align: justify; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;The MCU has an
on-chip enhanced queued dual analog-to-digital converter (eQADC). 324
s40-channels. The system integration unit (SIU) performs several chip-wide
configuration functions. Pad configuration and general-purpose input and output
(GPIO) are controlled from the SIU. External interrupts and reset control are
also determined by the SIU. The internal multiplexer submodule provides
multiplexing of eQADC trigger sources, daisy chaining the DSPIs, and external
interrupt signal multiplexing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/7272602725674825591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/7272602725674825591'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2020/05/mpc5554-microcontroller-overview.html' title='MPC5554 Microcontroller Overview'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWRn5HUQ-Hpm336qfD9ObiCtlwRVtDwbATqUEa8R9NnTNhuWiCnjVNsoj3C_tOWWNCdafARbJCGbq7YmfIzEj44n-8uS_vE9fd0cGYilFzaM45y9HmDQHEtHIEyPE15somVn-HON7X0cw/s72-c/MPC5554.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-5866705418570091563</id><published>2020-05-28T08:47:00.002+07:00</published><updated>2020-05-28T08:47:22.781+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MIcrocontroller"/><title type='text'>Inside A Microcontroller</title><content type='html'>&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; font-family: Arial, sans-serif; font-size: 12pt; letter-spacing: 0.4pt;&quot;&gt;A microcontroller can be seen as a small
computer, and this is because of the essential components inside of it; the
Central Processing Unit (CPU), the Random-Access Memory (RAM), the Flash
Memory, the Serial Bus Interface, the Input/Output Ports (I/O Ports), and in
many cases, the Electrical Erasable Programmable Read-Only Memory (EEPROM).
Figure 1 shows a great diagram of the main parts and also other parts in the
microcontroller. Let’s dive into each of these components and see how they work
inside the microcontroller.&lt;/span&gt; &lt;font face=&quot;arial&quot;&gt;This is the figure of the inside part of a
microcontroller.&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;font face=&quot;arial&quot;&gt; &lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTR6HP5uLaxEVsAXYPH-dxAM_zlGwpd9_2mg-TZKyAbIpmzV1S_94Jp7OvCEFskgKkBdUh6fz0zF2eBtOvKUsO4EnofJDmBki8Ne_5mxrczj5gulIXig9yqiTk2TjlY4GF21y2n-k8gT4/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;983&quot; data-original-width=&quot;1500&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTR6HP5uLaxEVsAXYPH-dxAM_zlGwpd9_2mg-TZKyAbIpmzV1S_94Jp7OvCEFskgKkBdUh6fz0zF2eBtOvKUsO4EnofJDmBki8Ne_5mxrczj5gulIXig9yqiTk2TjlY4GF21y2n-k8gT4/s320/Inside+Microcontroller.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;background: white; font-family: Arial, sans-serif; font-size: 12pt; letter-spacing: 0.4pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; font-family: Arial, sans-serif; font-size: 12pt; letter-spacing: 0.4pt;&quot;&gt;The&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;a href=&quot;https://www.arrow.com/en/categories/microcontrollers-and-processors/processors/microprocessors&quot; style=&quot;box-sizing: border-box; cursor: pointer; font-variant-ligatures: common-ligatures; text-align: start; transition: color 0.25s ease-out 0s;&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;background: white; color: black; letter-spacing: 0.4pt; text-decoration-line: none;&quot;&gt;CPU&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background: white; letter-spacing: 0.4pt;&quot;&gt;&lt;span style=&quot;font-variant-ligatures: common-ligatures; text-align: start;&quot;&gt;, sometimes called a processor or microprocessor, controls
all of the instructions/data flow that it receives. You can think of it as the
brains of the system, processing all the data input it receives and executes
the required instructions. Its two main components are the Arithmetic Logic
Unit (ALU), which performs arithmetic and logical operations, and the Control
Unit (CU), which handles all of the processor’s instruction executions. Figure
2 shows a usual &quot;machine cycle&quot; that the CPU goes through.&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;background: white; font-family: Arial, sans-serif; font-size: 12pt; letter-spacing: 0.4pt;&quot;&gt;RAM (Random Access Memory) is a component
that temporarily stores data, and can be accessed quickly. It provides quick
read-and-write access to the storage device. This differs from most other
memories as it takes longer for data to be extracted since the data isn’t
readily available. You can see it as RAM having access to the surface of data –
easily reachable – but anything that dives deeper will require a different type
of memory. RAM improves total system performance because it allows the
microcontroller to work with more information at the same time. Since RAM is
temporary data, its content is always erased when the microcontroller is shut
down.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 0cm; margin-top: 16.75pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; letter-spacing: 0.4pt;&quot;&gt;&lt;a href=&quot;https://www.arrow.com/en/categories/memory/memory-chips/flash&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: black; text-decoration-line: none;&quot;&gt;Flash Memory&lt;/span&gt;&lt;/a&gt;&amp;nbsp;is a type of
non-volatile memory that, unlike RAM, retains its data for an extended period,
even if the microcontroller is turned off. This keeps the saved program that
you might have uploaded to the microcontroller. Flash Memory writes to a
“block” or “sector” at a time, so if you need to just re-write one byte, Flash
Memory will need to re-write the whole block that the byte is in, which can
wear out quicker.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 0cm; margin-top: 16.75pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; letter-spacing: 0.4pt;&quot;&gt;&lt;a href=&quot;https://www.arrow.com/en/categories/memory/memory-chips/eeprom&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: black; text-decoration-line: none;&quot;&gt;EEPROM&lt;/span&gt;&lt;/a&gt;&amp;nbsp;is like Flash Memory, being a
non-volatile memory and retaining its data even after shutdown. The difference
is that, while Flash Memory re-writes a “block” of bytes, EEPROM can re-write
any specific byte at any time. This extends the life of EEPROM compared to
Flash Memory, but also means that it is more expensive.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 0cm; margin-top: 16.75pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; letter-spacing: 0.4pt;&quot;&gt;A
Serial Bus Interface is the serial communication in the microcontroller,
sending data one bit at a time. With microcontroller boards, it connects ICs
with signal traces on a printed circuit board (PCB). For ICs, they use serial
bus to transfer data to reduce the number of pins in a package making them more
cost effective. Examples of serial buses in ICs are SPIs or I2Cs.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 0cm; margin-right: 0cm; margin-top: 16.75pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 12pt; letter-spacing: 0.4pt;&quot;&gt;I/O
ports are what the microcontroller uses to connect to real-world applications.
Inputs receive changes in the real-world, from temperature sensing, to motion
sensing, to push buttons, and much more. The input then goes to the CPU and
decides what to do with that information. When it’s time to do a certain
command based on a certain value from the input, it sends a signal to the
output ports, where it can range from a simple LED light going off, to running
a motor for a certain part, to many more. Figure 3 shows some common input and
output components.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/5866705418570091563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/5866705418570091563'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2020/05/inside-microcontroller.html' title='Inside A Microcontroller'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTR6HP5uLaxEVsAXYPH-dxAM_zlGwpd9_2mg-TZKyAbIpmzV1S_94Jp7OvCEFskgKkBdUh6fz0zF2eBtOvKUsO4EnofJDmBki8Ne_5mxrczj5gulIXig9yqiTk2TjlY4GF21y2n-k8gT4/s72-c/Inside+Microcontroller.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-8796800221815682236</id><published>2013-02-11T14:53:00.000+07:00</published><updated>2013-02-11T14:53:14.466+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Converter"/><title type='text'>Temperature to Digital Converter Circuit</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-bidi-font-weight: bold;&quot;&gt;This is a design circuit for temperature to digital converter circuit
that is based control by LM35 IC. This LM35 is &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;precision integrated-circuit
temperature sensors, whose output voltage is linearly proportional to the Celsius
(Centigrade) temperature. The LM35 thus has an advantage over linear
temperature sensors calibrated in ° Kelvin, as the user is not required to
subtract a large constant voltage from its output to obtain convenient
Centigrade scaling. The LM35 does not require any external calibration or
trimming to provide typical accuracies of ±1⁄4°C at room temperature and ±3⁄4°C
over a full −55 to +150°C temperature range. This is the figure of the circuit
schematic;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijuA3P3RFJ5Ih_FgaSGAXI3AK6HE4ear2p-NTyGz-CZ2k0Mi7WZOf-584ZB8BNXUQvocEjQEGrstePQYwEbtLACM__bRXq5sjMLyVFmAC2n6cAQmhNvm0ES3m6AMyIPCvdwqDNt2vYYdY/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijuA3P3RFJ5Ih_FgaSGAXI3AK6HE4ear2p-NTyGz-CZ2k0Mi7WZOf-584ZB8BNXUQvocEjQEGrstePQYwEbtLACM__bRXq5sjMLyVFmAC2n6cAQmhNvm0ES3m6AMyIPCvdwqDNt2vYYdY/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt;&quot;&gt;How this circuit
can work? This circuit is supply the power using 5VDC that produce by power
supply. And then the voltages enter the circuit as analog signal. This signal
is enter to the LM35 to detected and calculate by the sensor. The output signal
from LM35 send to the ADC converter to processing the digital signal. Before
the digital signal is send to the controller by pin 8, there are voltage for
reference that given to the amplifier. This reference is using as compare when
calculating in microcontroller or microprocessor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/8796800221815682236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/8796800221815682236'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2013/02/temperature-to-digital-converter-circuit.html' title='Temperature to Digital Converter Circuit'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijuA3P3RFJ5Ih_FgaSGAXI3AK6HE4ear2p-NTyGz-CZ2k0Mi7WZOf-584ZB8BNXUQvocEjQEGrstePQYwEbtLACM__bRXq5sjMLyVFmAC2n6cAQmhNvm0ES3m6AMyIPCvdwqDNt2vYYdY/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-1090555636857079965</id><published>2011-03-30T17:25:00.000+07:00</published><updated>2011-03-30T17:32:11.220+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PIC16xxx"/><title type='text'>Single Chip Temperature Data Logger</title><content type='html'>&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;A data logger is a device that records measurements over time. The measurements could be any physical variable like temperature, pressure, voltage, humidity, etc. This project describes how to build a mini logger that records surrounding temperature values. This is the figure of the circuit;&lt;/span&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Temperature will be measured with a DS1820 temperature sensor. DS1820 is a one wire digital temperature sensor from Dallas Semiconductor (now MAXIM). The operating temperature range of the device is -55°C to +125°C with an accuracy of ±0.5°C over the range of -10°C to +85°C. The temperature sensor output is 9?bit Celsius temperature measurement, and so the temperature resolution corresponds to the least significant bit, and which is 0.5°C. But in this project we will use only the most significant eight bits. Therefore, the temperature resolution will be 1°C. The measured temperatures will be recorded into the internal EEPROM memory of PIC12F683.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg98cqlM-SPbSKmulD9a1qjmfv7wNj-RTNyIsDJ678kpwcveVnz9dOCpCxSuMhseT5RaxLnAyotYqHLS_w6cumipSIpgzJo1EcG57OZ3yhQ-1xPCs7Q5M0GX3nVcqkZR00V9HK7u5-NmVM/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;197&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg98cqlM-SPbSKmulD9a1qjmfv7wNj-RTNyIsDJ678kpwcveVnz9dOCpCxSuMhseT5RaxLnAyotYqHLS_w6cumipSIpgzJo1EcG57OZ3yhQ-1xPCs7Q5M0GX3nVcqkZR00V9HK7u5-NmVM/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;The first location of the internal EEPROM will store the sampling interval of data logger. Sampling interval defines the time gap between two successive measurements. This project will have 3 options for sampling time: 1 sec, 1 min, and 10 min. These are user selectable. The second location of EEPROM will store the number of measurements recorded so far. And the remaining 254 EEPROM locations will store 8?bit temperatures. So, using 10 min sampling interval, 254 bytes of EEPROM will provide data logging for 42 hours. The recorded measurements can be sent to PC at any time through a serial link at 9600 baud. &lt;/span&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/1090555636857079965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/1090555636857079965'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/03/single-chip-temperature-data-logger.html' title='Single Chip Temperature Data Logger'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg98cqlM-SPbSKmulD9a1qjmfv7wNj-RTNyIsDJ678kpwcveVnz9dOCpCxSuMhseT5RaxLnAyotYqHLS_w6cumipSIpgzJo1EcG57OZ3yhQ-1xPCs7Q5M0GX3nVcqkZR00V9HK7u5-NmVM/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-7402464018367348428</id><published>2011-03-30T17:22:00.000+07:00</published><updated>2011-03-30T17:31:07.039+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Controller Interface"/><title type='text'>LCD Module Control Using PC</title><content type='html'>&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Here’s a design circuit for simple circuit controls a popular 2-line x 16-character LCD by a PC via printer port. It doesn&#39;t use the Bi-directional feature found on newer printer ports, thus it should work with most, if not all Parallel Ports. These LCD Modules are very common these days, and are quite simple to work with, as all the logic required to run them is on board. This is the figure of the circuit;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7WUsLlfGE4Mnx-06tsezAO5_SBIiTmxREkTMTD_SdUIqkHHftw9ujhOhdVS0RVuATazFmxx6tg9LAngIaxI_lAdwBx7AaxCp7SvKHnM16n2IHJbzT0tgdfT0szm4WERTiKuRwYzGzOpQ/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;261&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7WUsLlfGE4Mnx-06tsezAO5_SBIiTmxREkTMTD_SdUIqkHHftw9ujhOhdVS0RVuATazFmxx6tg9LAngIaxI_lAdwBx7AaxCp7SvKHnM16n2IHJbzT0tgdfT0szm4WERTiKuRwYzGzOpQ/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;The LCD panel&#39;s Enable and Register Select is connected to the Control Port. The Control Port is an open collector/open drain output. While most Parallel Ports have internal pull-up resistors, there are a few which don&#39;t. Therefore by incorporating the two 10K external pull up resistors, the circuit is more portable for a wider range of computers, some of which may have no internal pull up resistors. The 10k Potentiometer controls the contrast of the LCD panel. The software source code has been written in Borland C++.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/7402464018367348428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/7402464018367348428'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/03/lcd-module-control-using-pc.html' title='LCD Module Control Using PC'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7WUsLlfGE4Mnx-06tsezAO5_SBIiTmxREkTMTD_SdUIqkHHftw9ujhOhdVS0RVuATazFmxx6tg9LAngIaxI_lAdwBx7AaxCp7SvKHnM16n2IHJbzT0tgdfT0szm4WERTiKuRwYzGzOpQ/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-8188145282173309134</id><published>2011-03-30T17:16:00.000+07:00</published><updated>2011-03-30T17:30:05.098+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microcontroller Project"/><title type='text'>Electronic MIDI Drum</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Here’s a design circuit for a MIDI interface between drum pads and computer or hardware sequencer. Using this circuit you can hit pads with drumsticks and store the MIDI data in real time. This is the figure of the circuit;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8IK2FCtTAMns0EJolXaTdagn7iteDdeYfHLSDQwkkblGu1cendvz10adOybbYjCQKr52YxJXKQqbMsXpe140749BffpAvAH7BoZ8CQELEeqiK42O_SbbwuZQQLU0M999j7rrV_yCpMms/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;227&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8IK2FCtTAMns0EJolXaTdagn7iteDdeYfHLSDQwkkblGu1cendvz10adOybbYjCQKr52YxJXKQqbMsXpe140749BffpAvAH7BoZ8CQELEeqiK42O_SbbwuZQQLU0M999j7rrV_yCpMms/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;This circuit is based around the PIC16C84 microcontroller which scans the inputs on RB0 to RB7 and when a high is detected the software transmits the equivalent note-on (and then the MIDI note-off after a short delay) for the required drum sound on the MIDI output on RA0.&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/8188145282173309134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/8188145282173309134'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/03/electronic-midi-drum.html' title='Electronic MIDI Drum'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8IK2FCtTAMns0EJolXaTdagn7iteDdeYfHLSDQwkkblGu1cendvz10adOybbYjCQKr52YxJXKQqbMsXpe140749BffpAvAH7BoZ8CQELEeqiK42O_SbbwuZQQLU0M999j7rrV_yCpMms/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-432737863613491094</id><published>2011-03-30T17:06:00.000+07:00</published><updated>2011-03-30T17:28:07.226+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sensor"/><title type='text'>Digital Light Sensor to Microcontroller Circuit</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;This is a design circuit for digital light sensor circuit using microcontroller. The ISL29001 is an integrated ambient light sensor with ADC and I2C interface. With a spectral sensitivity curve matched to that of the human eye, the ISL29001 provides 15-bit effective resolution while rejecting 50Hz and 60Hz flicker caused by artificial light sources. This is the figure of the circuit;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn72Y5EnQG2ej-mAiwq5bygxYK4nl5JteL4p3gWIQXIDoYoYK3KbIiaGSITDg-pi2Lv00nyR9xRishjvqp1MEOZT961c7macdGAqFcey6QXK3HrJqPqgQo5dlBEUbGXkisXMjaCzGDtNA/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;198&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn72Y5EnQG2ej-mAiwq5bygxYK4nl5JteL4p3gWIQXIDoYoYK3KbIiaGSITDg-pi2Lv00nyR9xRishjvqp1MEOZT961c7macdGAqFcey6QXK3HrJqPqgQo5dlBEUbGXkisXMjaCzGDtNA/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;In normal operation, the ISL29001 consumes less than 300µA of supply current. A software power-down mode controlled via the I2C interface disables all but the I2C interface. A power-down pin is also provided, which reduces power consumption to less than 1µA. The ISL29001 includes an internal oscillator, which provides 100ms automatic integration periods, or can be externally timed by I2C commands. Both the internal timing and the illuminance resolution can be adjusted with an external resistor.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/432737863613491094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/432737863613491094'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/03/digital-light-sensor-to-microcontroller.html' title='Digital Light Sensor to Microcontroller Circuit'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn72Y5EnQG2ej-mAiwq5bygxYK4nl5JteL4p3gWIQXIDoYoYK3KbIiaGSITDg-pi2Lv00nyR9xRishjvqp1MEOZT961c7macdGAqFcey6QXK3HrJqPqgQo5dlBEUbGXkisXMjaCzGDtNA/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-605190268193492890</id><published>2011-03-19T02:29:00.000+07:00</published><updated>2011-03-19T02:33:16.012+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AT90Sxxx Projects"/><title type='text'>Led Matrix Circuit With AT90S2313 Microcontroller</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;LED ball physically assembled in a matrix of dimension 20 Rays and 7 LEDs. LEDs are governed microcontroller and two decoder K155ID10. Operating current 80mA decoders, this is enough to connect the LED matrix in the dynamics of directly between the microcontroller and decoders, excluding transistors, the brightness of LEDs is sufficient. The control circuit assembled on two boards, located in the center of the ball, moving away from them rays – soldered in one line cathodes, LEDs, and the anodes are connected by layers of thin wire as a cobweb. This is the figure of the circuit;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBcYQxsEMQdkPhOWggxKrk0FknIqv4IF8SgsL2LdjlN-ofR4ATNm-plX3gG-ZE-HxBw1gJ5B3NvPgm5hZ7kcV-JRFyINILkBEc6Ne8a8-ML98_OSa2ezrMQQ7GSvudYOCeTxzN0nosHaI/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;193&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBcYQxsEMQdkPhOWggxKrk0FknIqv4IF8SgsL2LdjlN-ofR4ATNm-plX3gG-ZE-HxBw1gJ5B3NvPgm5hZ7kcV-JRFyINILkBEc6Ne8a8-ML98_OSa2ezrMQQ7GSvudYOCeTxzN0nosHaI/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Before installing the need to bend legs of chips at 90 degrees, solder all the details of one party to the first charge, then at the opposite conclusions to put a second charge and finish soldering. Podpayat supply wires and programming, flash microcontroller and check the output signals. Only then can continue mounting LEDs. To facilitate the work necessary to prepare a template – a hole in the cardboard (plywood, plastic) 7 holes for the LEDs on the same line two centimeters. Then bend cathodes of LEDs 90 degrees right next to their body, insert the LEDs into the template and unsolder beam deflected conclusions. Each of the 20 rays soldered into the board and turn down under the picture. To give the rigidity of the whole structure, anodes maximum distance from the center LED solder together a 10-centimeter segments of tinned copper wire, giving the correct type of construction of the dodecahedron (face-pentagon at each vertex, three edges). Then solder each layer remaining anodes of LEDs and connect each layer to the relevant conclusions resistance. With proper installation will start building a microcontroller embedded in his light effects. For a change, it automatically changes the number of repetitions, speed, brute force effects. This is enough to exclude the interference of the operator. The program is written in a medium BASCOMAVR, if desired in the source code can add or change inherent effects.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/605190268193492890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/605190268193492890'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/03/led-matrix-circuit-with-at90s2313.html' title='Led Matrix Circuit With AT90S2313 Microcontroller'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBcYQxsEMQdkPhOWggxKrk0FknIqv4IF8SgsL2LdjlN-ofR4ATNm-plX3gG-ZE-HxBw1gJ5B3NvPgm5hZ7kcV-JRFyINILkBEc6Ne8a8-ML98_OSa2ezrMQQ7GSvudYOCeTxzN0nosHaI/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-1847972016515274293</id><published>2011-03-19T02:23:00.000+07:00</published><updated>2011-03-19T02:33:07.836+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ATmega"/><title type='text'>Infrared and Ultrasonic Scanner Using ATMega</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;This is a project that is a short range, infrared and ultrasonic scanner that uses a standard hobby servo to move the sensors and a color LCD screen to display the information from the distance sensors. The information displayed on the LCD is an overhead view of the scanning area, with increments of distance from the distance sensors. This is the figure of the project;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg9hiPtUR61-M8s1H0yns5SWbCCGG2hkHjkhzWXsBJjeyYYq6oQpzCsVUlT4fb6TXnTgFIQu4P7K7Hn_FRkLvnX6e-Jt2Hn-LwDvCEP0FhbLgPUELpXPYmGCbOEHGxXezPlTwyu0G208A/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg9hiPtUR61-M8s1H0yns5SWbCCGG2hkHjkhzWXsBJjeyYYq6oQpzCsVUlT4fb6TXnTgFIQu4P7K7Hn_FRkLvnX6e-Jt2Hn-LwDvCEP0FhbLgPUELpXPYmGCbOEHGxXezPlTwyu0G208A/s320/Untitled-1.jpg&quot; width=&quot;260&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;The core of the project is the ATMEGA32 microcontroller from Atmel. It controls the servo, gathers information from the sensors and places the information on the LCD screen. There is 32K of flash in the microcontroller and the software uses about 13K of that. Since the LCD uses a maximum of 3.3V, the microcontroller is run at 3.3V.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/1847972016515274293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/1847972016515274293'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/03/infrared-and-ultrasonic-scanner-using.html' title='Infrared and Ultrasonic Scanner Using ATMega'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg9hiPtUR61-M8s1H0yns5SWbCCGG2hkHjkhzWXsBJjeyYYq6oQpzCsVUlT4fb6TXnTgFIQu4P7K7Hn_FRkLvnX6e-Jt2Hn-LwDvCEP0FhbLgPUELpXPYmGCbOEHGxXezPlTwyu0G208A/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-6321256700017969159</id><published>2011-03-19T02:18:00.000+07:00</published><updated>2011-03-19T02:33:28.912+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Controller Interface"/><title type='text'>Counter Wall 7 Segment Circuit</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;This is a design circuit that is simple counter can be used to count pulses, as the basis for a customer counter (like you see at the doors of some stores), or for anything else that may be counted. The circuit accepts any TTL compatible logic signal, and can be expanded easily. This is the figure of the circuit;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZWboudAx-HIvggbWIYNC-kueRCZkD7rLz2pVuEDPmZAoRXBXLezne0Od3Rh16X4-X1XVeVTxQQbq7tqOMEYaY7hO_-fAuFryn48GDkzgzGIYkNnC5vr4a7NihYgNeA83wGVi9ZD4tyuw/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;156&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZWboudAx-HIvggbWIYNC-kueRCZkD7rLz2pVuEDPmZAoRXBXLezne0Od3Rh16X4-X1XVeVTxQQbq7tqOMEYaY7hO_-fAuFryn48GDkzgzGIYkNnC5vr4a7NihYgNeA83wGVi9ZD4tyuw/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;All pulses to be counted are to be TTL compatible. They should not exeed 5V and not fall below ground. You can add more digits by building a second (or third, or fourth, etc…) circuit and connecting the pin 11-6 junction of the 74LS90 and 74LS47 to pin 14 of the 74LS90 in the other circuit. You can keep expanding this way to as many digits as you want. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/6321256700017969159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/6321256700017969159'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/03/counter-wall-7-segment-circuit.html' title='Counter Wall 7 Segment Circuit'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZWboudAx-HIvggbWIYNC-kueRCZkD7rLz2pVuEDPmZAoRXBXLezne0Od3Rh16X4-X1XVeVTxQQbq7tqOMEYaY7hO_-fAuFryn48GDkzgzGIYkNnC5vr4a7NihYgNeA83wGVi9ZD4tyuw/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-6148099396316666010</id><published>2011-03-19T02:11:00.000+07:00</published><updated>2011-03-19T02:33:48.590+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sensor"/><title type='text'>Compass Sensor Circuit Using Microcontroller Project</title><content type='html'>&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;This circuit is design circuit to build a digital compass that displays both the direction and cardinal points on a television. Other functionalities were added to complement the sensor interface, such as, temperature display, magnetic declination input and disability option. This is the figure of the circuit;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3dliMf2lY9SAv31Qq1Ayg0u4Q85MfedaK7E6ADg-LhxNSVbldT8KD-8AK4fW3KmihNmB3tu5bKi7f9AySw16pTksBDw98ovHPbgSACrDpCiK135oAmppoOak8KYFzjG-tBd5rL7UtvsQ/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3dliMf2lY9SAv31Qq1Ayg0u4Q85MfedaK7E6ADg-LhxNSVbldT8KD-8AK4fW3KmihNmB3tu5bKi7f9AySw16pTksBDw98ovHPbgSACrDpCiK135oAmppoOak8KYFzjG-tBd5rL7UtvsQ/s320/Untitled-1.jpg&quot; width=&quot;230&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;The HMC1052 two-axis magnetic sensor contains two Anisotropic Magneto-Resistive (AMR) sensor elements in a singleMSOP-10 package. Each element is a full wheat stone bridge sensor that varies the resistance of the bridge magneto resistors in proportion to the vector magnetic field component on its sensitive axis. The two bridges on the HMC1052 are orientated orthogonal to each other so that a two-dimensional representation of an magnetic field can be measured. The bridges have a common positive bridge power supply connection (Vb); and with all the bridge ground connections tied together, form the complete two-axis magnetic sensor. Each bridge has about an 1100-ohm load resistance, so each bridge will draw several milli-amperes of current from typical digital power supplies. The bridge output pins will present a differential output voltage in proportion to the exposed magnetic field strength and the amount of voltage supply across the bridge. Because the total earth’s magnetic field strength this very small (~0.6 gauss), each bridge’s vector component of the earth’s field will even be smaller and yield only a couple milli-volts with nominal bridge supply values. An instrumentation amplifier circuit; to interface with the differential bridge outputs, and to amplify the sensor signal by hundreds of times, will then follow each bridge voltage output.&lt;/span&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/6148099396316666010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/6148099396316666010'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/03/compass-sensor-circuit-using.html' title='Compass Sensor Circuit Using Microcontroller Project'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3dliMf2lY9SAv31Qq1Ayg0u4Q85MfedaK7E6ADg-LhxNSVbldT8KD-8AK4fW3KmihNmB3tu5bKi7f9AySw16pTksBDw98ovHPbgSACrDpCiK135oAmppoOak8KYFzjG-tBd5rL7UtvsQ/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-2133738336970821483</id><published>2011-01-30T18:59:00.000+07:00</published><updated>2011-01-30T19:02:00.873+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microcontroller Project"/><title type='text'>Uninterruptible Power Supply Using PIC17C43 Microcontroller</title><content type='html'>&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;That is a design circuit for Microchip Uninterruptible Power Supply (UPS) reference design with PIC17C43 microcontroller. Here’s the figure of the power supply;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisvmOfCu-aglNy4v35bXGcJruE4JMQT7hiLoE7WiK40tuDdEqqAiRXONPrIe_0BhQDNboSvWk2Sc4Fx9HtPPDqiLdiebCrXavxq2pZZuijHmO9TMgoW7PMM4h7KCBmQSlSaVhEuHLdtW4/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;186&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisvmOfCu-aglNy4v35bXGcJruE4JMQT7hiLoE7WiK40tuDdEqqAiRXONPrIe_0BhQDNboSvWk2Sc4Fx9HtPPDqiLdiebCrXavxq2pZZuijHmO9TMgoW7PMM4h7KCBmQSlSaVhEuHLdtW4/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;
At times, power from a wall socket is neither clean nor uninterruptible. Many abnormalities such as blackouts, brownouts, spikes, surges, and noise can occur. Under the best conditions, power interruptions can be an inconvenience. At their worst, they can cause loss of data in computer systems or damage to electronic equipment.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;
It is the function of an Uninterruptible Power Supply (UPS) to act as a buffer and provide clean, reliable power to vulnerable electronic equipment. The basic concept of a UPS is to store energy during normal operation (through battery charging) and release energy (through DC to AC conversion) during a power failure. UPS systems are traditionally designed using analog components. Today these systems can integrate a microcontroller with AC sine wave generation, offering the many benefits. The PIC17C43 microcontroller handles all the control of the UPS system. The PIC17C43 is unique because it provides a high performance and low cost solution not found in other microcontrollers.&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/2133738336970821483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/2133738336970821483'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/01/uninterruptible-power-supply-using.html' title='Uninterruptible Power Supply Using PIC17C43 Microcontroller'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisvmOfCu-aglNy4v35bXGcJruE4JMQT7hiLoE7WiK40tuDdEqqAiRXONPrIe_0BhQDNboSvWk2Sc4Fx9HtPPDqiLdiebCrXavxq2pZZuijHmO9TMgoW7PMM4h7KCBmQSlSaVhEuHLdtW4/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-7783743368786174363</id><published>2011-01-30T18:54:00.000+07:00</published><updated>2011-01-30T19:02:00.874+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microcontroller Project"/><title type='text'>Centigrade and Fahrenheit Scale Digital Thermometer Using LCD Display</title><content type='html'>&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;This is a design circuit for Digital thermometers are cool devices as they show temperatures in human readable formats. This digital thermometer project is based on a PIC16F688 microcontroller and a DS1820 temperature sensor, and it displays temperature on a character LCD screen in both Celsius and Fahrenheit scales. I selected PIC16F688 for this project because it is cheap (I bought one for $1.50). DS1820 is a 3-pin digital temperature sensor from Dallas semiconductors (now Maxim) which is designed to measure temperatures ranging from -55 to +125 °C in 0.5 °C increments. Here’s the figure of the circuit;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjePtJbb71ny1hRZ29TI5aLHUOj5WniGTRuSAYkBGhS3l_pEyljCBcdoTKFYgiYKYxmKuALzpE5qaU4hEKSSPTR8AAKPfE_-Voj778Wya0aWlrRXgUcn2QieRdg8HJsOASnNsZ6TFOgMuI/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjePtJbb71ny1hRZ29TI5aLHUOj5WniGTRuSAYkBGhS3l_pEyljCBcdoTKFYgiYKYxmKuALzpE5qaU4hEKSSPTR8AAKPfE_-Voj778Wya0aWlrRXgUcn2QieRdg8HJsOASnNsZ6TFOgMuI/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;
The firmware I have written is able to read and display the entire temperature range of DS1820. In order to test for temperature measurements below 0°C, I put the sensor inside my freezer. While trying this, don’t put the whole unit inside the freezer as LCD display unit may stop working at the freezer temperature. Similarly, bringing a soldering iron tip close to the sensor can do testing for the higher range temperature values.&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/7783743368786174363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/7783743368786174363'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/01/centigrade-and-fahrenheit-scale-digital.html' title='Centigrade and Fahrenheit Scale Digital Thermometer Using LCD Display'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjePtJbb71ny1hRZ29TI5aLHUOj5WniGTRuSAYkBGhS3l_pEyljCBcdoTKFYgiYKYxmKuALzpE5qaU4hEKSSPTR8AAKPfE_-Voj778Wya0aWlrRXgUcn2QieRdg8HJsOASnNsZ6TFOgMuI/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-4140445244098832058</id><published>2011-01-25T20:28:00.000+07:00</published><updated>2011-01-30T19:02:43.052+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Controller Interface"/><title type='text'>Using Reset IC in Microcontroller</title><content type='html'>&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;This is a the design of microcontroller based electronics project, the use of Reset IC is critical for highly critical applications that need to ensure that the MCU will only operate at its optimum voltage. Without the use of reset circuitry, the MCU may go into a tristate of which it may go into abnormal operation. This is the figure if the circuit;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJfNwLijmWZmY250X7yErHb0MGLpsM5GM-1XS4iGOMlAKVAGgeeXcbaPk3DpjMxxkxsUjxQmYAA4dbYxom-uepO0ts-7MGJ0BgPsQyNHvORAeNI8CY7tHz37mYSRKkn4Nqitk3ShnDqyE/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;279&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJfNwLijmWZmY250X7yErHb0MGLpsM5GM-1XS4iGOMlAKVAGgeeXcbaPk3DpjMxxkxsUjxQmYAA4dbYxom-uepO0ts-7MGJ0BgPsQyNHvORAeNI8CY7tHz37mYSRKkn4Nqitk3ShnDqyE/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;During power up, once Vcc exceeds the reset threshold, the reset line will be kept low for a period after which the line will be pulled high. This resets the MCU afterwhich it will go into normal operation. &lt;br /&gt;
&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;If the Vcc drops below the reset threshold, the reset pin will go low. It will stay low for at least the reset time out period and go back to high again. This operation will ensure that the MCU power supply is monitored and will only go into operation when the Vcc is within the range of its operation. The threshold voltage of the IC is chosen based on the minimum Vcc of the MCU. MCU supply can range from 1.8V to 5.0V and a suitable IC can be chosen to monitor the supply voltage to the MCU. &lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/4140445244098832058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/4140445244098832058'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/01/using-reset-ic-in-microcontroller.html' title='Using Reset IC in Microcontroller'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJfNwLijmWZmY250X7yErHb0MGLpsM5GM-1XS4iGOMlAKVAGgeeXcbaPk3DpjMxxkxsUjxQmYAA4dbYxom-uepO0ts-7MGJ0BgPsQyNHvORAeNI8CY7tHz37mYSRKkn4Nqitk3ShnDqyE/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-347791724726330243</id><published>2011-01-25T20:20:00.000+07:00</published><updated>2011-01-30T19:02:00.875+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microcontroller Project"/><title type='text'>The Voltage Regulator</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;The DC voltage produce by this circuit is depend on the load; the heavier the load (more current to the load) means the capacitor discharge time will be more faster and as a result the DC voltage output level will be drop. The circuit above is called unregulated AC to DC converter; because it could not maintain its voltage output level, this kind of power source could not be use in electronic circuit that required constant voltage level in order to operate properly such as in digital and microcontroller circuit. Therefore we need what is called Voltage Regulator Circuit and at the same time works as the DC to DC voltage step down.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYHy4d4zLFILd4x7ymhXM9mz5sVf9njJH4jTwX1JSf32BDOE8D9WRflcrl5X7kGXbXu7vvpWk2LWxfPfG_GerJguGNJbl-tIdqCLu5OWofZczCSnAV6LSc-SDZhmCSgTSAbY4A7ffLmBc/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;107&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYHy4d4zLFILd4x7ymhXM9mz5sVf9njJH4jTwX1JSf32BDOE8D9WRflcrl5X7kGXbXu7vvpWk2LWxfPfG_GerJguGNJbl-tIdqCLu5OWofZczCSnAV6LSc-SDZhmCSgTSAbY4A7ffLmBc/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;The first one is the analog voltage regulator, this type of regulator operate the transistor in its linear region (current gainer). The current supplied to the transistor base lead is depend on the voltage different between the reference voltage and output voltage apply to the error amplifier input; for example when the output voltage is greater than the reference voltage, than the error amplifier will make the transistor to conduct less, this mean the voltage drop across the collector and emitter (Vce) will be increase this will make the output voltage to decrease and vice verse. With output voltage being continuously compared to the reference voltage (close loop feedback) by the error amplifier, this kind of circuit could maintain its voltage output level constantly. The disadvantage of using this type of voltage regulator is the power dissipation (power lost as a heat) on the transistor is high especially when we want to use 5 Volt output from 11.33 volt from the unregulated DC source or drain lot of current from it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;The second one is the most efficient voltage regulator as this type of voltage regulator operates the transistor in its saturate region or known as a switching voltage regulator. The working principal is the same as the analog one, but instead of using the constant current to the transistor base lead; this voltage regulator type use pulse current or known as PWM (Pulse Width Modulation) to the transistor base lead and this make the transistor to turn on and off according to the PWM duty cycle supplied by the error amplifier. Therefore by changing the PWM duty cycle we could change the average voltage drop across the collector and emitter (Vce). The inductor (L) is used to release its energy to the load through the diode (D) when the transistor is turn off; and when the transistor is turn on then the transistor will supply the current to the load and the inductor will store the energy in the electromagnetic form; in other word the inductor and diode will ensure that the load will always get a constant current when the transistor is turn off.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/347791724726330243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/347791724726330243'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/01/voltage-regulator.html' title='The Voltage Regulator'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYHy4d4zLFILd4x7ymhXM9mz5sVf9njJH4jTwX1JSf32BDOE8D9WRflcrl5X7kGXbXu7vvpWk2LWxfPfG_GerJguGNJbl-tIdqCLu5OWofZczCSnAV6LSc-SDZhmCSgTSAbY4A7ffLmBc/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-8427238151995809340</id><published>2011-01-25T20:17:00.000+07:00</published><updated>2011-01-30T19:02:26.065+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PIC16xxx"/><title type='text'>Making a Binary Clock Using a PIC Microcontroller</title><content type='html'>&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;This is a design circuit for binary clock circuit. This circuit is the same hardware as the led matrix project using a 16F88 PIC microcontroller and an LED matrix. &amp;nbsp;Its worth taking a look there as the same hardware description applies on how to multiplex the display. This is the figure of the circuit;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhd3E4GYt-IcZDeg2lF2TXhhXWFX47hgc4qSbaxxZMFUwLa81JnRUoQsaZRQcwmlzN2Wl3RdCqS6eK_Mn0ulAC3BENztyPH3XcrVrD9k7arj_FlN8yXjA2IeSrr48MS4MNnO2nnQSVB0oI/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhd3E4GYt-IcZDeg2lF2TXhhXWFX47hgc4qSbaxxZMFUwLa81JnRUoQsaZRQcwmlzN2Wl3RdCqS6eK_Mn0ulAC3BENztyPH3XcrVrD9k7arj_FlN8yXjA2IeSrr48MS4MNnO2nnQSVB0oI/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;
To display hours, minutes and seconds (2 digits each) you need 6 binary digits in total (depending on whether you use a 24 hour clock the top digit needs only 1 or 2 LEDs). &lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/8427238151995809340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/8427238151995809340'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/01/making-abinary-clock-using-pic.html' title='Making a Binary Clock Using a PIC Microcontroller'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhd3E4GYt-IcZDeg2lF2TXhhXWFX47hgc4qSbaxxZMFUwLa81JnRUoQsaZRQcwmlzN2Wl3RdCqS6eK_Mn0ulAC3BENztyPH3XcrVrD9k7arj_FlN8yXjA2IeSrr48MS4MNnO2nnQSVB0oI/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-5695685313002214113</id><published>2011-01-25T20:12:00.000+07:00</published><updated>2011-01-30T19:02:00.875+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microcontroller Project"/><title type='text'>DC to DC Step-Up Regulator</title><content type='html'>&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;This is a design circuit for the Maxim MAX756 is the sample of easy to use DC to DC step-up switching regulator; this chip is used to increase the typically low input DC voltage 1.1 volt - 1.8 volt to the output DC voltage of 3.3 Volt or 5 Volt at maximum 200mA load (300mA on 3.3 Volt output). This is the figure of the circuit;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcvpZUiQlV7Ez5l6UM1WMeVHlDvDxZenUVXzTwywHt2PUvpuGZUHJyhUNmb5C9gmr8hVhBvYIUd5-I_u8t3MVL-FaNCz1lZGb4sQP1PMcRV3uuVW4B3uyM50yyxdWNFDT8dOrXf75JASE/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;136&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcvpZUiQlV7Ez5l6UM1WMeVHlDvDxZenUVXzTwywHt2PUvpuGZUHJyhUNmb5C9gmr8hVhBvYIUd5-I_u8t3MVL-FaNCz1lZGb4sQP1PMcRV3uuVW4B3uyM50yyxdWNFDT8dOrXf75JASE/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span id=&quot;goog_2103201301&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_2103201302&quot;&gt;&lt;/span&gt;&lt;br /&gt;
This means you could easily power your microcontroller project using just a single AA/AAA battery. This kind of step-up power is widely use on digital and microcontroller circuit that powered by low input voltage battery such as micro alkaline 1.5 volt battery. The basic schematic for 5 volt output from 1.5 volt battery. The output voltage of Maxim MAX756 could be selected from 5 volt or 3.3 volt by putting logical low or high on pin 2 (3/5), it also supply the low output indicator detector to the circuit if needed through the pin 4 (LBO). The following picture shows the Maxim MAX756 IC circuit powering the microcontroller’s board using just 1 AA alkaline battery (1.5 Volt).&lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/5695685313002214113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/5695685313002214113'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/01/dc-to-dc-step-up-regulator.html' title='DC to DC Step-Up Regulator'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcvpZUiQlV7Ez5l6UM1WMeVHlDvDxZenUVXzTwywHt2PUvpuGZUHJyhUNmb5C9gmr8hVhBvYIUd5-I_u8t3MVL-FaNCz1lZGb4sQP1PMcRV3uuVW4B3uyM50yyxdWNFDT8dOrXf75JASE/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-3154336244643192550</id><published>2011-01-17T22:41:00.000+07:00</published><updated>2011-01-17T22:42:55.881+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microcontroller Project"/><category scheme="http://www.blogger.com/atom/ns#" term="PIC16xxx"/><title type='text'>PIC Frequency Counter Operating Up To 50 MHz</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;This is a design circuit for general theory of operation of this circuit and notes on frequency counting. This circuit is based on PIC microcontrollers for the main control unit of the circuit. This is the figure of the circuit;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeF5TVeuUsH_OkSrjWH3OZAJ55wsB7pICTVVaCOi_Iw3nMdHjJDsBIqV005Xof8Vp-b1SqGq2O4kfhQZI1ExjDcn5Ou4YyvjmrnlfXsAzgtd0fd_FhoaRch6SzsrqwzVWcf2nTzckCcrw/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeF5TVeuUsH_OkSrjWH3OZAJ55wsB7pICTVVaCOi_Iw3nMdHjJDsBIqV005Xof8Vp-b1SqGq2O4kfhQZI1ExjDcn5Ou4YyvjmrnlfXsAzgtd0fd_FhoaRch6SzsrqwzVWcf2nTzckCcrw/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;The LCD is used in 4 bit mode interface so you only need 4 data lines and three control lines and it then fits into a single 8 bit port.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;The crystal oscillator is simply a crystal and two capacitors connected to the PIC oscillator port at OSC1 and OSC2. The capacitors can both be fixed at the same value unless you want to tune it using a frequency reference. If you don&#39;t have an accurate reference then use fixed capacitors. The PIC micro can be any type that has a Timer 1 hardware and and has enough memory to hold the program. The LED is toggled at the end of every gate time to indicate that the processor is alive - so if there is no input signal you can tell that the software is working.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/3154336244643192550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/3154336244643192550'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/01/pic-frequency-counter-operating-up-to.html' title='PIC Frequency Counter Operating Up To 50 MHz'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeF5TVeuUsH_OkSrjWH3OZAJ55wsB7pICTVVaCOi_Iw3nMdHjJDsBIqV005Xof8Vp-b1SqGq2O4kfhQZI1ExjDcn5Ou4YyvjmrnlfXsAzgtd0fd_FhoaRch6SzsrqwzVWcf2nTzckCcrw/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-3040470787956905589</id><published>2011-01-17T22:39:00.000+07:00</published><updated>2011-01-17T22:42:55.881+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microcontroller Project"/><title type='text'>Multiple PIC16F84 Proteus Simulated Projects</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Proteus is a software tool that allows simulation of various circuits including microcontroller based ones. You can complete entire project with simulator including hardware and software parts. And only then you can move towards manufacturing real device. This page is dedicated only to PIC16F84 microcontroller projects where you can download ready to simulate about 31 complete project.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQUDr5I8-RyFSRziZZU05t6SpdFf2-vP_GOXBqXkWzftcozmFURcsyeZqHbsfeRS4CeZVqRemFZ9KiwQ0b3lxTadshTd-Gfsv-9FopwPxz__qyB7ZGwFI_KmTmUMTwte2f3S4eza4OLTM/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;183&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQUDr5I8-RyFSRziZZU05t6SpdFf2-vP_GOXBqXkWzftcozmFURcsyeZqHbsfeRS4CeZVqRemFZ9KiwQ0b3lxTadshTd-Gfsv-9FopwPxz__qyB7ZGwFI_KmTmUMTwte2f3S4eza4OLTM/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Projects include implementation of popular interfaces like LCD, Timers, EEPROM writing, Interrupts, I2C and 1-wire communication, motor control and so on. Each project include Proteus project file and microcontroller hex file that has to be attached to model to start simulate.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/3040470787956905589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/3040470787956905589'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/01/multiple-pic16f84-proteus-simulated.html' title='Multiple PIC16F84 Proteus Simulated Projects'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQUDr5I8-RyFSRziZZU05t6SpdFf2-vP_GOXBqXkWzftcozmFURcsyeZqHbsfeRS4CeZVqRemFZ9KiwQ0b3lxTadshTd-Gfsv-9FopwPxz__qyB7ZGwFI_KmTmUMTwte2f3S4eza4OLTM/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-4155810797672629392</id><published>2011-01-17T22:35:00.000+07:00</published><updated>2011-01-17T22:42:43.647+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microcontroller Project"/><title type='text'>MIC 702 Mictronics Circuit</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;This is a design circuit that can be used to convert a standard LCD interface parallel to serial interface model, use a microcontroller or a dedicated circuit such as the MIC 702 Mictronics you can download the complete data sheet and French by clicking this link. This is a circuit specially designed to transform the parallel interface and LCD display logic integrated asynchronous serial interface standard. This is the figure of the circuit;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd2lM2LO-FFJwu9tHO3Vnd-HE0XgtZ3Y1SnG93cIkq3mTMxJg-hJ6Gkirf1zbFoyv8vZfjQE2N6AOXYb-LIsQhdYDiqzPTZCH5FA2kqvusXG4FDNX3gzk4TBZxDKYPBdSDEGThq2ycqyk/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;284&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd2lM2LO-FFJwu9tHO3Vnd-HE0XgtZ3Y1SnG93cIkq3mTMxJg-hJ6Gkirf1zbFoyv8vZfjQE2N6AOXYb-LIsQhdYDiqzPTZCH5FA2kqvusXG4FDNX3gzk4TBZxDKYPBdSDEGThq2ycqyk/s320/Untitled-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;The MIC 702 is connected directly to the display with which it is perfectly compatible. Notice the connection with only 4 data bits of high weight since the MIC 702 operates in the display mode twice 4 bits. PC side, the connection with the serial output of the PC does not involve any level converter for RS 232 TTL, this role being played by the only resistor R1 22 ohm whose presence is essential. BAUD The tab allows you to choose the operating speed of the circuit between two speeds: 9600 bps up with S1 or S2 with 2400 baud up. The leg POL allows the circuit to interpret the serial data as direct or inverted. As it is in direct RS232 link should be link this foot to ground to indicate the MIC 702 that receives data reversed. Linkage to +5 volts it would receive direct evidence as would be the case if we wanted to use this circuit with a Basic Stamp example.&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;br style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot; /&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Subject to use a display not backlit, the total consumption of the circuit is low enough that it can take its power directly from the output control signals to the RS 232. It is the role of diodes D2 and D3 associated with IC1, which is a regulator with low dropout voltage and low consumption. If you insist on using a backlit display, it is possible that consumption of its single backlight exceeds the possibilities of the PC&#39;s serial port. You can use an external power supply via the diode D1. A voltage of 9 volts at a flow rate of a hundred mA appropriate.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/4155810797672629392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/4155810797672629392'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/01/mic-702-mictronics-circuit.html' title='MIC 702 Mictronics Circuit'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd2lM2LO-FFJwu9tHO3Vnd-HE0XgtZ3Y1SnG93cIkq3mTMxJg-hJ6Gkirf1zbFoyv8vZfjQE2N6AOXYb-LIsQhdYDiqzPTZCH5FA2kqvusXG4FDNX3gzk4TBZxDKYPBdSDEGThq2ycqyk/s72-c/Untitled-1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567203116493498486.post-1349619964381911999</id><published>2011-01-17T22:31:00.000+07:00</published><updated>2011-01-17T22:33:28.671+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microcontroller Project"/><title type='text'>Driver an RGB LED Using Three Microcontroller Pins</title><content type='html'>&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;The RGB LED contains three LEDs encased in one shell: Red, Green and Blue (some contain an extra blue led - as blue LEDs generate less output intensity (candela) per mA). It looks like a single white led except that it has four leads - one for the common ground connection and one for each led. This is the figure of the circuit;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht3PTBIucGi8w9vuTL7WmlDbG2kjgjLIin9UD0keWgddpELzFCjHHwZ4MRvTTFsilbWcT-LDq1j6eOvszuVpUhfI0pqfj5QwN-J70X6ZAchyphenhyphenE8h5Yt6GYkix3WWD_0A20kGrTj9CKiP_Q/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht3PTBIucGi8w9vuTL7WmlDbG2kjgjLIin9UD0keWgddpELzFCjHHwZ4MRvTTFsilbWcT-LDq1j6eOvszuVpUhfI0pqfj5QwN-J70X6ZAchyphenhyphenE8h5Yt6GYkix3WWD_0A20kGrTj9CKiP_Q/s320/Untitled-1.jpg&quot; width=&quot;268&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;span id=&quot;goog_1883977833&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1883977834&quot;&gt;&lt;/span&gt;&lt;br /&gt;
This project uses puls width modulation to drive each of the leds in the RGB led. By changing the duty cycle of each PWM signal you can control the average current flowing through each led creating any color you want. The limit is set by the resoelution of the PWM (set at 256 steps per channel). The project relies on persistence of vision to make it appear that the led is continuously driven (the PWM signals must be repeated quickly enough so that you do not see any flicker) at a rate greater than 50Hz (approx). Too slow and you begin to see the led flickering.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;&quot;&gt;&lt;span class=&quot;fullpost&quot;&gt;&lt;br /&gt;
By varying the current through each led you can create almost any other color but at close range you only see the individual colors of each LED. To see the &#39;merged&#39; color view it from a distance or put a diffuser over it. I used a small piece of baking paper - which is transparent enough to let the light through and opaque enough to diffuse the light from the three LEDs. In a proper design you would use a semi-transparent plastic.&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/1349619964381911999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567203116493498486/posts/default/1349619964381911999'/><link rel='alternate' type='text/html' href='http://mymicro-tutorial.blogspot.com/2011/01/driver-rgb-led-using-three.html' title='Driver an RGB LED Using Three Microcontroller Pins'/><author><name>Dhodhik</name><uri>http://www.blogger.com/profile/16275912500964574069</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ5kFqHlUQswhSVQIPBy2LrSEhP0mWnWatpbnvno90KNanjQgB9JGYrQ1Ao89eHFpndlIa_T7s25rdMcJDfRSKqx_Tuhn1DDaSo6AzEYBP83TvA6UILW5jm_RaJv3lUA/s113/IMG_20190115_170505_BURST5.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht3PTBIucGi8w9vuTL7WmlDbG2kjgjLIin9UD0keWgddpELzFCjHHwZ4MRvTTFsilbWcT-LDq1j6eOvszuVpUhfI0pqfj5QwN-J70X6ZAchyphenhyphenE8h5Yt6GYkix3WWD_0A20kGrTj9CKiP_Q/s72-c/Untitled-1.jpg" height="72" width="72"/></entry></feed>