I would like to interface an AT89C52 directly to a Nokia 3310 LCD screen.Has anyone written any drivers for this screen.Thx
here is the source code i wrote its for the 3310 lcd the driver is by philips pcd8544 48*84 . can download the data sheet here is the code that i wrote can anyone correct me if i am wrong i use p3.0 as transfer data and p3.1 as clock FUNCTION EQU 00100001B FUNCTIONN EQU 10010000B FUNCTIONNN EQU 00100000B FUNCTIONNNN EQU 00001100B ORG 0000H JNB T1,$ ;SET TO JUMP IF BUTTON NOT ; ACTIVATE MOV SCON, #00010010b ;set the scon CLR P3.5 ;THIS PORT AS D/C MOV A,#FUNCTION CALL DISPLAY MOV A,#FUNCTIONN CALL DISPLAY MOV A,#FUNCTIONNN CALL DISPLAY MOV A,#FUNCTIONNNN CALL DISPLAY SETB P3.5 MOV A,#00011111B CALL DISPLAY DISPLAY: JNB TI,DISPLAY ;FOR INTERUPT SCON CLR TI CLR P3.6 ;THIS IS SCE MOV SBUF,A RET END PS: i connected to 5v source (max for the lcd) and vdd to a capasitor 10uF can't get anything on the display
how can i nterface nokia lcd 3310 with atmel 89C51
hi, i am searching the code for lcd with 8051 too. if you have can you send me. thanks sinan_kus@yahoo.com
You will find some hints in interfacing LCD: http://www.c51.de ("Software" and "Appnotes") http://www.boerde.de/~matthias/m8051/ ("LCD-driver for Hitachi HD44100/HD44780") http://www.8052.com ("Code Library") Please use the enormous potential of Internet and use search engines e.g. google! Martin