again with weired lcd


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    36

    Default again with weired lcd

    i've got this lcd they use it for car radio i want to use it with pic 16f84,and i want to know witch data and how can i send data and clock bcz it works with shiftout and i didnt understand the datasheet of that IC they use in the lcd here the schema,please help me just what i neet to send how long data and clock and the mode in shiftout,thank you'other things the wire it has vcc,gnd,sclck,sdat, it works in its device,it doesnt need other wires like rst ,
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2009
    Posts
    78


    Did you find this post helpful? Yes | No

    Default

    why you didn't use pic16f9** ? they have dumb lcd driver built in...

  3. #3
    Join Date
    Apr 2009
    Posts
    36


    Did you find this post helpful? Yes | No

    Default

    hi bogdan
    not found any pic or atmel in my country to buy and we r not alowed to send money out of morocco to buy things i had my friend bought me 2 of 16f84 from spain.last year and i just started to learn pbp, thats way im trying to use this lcd if u haveany ideas how to send data to it,it needs shiftout ,

  4. #4
    Join Date
    Jan 2009
    Posts
    78


    Did you find this post helpful? Yes | No

    Default don`t worry about those mcu`s

    check your pm

  5. #5
    Join Date
    Apr 2009
    Posts
    36


    Did you find this post helpful? Yes | No

    Default

    sorry bogdan i dont understand what u mean by pm

  6. #6
    Join Date
    Jan 2009
    Posts
    78


    Did you find this post helpful? Yes | No

    Default

    private messages

  7. #7
    Join Date
    Apr 2009
    Posts
    36


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by malwww View Post
    i've got this lcd they use it for car radio i want to use it with pic 16f84,and i want to know witch data and how can i send data and clock bcz it works with shiftout and i didnt understand the datasheet of that IC they use in the lcd here the schema,please help me just what i neet to send how long data and clock and the mode in shiftout,thank you'other things the wire it has vcc,gnd,sclck,sdat, it works in its device,it doesnt need other wires like rst ,
    i wrote this code and im confused witch address i use i didnt understand the datasheet exactly the commands anyone can help me
    ' I2CREAD and I2WRITE Commands

    Include "modedefs.bas"
    DEFINE SHIFT_PAUSEUS 1000

    SDO VAR PortB.0
    SCLK var PortB.1
    DPIN var PORTA.0
    CPIN var PORTA.1
    B0 var byte
    B1 var bit
    B2 var byte
    B3 var byte
    B4 var byte


    portB = 0
    TRISB = 0
    loop:
    pause 100
    For B2 = 0 To 9

    lookup b2,[252,96,218,242,102,182,190,224,254,246],b0
    I2CWRITE DPIN,CPIN,%01110000,address?,[ b0]
    Pause 20
    Next B2
    Goto loop

    end
    Last edited by malwww; - 14th June 2009 at 16:08.

Similar Threads

  1. Is this code not initialising the LCD properly?
    By Platypus in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 30th January 2010, 19:14
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 19:54
  3. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  4. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30
  5. Dedicated LCD Controller question
    By chuckles in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 27th February 2006, 14:44

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts