Hi,
I've just receipt an 1.5" OLED breakout card and want to try SSD1351 examples with my teensy 3.1. As there is no tutorial for it, I'm not able to make it work.
Can some one help me ? What is the pinout for Teensy 3.1 to make example working ASIS (if possible) ?
I've try different combinations without success. I'm even not sure the breakout card is working because when I power it up I've got nothing saying it's alive. OLED screen is dark and nothing happend.
Please help.
[SOLVED] OLED 1.5" SSD1351 & Teensy 3.1
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Lafuente
- Posts: 8
- Joined: Sun Jan 25, 2015 2:41 pm
[SOLVED] OLED 1.5" SSD1351 & Teensy 3.1
Last edited by Lafuente on Sat Jan 31, 2015 4:35 am, edited 1 time in total.
- Lafuente
- Posts: 8
- Joined: Sun Jan 25, 2015 2:41 pm
Re: OLED 1.5" SSD1351 & Teensy 3.1
I use 3.3Vcc to supply OLED, but also had try with 5.0Vcc. I'd try code pinout first (2,3,4,5,6) without success ans then try what I believe can work too :
Code: Select all
#define OLED_MOSI 9
#define OLED_CLK 10
#define OLED_DC 11
#define OLED_CS 12
#define OLED_RESET 13
Code: Select all
Adafruit_SSD1351 tft = Adafruit_SSD1351(OLED_MOSI, OLED_CLK, OLED_DC, OLED_RESET, OLED_CS);
Code: Select all
Adafruit_SSD1351 tft = Adafruit_SSD1351(OLED_CS, OLED_DC, OLED_RESET);
Best regards,
Manu
- Lafuente
- Posts: 8
- Joined: Sun Jan 25, 2015 2:41 pm
Re: OLED 1.5" SSD1351 & Teensy 3.1
On the previous photo you can think that the 2 last Pin are wrong on Adafruit OLED board, but they really match what they should (R and OC)
- rickj5
- Posts: 8
- Joined: Mon Dec 30, 2013 2:32 am
Re: OLED 1.5" SSD1351 & Teensy 3.1
The OLED doesn't appear to be connected to ground. The red and blue power rails at the top of the first photo are not connected to the red and blue rails at the bottom of the photo. You have the OLED ground plugged into one blue rail and the Teensy ground plugged into the other one.
- Lafuente
- Posts: 8
- Joined: Sun Jan 25, 2015 2:41 pm
Re: OLED 1.5" SSD1351 & Teensy 3.1
Thx for reply,
The OLED is connected to ground using "G" pin. The wires connected to teensy are not suppose to give supply to OLED screen but give supply to Teensy. There is no problems here. I'd check the voltage at OLED power pins with a multimeter and I get 3,27V, supplied by the black element witch is a voltage regulator.
I'd try the BMP example too, without succes :-(
My opinion is that this OLED screen is DOA. I will request a RMA from Adafruit ASAP.
Thx rick for your help. I'm just disappointed that Adafruit support did NOT reply to this post.
The OLED is connected to ground using "G" pin. The wires connected to teensy are not suppose to give supply to OLED screen but give supply to Teensy. There is no problems here. I'd check the voltage at OLED power pins with a multimeter and I get 3,27V, supplied by the black element witch is a voltage regulator.
I'd try the BMP example too, without succes :-(
My opinion is that this OLED screen is DOA. I will request a RMA from Adafruit ASAP.
Thx rick for your help. I'm just disappointed that Adafruit support did NOT reply to this post.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: OLED 1.5" SSD1351 & Teensy 3.1
So, you are using a breadboard power supply for the OLED, and USB power for the teensy?
You will definitely need a common ground connection between the teensy and the breadboard power supply. This serves as a signal reference for the OLED.
Connect a jumper from the breadboard gnd bus to the teensy gnd.
You will definitely need a common ground connection between the teensy and the breadboard power supply. This serves as a signal reference for the OLED.
Connect a jumper from the breadboard gnd bus to the teensy gnd.
- Lafuente
- Posts: 8
- Joined: Sun Jan 25, 2015 2:41 pm
Re: OLED 1.5" SSD1351 & Teensy 3.1
Thanks Rick for this tip.
I'll try asap and let you know what happen ;-)
I'll try asap and let you know what happen ;-)
- Lafuente
- Posts: 8
- Joined: Sun Jan 25, 2015 2:41 pm
Re: OLED 1.5" SSD1351 & Teensy 3.1
This will be my mistake. With common ground between Teensy and OLED display, the display wake up. It does not display anything but it work ;-)
Now it's just a code problem, but I'm more confident with the display and should fix that quickly.
Many thanks Rick
Now it's just a code problem, but I'm more confident with the display and should fix that quickly.
Many thanks Rick
- TimmSch
- Posts: 6
- Joined: Thu Apr 23, 2015 6:22 pm
Re: [SOLVED] OLED 1.5" SSD1351 & Teensy 3.1
Hey Lafuente,
I am wondering if you made your OLED work with the Teensy.
If so, have you tried using the SD card simultaneously with the display?
I am also considering getting one....
Thanks a lot in advance!
I am wondering if you made your OLED work with the Teensy.
If so, have you tried using the SD card simultaneously with the display?
I am also considering getting one....
Thanks a lot in advance!
- Lafuente
- Posts: 8
- Joined: Sun Jan 25, 2015 2:41 pm
Re: [SOLVED] OLED 1.5" SSD1351 & Teensy 3.1
Hello Timm,
Both of them work perfectly. The only thing I fight against was that the screen flicker. I had to split the screen in area and refresh only the good data to avoid this. This is something to consider in your sketch.
I also tried U8glib library with success, but the screen flicker is higher than with Adafruit SSD1351 library well used, as U8glib update the full screen each time you want to change a single pixel.
I also modified the Adafruit SSD1351 library to use spi4teensy3 library. This really accelerate the things ;-)
Bests,
Manu
Both of them work perfectly. The only thing I fight against was that the screen flicker. I had to split the screen in area and refresh only the good data to avoid this. This is something to consider in your sketch.
I also tried U8glib library with success, but the screen flicker is higher than with Adafruit SSD1351 library well used, as U8glib update the full screen each time you want to change a single pixel.
I also modified the Adafruit SSD1351 library to use spi4teensy3 library. This really accelerate the things ;-)
Bests,
Manu
- TimmSch
- Posts: 6
- Joined: Thu Apr 23, 2015 6:22 pm
Re: [SOLVED] OLED 1.5" SSD1351 & Teensy 3.1
Hey Manu,
thanks for the heads up! I will then give it a try as well. Would you mind sharing your library with me?
Thanks a lot in advance!
Best,
Timm
thanks for the heads up! I will then give it a try as well. Would you mind sharing your library with me?
Thanks a lot in advance!
Best,
Timm
- TimmSch
- Posts: 6
- Joined: Thu Apr 23, 2015 6:22 pm
Re: [SOLVED] OLED 1.5" SSD1351 & Teensy 3.1
Hey Manu,
my 1.27" OLED has arrived and I can confirm that both the display and the SD work. However, I experience the same flickering problems that you describe.
Would you mind sharing your library?
Thanks a lot :)
my 1.27" OLED has arrived and I can confirm that both the display and the SD work. However, I experience the same flickering problems that you describe.
Would you mind sharing your library?
Thanks a lot :)
Please be positive and constructive with your questions and comments.