128x32 i2c OLED connections? No light

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
wesg
 
Posts: 118
Joined: Thu Mar 18, 2010 10:00 pm

128x32 i2c OLED connections? No light

Post by wesg »

I'm just connecting my new 128x32 i2c OLED screen but so far following the detailed tutorial on the learning system haven't produced any light.

I'm using the standard demo code from GitHub, and have it wired up the same way as shown. At first the code was complaining about the value of SSD1306_LCDHEIGHT so I set it to define and it's uploaded fine.

Since I haven't changed any of the other code, I'm surprised it doesn't work correctly. Here are the initialization statements in the code. Where else should I check?

Code: Select all

#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);

#define SSD1306_LCDHEIGHT 32
#define NUMFLAKES 10
#define XPOS 0
#define YPOS 1
#define DELTAY 2


#define LOGO16_GLCD_HEIGHT 16 
#define LOGO16_GLCD_WIDTH  16

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: 128x32 i2c OLED connections? No light

Post by adafruit_support_rick »

Can you post some pictures of your wiring and the breakout board?

User avatar
wesg
 
Posts: 118
Joined: Thu Mar 18, 2010 10:00 pm

Re: 128x32 i2c OLED connections? No light

Post by wesg »

Thanks, driver. This might be the best photo.

http://imgur.com/Fog35

As a map, the wires are:
SDA A4
SCL A5
RST Digital 4
GND GND
Vin +5V

User avatar
wesg
 
Posts: 118
Joined: Thu Mar 18, 2010 10:00 pm

Re: 128x32 i2c OLED connections? No light

Post by wesg »

OK, update! I think some of the wires were bad. I replaced the jumpers and now it's flashing away.

Note to others: verify your wires!

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: 128x32 i2c OLED connections? No light

Post by adafruit_support_rick »

Great!

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”