{"id":687,"date":"2014-03-06T16:56:00","date_gmt":"2014-03-06T15:56:00","guid":{"rendered":"https:\/\/wordpress.labs.fhv.at\/openlabs\/?page_id=687"},"modified":"2015-04-28T16:08:50","modified_gmt":"2015-04-28T14:08:50","slug":"display","status":"publish","type":"page","link":"https:\/\/wordpress.labs.fhv.at\/openlabs\/unterwasser-lampecomputer\/programmierung\/display\/","title":{"rendered":"Display"},"content":{"rendered":"<p><strong>Monochrome 0.96&#8243; 128&#215;64 OLED graphic display<\/strong><\/p>\n<p>Das Display kann \u00fcber Watterott bezogen werden, <a href=\"http:\/\/www.watterott.com\/de\/Monochrome-096-128x64-OLED-graphic-display\" target=\"_blank\">Link<\/a>.<\/p>\n<p>Um den einstieg zu vereinfachen, biete ich hier eine kurz erkl\u00e4rt wie die Installation des Displays funktioniert. Wer mit dieser nicht zurecht kommt, der sollte sich mit diesem einfaches tutorial zuerst befassen, <a href=\"http:\/\/learn.adafruit.com\/monochrome-oled-breakouts\" target=\"_blank\">Link<\/a>.<br \/>\nUm das Display \u00fcber einen Arduino anzusteuern ben\u00f6tigt man diese 2 libraries:<\/p>\n<ul>\n<li><a style=\"font-style: normal\" href=\"https:\/\/github.com\/adafruit\/Adafruit_SSD1306\" target=\"_blank\">Adafruit_SSD1306<\/a><\/li>\n<li><a style=\"font-style: normal\" href=\"https:\/\/github.com\/adafruit\/Adafruit-GFX-Library\" target=\"_blank\">Adafruit_GFX<\/a><\/li>\n<\/ul>\n<p>Nach dem Download sollten beide Ordner umbenannt werden, am einfachsten ist hier der Name Adafruit_SSD1306 und\u00a0Adafruit_GFX zu verwenden.<br \/>\nNach dem die Ordner umbenannt worden sind, sollten diese in den library Ordner von Arudino verschoben werden.<\/p>\n<p>Um den Speicherort des library Ordners zu finden folgen sie bitte diesem <a href=\"http:\/\/arduino.cc\/de\/Guide\/Libraries#.UxietNza9d0\" target=\"_blank\">link<\/a>.<\/p>\n<p>Nach einem Neustart der Aruduino software sollte unter dem Reiter: Datei-Beispiele <em>Adafruit_SSD1306<\/em> zu finden sein. In dem n\u00e4chste Reiter kann man zwischen den einzelnen m\u00f6glichen Aufl\u00f6sung w\u00e4hlen und zwischen der Schnittstelle I2C oder SPI ausw\u00e4hlen.<br \/>\nDas <em>Monochrome 0.96&#8243; 128&#215;64 OLED graphic display\u00a0<\/em>besitzt eine Aufl\u00f6sung von 128*64 und wird in diesem Projekt \u00fcber die SPI Schnittstelle mit dem Arudino verbunden. Mit diesem Programm ist es m\u00f6glich eine kleine Demo abzuspielen.<\/p>\n<p><strong>Testaufbau:<\/strong><\/p>\n<p>Um das Display zu testen wurde ein Arudino Uno verwendet.<\/p>\n<p>Pin-Belegung:<\/p>\n<ul>\n<li>GND goes to ground<\/li>\n<li>Vin goes to 5V<\/li>\n<li>DATA to digital 9<\/li>\n<li>CLK to digital 10<\/li>\n<li>D\/C to digital 11<\/li>\n<li>RST to digital 13<\/li>\n<li>CS to digital 12<\/li>\n<\/ul>\n<div id=\"attachment_694\" style=\"width: 310px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/wordpress.labs.fhv.at\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000594.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-694\" class=\"size-medium wp-image-694 \" alt=\"P1000594\" src=\"https:\/\/wordpress.labs.fhv.at\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000594-300x149.jpg\" width=\"300\" height=\"149\" srcset=\"https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000594-300x149.jpg 300w, https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000594-1024x510.jpg 1024w, https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000594-500x249.jpg 500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-694\" class=\"wp-caption-text\">Bild 1.1 &#8211; Versuchsaufbau<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Interface\u00a0<\/strong><\/p>\n<ul>\n<li><strong style=\"color: #000000;font-style: normal\">erste Version<\/strong><\/li>\n<\/ul>\n<p>Pate f\u00fcr das Interface stand der Scubapro Tiefenmesser Digital 330.<\/p>\n<div style=\"width: 220px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"  \" alt=\"\" src=\"http:\/\/www.tauchshoponline.ch\/contents\/media\/uwatec_tiefenmesser_digital.jpg\" width=\"210\" height=\"210\" \/><p class=\"wp-caption-text\">Bild 1.2<\/p><\/div>\n<div id=\"attachment_695\" style=\"width: 310px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/wordpress.labs.fhv.at\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000595.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-695\" class=\"size-medium wp-image-695 \" alt=\"P1000595\" src=\"https:\/\/wordpress.labs.fhv.at\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000595-300x170.jpg\" width=\"300\" height=\"170\" srcset=\"https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000595-300x170.jpg 300w, https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000595-1024x581.jpg 1024w, https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000595-500x284.jpg 500w, https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000595.jpg 1390w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-695\" class=\"wp-caption-text\">Bild 1.3 &#8211; Interface<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Der Programmcode ist hier zu finden, <a href=\"https:\/\/wordpress.labs.fhv.at\/openlabs\/laufende-projekte\/unterwasser-lampecomputer\/programmierung\/display\/testprogramm\/\" target=\"_blank\">Link<\/a>.<\/p>\n<ul>\n<li><strong style=\"color: #000000;font-style: normal\">zweite Version:<\/strong><\/li>\n<\/ul>\n<div id=\"attachment_704\" style=\"width: 310px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/wordpress.labs.fhv.at\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000600.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-704\" class=\"size-medium wp-image-704\" alt=\"P1000600\" src=\"https:\/\/wordpress.labs.fhv.at\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000600-300x166.jpg\" width=\"300\" height=\"166\" srcset=\"https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000600-300x166.jpg 300w, https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000600-1024x569.jpg 1024w, https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000600-500x277.jpg 500w, https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-content\/uploads\/sites\/17\/2014\/03\/P1000600.jpg 1425w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-704\" class=\"wp-caption-text\">Bild 1.4<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Monochrome 0.96&#8243; 128&#215;64 OLED graphic display Das Display kann \u00fcber Watterott bezogen werden, Link. Um den einstieg zu vereinfachen, biete ich hier eine kurz erkl\u00e4rt wie die Installation des Displays funktioniert. Wer mit dieser nicht zurecht kommt, der sollte sich &hellip; <a href=\"https:\/\/wordpress.labs.fhv.at\/openlabs\/unterwasser-lampecomputer\/programmierung\/display\/\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":114,"featured_media":0,"parent":682,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-687","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-json\/wp\/v2\/pages\/687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-json\/wp\/v2\/users\/114"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-json\/wp\/v2\/comments?post=687"}],"version-history":[{"count":7,"href":"https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-json\/wp\/v2\/pages\/687\/revisions"}],"predecessor-version":[{"id":693,"href":"https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-json\/wp\/v2\/pages\/687\/revisions\/693"}],"up":[{"embeddable":true,"href":"https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-json\/wp\/v2\/pages\/682"}],"wp:attachment":[{"href":"https:\/\/wordpress.labs.fhv.at\/openlabs\/wp-json\/wp\/v2\/media?parent=687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}