I use Adafruit Monochrome 1.3" 128x64 OLED graphic display together with PIC18F4550:
http://www.adafruit.com/product/938
and the recommended wiring:
https://learn.adafruit.com/monochrome-o ... t-3-128x64
I program using Flowcode6.
I connected it in SPI mode and works without problems.
Below are some photos:
I tried also the I2C and does not work. I soldered the jumpers on the back side, replaced the component “gLCD_SSD1306_buffered” with “gLCD_SSD1306_I2C” in Flowcode, but without success. It is black. I tried with and without pull-up resistors on the SDA and SCL lines.
Looking at the recommended wiring connections, I notice that is also the Reset(RST) pin recommended to be connected to Arduino. But in my case, using PIC microcontroller, inside the Flowcode 6, are only 2 lines to be configured and not the third one Reset (RST).
There are OLED displays working in I2C mode with only 2 lines and without RST. The Flowcode forum and youtube shows that.
QUESTIONS:
- What about this OLED display? For I2C do we really need the RST line?
- If yes, do you have some code, library for PIC microcontrollers, eventually PIC18?
OLED 1.3" I2C and PIC
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- viki2000
- Posts: 2
- Joined: Tue Jun 16, 2015 4:05 am
OLED 1.3" I2C and PIC
- Attachments
-
- Adafruit OLED 1.3 SPI 128x64_2
- Adafruit OLED 1.3 SPI 128x64_2.jpg (169.3 KiB) Viewed 1079 times
-
- Adafruit OLED 1.3 SPI 128x64_1
- Adafruit OLED 1.3 SPI 128x64_1.jpg (165.36 KiB) Viewed 1079 times
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: OLED 1.3" I2C and PIC
Sorry, but we don't offer any support for PICs.
- viki2000
- Posts: 2
- Joined: Tue Jun 16, 2015 4:05 am
Re: OLED 1.3" I2C and PIC
Could please at least tell me what happens in Arduino's case when RST pin for I2C is not connected?
Hoe does the OLED react?
Hoe does the OLED react?
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: OLED 1.3" I2C and PIC
The OLED should still work without performing a reset. Section 8.4 of the datasheet describes what reset does:
http://www.adafruit.com/datasheets/SSD1306.pdf
http://www.adafruit.com/datasheets/SSD1306.pdf
Please be positive and constructive with your questions and comments.