Search found 12 matches

by Tesla_X
Mon Mar 07, 2022 2:01 pm
Forum: ESP32 boards
Topic: Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266
Replies: 3
Views: 2925

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

Thanks for the tip. Can you give a small example of the implementation in the code?
by Tesla_X
Sun Mar 06, 2022 11:17 pm
Forum: ESP32 boards
Topic: Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266
Replies: 3
Views: 2925

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

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?
by Tesla_X
Tue Dec 21, 2021 6:43 am
Forum: ESP32 boards
Topic: ESP32 library for displays 1602, 2004, MT-20S4M (I2C interface) with Russian letters (Cyrillic)
Replies: 11
Views: 18973

Re: ESP32 library for displays 1602, 2004, MT-20S4M (I2C interface) with Russian letters (Cyrillic)

According to the datasheet, switching code pages is just single bit change at initialization time. The initialization routines (called __init__) all have something like this near the end of the routine: cmd = self.LCD_FUNCTION if num_lines > 1: cmd |= self.LCD_FUNCTION_2LINES self.hal_write_command...
by Tesla_X
Mon Dec 20, 2021 7:14 am
Forum: ESP32 boards
Topic: ESP32 library for displays 1602, 2004, MT-20S4M (I2C interface) with Russian letters (Cyrillic)
Replies: 11
Views: 18973

Re: ESP32 library for displays 1602, 2004, MT-20S4M (I2C interface) with Russian letters (Cyrillic)

The hex data that you printed is the UTF-8 encoding of the string. The Cyrillic alphabet can be seen on this page: https://en.wikipedia.org/wiki/ISO/IEC_8859-5 If you iterate through each of the characters of the string character by character and subtract 864 from the unicode value, you'll see some...
by Tesla_X
Sat Dec 18, 2021 5:35 am
Forum: ESP32 boards
Topic: ESP32 library for displays 1602, 2004, MT-20S4M (I2C interface) with Russian letters (Cyrillic)
Replies: 11
Views: 18973

Re: ESP32 library for displays 1602, 2004, MT-20S4M (I2C interface) with Russian letters (Cyrillic)

Code: Select all

>>> print(binascii.hexlify("Test string"))
b'5465737420737472696e67'
>>> print(binascii.hexlify("/n"))
b'2f6e'
>>> print(binascii.hexlify("Русские символы"))
b'd0a0d183d181d181d0bad0b8d0b520d181d0b8d0bcd0b2d0bed0bbd18b'
>>> 
by Tesla_X
Fri Dec 17, 2021 9:45 am
Forum: ESP32 boards
Topic: Connecting SIM7000 module to ESP32 - how to switch power on and off?
Replies: 1
Views: 5016

Re: Connecting SIM7000 module to ESP32 - how to switch power on and off?

Hello. A suitable bipolar NPN or N-channel field effect transistor can be used. There are a lot of activation schemes on the Internet, look in the key mode. You just need to find the source of the control signal. Option: use the charge module + lithium battery, use the DEEP_SLEEP mode and exit it by...
by Tesla_X
Fri Dec 17, 2021 6:58 am
Forum: ESP32 boards
Topic: ESP32 library for displays 1602, 2004, MT-20S4M (I2C interface) with Russian letters (Cyrillic)
Replies: 11
Views: 18973

Re: ESP32 library for displays 1602, 2004 (I2C interface) with Russian letters (Cyrillic)

Hello. I use the MT-20S4M_en LCD display. I attached the documentation above. In the first photo in the attachment, part of the code for displaying lines on the display. The second photo shows the output result. As you can see from the photo, the characters in the third and fourth lines do not corre...
by Tesla_X
Thu Dec 16, 2021 7:35 am
Forum: ESP32 boards
Topic: ESP32 library for displays 1602, 2004, MT-20S4M (I2C interface) with Russian letters (Cyrillic)
Replies: 11
Views: 18973

Re: ESP32 library for displays 1602, 2004 (I2C interface) with Russian letters (Cyrillic)

I checked on ESP 32 - it works. Tested the library on the MT-20S4M_en LCD display. The problem is that it does not display Russian letters. Judging by the symbol table (attached), there is an offset. How can I fix it?
https://github.com/dhylands/python_lcd/ ... en.LCD.pdf
by Tesla_X
Thu Dec 16, 2021 5:49 am
Forum: ESP32 boards
Topic: ESP32 library for matrix keyboard 4*4, connection diagram.
Replies: 0
Views: 6447

ESP32 library for matrix keyboard 4*4, connection diagram.

Hello. Tell me the ESP32 library for a 4*4 matrix keyboard?
Image
by Tesla_X
Wed Dec 15, 2021 7:41 am
Forum: ESP32 boards
Topic: ESP32 library for displays 1602, 2004, MT-20S4M (I2C interface) with Russian letters (Cyrillic)
Replies: 11
Views: 18973

ESP32 library for displays 1602, 2004, MT-20S4M (I2C interface) with Russian letters (Cyrillic)

Hello. Who can tell you where to get the ESP32 library for displays 1602, 2004 (I2C interface) with Russian letters (Cyrillic). By the link "https://github.com/dhylands/python_lcd " there is no library for ESP32 I2C, but there is for ESP8266. Will it work on ESP32?