Re: DIY Tiny OLED I2C full graphics controller July 30, 2020 03:02PM |
Registered: 4 years ago Posts: 3 |
Re: DIY Tiny OLED I2C full graphics controller August 10, 2020 03:44PM |
Registered: 10 years ago Posts: 157 |
Quote
enif
@ Johetan:
When trying to make my Tiny OLED work under Marlin 2.0.5.3 with the BigTreeTech BTT SKR V1.4, I ran into the same problem as you with that shifted display. I also tried all kind of remedies, such as the ones you tried as well, but with no success...
Finally I looking at the file Marlin/src/HAL/LPC1768/u8g/u8g_com_HAL_LPC1768_ssd_hw_i2c.cp, I saw that there were some commented out statements, which looked as if the developer left them in, not being sure that they should really be removed... So I decommented them, recompiled and uploaded. It's now already a few hours running - and so far no shift in the OLED display :-)
Here are the changes I made in Marlin/src/HAL/LPC1768/u8g/u8g_com_HAL_LPC1768_ssd_hw_i2c.cp,:
85,86c85,86 < //#define I2C_CMD_MODE 0x080 < #define I2C_CMD_MODE 0x000 --- > #define I2C_CMD_MODE 0x080 > //#define I2C_CMD_MODE 0x000 137c137 < //u8g->pin_list[U8G_PI_SET_A0] = 1; --- > u8g->pin_list[U8G_PI_SET_A0] = 1; 147c147 < // u8g_i2c_stop(); --- > u8g_i2c_stop(); 151c151 < //u8g->pin_list[U8G_PI_SET_A0] = 1; --- > u8g->pin_list[U8G_PI_SET_A0] = 1; 166c166 < // u8g_i2c_stop(); --- > u8g_i2c_stop(); 170c170 < //u8g->pin_list[U8G_PI_SET_A0] = 1; --- > u8g->pin_list[U8G_PI_SET_A0] = 1; 184c184 < // u8g_i2c_stop(); --- > u8g_i2c_stop();
Let's see if this really solves the problem for good...
Re: DIY Tiny OLED I2C full graphics controller August 11, 2020 12:27PM |
Registered: 10 years ago Posts: 157 |
Re: DIY Tiny OLED I2C full graphics controller November 24, 2020 10:05PM |
Registered: 4 years ago Posts: 90 |
#define BTN_ENC EXPA1_09_PIN // (58) open-drain #define BTN_EN1 EXPA2_08_PIN // (31) J3-2 & AUX-4 #define BTN_EN2 EXPA2_06_PIN // (33) J3-4 & AUX-4
Re: DIY Tiny OLED I2C full graphics controller December 03, 2020 08:43PM |
Registered: 4 years ago Posts: 90 |
Re: DIY Tiny OLED I2C full graphics controller December 14, 2020 11:43PM |
Registered: 5 years ago Posts: 11 |
Re: DIY Tiny OLED I2C full graphics controller December 17, 2020 10:56PM |
Registered: 5 years ago Posts: 11 |
Re: DIY Tiny OLED I2C full graphics controller January 03, 2021 09:07PM |
Registered: 5 years ago Posts: 11 |
Re: DIY Tiny OLED I2C full graphics controller February 05, 2021 03:31PM |
Registered: 3 years ago Posts: 1 |
Re: DIY Tiny OLED I2C full graphics controller February 05, 2021 04:59PM |
Registered: 5 years ago Posts: 11 |
Quote
OSSSA
Hello. help me please. I have assembled the display and am unable to apply the patch to my configuration. Here is my machine configuration. Thanks
Re: DIY Tiny OLED I2C full graphics controller February 09, 2021 04:24AM |
Registered: 10 years ago Posts: 590 |
Quote
OSSSA
Hello. help me please. I have assembled the display and am unable to apply the patch to my configuration. Here is my machine configuration. Thanks
Re: DIY Tiny OLED I2C full graphics controller February 11, 2021 10:15PM |
Registered: 3 years ago Posts: 3 |
Re: DIY Tiny OLED I2C full graphics controller February 11, 2021 10:51PM |
Registered: 5 years ago Posts: 11 |
Quote
properlypurple
Has anyone tried this on a Creality 4.2.2 board that comes by default on the new Ender3s? I've messed up the lcd trying to explore a color change, and this looks like a great option to build.
Re: DIY Tiny OLED I2C full graphics controller February 12, 2021 04:54AM |
Registered: 3 years ago Posts: 3 |
Quote
Timpanogos Slim
Quote
properlypurple
Has anyone tried this on a Creality 4.2.2 board that comes by default on the new Ender3s? I've messed up the lcd trying to explore a color change, and this looks like a great option to build.
The trick is that you would have to find one of the i2c busses on that stm32f1 exposed to a pin header.
You could build the spi version and connect it to the existing header, maybe with soft spi enabled? not sure.
Re: DIY Tiny OLED I2C full graphics controller June 07, 2021 07:48AM |
Registered: 3 years ago Posts: 2 |
Re: DIY Tiny OLED I2C full graphics controller June 10, 2021 12:21PM |
Registered: 3 years ago Posts: 7 |
Re: DIY Tiny OLED I2C full graphics controller June 10, 2021 12:26PM |
Registered: 5 years ago Posts: 11 |
Quote
cxp297
Hello, I want to apply OLED screen to my ramps 1.4, but the code structure of marlin 2.0 firmware is too different from that of V1. Although I can implement it on Marlin 1.1.9, it is always wrong in 2.0. Could you give me a modification method for 2.0, including SD card module
Re: DIY Tiny OLED I2C full graphics controller September 23, 2021 08:28AM |
Registered: 3 years ago Posts: 2 |
Re: DIY Tiny OLED I2C full graphics controller February 10, 2024 11:23AM |
Registered: 9 months ago Posts: 1 |
Re: DIY Tiny OLED I2C full graphics controller February 14, 2024 02:23AM |
Registered: 9 months ago Posts: 1 |