gLCD_SH1106_I2C1 display with ESP-WROOM-32 was very slow.
Very slow clear and drawing string under ESP32 I2C. Any Idea?
gLCD_SH1106_I2C1 display with ESP-WROOM-32 was very slow.
-
- Posts: 7
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 18, 2020 7:34 am
-
- Matrix Staff
- Posts: 1739
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 440 times
- Been thanked: 603 times
Re: gLCD_SH1106_I2C1 display with ESP-WROOM-32 was very slow.
Hello,
Please can you set the Stop Delay property of the display component to No. This shouldn't be required on the ESP hardware and will be causing a massive slow down on the I2C.
Please can you set the Stop Delay property of the display component to No. This shouldn't be required on the ESP hardware and will be causing a massive slow down on the I2C.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 7
- Joined: Fri Dec 18, 2020 7:34 am
Re: gLCD_SH1106_I2C1 display with ESP-WROOM-32 was very slow.
Thanks your fast reply, Ben.
Yes, Stop Delay is set to No. Check attached please. And video with slow display below:
https://clipchamp.com/watch/91iYCKNpTNe
Yes, Stop Delay is set to No. Check attached please. And video with slow display below:
https://clipchamp.com/watch/91iYCKNpTNe
- Attachments
-
- 螢幕截圖 2022-11-08 12.46.57.png (187.5 KiB) Viewed 1106 times
-
- Flowcode1.fcfx
- (8.98 KiB) Downloaded 37 times
-
- Matrix Staff
- Posts: 1451
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 512 times
- Been thanked: 472 times
Re: gLCD_SH1106_I2C1 display with ESP-WROOM-32 was very slow.
Hello.
Since ES32 has I2C that can be remapped to a choice of pins, can you try changing Channel from software to Channel 1
Software selection will be much slower.
Since ES32 has I2C that can be remapped to a choice of pins, can you try changing Channel from software to Channel 1
Software selection will be much slower.
Martin
-
- Posts: 7
- Joined: Fri Dec 18, 2020 7:34 am
Re: gLCD_SH1106_I2C1 display with ESP-WROOM-32 was very slow.
Hi, medelec35.
No reaction to SH1106 I2C if in Channel mode. Only software mode can drive the LCD to initial and pring.
No reaction to SH1106 I2C if in Channel mode. Only software mode can drive the LCD to initial and pring.
-
- Matrix Staff
- Posts: 1739
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 440 times
- Been thanked: 603 times
Re: gLCD_SH1106_I2C1 display with ESP-WROOM-32 was very slow.
What value of pull up resistor do you have?
It could be the pull up is too weak and so at higher speeds the display is not getting clean signals, this might explain why software mode works but hardware mode does not.
I would recommend pull up values of maybe 1K-4K7 to see if this helps at all.
Actually scratch that it seems the component needs an update to use I2C transactions, working on it now.
It could be the pull up is too weak and so at higher speeds the display is not getting clean signals, this might explain why software mode works but hardware mode does not.
I would recommend pull up values of maybe 1K-4K7 to see if this helps at all.
Actually scratch that it seems the component needs an update to use I2C transactions, working on it now.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1739
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 440 times
- Been thanked: 603 times
Re: gLCD_SH1106_I2C1 display with ESP-WROOM-32 was very slow.
I've now pushed an update for you that should allow the hardware I2C channels to work correctly with the display.
Please go to Help -> Library Updates to get the latest version of the component.
Let us know how you get on.
Please go to Help -> Library Updates to get the latest version of the component.
Let us know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel