Image conversion tool designed for the dot matrix color OLED screen design
1. Software Download
Links: https://pan.baidu.com/s/1t8asn3BKx3icBP9YVre2YA
extraction code: nfzf
paper used in the experiment is ENC2 Lite hardware and ENC1: https://shop311407601.taobao.com
2. Two-color OLED screen presentation
OLED display, no backlight, the display unit can be self-luminous, high luminance, low power consumption, simple interface (I2C, SPI, etc.), compact, stylish, and therefore the routine is widely used in electronic products.
Commonly used on small devices OLED screen with a resolution of 128x32,128x64. In order to reduce the amount of communication, usually point-color OLED screen with a byte of every eight controls, each bit representative of the light spot is lit or not. Usually when the device starts, we need to load a static bitmap file to display LOGO or other static information, so we need a tool to make the lattice file. Here we have to introduce the use of this tool.
3. Download Run OledTools
Baidu network disk download OledTools.zip
, extract to a directory, for example c:\OledTools
. There will be two files, one is OledTools.exe
, the other one OledTools.exe.Config
. This software is written in C #, you need .net framework 4.5.2
more support. This is a green software, run directly OledTools.exe
to the interface indicate the following:
4. The image transfer matrix file Procedure
- We must first determine the target OLED screen resolution and scan mode, the resolution is better understood, scanning a bit weird, we said here vertical scanning and horizontal scanning see figure below. In the future we make a list of device models, when you choose the later device models, we automatically identified and resolution scanning, so OLED display manufacturers are welcome to provide samples to us for debugging and join the list of devices.
- Click
加载图片文件
, we support bmp, jpeg, png and other picture files. In order not to warping, resolution dot matrix color OLED screen with a resolution of the picture is the same or up column.
- Y adjust the threshold value, the main picture to get the information you want, if the picture information is not satisfactory, you can drag the drag strip repeatedly adjusted
Y阈值
to achieve the best. As still can not achieve the desired requirements, you can directly modify the original image, or save the lattice as a picture, then use photo editing software to edit. See the lattice dump picture description.
- Click the
另存点阵到...
button, pop-up dialog box to select the destination file name to save the bitmap file. Preserved dot matrix documents, can be downloaded to the OLED screen through I2C or SPI to dot files.
The dump lattice image (image editing convenience, and do dot image transfer operation)
Sometimes we find that picture is not good enough to turn the lattice, hope for editing, but because the software is not currently online editing function (later increased this feature), so you can choose the dot dump picture dump picture is black and white color-color diagram, and then you can use third-party photo editing software to edit. According to later edit pictures dot file transfer procedure then into dot files. Click the 点阵转存图片...
button to complete the operation.
6. Preview the lattice file
Sometimes we generate a lot of dot-matrix files, you need to know the contents of which dot file, you can choose 加载点阵文件
a button to complete.
7. The actual experimental results
- 128x64 dot matrix color OLED screen actually load the file results
- 128x32 dot matrix color OLED screen actually load the file results