Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
Tesla_X
Posts: 12
Joined: Thu Nov 12, 2020 10:54 am

Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266

Post by Tesla_X » Sun Mar 06, 2022 11:17 pm

Hello. Who can tell you where to get the library for SH1106/SSD1306 OLED displays (I2C interface) with Russian letters (Cyrillic) for ESP32/8266 microcontrollers? Or how can existing libraries be modified to add the necessary functionality?

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266

Post by pythoncoder » Mon Mar 07, 2022 1:21 pm

It is possible to create fonts with Cyrillic characters using font-to-py. An SSD1306 I2C driver is available as part of nano-gui. The font and driver may be used in a nano-gui or (micro-gui) application, but for simple text display the Writer class described in the font-to-py library is all you need
Peter Hinch
Index to my micropython libraries.

Tesla_X
Posts: 12
Joined: Thu Nov 12, 2020 10:54 am

Re: Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266

Post by Tesla_X » Mon Mar 07, 2022 2:01 pm

Thanks for the tip. Can you give a small example of the implementation in the code?

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266

Post by pythoncoder » Tue Mar 08, 2022 9:45 am

I'm not sure where you're having difficulty. There is a file cyrillic prepared by a user which I'm told includes the entire character set. Use font_to_py.py with the -k cyrillic option to generate your font.
Peter Hinch
Index to my micropython libraries.

Post Reply