+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2013
    Location
    Quebec, Canada
    Posts
    68

    Default Deal on a 1.8" 160x128 Color LCD @ US $9.99

    Hello group,


    I want to share with you a deal on a 1.8" 160x128 Color LCD @ US $9.99:


    http://www.digole.com/index.php?productID=1189


    It's a pre-order deal. I do use these displays because they come with an integrated MCU to process the commands and graph engine. There is an Arduino Demo Code Video on Youtube (see link on the page). Here is an example of what I did with the 160x128 OLED:


    Name:  WP_000692_ALL2.jpg
Views: 799
Size:  177.8 KB


    They have backpacks for text LCD too. The nice thing is you can use a LCD with just 1 pin.

    Tip: to design my user interfaces I connect the LCD to a USB UART to TTL and I do all the programming in Visual Basic. It's a lot faster than compile/flash a PIC. When I'm done I copy/paste the code to my PBP project!

    HTH!

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,259

    Default Re: Deal on a 1.8" 160x128 Color LCD @ US $9.99

    Thanks, might get one to play with (if shipping cost doesn't kill the deal).
    And nice work on the interface, mind sharing some code for other PBP users?

    As for the display spec:
    * Wide viewing range, 190 degrees up-down, 60 degrees left-right
    Impressive....

    /Henrik.

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,196

    Default Re: Deal on a 1.8" 160x128 Color LCD @ US $9.99

    Well which one is it? OLED or LCD? That's a pretty good deal for an OLED $9.99. The one in the attached link is an LCD.
    Dave Purola,
    N8NTA
    EN82fn

  4. #4
    Join Date
    Feb 2013
    Location
    Quebec, Canada
    Posts
    68

    Default Re: Deal on a 1.8" 160x128 Color LCD @ US $9.99

    The deal is for the LCD.

    Henrik: At work I maintain our GPS tracking system. I made this device to diagnose the GPS units but I can't post the code. I'm working on a personnal fun project involving ESP8266+GPS+OLED 160x128. I'll share some code when done... Stay tuned!

  5. #5
    Join Date
    Nov 2003
    Location
    Sao Paulo - Brazil
    Posts
    92

    Default Re: Deal on a 1.8" 160x128 Color LCD @ US $9.99

    Hello Michel,

    I bought some Digole units on eBay some time ago.

    But, I couldn´t get it working with PicBaisc Pro.

    Do you have any source code example for this display (I bought 128x64 Oled and 128x64 Ks0108)

    My best regards,

    Sérgio Pinheiro

  6. #6
    Join Date
    Feb 2013
    Location
    Quebec, Canada
    Posts
    68

    Default Re: Deal on a 1.8" 160x128 Color LCD @ US $9.99

    All the displays have the same commands set which makes code portable. The text ones have less commands.
    All the commands must be terminated by CR (13) or null (0), this is probably your problem.

    Go to http://www.digole.com/ and download the user manual.

    Here is a simple example:

    Code:
    OLED_BAUDRATE   con 84      '9600
    OLED            var PORTA.5 'serout2 pin
    
    
    'Allow time for the display to initialize.
    'You can download (just once) your own graphic or a set of commands as a splash screen. Make nicer devices!
    'The splash screen is displayed right at the power up so you won't get a black screen for the initialisation time.
    PAUSE 1000
    
    'CurSor off
    serout2 OLED, OLED_BAUDRATE, ["CS", 0]
    
    'CLear screen 
    serout2 OLED, OLED_BAUDRATE, ["CL", 0] 
    
    'TT command to display a TexT string
    'Display Hello world
    serout2 OLED, OLED_BAUDRATE, ["TTHello world", 0]
    
    'TRT command to move text cursor to next line(call Text ReTurn)
    serout2 OLED, OLED_BAUDRATE, ["TRT", 0]
    
    'Set Font 10
    serout2 OLED, OLED_BAUDRATE, ["SF", 10, 0]
    
    'Display Hello world again!
    serout2 OLED, OLED_BAUDRATE, ["TTHello world again!", 0]
    I'll share more with my "fun project". I'm just too busy...


    The KS0108 doesn't have a backpack, you canget one there http://www.digole.com/index.php?productID=535
    Last edited by MichelJasmin; - 6th March 2015 at 03:51. Reason: More infos

  7. #7
    Join Date
    Nov 2003
    Location
    Sao Paulo - Brazil
    Posts
    92

    Default Re: Deal on a 1.8" 160x128 Color LCD @ US $9.99

    Hello Victor,

    I was making some tests with the modules I bought some time ago and the code provided on last post.

    Well, the 1.3" OLED display worked with the code. I just connected the VCC, GND and DATA pins to my pic 16f876A an it worked, displaying the "Hello World" messages.

    But, the messages keeps blinking on the Screen and, if add an "END" command at the of the code, the displays does not show the messages.

    Have you an idea why the messages keeps blinking all the time ?

    Another doubt is regarding the commands detailed on the user´s manual :

    For example : If I want to draw a rectangle, I have to use the command :

    DRBBBB ==> Draw a Rectangle, 4 B are: X,Y(left top), X,Y (right, bottom) where B is byte.

    I think I missed something : I the picture bellow, showiung the OLED display, I have :

    serout2 OLED, OLED_BAUDRATE, ["DR2299", 0] which makes no sense for me. I have to admit that I did not understand the BBBB notation.

    Could you, please, give another example ?

    Changing the display to a KS0108 with the backpack, I used the same code and connected the VCC, GND and the RX/SDA, SDI pin but, it did not work. The packpack is being used like in the pictures, without any additional config. I was just soldered on the KS0108.

    Thank you fo the help !

    Regards,

    Sérgio
    Attached Images Attached Images     
    Last edited by srspinho; - 8th March 2015 at 20:44. Reason: corrections

  8. #8
    Join Date
    Feb 2013
    Location
    Quebec, Canada
    Posts
    68

    Default Re: Deal on a 1.8" 160x128 Color LCD @ US $9.99

    The BBBB notation mean byte, byte, byte, byte. You must write it this way:

    Code:
    serout2 OLED, OLED_BAUDRATE, ["DR", 2, 2, 9, 9, 0]
    The coordinates 0,0 are on the top left. For a 20x15 rectangle on the top left:
    Code:
    serout2 OLED, OLED_BAUDRATE, ["DR", 20, 15, 0, 0, 0]
    On the page for the back pack (http://www.digole.com/index.php?productID=535)

    jumper 7: short both for KS0108.
    The serial data is sent to the pin "RX/SDA".


    HTH

Similar Threads

  1. 3.5" Color LCD code example
    By DaveC3 in forum Code Examples
    Replies: 44
    Last Post: - 16th October 2013, 15:02
  2. Replies: 0
    Last Post: - 25th September 2013, 18:33
  3. Re: 3.5" Color LCD code example
    By Alinachen in forum Adverts
    Replies: 0
    Last Post: - 14th June 2011, 08:54
  4. color LCD workshop
    By cncmachineguy in forum Code Examples
    Replies: 9
    Last Post: - 12th May 2011, 16:30
  5. color lcd easy to interface
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 25th August 2006, 06:14

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