<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[EDU: Digital CitiZENship, CyberSecurity, eSkills, Modern EDU  by Gust MEES]]></provider_name><provider_url><![CDATA[https://gustmees.wordpress.com]]></provider_url><author_name><![CDATA[Gust MEES]]></author_name><author_url><![CDATA[https://gustmees.wordpress.com/author/luxwebwizard/]]></author_url><title><![CDATA[First Steps with the Arduino-UNO R3 and NANO | Maker, MakerED, Coding | Scrolling text with&nbsp;I2C-LCD1602]]></title><type><![CDATA[link]]></type><html><![CDATA[<p><span style="color: #ffffff;">.</span></p>
<p><a href="https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg"><img loading="lazy" class="aligncenter size-full wp-image-11202" src="https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg?w=600&#038;h=400" alt="Office Notification-I2C-LCD1602" width="600" height="400" srcset="https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg 600w, https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg?w=150&amp;h=100 150w, https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg?w=300&amp;h=200 300w" sizes="(max-width: 600px) 100vw, 600px" /></a></p>
<p><span style="color: #ffffff;">.</span></p>
<hr />
<h1><span style="color: #000000;">Scrolling text with I2C-LCD1602</span></h1>
<p style="text-align: justify;">I was looking for a simple project for beginners, newbies on Coding and MakerED. A looong time ago since we did a project with ONLY four (4) wires, isn&#8217;t it! Well here is one which is very easy to create, a &#8220;Scrolling text on a LCD1602 with &#8220;I2C-Bus&#8221;. In previous blog post we were already using and explaining the &#8220;I2C-Bus&#8221; with an LCD, so it will be easy to create this one&#8230;</p>
<p>As a reminder, the I2C-Bus on an LCD1602:</p>
<ul>
<li class="hover"><span style="text-decoration: underline;"><strong><a href="https://gustmees.wordpress.com/2018/08/05/first-steps-with-the-arduino-uno-r3-and-nano-maker-makered-coding-rfid-rc522-tag-card-reader-with-lcd1602-i2c/" target="_blank" rel="noopener">First Steps with the Arduino-UNO R3 and NANO | Maker, MakerED, Coding | RFID RC522 Tag-Card Reader with LCD1602-I2C</a></strong></span></li>
<li>&#8230;</li>
</ul>
<p>Let us first have a look on the wiring, which is actually very easy.</p>
<p><span style="color: #ffffff;">.</span></p>
<div data-shortcode="caption" id="attachment_11142" style="width: 610px" class="wp-caption aligncenter"><a href="https://gustmees.files.wordpress.com/2018/08/i2c-lcd1602-pinout-arduino-nano.png" target="_blank" rel="noopener"><img loading="lazy" aria-describedby="caption-attachment-11142" data-attachment-id="11142" data-permalink="https://gustmees.wordpress.com/2018/08/05/first-steps-with-the-arduino-uno-r3-and-nano-maker-makered-coding-rfid-rc522-tag-card-reader-with-lcd1602-i2c/i2c-lcd1602-pinout-arduino-nano/" data-orig-file="https://gustmees.files.wordpress.com/2018/08/i2c-lcd1602-pinout-arduino-nano.png" data-orig-size="721,362" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="I2C LCD1602 PINOUT-Arduino NANO" data-image-description="" data-image-caption="" data-medium-file="https://gustmees.files.wordpress.com/2018/08/i2c-lcd1602-pinout-arduino-nano.png?w=300" data-large-file="https://gustmees.files.wordpress.com/2018/08/i2c-lcd1602-pinout-arduino-nano.png?w=721" class="wp-image-11142" src="https://gustmees.files.wordpress.com/2018/08/i2c-lcd1602-pinout-arduino-nano.png?w=600&#038;h=301" alt="I2C LCD1602 PINOUT-Arduino NANO" width="600" height="301" srcset="https://gustmees.files.wordpress.com/2018/08/i2c-lcd1602-pinout-arduino-nano.png?w=600&amp;h=301 600w, https://gustmees.files.wordpress.com/2018/08/i2c-lcd1602-pinout-arduino-nano.png?w=150&amp;h=75 150w, https://gustmees.files.wordpress.com/2018/08/i2c-lcd1602-pinout-arduino-nano.png?w=300&amp;h=151 300w, https://gustmees.files.wordpress.com/2018/08/i2c-lcd1602-pinout-arduino-nano.png 721w" sizes="(max-width: 600px) 100vw, 600px" /></a><p id="caption-attachment-11142" class="wp-caption-text"><strong>Click image, please, to enlarge.</strong></p></div>
<p style="text-align: justify;">The full tutorial could be found here, which I invite you to read carefully:</p>
<ul>
<li><span style="text-decoration: underline;"><a href="http://acoptex.com/project/21/basics-project-003b-lcd-1602-i2c-module-scroll-text-at-acoptexcom/#sthash.sWHo8Cz4.wCDxCv5L.dpbs" target="_blank" rel="noopener"><strong>http://acoptex.com/project/21/basics-project-003b-lcd-1602-i2c-module-scroll-text-at-acoptexcom/#sthash.sWHo8Cz4.wCDxCv5L.dpbs</strong></a></span></li>
<li>&#8230;</li>
</ul>
<p style="text-align: justify;">In  the tutorial are mentioned also the download link for the code in the upper side of the website, download it and check it; there are some bugs in 😉 I will explain where to look for changing the code, it&#8217;s actually very easy, here we GO!</p>
<p>Here the download link again:</p>
<ul>
<li><span style="text-decoration: underline;"><a href="http://acoptex.com/uploads/lcd1602_2.ino" target="_blank" rel="noopener"><strong>http://acoptex.com/uploads/lcd1602_2.ino</strong></a></span></li>
<li>&#8230;</li>
</ul>
<p>The code looks like this (partial view for WHAT is interesting us&#8230;).</p>
<p><span style="color: #ffffff;">.</span></p>
<div data-shortcode="caption" id="attachment_11197" style="width: 610px" class="wp-caption aligncenter"><a href="https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-original-with-bugs.png" target="_blank" rel="noopener"><img loading="lazy" aria-describedby="caption-attachment-11197" data-attachment-id="11197" data-permalink="https://gustmees.wordpress.com/2018/08/14/first-steps-with-the-arduino-uno-r3-and-nano-maker-makered-coding-scrolling-text-with-i2c-lcd1602/scrolling-text-lcd1602-i2c-original-with-bugs/" data-orig-file="https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-original-with-bugs.png" data-orig-size="964,530" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="SCROLLING-TEXT-LCD1602-I2C-ORIGINAL-WITH-BUGS" data-image-description="" data-image-caption="" data-medium-file="https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-original-with-bugs.png?w=300" data-large-file="https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-original-with-bugs.png?w=964" class="wp-image-11197" src="https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-original-with-bugs.png?w=600&#038;h=330" alt="SCROLLING-TEXT-LCD1602-I2C-ORIGINAL-WITH-BUGS" width="600" height="330" srcset="https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-original-with-bugs.png?w=600&amp;h=330 600w, https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-original-with-bugs.png?w=150&amp;h=82 150w, https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-original-with-bugs.png?w=300&amp;h=165 300w, https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-original-with-bugs.png?w=768&amp;h=422 768w, https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-original-with-bugs.png 964w" sizes="(max-width: 600px) 100vw, 600px" /></a><p id="caption-attachment-11197" class="wp-caption-text"><span style="color:#000000;"><strong>Click image, please, to enlarge.</strong></span></p></div>
<p><span style="color: #ffffff;">.</span></p>
<p style="text-align: justify;">When we look at line 6, it is just a &#8220;comment&#8221; and so it will result in an ERROR, it should become uncommented by &#8221; // &#8220;. In my case I didn&#8217;t get any text displayed, so I had a look at line 18 which is &#8221; lcd.begin (16,2);&#8221; and I changed it into ===&gt; &#8220;lcd.begin (0x3F,16,2);&#8221; which worked!! SO, that&#8217;s my recommendations, otherwise the Sketch works fine and you can change the lines 9 and 10 where you bring in your own text; NOT more than 16 characters, please 😉 Well, give it a try and find out yourselves&#8230;  Here below a screenshot with the working code&#8230;</p>
<p><span style="color: #ffffff;">.</span></p>
<div data-shortcode="caption" id="attachment_11199" style="width: 610px" class="wp-caption aligncenter"><a href="https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-working.png" target="_blank" rel="noopener"><img loading="lazy" aria-describedby="caption-attachment-11199" data-attachment-id="11199" data-permalink="https://gustmees.wordpress.com/2018/08/14/first-steps-with-the-arduino-uno-r3-and-nano-maker-makered-coding-scrolling-text-with-i2c-lcd1602/scrolling-text-lcd1602-i2c-working/" data-orig-file="https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-working.png" data-orig-size="1039,524" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="SCROLLING-TEXT-LCD1602-I2C-WORKING" data-image-description="" data-image-caption="" data-medium-file="https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-working.png?w=300" data-large-file="https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-working.png?w=1024" class="wp-image-11199" src="https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-working.png?w=600&#038;h=303" alt="SCROLLING-TEXT-LCD1602-I2C-WORKING" width="600" height="303" srcset="https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-working.png?w=600&amp;h=303 600w, https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-working.png?w=150&amp;h=76 150w, https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-working.png?w=300&amp;h=151 300w, https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-working.png?w=768&amp;h=387 768w, https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-working.png?w=1024&amp;h=516 1024w, https://gustmees.files.wordpress.com/2018/08/scrolling-text-lcd1602-i2c-working.png 1039w" sizes="(max-width: 600px) 100vw, 600px" /></a><p id="caption-attachment-11199" class="wp-caption-text">Click image, please, to enlarge.</p></div>
<p><span style="color: #ffffff;">.</span></p>
<p style="text-align: justify;">Click the image, please, to enlarge it and find the necessary instructions to make the code work correctly, IF you have the same problem as I had.</p>
<p><span style="color: #ffffff;">.</span></p>
<p>&nbsp;</p>
<table border="2" width="100%" cellspacing="2" cellpadding="1" bgcolor="#ffffc1">
<tbody>
<tr valign="top" bgcolor="#d9d9ad">
<td>
<div id="attachment_11172" class="wp-caption alignnone" data-shortcode="caption">
<p><span style="color: #000000;"><strong>Out of office notification</strong></span></p>
<p><a href="https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg" target="_blank" rel="noopener"><br />
<img loading="lazy" data-attachment-id="11202" data-permalink="https://gustmees.wordpress.com/2018/08/14/first-steps-with-the-arduino-uno-r3-and-nano-maker-makered-coding-scrolling-text-with-i2c-lcd1602/dsc_8150/" data-orig-file="https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg" data-orig-size="600,400" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Office Notification-I2C-LCD1602" data-image-description="" data-image-caption="" data-medium-file="https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg?w=300" data-large-file="https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg?w=600" class="aligncenter wp-image-11202" src="https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg?w=280&#038;h=187" alt="Office Notification-I2C-LCD1602" width="280" height="187" srcset="https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg?w=280&amp;h=187 280w, https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg?w=560&amp;h=374 560w, https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg?w=150&amp;h=100 150w, https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg?w=300&amp;h=200 300w" sizes="(max-width: 280px) 100vw, 280px" /></a></p>
<p class="wp-caption-text"><strong>Click image, please, to enlarge.</strong></p>
</div>
<div></div>
<div></div>
</td>
<td>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Prices of the used material:</strong></p>
<p>&nbsp;</p>
<ul>
<li class=""><span style="text-decoration: underline;"><a href="https://www.amazon.de/gp/product/B079T1BW6T" target="_blank" rel="noopener"><strong>LCD1602-I2C (3 pieces)</strong></a></span></li>
<li class=""><span style="text-decoration: underline;"><a href="https://www.amazon.de/AZDelivery-Nano-V3-verbessere-Kompatibel/dp/B0755XYBG4/" target="_blank" rel="noopener"><strong>Arduino NANO</strong></a></span></li>
</ul>
</td>
<td>
<div>
<p>&nbsp;</p>
</div>
<div></div>
</td>
</tr>
<tr valign="top">
<td></td>
<td></td>
<td></td>
</tr>
<tr valign="top" bgcolor="#d9d9ad">
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<div><span style="color: #ffffff;">.</span></div>
<p>Please check video below to see the Sketch in action, e.g.</p>
<p><span style="color: #ffffff;">.</span></p>
<p><span class="embed-youtube" style="text-align:center; display: block;"><iframe class='youtube-player' width='640' height='360' src='https://www.youtube.com/embed/FmaXoDls1_Y?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en&#038;autohide=2&#038;wmode=transparent' allowfullscreen='true' style='border:0;' sandbox='allow-scripts allow-same-origin allow-popups allow-presentation'></iframe></span></p>
<p><span style="color: #ffffff;">.</span></p>
<p style="text-align: justify;">SO, now that your sketch is working, play a bit around while changing the variables, such as:</p>
<ul>
<li><span style="color: #000000;"><strong>delays</strong></span></li>
<li><span style="color: #000000;"><strong>text</strong></span></li>
<li><span style="color: #000000;"><strong>etc.</strong></span></li>
</ul>
<p>Have fun and stay tuned for next blog posts 😉</p>
<hr />
<p><span style="color: #ffffff;">.</span></p>
<table border="1" width="100%">
<tbody>
<tr>
<td><a href="https://gustmees.files.wordpress.com/2014/10/gust-avril2014-800px-21.jpg"><img loading="lazy" data-attachment-id="5523" data-permalink="https://gustmees.wordpress.com/?attachment_id=5523" data-orig-file="https://gustmees.files.wordpress.com/2014/10/gust-avril2014-800px-21.jpg" data-orig-size="120,149" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="GUST-AVRIL2014-800px-2" data-image-description="" data-image-caption="" data-medium-file="https://gustmees.files.wordpress.com/2014/10/gust-avril2014-800px-21.jpg?w=120" data-large-file="https://gustmees.files.wordpress.com/2014/10/gust-avril2014-800px-21.jpg?w=120" class="alignleft size-full wp-image-5523" src="https://gustmees.files.wordpress.com/2014/10/gust-avril2014-800px-21.jpg?w=120&#038;h=149" alt="GUST-AVRIL2014-800px-2" width="120" height="149" data-attachment-id="5523" data-permalink="https://gustmees.wordpress.com/2014/10/15/only-internet-safety-and-no-basics-of-cyber-security-education-in-schools/gust-avril2014-800px-2-2/" data-orig-file="https://gustmees.files.wordpress.com/2014/10/gust-avril2014-800px-21.jpg" data-orig-size="120,149" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="GUST-AVRIL2014-800px-2" data-image-description="" data-medium-file="https://gustmees.files.wordpress.com/2014/10/gust-avril2014-800px-21.jpg?w=120" data-large-file="https://gustmees.files.wordpress.com/2014/10/gust-avril2014-800px-21.jpg?w=120" /></a>L’auteur <strong>Gust MEES</strong> est <strong>Formateur andragogique / pédagogique TIC</strong>, membre du “Comité Conseil” de “Luxembourg Safer Internet” (LuSI), appelé maintenant <strong><a title="BEESECURE (LU)" href="http://www.bee-secure.lu/" target="_blank" rel="noopener">BEESECURE</a>, partenaire officiel (consultant) du Ministère de l’éducation au Luxembourg du projet  ”</strong><strong><a title="MySecureIT (LU)" href="http://www.myschool.lu/home/mS/publications_fiches.asp" target="_blank" rel="noopener">MySecureIT</a></strong>“, partenaire officiel du Ministère du Commerce au Luxembourg du projet ”<a title="CASES (LU)" href="http://www.cases.lu/" target="_blank" rel="noopener"><strong>CASES</strong></a>” (<strong>C</strong>yberworld<strong> A</strong>wareness and<strong> </strong><strong>S</strong>ecurity<strong> </strong><strong>E</strong>nhancement<strong> </strong><strong>S</strong>tructure). <strong>L’auteur était aussi gagnant d’un concours en électronique en 1979 ( Pays germaniques ) et voyait son projet publié dans le magazine électronique “ELO”.</strong></p>
<hr />
<p>The author <strong>Gust MEES</strong> is <strong>ICT Course Instructor</strong>, ”<strong>Member of the Advisory Board</strong>” from <strong>“Luxembourg Safer Internet</strong>” (LuSI), <a title="BEESECURE (LU)" href="http://www.bee-secure.lu/" target="_blank" rel="noopener"><strong>BEESECURE</strong></a>, Official Partner (Consultant) from the <strong>Ministry of Education in Luxembourg</strong>, project “<strong><a title="MySecureIT (LU)" href="http://www.myschool.lu/home/mS/publications_fiches.asp" target="_blank" rel="noopener">MySecureIT</a></strong>“, Official Partner from the <strong>Ministry of Commerce in Luxembourg</strong>, project “<a title="CASES (LU)" href="http://www.cases.lu/" target="_blank" rel="noopener"><strong>CASES</strong></a>” (<strong>C</strong>yberworld<strong> A</strong>wareness and <strong>S</strong>ecurity <strong>E</strong>nhancement <strong>S</strong>tructure).</p>
<p><strong>The author was also a winner of an electronics contest (Germanic countries) in 1979 and got his project published in the “Electronics Magazine ELO”.</strong></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p style="text-align: justify;"><strong>Keywords necessary for me to create this blog post:</strong> Arduino UNO R3, Arduino NANO, LCD 1602, I2C Bus, coding, learning to learn, learning by doing, trouble shooting, I2C scan, LCD160/I2C, Scrolling Text,</p>
<p>.</p>
<p>.</p>
<p>.</p>
]]></html><thumbnail_url><![CDATA[https://gustmees.files.wordpress.com/2018/08/dsc_8150.jpg?fit=440%2C330]]></thumbnail_url><thumbnail_width><![CDATA[440]]></thumbnail_width><thumbnail_height><![CDATA[293]]></thumbnail_height></oembed>