Sending text to GLCD using BV4511 interface


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: Sending text to GLCD using BV4511 interface

    Hi Phil,

    the device I have is the older 4512, which is now obsolete and replaced by the 4611, which I've been told by Jim (the developer) is a "better" device. Tabsoft has managed to get the device responding to a poll from the PIC. It's complicated, but lest just say the Arduino and it's programming language sticks to the true correct protocol of the i2c standard, where as PBP appears to use an abbreviated version which mainstream devices can tolerate, but the BV4511 doesn't.

    I'm also testing the GLCD as I may of damaged it when I connected it to the EasyPic5 board. On the EP5 the CS1 and CS2 are at one end of the header, but on the GLCD pins 15 and 16 are CS pins, so everything is then out by 2.... I need to do some further testing to make sure the GLCD works (going to fly wire to the correct pins one for one when the wires arrive). Once that has been checked and i can confirm it works then the fun begins in trying to get the BV4512 to receive and correctly interpret the PBP instructions to display text correctly....

    If only someone manufactured an 8 x 20 LCD with built in character set based on the standard HD chipset... life would be a lot simpler... but then I guess PBP would only support LCD's up to 4 x 20.

    I'm not going to post up the PBP code as Tabsoft is the main contributor, but I'm sure that once we have resolved this it will be put up for reference should some other poor soul happens to have one of these boards and wants to code in PBP

  2. #2
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: Sending text to GLCD using BV4511 interface

    Received a 128 x 64 GLCD with touch screen from MikroElektronica that works fine with the EasyPic5 demo - so I know it's working.

    Breadboarded the BV controller to the GLCD carefully noting the pin mapping as the Mikro screen does not use the same pin outs as the board. It powers up, displayed the default message and I can turn off the screen and backlight by sending the appropriate code and value to the I2C address

    Code:
     BVCmd = $6
    opt=1
    
    i2cwrite SDA,SCL, BVAddr ,BVcmd,opt
    But trying to produce anything graphical like turning on pixels or drawing boxes fails so I tried my other piggyback board. It to powers up, displays it's demo screens. However reading the limited "manual" (http://www.digole.com//images/file/T...ter-Manual.pdf) it doesn't have the same type of command set, more for hyperterminal....

    Would welcome suggestions as to how to configure this puppy to use it's internal fonts to give me the equivalent of an 8 x 20 LCD as I've not only gone grey with this, but now getting bald

  3. #3
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: Sending text to GLCD using BV4511 interface

    Ok I gave up with the BV4512 board and the I2C connectivity of the Digole board, and stested the Digole board in default serial mode.

    It took a while but it works.

    Having the built in selectable fonts makes this behave as if it was a large LCD - which for now is what I'm after.
    Attached Images Attached Images  

Similar Threads

  1. Replies: 1
    Last Post: - 4th June 2010, 04:34
  2. How to prepare text (lots of text) for HSEROUT ?
    By Byte_Butcher in forum General
    Replies: 0
    Last Post: - 15th February 2010, 23:31
  3. Glcd
    By buddhafragt in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th August 2009, 19:58
  4. Glcd
    By Sphere in forum General
    Replies: 0
    Last Post: - 26th August 2006, 18:48
  5. Help with sending text file from pic
    By isaac in forum Serial
    Replies: 6
    Last Post: - 15th August 2006, 21:01

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