PIC-LCD3310 Pin Outs for PicBasic(pro)


Closed Thread
Results 1 to 5 of 5
  1. #1

    Question PIC-LCD3310 Pin Outs for PicBasic(pro)

    I've been playing around with the PIC-LCD3310 from SparkFun/Olimex
    ( http://www.olimex.com/dev/pic-lcd3310.html )

    I can't figure out the LCD pin-outs for picbasic(pro). I found the names/pins within the C sample code but I can't seem to (guess) what they mean for pbp.

    From the schematic here are the pins I have to work with...
    http://www.olimex.com/dev/images/PIC...-REV-A-sch.gif

    VDD(1)
    SCK1(2) -> SCK
    MOSI1(3) -> SDIN
    D/#C(4) -> D/#C
    #SS1(5) -> #SCE
    GND(6)
    VOUT(7)
    #RES(8) -> #RES

    Looking on the web/forums I find no xref to these names and what I need within PicBasic(pro).
    ( http://www.melabs.com/downloads/pbpm108.pdf )

    ‘ Set LCD Data port
    DEFINE LCD_DREG PORTA
    ‘ Set starting Data bit (0 or 4) if 4-bit bus
    DEFINE LCD_DBIT 0
    ‘ Set LCD Register Select port
    DEFINE LCD_RSREG PORTA
    ‘ Set LCD Register Select bit
    DEFINE LCD_RSBIT 4
    ‘ Set LCD Enable port
    DEFINE LCD_EREG PORTB
    ‘ Set LCD Enable bit
    DEFINE LCD_EBIT 3
    ‘ Set LCD bus size (4 or 8 bits)
    DEFINE LCD_BITS 4
    ‘ Set number of lines on LCD
    DEFINE LCD_LINES 2
    ‘ Set command delay time in us
    DEFINE LCD_COMMANDUS 1500
    ‘ Set data delay time in us
    DEFINE LCD_DATAUS 44

    I found all these great examples/tutorials/etc but NON seem to use a common name. (end rant)

  2. #2
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Post More info about 3310 LCD ....

    Have you read Using Nokia LCD? There is more info and some codes for 3310 LCD.

    BR,
    -Gusse-

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Yes I did thank you but I can't seem to find a xref for the names of the pins within the PIC_3310 board and the picbasic(pro) commands LCD_DREG_***

  4. #4
    Join Date
    Jan 2009
    Location
    California, USA
    Posts
    323


    Did you find this post helpful? Yes | No

    Default

    Well, the LCDOUT command in PBP is for a parallel LCD (either 4 or 8 data lines)
    and your Nokia LCD appears to be a SERIAL device... (1 data line and a clock)

  5. #5
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Post

    3310 is using serial interface (1 Data and Clk) as Byte_Butcher mentioned. You have to use SHIFTOUT -command to transfere data to LCD.
    Here you can find one 3310 LCD example.

    Controllers used in 3310 or variants (8210...) are: PDC8544 (Philips), KS0712 (Samsung) or SED15A2D01 (Seiko-Epson). All are commands wise compatible.

    5.39. LCDOUT
    "PBP supports LCD modules with a Hitachi 44780 controller or equivalent."

    BR,
    -Gusse-

Similar Threads

  1. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 22:01
  2. 4017 counter and pic
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 28th May 2008, 16:09
  3. Help with 16f688
    By jessey in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 21st October 2006, 00:12
  4. RS232 to Parallel Printer Converter
    By Squibcakes in forum Code Examples
    Replies: 6
    Last Post: - 19th September 2006, 17:11
  5. PIC16F62x 18 pin SMT breakout PCB
    By jdgrotte in forum Adverts
    Replies: 1
    Last Post: - 1st January 2004, 09:59

Members who have read this thread : 1

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

Tags for this Thread

Posting Permissions

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