Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRIUS CO-16 SSD1306 #1

Closed
cemede opened this issue Jun 19, 2013 · 6 comments
Closed

CRIUS CO-16 SSD1306 #1

cemede opened this issue Jun 19, 2013 · 6 comments

Comments

@cemede
Copy link

cemede commented Jun 19, 2013

Hi, recently i bought a crius co-16 oled display, it uses a SSD1306 controller. I'm trying to get work with your library but nothing I've tried works (i'm trying this only with a raspberry and the display, not with an ArduiPi board).
This display only have 4 wires: gnd,vcc,sda,scl. I cut and soldered a wire to pin 14 (rst) to have reset function and shorted pins 19 & 20 to receive ACK from the display to the i2c bus. I can see the device with i2cdetect -y 0 with adress 0x3C but when I launch the ssd1306_demo nothing happens, display remains black.
I connect the reset wire to GPIO 4 on the raspberry.

Thanks for your attention.

424409_4972628515480_24902323_n
1003126_4972628835488_348675855_n

@hallard
Copy link
Owner

hallard commented Jun 19, 2013

Hi,

This is normal the library is coded for spi oled and I did not tried with i2c oled.

But I have now a i2c oled in my hands and I Will try it soon. Check my github in aprox 2 weeks and library should be fine for i2c.

Sorry about that

Charles

Le 19 juin 2013 à 22:34, cemede notifications@github.com a écrit :

Hi, recently i bought a crius co-16 oled display, it uses a SSD1306 controller. I'm trying to get work with your library but nothing I've tried works (i'm trying this only with a raspberry and the display, not with an ArduiPi board).
This display only have 4 wires: gnd,vcc,sda,scl. I cut and soldered a wire to pin 14 (rst) to have reset function and shorted pins 19 & 20 to receive ACK from the display to the i2c bus. I can see the device with i2cdetect -y 0 with adress 0x3C but when I launch the ssd1306_demo nothing happens, display remains black.
I connect the reset wire to GPIO 4 on the raspberry.

Thanks for your attention.


Reply to this email directly or view it on GitHub.

@cemede
Copy link
Author

cemede commented Jun 21, 2013

Hi Charles, that's fantastic, please rely on me for code testing and so.

@hallard
Copy link
Owner

hallard commented Jul 2, 2013

cemede

Check this out, I wrote documentation and made I2C OLED working (you do not even have to cable reset if you do not want), and of course updated code on github

more information on my blog here
http://hallard.me/adafruit-ssd1306-oled-display-driver-for-raspberry-pi/

hope this help, let me know if it works..

Charles

@cemede
Copy link
Author

cemede commented Jul 3, 2013

Hi Charles, I tried the new code and works! Works with reset pin on GPIO25 and connected to 3.3v (internally on the display or directly to 3.3v on the raspberry). I've tried ssd1306_demo with oled type 3 "Adafruit I2C 128x64" and type 4 "Seeed I2C 128x64", both work but Seeed option seems to have less brightness. Types 128x32 also works, seems to have like horitzontal scanlines, useless but cool, like a retro arcade game :D

I'm very glad! you have done a great work re-coding a lot of things, I appreciate much your work, also with post on the blog.

img_20130703_125513

@hanscappelle
Copy link

Nice!

When I connect like it's documented on the blog post for i2c I don't get any response from the oled. Also i2cdetect doesn't list any addresses. I have the modules loaded and blacklist adapted like documented at http://learn.adafruit.com/using-the-bmp085-with-raspberry-pi/configuring-the-pi-for-i2c . Also I checked with several other i2c sensors and these appear when I execute i2cdetect.

Is the extra reset line required or not? Or is it the shorting of trace 19 and 20 on the oled that I need? I haven't adapted anything on the oled so far.

@hanscappelle
Copy link

OK I got it working! I tested with only pin 19 and 20 shorted and got the first pixels. All in random order though, nothing useful.

img_20131119_125219

So I soldered the reset wire in place on pin 14 connected it to pin 4 on the rpi and finally got it working.

img_20131119_123331
img_20131119_125152

@hallard hallard closed this as completed Feb 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants