LCD,SMS,R/W,PORTA OKUMA

Başlatan digitech, 31 Ekim 2003, 17:40:59

digitech

Selam arkadaslar  ne güzel baslık dimi bir cok  konuyu  birlestirip  sorim  bari dedim  her  biri  için ayrı başlık  açmaktan  daha  kullanışlı  olur dedim  ama  :)  

neyse  konu  su arkadaslar  ....

LCD/sms/r/w: cep telefonlarının  lcd  leri  sanırım  seri haberlesiyor  seri bilgi ise  ekrana 24c64 eeprom dan geliyor  simdi  ben  acaba  sadece  data  ucunu ayırıp  araya bi pic girsem lcd ye  kendi istediklerimi  yazabilirmiyim  yine  aynı  teknik ile 24c64  den  gelen seri bilgiyi bir pic vesilesi ile  alıp bir  buffer yada degişkende  saklayıp  daha  sonra  8 bit  paralel bi lcd de  yada  yine  seri  baska  bi  lcd de  gosterebilirmiyim yada  bunu  bi data hattından  nakletmek  mumkunmu  ?

PORTA :
aslında cok  kolay bişi  oldugunu  bilyorum  ama  bu  gunlerde  bişiler  oldu  bana  bir  turlu  mantık  yurutemiyorum   yapmak  istedigim  su aslında  porta daki  ilk  dort  bit e  balı 4  buton  oldugunu  farzedin  bu  dort  buton dan  basılan degerleri  bir  degişkende  saklamak  istiyorum  ama bunu  tek digit değilde  4  kere tekrarlamak istiyorum  şifre  girişi  gibi  yani  for - next  dongusu aklıma  geldi  ama porta nın  4  bit  ini  tek bi degişkene  4 digit nasııl  atarım  kafam  basmadı  bir  turlu  en iyisi su iş bitince  ben  bi  tatile  cıkayıp  olmıcak  baska  turlu  kafam  kazan  oldu  bu  sıralar  :)
Calışmalarınızda Başarılar Dilerim T.Aykut Baştuğ ------------------------------------------ www.elektroturk.net mms://65.110.45.59/elektroturk  (online  yayinlar)

byka

Asagıdaki linkler ve yazılar baska bir board dan alıntıdır



http://www.seetron.com/


PCF2116 from Philips is a family of i2c LCD driver. There is the application AN0149 from Zilog (www.zilog.com ) on how to interface this driver in C; also a project with ATMEL on http://www.woe.onlinehome.de/e_lcd.htm



If you are looking to get a keyboard to output i2c then take a look here:

http://www.psikan.com/keyboard.php

There is info there about the keyboard as well as code for the z80 microprocessor that will control a keyboard. There is another section on the same website that gives code for a communication using a PIC microcontroller. You may be able to use some of the PIC Code to accomplish what you are trying to do. Notice though that the code is not I2C as is. It will need some refinement. The explanation of the keyboard is pretty thorough.




Nokia 3310 display:
http://www.myplace.nu/mp3/nokialcd.htm
http://www.jelu.se/shop.php
http://microsyl.com/AVR/NokiaLCD/NokiaLCD.htm



To use an i2c I/O expander is a good idea, especially if you have eeprom on the same bus or other i2c device. If you are using x51 micro at www.wickenhaeuser.com for example on their compiler they have an apllication note and a library on how to control an LCD by PCF8574. If you have a slow connection and don't wont to downlowd the full compiler i can send the pdf to you. In september 2003 number of Elektor there is an article about the subject but i don't have the magazine.



You could use a Philips PCF8574 Remote 8-bit I/O expander for I2C-bus to connect between the MCU and a standard Alphanumeric LCD display in "four bit" mode.
You could also use a Philips PCF8574 for connecting the matrix keyboard.


Here's another idea:
2-Wire LCD Interface for the PICMicro
www.rentron.com/Myke1.htm



I found the hompage with the files uploaded in the first post. http://www.compsys1.com/workbench/CLCD_Board/clcd_board.html

This folder contains the same files as uploaded in the first post, I don't know why he didn't just linked to the site instead of uploading the files.
ftp://ftp.compsys1.com/pub/compsys/clcd/

There's also a USB LCD controller.
http://www.compsys1.com/workbench/pUSB/pusb.html

Files for USB LCD controller.
ftp://ftp.compsys1.com/pub/compsys/usb/

Topsite with other PIC projects:
http://www.compsys1.com/workbench/



1. Serial interfacing LCD with Pic Microcontroller
2. Software SPI interfacing ADC with Pic16F84/Pic16F628
3. Simple multi channel digital voltmeter
4. Stepper motor controller



http://www.geocities.com/mindtan2000/PIC.html
DWIN LCD Satış Türkiye email:info@kamantek.com  web:http://www.kamantek.com/shop/index.php