{"id":1203,"date":"2012-04-22T11:44:59","date_gmt":"2012-04-22T09:44:59","guid":{"rendered":"http:\/\/blog.cipworx.org\/laserman\/?p=1203"},"modified":"2012-04-22T11:44:59","modified_gmt":"2012-04-22T09:44:59","slug":"nokia-3310-lcd","status":"publish","type":"post","link":"https:\/\/blog.cipworx.org\/laserman\/2012\/04\/22\/nokia-3310-lcd\/","title":{"rendered":"Nokia 3310 LCD"},"content":{"rendered":"<p>Vor 3 Jahren habe ich das Display aus einem Nokia 3310 ausgeschlachtet und dort Kabel, Steker und Kondensator angel\u00f6tet. Dann ruhte das Projekt, weil ich noch keine Erfahrung mit 3,3V Bauteilen, Pegelwandler usw. hatte. Mein erstes Projekt, wo der Micrcontroller mit 3,3V l\u00e4uft war der SD-Karten-Logger. F\u00fcr das Nokia Display habe ich im Atmega328P die Fuses f\u00fcr 8Mhz interner Oszillator und Brown-Out-Detection auf 2,6V gesetzt. Die Schaltung habe ich mit einem DC-DC Wandler versorgt. Die Schaltung funktioniert ab 2,7 V aber f\u00fcrs flashen werden ca. Vcc=3,6V-3,7V ben\u00f6tigt, damit die High-Pegel vom usbasp erkannt  werden. Das sind 0,4V zuviel f\u00fcr das Display aber das hat es bisher \u00fcberlebt. Vielleicht mache ich noch eine Diode in die VDD(+) Leitung des Displays, aber ich habe mal geh\u00f6rt, dass die Pegel an den Eing\u00e4ngen nicht h\u00f6her sein sollen als Vcc.<\/p>\n<p>Software: Das este Bespielprogramm von<a href=\"http:\/\/www.arduino.cc\/playground\/Code\/PCD8544\" title=\"arduino.cc\/playground\"> http:\/\/www.arduino.cc\/playground\/Code\/PCD8544<\/a> hat nicht funktioniert, aber das zweite lief sofort. Man kann sich die DA Pins die man verwenden m\u00f6chte frei aussuchen. Der von mir gebaute Stecker ist so belegt:<br \/>\n<code>#define PIN_SCE   2<br \/>\n#define PIN_RESET 0<br \/>\n#define PIN_DC    3<br \/>\n#define PIN_SDIN  4<br \/>\n#define PIN_SCLK  6 <\/code><\/p>\n<p>Sp\u00e4ter probier&#8217; ich mal die lib von Adafruit:<br \/>\n<a href=\"https:\/\/github.com\/adafruit\/Adafruit-PCD8544-Nokia-5110-LCD-library \" title=\"Adafruit-PCD8544-Nokia-5110-LCD-library \">https:\/\/github.com\/adafruit\/Adafruit-PCD8544-Nokia-5110-LCD-library <\/a><br \/>\nOder vielleicht die Borgware von das-labor.org &#8211; das k\u00f6nnte der kleinste 2D Borg werden \ud83d\ude42 <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/-sYMxBn4vYVE\/T5PJOt378OI\/AAAAAAAAAwM\/hKDW0gWolHc\/s512\/DSCF2722.JPG\" alt=\"nokia LCD\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Vor 3 Jahren habe ich das Display aus einem Nokia 3310 ausgeschlachtet und dort Kabel, Steker und Kondensator angel\u00f6tet. Dann ruhte das Projekt, weil ich noch keine Erfahrung mit 3,3V Bauteilen, Pegelwandler usw. hatte. Mein erstes Projekt, wo der Micrcontroller mit 3,3V l\u00e4uft war der SD-Karten-Logger. F\u00fcr das Nokia Display habe ich im Atmega328P die [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1203","post","type-post","status-publish","format-standard","hentry","category-electronics"],"_links":{"self":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts\/1203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/comments?post=1203"}],"version-history":[{"count":1,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts\/1203\/revisions"}],"predecessor-version":[{"id":1205,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts\/1203\/revisions\/1205"}],"wp:attachment":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/media?parent=1203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/categories?post=1203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/tags?post=1203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}