Elektrik Elektronik Teknolojisi Alanı Temrinleri

 
Hoşgeldiniz Ziyaretçi. Lütfen giriş yapın veya kayıt olun.

Kullanıcı adınızı, şifrenizi ve aktif kalma süresini giriniz

Son İletiler

Sayfa: 1 ... 7 8 [9] 10
81
Elektronik / Tek butonla on off 2
« Son İleti Gönderen: Hasan ERTÜRK 14 Şubat 2021, 17:56:50 »
 
82
Display uygulamaları / 11. LCD sheeld buton kullanma
« Son İleti Gönderen: Hasan ERTÜRK 27 Ocak 2021, 11:38:48 »
A0 girişine 5 adet buton bağlanmıştır.
Kod: [Seç]
#include <LiquidCrystal.h>
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);

int lcd_key     = 0;
int adc_key_in  = 0;
#define SAG  0
#define YUKARI     1
#define ASAGI   2
#define SOL   3
#define SEC 4
#define BUTON   5

// read the buttons
int read_LCD_buttons()
{
 adc_key_in = analogRead(0);     
 // my buttons when read are centered at these valies: 0, 144, 329, 504, 741

 if (adc_key_in > 1000) return BUTON; // We make this the 1st option for speed reasons since it will be the most likely result
 // For V1.1 us this threshold
 if (adc_key_in < 50)   return SAG;
 if (adc_key_in < 250)  return YUKARI;
 if (adc_key_in < 450)  return ASAGI;
 if (adc_key_in < 650)  return SOL;
 if (adc_key_in < 850)  return SEC;

 return BUTON;  // when all others fail, return this...
}

void setup()
{
 lcd.begin(16, 2);              // start the library
}

void loop()
{



 lcd.setCursor(0,1);            // move to the begining of the second line
 lcd_key = read_LCD_buttons();  // read the buttons

 switch (lcd_key)               // depending on which button was pushed, we perform an action
 {
   case SAG:
     {
     lcd.print("SAG             ");
     break;
     }
   case SOL:
     {
     lcd.print("SOL             ");
     break;
     }
   case YUKARI:
     {
     lcd.print("YUKARI          ");
     break;
     }
   case ASAGI:
     {
     lcd.print("ASAGI           ");
     break;
     }
   case SEC:
     {
     lcd.print("SEC             ");
     break;
     }
     /*
     case BUTON:
     {
     lcd.print("YOK");
     break;
     }
     */
 }

}
83
E.K. ve Arıza Analizi / Ynt: 3- Turn-Off Transistörlü Zamanlayıcı
« Son İleti Gönderen: Hasan ERTÜRK 08 Ocak 2021, 21:39:58 »
temrin sayfası uzaktan eğitim dikkate alınarak güncellenmiştir. Güncel dosyalar konunun ilk iletisine eklenmiştir.
84
Genel sohbet / Bu uygulama güvenliğiniz için engellendi hatası
« Son İleti Gönderen: Hasan ERTÜRK 06 Ocak 2021, 17:15:46 »
Bu uygulama güvenliğiniz için engellendi hatası , Bir yönetici bu programı çalıştırmanızı engelledi

<iframe width="640" height="385" src="//www.youtube.com/embed/sOJW8Om1zNg?fs=1&start=" frameborder="0" allowfullscreen></iframe>
85
Bilgisayar Destekli Uygulamalar / 13. Alçak geçiren filtre
« Son İleti Gönderen: Hasan ERTÜRK 06 Ocak 2021, 12:24:06 »
<a href="http://temrinlerim.org/pdf/13_alt_geciren_filtre.pdf" target="_blank">http://temrinlerim.org/pdf/13_alt_geciren_filtre.pdf</a>
86
<a href="http://temrinlerim.org/pdf/12_fark_yukselteci.pdf" target="_blank">http://temrinlerim.org/pdf/12_fark_yukselteci.pdf</a>
87
<a href="http://temrinlerim.org/pdf/11_gerilim_izleyici.pdf" target="_blank">http://temrinlerim.org/pdf/11_gerilim_izleyici.pdf</a>
88
<a href="http://temrinlerim.org/pdf/10_evirmeyen_yukseltec.pdf" target="_blank">http://temrinlerim.org/pdf/10_evirmeyen_yukseltec.pdf</a>
89
<a href="http://temrinlerim.org/pdf/9_toplam_yukselteci.pdf" target="_blank">http://temrinlerim.org/pdf/9_toplam_yukselteci.pdf</a>
90
Bilgisayar Destekli Uygulamalar / 6. Karşılaştırıcı
« Son İleti Gönderen: Hasan ERTÜRK 13 Aralık 2020, 08:56:42 »
<a href="http://temrinlerim.org/pdf/8_kiyaslayici.pdf" target="_blank">http://temrinlerim.org/pdf/8_kiyaslayici.pdf</a>
Sayfa: 1 ... 7 8 [9] 10