{"id":1453,"date":"2019-07-23T13:32:58","date_gmt":"2019-07-23T13:32:58","guid":{"rendered":"http:\/\/mikrobotik.com\/wp2\/?p=1453"},"modified":"2019-07-24T12:21:45","modified_gmt":"2019-07-24T12:21:45","slug":"tea5767-modulu-ve-arduino-ile-radyo-yapimi","status":"publish","type":"post","link":"https:\/\/www.mikrobotik.com\/wp2\/2019\/07\/23\/tea5767-modulu-ve-arduino-ile-radyo-yapimi\/","title":{"rendered":"TEA5767 mod\u00fcl\u00fc ve Arduino ile Radyo yap\u0131m\u0131."},"content":{"rendered":"<p><span style=\"color: #ff0000;\"><strong>Sitenin yeni yazar\u0131<\/strong><\/span>, Mustafa Avc\u0131 beyin ilk yaz\u0131s\u0131d\u0131r. Bu projede kullan\u0131lan servo motor, POT kontrol\u00fcyle sesi kontrol etmek ama\u00e7l\u0131d\u0131r. Radyo sistemi olarak sitede yaz\u0131lan ilk yaz\u0131d\u0131r. <span style=\"color: #ff6600;\">POT birle\u015fimi videoda g\u00f6sterilmektedir.\u00a0<\/span><\/p>\n<p><strong>TEA 5765 FM Radio : ( <\/strong><span style=\"color: #ff6600;\">Ald\u0131\u011f\u0131n\u0131z mod\u00fcl\u00fcn ka\u00e7 volt ile \u00e7al\u0131\u015ft\u0131\u011f\u0131na dikkat edin.<\/span><strong>)<\/strong><br \/>\nRadyo i\u00e7in I2C haberle\u015fme ile kontrol edilen bir mini entegre mod\u00fcl kullan\u0131lm\u0131\u015ft\u0131r. .<br \/>\nBunun i\u00e7in \u00e7e\u015fitli k\u00fct\u00fcphaneler var, ben hepsini denedim. Fakat beni memnun eden bir yaz\u0131l\u0131m\u0131 kendim i\u00e7in uyarlad\u0131m. Tabii ki, gerekli k\u00fct\u00fcphaneleri kulland\u0131m. Denemelerimde istasyon aramak i\u00e7in buton ve potansiyometre kulland\u0131m. Fakat en iyi neticeyi TV veya uydu kumandas\u0131yla ald\u0131m.<br \/>\nTEA5767&#8242; nin sesini ayarlama imkan\u0131 olmad\u0131g\u0131 i\u00e7in programlama \u015fans\u0131m olmad\u0131. Nasil yaparim diye d\u00fc\u015f\u00fcnd\u00fcm. Digital potansiyometre entegresi bulamad\u0131m. Bende 180 derece servo motor kulland\u0131m. \u00d6nce 360 derece motor denedim. Devaml\u0131 d\u00f6nmesi y\u00fcz\u00fcnden vazge\u00e7tim. 180 derece \u00e7ok iyi netice verdi. Program i\u00e7in kumandan\u0131n (+ ve \u00a0&#8211; ) butonlar\u0131 yeterli geldi.<br \/>\nServo motoru, kulland\u0131\u011f\u0131m 100 kilo ohm pota taktim. Pot&#8217;un arkas\u0131ndaki oyuk bu i\u015fi kolayla\u015ft\u0131rd\u0131. TEA5767&#8217;nin ses \u00e7\u0131k\u0131\u015f\u0131, hoparl\u00f6r\u00fc \u00e7al\u0131\u015ft\u0131rmaya yetmiyordu. Arduino katalo\u011funda buldu\u011fum bir amfi mod\u00fcl\u00fcn\u00fc kulland\u0131m. Mod\u00fcl ve TEA 5767 stereo, fakat benimki sadece deneme ama\u00e7l\u0131 oldu\u011fu i\u00e7in tek kanal kulland\u0131m.<br \/>\nI2C LCD ve TEA 5767 paralel \u00e7al\u0131\u015f\u0131yor. I2C sistemlerinde adresleri farkl\u0131 oldu\u011fundan sorun olmuyor. Kodlar\u0131 inceledi\u011finiz zaman g\u00f6receksiniz ki, gerek IR ledin, gerekse servo motor giri\u015flerinin ba\u011flant\u0131lar\u0131 \u015femadad\u0131r.\u00a0Cihaz\u0131 bilgisayar ba\u011flant\u0131s\u0131 d\u0131\u015f\u0131nda, 5 Voltluk bir Telefon \u015farj adapt\u00f6r\u00fcyle destekledim. Adapt\u00f6r :\u00a05 Volt\/2 Amper. Servo , lcd ve anfinin ak\u0131m ihtiyac\u0131 biraz fazla oluyor.<\/p>\n<p><strong>Kulland\u0131\u011f\u0131m malzemeler.<\/strong><br \/>\nBir adet arduino,<br \/>\nServo motor SG90,<br \/>\nI2C LCD 2 sat\u0131r LCD ,<br \/>\nIR modul,<br \/>\nAmfi mod\u00fcl,<br \/>\nKutu hoparl\u00f6r,<br \/>\n100 kOhm pot.<br \/>\nTE5767 Mod\u00fcl<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1454 lazyload\" data-src=\"https:\/\/www.mikrobotik.com\/wp2\/wp-content\/uploads\/2019\/07\/tea5767_modul.png\" alt=\"\" width=\"702\" height=\"510\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 702px; --smush-placeholder-aspect-ratio: 702\/510;\" \/><\/p>\n<p>KULLANILAN TEA5767 MOD\u00dcL:<br \/>\n\u00c7\u0131k\u0131\u015f\u0131 kulakl\u0131k i\u00e7in yeterlidir fakat hoparl\u00f6r besleyemedi\u011fi i\u00e7in \u00e7\u0131k\u0131\u015f\u0131na amfi mod\u00fcl\u00fc eklenmi\u015ftir. <span style=\"color: #ff6600;\">\u0130kinci soket anten i\u00e7indir. Videoda dikkat ediniz.\u00a0<\/span><\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-1459 alignleft lazyload\" data-src=\"https:\/\/www.mikrobotik.com\/wp2\/wp-content\/uploads\/2019\/07\/mod\u00fcl_ust.jpg\" alt=\"\" width=\"281\" height=\"208\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 281px; --smush-placeholder-aspect-ratio: 281\/208;\" \/> <img decoding=\"async\" class=\"size-medium wp-image-1460 alignright lazyload\" data-src=\"https:\/\/www.mikrobotik.com\/wp2\/wp-content\/uploads\/2019\/07\/mod\u00fc_altt.jpg\" alt=\"\" width=\"300\" height=\"226\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/226;\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff6600;\">Not: Kodlar\u0131 yay\u0131nlad\u0131m. Kodlar\u0131 istedi\u011finiz gibi kullan\u0131p, de\u011fi\u015ftirebilirsiniz. Fakat bu de\u011fi\u015fimi yaparken dikkatli olmal\u0131s\u0131n\u0131z. Devrenize zarar verirseniz, sorumluluk kabul etmem.<\/span><\/p>\n<p><strong><a href=\"https:\/\/www.sparkfun.com\/datasheets\/Wireless\/General\/TEA5767.pdf\" target=\"_blank\" rel=\"noopener\">TEA5767 datasheet\u00a0<\/a><\/strong><\/p>\n<p><strong><a href=\"https:\/\/www.voti.nl\/docs\/AN10133.pdf\" target=\"_blank\" rel=\"noopener\">TEA5767 Application Note<\/a><\/strong><\/p>\n<pre class=\"height-set:true lang:arduino decode:true \" title=\"TEA5767 RADYO\">\/\/ yazan Mustafa Avc\u0131   Grup ad\u0131: Elektronik Calisma Atelyesi\r\n\/\/ Grup link : https:\/\/www.facebook.com\/groups\/357336091599435\/\r\n\r\n #include &lt;IRremote.h&gt;\r\nint RECV_PIN = 11; \r\nIRrecv irrecv(RECV_PIN); \r\ndecode_results results;\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ \r\n#include &lt;TEA5767N&gt; \r\nradio = TEA5767N(); \r\n#include &lt;LiquidCrystal_I2C&gt; \r\nlcd(0x27, 16, 2); \r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ \r\nint count= 30; \r\n \r\nServo myservo;\r\nvoid setup() { pinMode(RECV_PIN, INPUT);\r\nirrecv.enableIRIn(); myservo.attach(9);\r\nSerial.begin(9600); myservo.write(count);\r\nlcd.clear(); \r\nWire.begin(); \r\nlcd.backlight(); \r\nlcd.begin(); \r\nradio.selectFrequency(88.400);\r\nlcd.print(\"88.400 MHz TRT\");\r\n} \r\n\r\nvoid loop() \r\n{ \r\n  int i=0; \r\n  if (irrecv.decode(&amp;results)) \r\n  {\r\n    translateIR();\r\n    unknownRemoter();\r\n    irrecv.resume(); \r\n  } \r\n } \r\n   \r\n    void translateIR() \r\n    {\r\n      switch(results.value)\r\n      {\r\n        case 0x200: myservo.write(0);\r\n      break;\r\n      case 0x210: count++;\r\n      myservo.write(count);\r\n      break;\r\n      case 0x211: count--;\r\n      myservo.write(count);\r\n      break; \r\n      \/* Bu b\u00f6l\u00fcme diger istasyonlar gelecek. b\u00f6lgenizde cekebileceginiz istasyonlarin frekansini vererek cagira bilirsiniz case 0x211: \r\n      \/\/\/\/\/\/\/\/\/ Bu b\u00f6l\u00fcme caseni lcd.clear(); Wire.begin(); lcd.backlight(); lcd.begin(); \r\n      radio.selectFrequency(88.400); lcd.print(\"88.400 MHz TRT\"); break; *\/ \r\n      \r\n      \/\/ yukaridaki kommentar icine aldigim istasyon Antalyada yayin yapan TRT FM dir. siz kendi sevdiginiz bir radyoyu\r\n      \/\/ setup a koyarak her acilista sevdiginiz radyoyu otomatik getirebilirsiniz. \r\n      \/\/ daha cok radyo istiyorsaniz, komandonuzun kodlarini case ye yazarak her istasyon icin case yazmaniz gerekli bu \r\n      \/\/ Radio isterseniz lcd sizde calisabilir lcd I2C sadece bilgi ve g\u00f6r\u00fcnt\u00fc icin olmasada olur. \r\n      default:\r\n      Serial.print(\" unknown button \");\r\n      Serial.println(results.value, HEX);\r\n      }\r\n      delay(10); \r\n      } \r\n      void unknownRemoter()\r\n      { \r\n        Serial.print(\" still an unknown button \");\r\n        Serial.println(results.value, HEX); delay(10);\r\n      }\r\n  }\r\n}\r\n<\/pre>\n<p><span style=\"color: #ff0000;\"><strong>Devrenin blok \u015femas\u0131.<\/strong><\/span><br \/>\n<a href=\"https:\/\/www.mikrobotik.com\/wp2\/wp-content\/uploads\/2019\/07\/Radyo.jpg\" rel=\"lightbox[1453]\"><img decoding=\"async\" class=\"lightbox aligncenter wp-image-1466 size-full lazyload\" data-src=\"https:\/\/www.mikrobotik.com\/wp2\/wp-content\/uploads\/2019\/07\/Radyo.jpg\" alt=\"\" width=\"2931\" height=\"2469\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 2931px; --smush-placeholder-aspect-ratio: 2931\/2469;\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff6600;\">T\u00fcm dosyalara<\/span> <a href=\"https:\/\/drive.google.com\/open?id=1oJMVULSJmc9F4NMIpX1Q2sC_4XjdIvNq\" target=\"_blank\" rel=\"noopener\">buradan ula\u015fabilirsiniz.\u00a0<\/a><\/strong><\/p>\n<p><strong><span style=\"color: #ff6600;\">Kullan\u0131lan mod\u00fcl<\/span> <a href=\"https:\/\/www.robotistan.com\/tea5767-fm-stereo-radio-module\" target=\"_blank\" rel=\"noopener\">bu adreste bulunmaktad\u0131r<\/a>.\u00a0<\/strong><\/p>\n<p><strong><span style=\"color: #ff6600;\">Kullan\u0131lan TEA5767<\/span> <a href=\"https:\/\/github.com\/mroger\/TEA5767\" target=\"_blank\" rel=\"noopener\">k\u00fct\u00fcphane adresi.<\/a><\/strong><\/p>\n<p><strong><span style=\"color: #ff6600;\">Kullan\u0131lan TEA5767 mod\u00fcl\u00fcn<\/span> <a href=\"https:\/\/mr0ger-arduino.blogspot.com\/2014\/08\/tea5767n-fm-philips-library-for-arduino.html\" target=\"_blank\" rel=\"noopener\">k\u00fct\u00fcphane a\u00e7\u0131klamas\u0131.\u00a0<\/a><\/strong><\/p>\n<p><strong><span style=\"color: #ff6600;\">Not: \u00c7al\u0131\u015fmalar\u0131m\u0131 Facebook \u00fczerinde<\/span> <a href=\"https:\/\/www.facebook.com\/groups\/357336091599435\/\" target=\"_blank\" rel=\"noopener\">bu grupta yay\u0131nlamaktay\u0131m<\/a>.<\/strong><\/p>\n<p><strong><span style=\"color: #ff0000;\">Ayr\u0131ca PIC i\u015flemcilerini kullanan ki\u015filer<\/span><\/strong> <a href=\"https:\/\/320volt.com\/tea5767-pic16f628-dijital-pll-kontrollu-fm-radyo-alici-sistemi\/\" target=\"_blank\" rel=\"noopener\"><strong>bu sayfadan yararlanabilirler.<\/strong><\/a><\/p>\n<p><iframe width=\"640\" height=\"360\" data-src=\"https:\/\/www.youtube.com\/embed\/YSGxsjqE8C4\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"allowfullscreen\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" data-load-mode=\"1\"><\/iframe><\/p>\n<p><iframe width=\"640\" height=\"360\" data-src=\"https:\/\/www.youtube.com\/embed\/Xinb8Qz9BzU\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"allowfullscreen\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" data-load-mode=\"1\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sitenin yeni yazar\u0131, Mustafa Avc\u0131 beyin ilk yaz\u0131s\u0131d\u0131r. Bu projede kullan\u0131lan servo motor, POT kontrol\u00fcyle sesi kontrol etmek ama\u00e7l\u0131d\u0131r. Radyo sistemi olarak sitede yaz\u0131lan ilk yaz\u0131d\u0131r. POT birle\u015fimi videoda g\u00f6sterilmektedir.\u00a0&#8230; <\/p>\n","protected":false},"author":4,"featured_media":1454,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,23],"tags":[],"class_list":["post-1453","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-radyo"],"_links":{"self":[{"href":"https:\/\/www.mikrobotik.com\/wp2\/wp-json\/wp\/v2\/posts\/1453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mikrobotik.com\/wp2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mikrobotik.com\/wp2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mikrobotik.com\/wp2\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mikrobotik.com\/wp2\/wp-json\/wp\/v2\/comments?post=1453"}],"version-history":[{"count":14,"href":"https:\/\/www.mikrobotik.com\/wp2\/wp-json\/wp\/v2\/posts\/1453\/revisions"}],"predecessor-version":[{"id":2478,"href":"https:\/\/www.mikrobotik.com\/wp2\/wp-json\/wp\/v2\/posts\/1453\/revisions\/2478"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mikrobotik.com\/wp2\/wp-json\/wp\/v2\/media\/1454"}],"wp:attachment":[{"href":"https:\/\/www.mikrobotik.com\/wp2\/wp-json\/wp\/v2\/media?parent=1453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mikrobotik.com\/wp2\/wp-json\/wp\/v2\/categories?post=1453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mikrobotik.com\/wp2\/wp-json\/wp\/v2\/tags?post=1453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}