Shop OBEX P1 Docs P2 Docs Learn Events
adafruit i2c / SPI character LCD backpack — Parallax Forums

adafruit i2c / SPI character LCD backpack

rhahmrhahm Posts: 4
edited 2011-09-21 23:00 in Propeller 1
Hello,

I am trying to migrate away from the BS2/Arduino to the Propeller

Can anyone help me communicate with a 16x4 Char OLED (New Haven display) using the:

adafruit i2c / SPI character LCD backpack ?

http://www.adafruit.com/products/292


thanks

rh

Comments

  • TubularTubular Posts: 4,726
    edited 2011-09-21 14:15
    Rhahm, welcome to the Propeller forum,

    Do you have a link for the datasheet of the display you want to hook up?
  • rhahmrhahm Posts: 4
    edited 2011-09-21 14:35
    http://www.newhavendisplay.com/index.php?main_page=product_info&cPath=119_576&products_id=4219

    The instruction set for the controller within our character OLED displays is the same as the
    HD44780 or ST7066U controller (quote from New Haven Display)

    The display uses standard char LCD protocols


    I can use the display (with the backpack) with the arduino using the the modified LiquidCrystal library here:


    http://www.ladyada.net/products/i2cspilcdbackpack/


    thanks

    rh
  • TubularTubular Posts: 4,726
    edited 2011-09-21 17:05
    Nice display.

    There are a few objects in the Obex for HD44780 LCDs, and I believe these should work straight up with the display without the need for the adafruit backpack.

    Also that display has a few different ways to drive it - 8 bit, 4 bit and a serial mode. Are you so pin constrained that you need to use I2C or is it just easier because that's how you were running with the Arduino?
  • rhahmrhahm Posts: 4
    edited 2011-09-21 21:15
    No, no pin constraints

    Just curious if there was an object to support the backpack


    I have a Parallax 4x16 serial char LCD that I can use or I could remove the backpack and wire it straight up as you suggest


    When I saw the OLED display I thought "Serial" meant RS-232 serial - - NOT !


    I got the adafruit backpack because it was inexpensive ($10)


    rh


    BTW thanks for the Forum welcome
  • TubularTubular Posts: 4,726
    edited 2011-09-21 23:00
    Yeah agreed it is a neat little product and the price is right. It would be especially useful for displays that don't support serial or 4-bit modes (saving several pins). Even with pin constrained prop projects it might find a use.

    I know you're probably just getting to grips with all this prop stuff but don't be afraid to cobble together a driver and stick it in the obex once you get it up and running.

    I designed up the module below as a kind of "addressable universal remote display" for a prospective customer. Is has an RS485 link for receiving commands, and the idea was it could output TV, VGA, or 4x20 LCD (via the 16 pins across the top, that are partly obscured). Ironically I've found other uses for it in the meantime and haven't yet fired up a 4x20 LCD display with it.

    I didn't know you could get one like that OLED so thanks for that link.


    DSC02045.jpg
    1024 x 681 - 69K
Sign In or Register to comment.