Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_name() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 141

Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_title() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 148

Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_description() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 155

Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_long_description() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 162

Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_features() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 169

Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_pricing_for_ui() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 176

Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_manage_url() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 183

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-content/plugins/pe-recent-posts/pe-recent-posts.php on line 21

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-content/plugins/pe-recent-posts/pe-recent-posts.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723
{"id":1563,"date":"2019-05-07T14:24:48","date_gmt":"2019-05-07T11:24:48","guid":{"rendered":"https:\/\/kodlabafra.org\/?p=1563"},"modified":"2022-01-12T16:09:20","modified_gmt":"2022-01-12T13:09:20","slug":"lcd-ekran-i2c-kullanimi","status":"publish","type":"post","link":"https:\/\/kodlabafra.org\/2019\/05\/07\/lcd-ekran-i2c-kullanimi\/","title":{"rendered":"LCD Ekran I2C Kullan\u0131m\u0131"},"content":{"rendered":"\n

LCD I2C protokol\u00fc olmadan Arduino \u2018da bu i\u015f ger\u00e7ekten \u00e7ok zahmetli olabilmektedir, \u00e7\u00fcnk\u00fc LCD mod\u00fcl\u00fcn\u00fc \u00e7al\u0131\u015ft\u0131rabilmek i\u00e7in arduino ya tam 9 adet kablo \u00e7ekmeniz gereklidir.Buda hem ba\u011flant\u0131larda soruna yol a\u00e7abilece\u011fi gibi hemde arduino da \u00e7ok fazla pin i\u015fgal eder.Bu sorunu I2C protokol\u00fc kullanarak d\u00fczeltebilirsiniz.Baz\u0131 mod\u00fcllerin \u00fczerinde geldi\u011fi gibi ayr\u0131 olarak da sat\u0131lan IIC i2c mod\u00fcl\u00fc ile bu sorunu \u00e7\u00f6zebilirsiniz.<\/p>\n\n\n\n\n\n\n\n

\"icc1602lcm1\"<\/a><\/figure><\/div>\n\n\n\n

Bu mod\u00fcl sayesinde LCD ekran\u0131n\u0131z\u0131 enerji pinleri haric 2 tane pin yard\u0131m\u0131 ile Sda<\/strong> ve Scl<\/strong> \u00fczerinden s\u00fcre
bilmektesiniz.\u00d6ncelikle bunun i\u00e7in bir I2C k\u00fct\u00fcphanesine ihtiyac\u0131n\u0131z var. Bu k\u00fct\u00fcphaneyi 
buradan<\/a><\/strong> indirebilirsiniz. Ayr\u0131ca bu mod\u00fcl \u00fczerinde birde potansiyemetre vard\u0131r. Bu pot sayesinde mod\u00fcl\u00fcn ekran parlakl\u0131\u011f\u0131n\u0131
ayarlaya bilmektesiniz.<\/p>\n\n\n\n

I2C Nedir?<\/strong><\/p>\n\n\n\n

I2C veriyolu \u00e7ok master\u2019l\u0131 (multi-master) veri yoludur. Yani, birden fazla say\u0131da data transferini ba\u015flatabilme \u00f6zelli\u011findeki t\u00fcmdevre, veriyoluna ba\u011flanabilir. Bu durumda data(\u201cveri\u201d diyelim ki daha T\u00fcrk\u00e7e olsun) transferini ba\u015flatan t\u00fcmdevre(IC-Integrated Circuit) Bus-Master(Veriyolu Efendisi) durumunda olacak, veriyolundaki t\u00fcm di\u011fer IC\u2019ler ise Bus-Slave(Veriyolu K\u00f6leleri) durumunda olacakt\u0131r.<\/p>\n\n\n\n

Arduino ve I2C LCD Mod\u00fcl\u00fcn Ba\u011flant\u0131 \u015eemas\u0131 , SDA = A4<\/strong> ve SCL = A5<\/strong><\/p>\n\n\n\n

\"Arduino
LCD I2C – Devre \u015eemas\u0131<\/figcaption><\/figure>\n\n\n\n

\u00d6nemli Not:<\/strong> Baz\u0131 LCD Ekranlar “0x27”<\/strong> olarak \u00e7al\u0131\u015fmaktad\u0131r. Koddaki bu sat\u0131r\u0131 de\u011fi\u015ftirmeniz yeterlidir.<\/p>\n\n\n

\nLiquidCrystal_I2C lcd(0x3f, 16, 2);\n<\/pre>\n\n\n

Arduino Kodlar\u0131<\/strong><\/p>\n\n\n

\n#include <LiquidCrystal_I2C.h> \/\/ I2C k\u00fct\u00fcphanemizi ekledik.\n#include <Wire.h>              \/\/ Wire.h k\u00fct\u00fcphanesi ekliyoruz. \n \nLiquidCrystal_I2C lcd(0x3f, 16, 2);  \/\/ LCD Ekran \u00f6zelliklerini tan\u0131mlad\u0131k.\n \nvoid setup()\n{\nlcd.begin();    \/\/ LCD Ekran\u0131 \u00e7al\u0131\u015ft\u0131r.\nlcd.print("KodlaBafra"); \/\/ Ekrana yazd\u0131r\u0131lacak metin\n}\n \nvoid loop()\n{\n}\n<\/pre>\n\n\n

“Wire.h”<\/strong> k\u00fct\u00fcphanesini I2C haberle\u015fmesi yapaca\u011f\u0131m\u0131z her zaman eklememiz gerekiyor. \u00c7\u00fcnk\u00fc haberle\u015fme i\u00e7in gerekli kodlar (mesajlar) bu sayede gidiyor. <\/p>\n\n\n\n

Daha \u00f6nceki LCD ekran kodlar\u0131n\u0131 aynen burada ge\u00e7erlidir. LCD Ekran kodlar\u0131 ile ilgili yaz\u0131m\u0131z i\u00e7in a\u015fa\u011f\u0131daki ba\u011flant\u0131ya t\u0131klay\u0131n\u0131z.<\/p>\n\n\n\n

Lcd Komutlar\u0131 Yaz\u0131s\u0131na gitmek i\u00e7in t\u0131klay\u0131n\u0131z.<\/a><\/div>\n\n\n\n
LCD i2c K\u00fct\u00fcphanesini indirmek i\u00e7in t\u0131klay\u0131n\u0131z<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"
LCD I2C protokol\u00fc olmadan Arduino \u2018da bu i\u015f ger\u00e7ekten \u00e7ok zahmetli olabilmektedir, \u00e7\u00fcnk\u00fc LCD mod\u00fcl\u00fcn\u00fc \u00e7al\u0131\u015ft\u0131rabilmek i\u00e7in arduino ya tam <\/span><\/div>\n
Devam\u0131n\u0131 oku<\/a><\/div>\n","protected":false},"author":1,"featured_media":2619,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[13,11],"tags":[49,110,24],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/kodlabafra.org\/wp-content\/uploads\/2022\/01\/Aruino-robotik.jpg?fit=1500%2C500&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pat2x1-pd","_links":{"self":[{"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/posts\/1563"}],"collection":[{"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/comments?post=1563"}],"version-history":[{"count":7,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/posts\/1563\/revisions"}],"predecessor-version":[{"id":2642,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/posts\/1563\/revisions\/2642"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/media\/2619"}],"wp:attachment":[{"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/media?parent=1563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/categories?post=1563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/tags?post=1563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}