128x64 oled ID: 938 I2C wiring?
Moderators: adafruit_support_bill, adafruit

128x64 oled ID: 938 I2C wiring?

by stmarco on Wed Aug 15, 2012 1:44 pm

Hello,

i have a project where i would like to combine Adafruit items:
ID: 938 Monochrome 1.3" 128x64 OLED graphic display
ID: 746 GPS module MTK3329 edition
and
ID: 254 MicroSD card breakout board

i'm using the recently downloaded from github Adafruit libraries:
Adafruit_GPS
Adafruit_GFX
Adafruit_SSD1306

with the ssd1306_128x64_spi sketch i can control the display
with the (gps) parsing sketch i can parse gps data

but when i want to combine the 2 something goes wrong, and gps data no longer gets parsed and the display is blank
sometimes the splash screen get's displayed and then freezes.

to avoid this problem i tried to use the ssd1306_128x64_i2c sketch to start from but with this sketch the display remains blank.
i've followed the http://learn.adafruit.com/monochrome-ol ... s/overview tutorial but this display does not get mentioned in the wiring section, maybe i have a wrong wiring?

the pin's i've wired for the i2c sketch are

Data - A4
Clk - A5
Rst - D4
Vin 5V
Gnd - Gnd

and i'm using an Arduino Uno

Thank you

Marco
stmarco
 
Posts: 5
Joined: Thu May 05, 2011 4:51 am

Re: 128x64 oled ID: 938 I2C wiring?

by stephanie on Wed Aug 15, 2012 5:39 pm

I might be mistaken but I think pin D4 is usually used as the chip-select for the SD card, so that could be the cause of the problem.

Try moving the OLED Reset to another pin, update your sketch, and maybe that will fix it?
User avatar
stephanie
 
Posts: 295
Joined: Sat Dec 11, 2010 12:17 am
Location: Canada

Re: 128x64 oled ID: 938 I2C wiring?

by stmarco on Thu Aug 16, 2012 12:33 am

Hi Stephanie,

Thanks for The reply, but The sdcard reader is not in The picture yet, i now tried to get the oled working stand-alone in i2c mode, but that does not seem to go so well :(

Thanks

Marco
stmarco
 
Posts: 5
Joined: Thu May 05, 2011 4:51 am

Re: 128x64 oled ID: 938 I2C wiring?

by adafruit on Thu Aug 16, 2012 9:28 am

did you short the pads on the back of the OLED display?
User avatar
adafruit
 
Posts: 11669
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: 128x64 oled ID: 938 I2C wiring?

by stmarco on Fri Aug 17, 2012 8:37 pm

Oeps,

sometimes you have to reed a little on the device itself instead of the internet, i will short those pads tomorrow morning, hopefully this will make a difference for my Adafruit portable Gps tracker with oled display project.

Thanks for the tip

Greetings

Marco
stmarco
 
Posts: 5
Joined: Thu May 05, 2011 4:51 am