{"id":1303,"date":"2024-05-07T08:00:00","date_gmt":"2024-05-07T06:00:00","guid":{"rendered":"https:\/\/www.fuhselab.de\/?p=1303"},"modified":"2025-05-27T12:56:45","modified_gmt":"2025-05-27T10:56:45","slug":"arduino-lcd-2","status":"publish","type":"post","link":"https:\/\/www.fuhselab.de\/index.php\/2024\/05\/07\/arduino-lcd-2\/","title":{"rendered":"Arduino LCD 2"},"content":{"rendered":"\n<p>Arduino Projekt 26 widmet sich einem LCD-Grafikmodul und f\u00fchrt dazu einige Experimente durch\u2026<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><strong>Vorbereitungen:<\/strong><\/p>\n\n\n\n<p>F\u00fcr dieses Projekt werden folgende Bauteile ben\u00f6tigt:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.reichelt.de\/experimentier-slide-steckboard-640-200-kontakte-steckboard-s8-p177330.html?CCOUNTRY=445&amp;LANGUAGE=de&amp;trstct=pos_12&amp;nbc=1&amp;&amp;r=1\">Steckboard<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.reichelt.de\/entwicklerboards-kabel-set-verschiedene-laengen-65er-pack--debo-kabelset18-p282690.html?PROVID=2788&amp;gclid=EAIaIQobChMI5Mqvt8jp-wIVUASLCh1ozQTZEAQYAiABEgK1X_D_BwE\">Kabelset f\u00fcr Entwicklerboards<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.reichelt.de\/lcd-grafikdisplay-128x64-pixel-ge-gn-m-bel--lcd-128x64gn-ab-p197566.html?CCOUNTRY=445&amp;LANGUAGE=de&amp;trstct=pos_2&amp;nbc=1&amp;&amp;r=1\">LCD Grafikmodul<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.reichelt.de\/stiftleisten-2-54-mm-1x16-gerade-mpe-087-1-016-p119887.html?&amp;trstct=pol_9&amp;nbc=1\">Stiftleiste<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.reichelt.de\/drehimpulsgeber-24-impulse-24-rastungen-horizontal-stec12e05-p73921.html?&amp;trstct=pol_5&amp;nbc=1\">Potenziometer<\/a><\/li>\n<\/ul>\n\n\n\n<p>Die Pinbelegung des Grafikmoduls sollte dem Datenblatt entnommen werden. Um den Anschluss des Displays an die Steckplatine zu vereinfachen, wird die Stiftleiste angel\u00f6tet.<\/p>\n\n\n\n<p><strong>Schaltungsaufbau:<\/strong><\/p>\n\n\n\n<p>Die Verkabelung habe ich nach dem Datenblatt meines Grafikmoduls 13B36 vorgenommen und der mitgelieferten openGLCD Dokumentation\u2026<\/p>\n\n\n\n<p><strong>Programmierung Code 1:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;openGLCD.h&gt;\n#include \"fonts\/SystemFont5x7.h\"\nint j = 7;\nvoid setup()\n{\nGLCD.Init(NON_INVERTED);\nGLCD.ClearScreen();\nGLCD.SelectFont(System5x7);\n}\nvoid loop()\n{\nGLCD.ClearScreen();\nGLCD.CursorTo(1, 1);\nGLCD.Puts(\"Hallo Welt\");\nGLCD.CursorTo(1, 2);\nGLCD.Puts(\"Dies ist Projekt 26 \");\nGLCD.CursorTo(1, 3);\nGLCD.Puts(\"Arduino Workshop\");\nGLCD.CursorTo(1, 4);\nGLCD.Puts(\"Kapitel 7\");\nGLCD.CursorTo(1, 5);\nGLCD.Puts(\"Seite 173\");\nGLCD.CursorTo(1, 6);\nGLCD.Puts(\"Vom 15. Juli 2016\");\n\/\/GLCD.PrintNumber(j);\nGLCD.Puts(\".\");\ndo {} while(1);\n}<\/code><\/pre>\n\n\n\n<p><strong>Programmierung Code 2:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;openGLCD.h&gt;\n#include \"fonts\/SystemFont5x7.h\"\nint j = 7;\nvoid setup()\n{\nGLCD.Init(NON_INVERTED);\nGLCD.ClearScreen();\nGLCD.SelectFont(System5x7);\n}\n\nvoid loop()\n{\nGLCD.ClearScreen();\nGLCD.DrawRect(1,7,100,30,BLACK);\nGLCD.DrawRoundRect(3,9,80,25,8,BLACK);\nGLCD.DrawCircle(20,20,5,BLACK);\n\/\/GLCD.PrintNumber(j);\ndo {} while(1);\n}<\/code><\/pre>\n\n\n\n<p><strong>Installation der Bibliothek openGLCD:<\/strong><\/p>\n\n\n\n<p>Die Installation sollte \u00fcber die Arduino IDE erfolgen und selbsterkl\u00e4rend sein.<\/p>\n\n\n\n<p>Weitere interessante Webartikel zum Thema Arduino gibt es auf der <a href=\"https:\/\/www.fuhselab.de\/index.php\/category\/arduino\/\">Fuhselab<\/a> Webseite und in der <a href=\"https:\/\/www.fuhselab.de\/index.php\/2023\/08\/24\/fuhselab-artikeluebersicht\/\">Artikel\u00fcbersicht 2022<\/a> und der <a href=\"https:\/\/www.fuhselab.de\/index.php\/2023\/12\/19\/artikeluebersicht-2023\/\">Artikel\u00fcbersicht 2023<\/a>.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Arduino Projekt 26 widmet sich einem LCD-Grafikmodul und f\u00fchrt dazu einige Experimente durch\u2026<\/p>\n","protected":false},"author":1,"featured_media":48,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[22],"class_list":["post-1303","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","tag-arduino-gruppe-peine"],"_links":{"self":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/1303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/comments?post=1303"}],"version-history":[{"count":3,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/1303\/revisions"}],"predecessor-version":[{"id":2780,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/1303\/revisions\/2780"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media\/48"}],"wp:attachment":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media?parent=1303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/categories?post=1303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/tags?post=1303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}