Showing posts with label Ekran. Show all posts
Showing posts with label Ekran. Show all posts

Monday, 9 March 2020

16×2 LCD Ekran Kullanımı

Merhaba arkadaşlar, bu yazımda projelerinizde size lazım olabilecek bir başka konuyu ele alacağım. 16×2 LCD Ekranımıza yazı yazdıracağım. Aynı devrede iki farklı kod vereceğim. İlkinde ekranımızda sabit bir şekilde ilk satırda Sertan Deniz ikinci satırda sertandeniz.com yazacak, ikincisindeyse ilk satırda Arduino Denizi ikinci satırda sertandeniz.com yazıp sönecek sonrasındaysa ilk satırda Sertan Deniz ikinci satırda SAYGILI yazacak ve bunu bir for döngüsüyle 7 defa tekrar ettireceğim. Şimdi başlayacak olursak



Sunday, 8 March 2020

1600 No Lcd Display






Nokia 1600 No Lcd Display Ways Problem
This post holds Nokia 1600 No Lcd Display Ways Problem . If you are having one of these problems check these images out and do these simple solutions.

1600 lcd Problem
1600 Display Problem
1600 Lcd Ways
1600 Display Ways
1600 Lcd Connector Jumper
1600 Lcd Connector Ways
Here Are The Solutions. Please study these diagrams very carefully before you start repairing.


1.8TFT 128 x 160 Display Pin Outs

There are sixteen pins on this device.  All are labeled on the rear of the display module and are also shown in the image below.  Those pins that are highlighted blue are those that you will be interested in when connecting as a display for your Arduino.

You will notice that some of the pins share the same name.  Those redundant pins are for the SD card on the rear.










Thursday, 4 July 2019

Nokia LCD5110'u CPU (CPU: STM8S103F3) çalıştırmak

Nokia LCD5110'u CPU  (CPU: STM8S103F3) çalıştırmak



  Nokia 5110 LCD, Nokia'nın 5110/3310 cep telefonlarında ve 
     Arduino UNO ile çalışmak için kullanılmış , ancak bu sefer STM8S kartı ile çalışmayı 
     düşüneceğiz öyleydi.

 1. Piksel sayısı 84 
          x 48 nokta ve yazı tipi boyutu 6 8 nokta olduğunda, görüntülenen karakter sayısı 14 basamak x 4 satırdır 
  . Arayüz SPI seridir ve LCD tarafı sadece giriş 
  3 için tek yönlüdür Bu nedenle, grafik gösterimi gerçekleştirmek 
          için 84x6 = 504 bayt RAM gerekir (CPU RAM alanı 1 Kbayta kadardır 
  . Sürücü IC, PCD8544 ile 3,3 v'de çalışır 

 [Çalışma durumu] Çalışma durumu
   aşağıdaki gibidir.
     

<İlgili belge>
  Bağlantı noktası tabanlı LCD 5110'u sürmek için kullanılan kütüphane aşağıdaki Arduino içindir ve grafik
    işlevi yoktur. 
   URL: http://www.arduinolibraries.info/libraries/nokia5110

    Grafik kısmı, Arduino için aşağıdaki kütüphaneden alınmıştır. 
       URL:http://www.rinkydinkelectronics.com/library.php?id=47



Testte cihaz bağlantısı]  [Kodlar]     

Yine, kod geliştirme için IAR sistemini kullandım. (Çok kullanışlı ve     tavsiye edilir. Lütfen STM8S103F3P6 kartının kod geliştirmesi için







Open MenuDIY Distance Meter With Arduino and a Nokia 5110 Display



In this Instructable we are going to see how to build a very useful Distance meter with a big Nokia 5110 LCD display using Arduino. Easily measure the distance from your Arduino and build interesting devices with this project!
Building a distance meter is a great learning experience. When you finish building this project you will have a better understanding of how the ultrasonic distance sensor works, you will know how to wire a Nokia 5110 lcd display and you are going to see in action how powerful the Arduino platform can be. With this project as a base and the experience gained, you will be able to easily build more complex projects in the future.
We can use this project to measure the distance index in Real Time so we can use it in my projects
Without any further delay, let's get started!

Connecting the Distance Sensor
Vcc Pin goes to Arduino's 5V
Trig goes to Digital Pin 7 of the Arduino
Echo goes to Digital Pin 6 of the Arduino
GND pin goes ton Arduino's GND
The next step is to connect the Nokia 5110 LCD display.
Connecting the Nokia 5110 LCD Display
RST goes to Digital Pin 12 of the Arduino
CE goes to Digital Pin 11 of the Arduino
DC goes to Digital Pin 10 of the Arduino
DIN goes to Digital Pin 9 of the Arduino
CLK goes to Digital Pin 8 of the Arduino
VCC goes to Arduino 3.3V
LIGHT goes to Arduino GND (backlight on)
GND goes to Arduino GND








Friday, 10 May 2019

Arduino ile Nokia 5110 Ekran Bağlantısı


Arduino ile Nokia 5110 Ekran Bağlantısı

Arkadaşlar bu yazımız da sizlere Arduino ile Nokia 5110 ekran bağlantısı yapıyoruz.
İlk başta bilgisayarınızdaki Arduino IDE’yi açın ve Arduino’nuzu bilgisayarınıza 
bağladıktan sonra Araçlar menüsünden uygun panoyu seçin.


Adafruit kitaplığına GitHub linkinden kütüphaneyi ekleyiniz.

Zip dosyası indirildikten sonra Sketch -> Include Library -> Add. ZIP kütüphanesini 
seçin ve ZIP’ın indirildiği yere gözatın.
Şimdi Dosya -> Örnekler -> Adafruit PCD Nokia 5110 LCD Kütüphanesi -> pcdtest’i 
seçerek örnek programını açın ve yükleme düğmesine tıklayın
48X48 Şeklinde paintten Görüntüyü yeniden boyutlandırdıktan sonra, Paint’deki Farklı Kaydet 
seçeneğini kullanarak görüntüyü bitmap olarak kaydedin (siyah beyaz) . Görüntüyü LCD ekranda 
bir bitmap olarak görüntülemek için, bitmap görüntüsünü koda dönüştürebilecek bir 
yazılıma ihtiyacımız olacak
Arduino kodu aşağıdaki gibidir.
// pinler şekildeki gibi
//     RST  – Pin 3
//      CE   – Pin 4
//      DC   – Pin 5
//      DIN  – Pin 6
//      CLK  – Pin 7
#include
Nokia5110 glcd(3,4,5,6,7);
/* Aşşagıdakı kısma dönüşüm yaptıgınız logonun kodlarını yazınız */
const char Logo [504] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0xc0, 0xe0, 0xf0, 0xf0, 0xf8, 0x7c, 
0x7c, 0x3e, 0x1c, 0x8c, 0xc8, 0xc0, 0xe0, 0xe0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x18, 0x1c, 0x3c, 0x7e, 0xff, 0xff, 0xff, 0xe7, 0xe3, 0xc3, 0x89, 0x98, 0x3c, 0x3e,
 0x1e, 0x0f, 0x0f, 0x8f, 0x9f, 0xff, 0xfd, 0xf8, 0xf0, 0xf8, 0xfc, 0x7c, 0x3c, 0x1c, 0x18, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x03, 0x07, 0x0f, 0x1f, 0x1f, 0x3e, 0x7c, 
0x3e, 0x1f, 0x1f, 0x0f, 0x07, 0x03, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,0x00, 0x00,
 0x30, 0xfc, 0xfc, 0xce, 0x86, 0x06, 0x07, 0x06, 0x86, 0x86, 0x84, 0x00, 0x00, 0x00,
 0xfe, 0xfe, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xfe, 0xfe, 0x66, 0x66, 0xf6, 0xfe, 0xbc,
 0x18, 0x00, 0x30, 0xfc, 0xfc, 0xce, 0x86, 0x06, 0x07, 0x06, 0x86, 0x86, 0x84, 0x00, 
0x00, 0x7e, 0xfe, 0xfe, 0x80, 0x00, 0x00, 0x80, 0xfe, 0xfe, 0xfe, 0x00, 0x00, 0x00, 
0xfe, 0xfe, 0xfe, 0x00, 0x00, 0x06, 0x06, 0x06, 0xfe, 0xfe, 0xfe, 0x06, 0x06, 0x06, 
0x00, 0x80, 0x9e, 0x9e, 0x3e, 0x37, 0xb6, 0xf6, 0xe0, 0x40, 0x00, 0x00,0x00, 0x00, 
0x00, 0x00, 0x61, 0x61, 0x63, 0x63, 0xe3, 0xe3, 0xe1, 0x61, 0x61, 0x60, 0x00, 0x00,
 0x03, 0x03, 0x00, 0x00, 0x80, 0xc0, 0xc3, 0xe3, 0x63, 0x60, 0x60, 0xe0, 0xc1, 0xc3, 
0x03, 0x02, 0x00, 0x00, 0x01, 0x01, 0x03, 0xe3, 0xe3, 0xe3, 0xe1, 0x61, 0x60, 0xe0, 
0xc0, 0xc0, 0x00, 0x01, 0x03, 0x03, 0x03, 0x03, 0x01, 0x01, 0x00, 0xc0, 0xe0, 0xe0, 
0xe3, 0xe3, 0x83, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x23, 0x60, 0xe0, 0xe0, 
0xc0, 0x00, 0x81, 0xc1, 0xe3, 0x63, 0x23, 0x01, 0x01, 0x00, 0x00, 0x00,0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0x1f, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x07, 0x0f, 0x1f, 0x18, 0x18, 0x10, 0x18, 0x1c, 0x1f, 0x0f, 
0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0x1f, 0x1f, 0x1f, 0x18, 0x18, 0x1c, 
0x1f, 0x0f, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x1e, 0x1f, 0x0f, 0x0c, 
0x0d, 0x0f, 0x1f, 0x1e, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
 0x1f, 0x1f, 0x1f, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
void setup()
{
glcd.Initialize_LCD();
}
void loop()
{
glcd.Invert(true);
glcd.allClear();
glcd.logoDisp(Logo);
delay(1000);
glcd.allClear();
glcd.Invert(false);
glcd.logoDisp(Logo);
delay(1000);
}