Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Can't make OLED work SSD1311 controller with Teensy 3.6

  1. #1
    Junior Member
    Join Date
    Jul 2019
    Location
    United Kingdom
    Posts
    15

    Can't make OLED work SSD1311 controller with Teensy 3.6

    Hi, I've been trying to get a Midas MCOB42005AX-EWP display to work with my Teensy 3.6 but can't get anything to display.

    http://www.midasdisplays.com/product...cob42005ax-ewp

    http://www.midasdisplays.com/getatta.../specification

    I've found this thread and the code in the example but it seems designed for a 1602 display not the 2004 I have: https://forum.pjrc.com/threads/42740...hlight=SSD1311

    My wiring is:
    Teensy........ OLED 16 pin interface
    41 SCL0.....7
    40 SDA0.....8
    1 GND........1
    15 3v3.......2

    I've also found various SSD1311 libraries but they are all for SPI or parallel interfaces - the Midas seems to only use I2C.

    Any help very gratefully received
    TIA

  2. #2
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,745
    Quote Originally Posted by sw_hunt View Post
    Hi, I've been trying to get a Midas MCOB42005AX-EWP display to work with my Teensy 3.6 but can't get anything to display.

    http://www.midasdisplays.com/product...cob42005ax-ewp

    http://www.midasdisplays.com/getatta.../specification

    I've found this thread and the code in the example but it seems designed for a 1602 display not the 2004 I have: https://forum.pjrc.com/threads/42740...hlight=SSD1311

    My wiring is:
    Teensy........ OLED 16 pin interface
    41 SCL0.....7
    40 SDA0.....8
    1 GND........1
    15 3v3.......2

    I've also found various SSD1311 libraries but they are all for SPI or parallel interfaces - the Midas seems to only use I2C.

    Any help very gratefully received
    TIA
    You want to use pin 19 (A5) to connect to SCL, and pin 18 (A4) to connect to SDA.

    You may or may not need pull-up resistors on the I2C bus (it depends on whether the device already has it own pull-up resistors). I and others put some information about connecting pull-up resistors to the I2C bus in the non-official Teensy wiki:

  3. #3
    Junior Member
    Join Date
    Jul 2019
    Location
    United Kingdom
    Posts
    15
    Quote Originally Posted by MichaelMeissner View Post
    You want to use pin 19 (A5) to connect to SCL, and pin 18 (A4) to connect to SDA.

    You may or may not need pull-up resistors on the I2C bus (it depends on whether the device already has it own pull-up resistors). I and others put some information about connecting pull-up resistors to the I2C bus in the non-official Teensy wiki:
    Thanks, I am using those pins. Each Teensy pin has two numbers! I quoted the physical pin numbers and I think you mean the pin names. Pin 41 SCL0 is called 19 so I think we're talking about the same thing.

    Good idea with the pullups; I just tried 10k from SDA and SCK to 3v3 but still no life

Posting Permissions

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