Can't make OLED work SSD1311 controller with Teensy 3.6

Status
Not open for further replies.

sw_hunt

Well-known member
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-explorer/oleds/cob-character-oleds/mcob42005a/mcob42005ax-ewp

http://www.midasdisplays.com/getattachment/4419937c-0558-428e-8b25-cefcfe46510d/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-TeensyLC-with-16x2-OLED-display?highlight=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
 
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-explorer/oleds/cob-character-oleds/mcob42005a/mcob42005ax-ewp

http://www.midasdisplays.com/getattachment/4419937c-0558-428e-8b25-cefcfe46510d/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-TeensyLC-with-16x2-OLED-display?highlight=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:
 
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 :(
 
Status
Not open for further replies.
Back
Top