the beginner’s guide to display text, image & animation on ...
At the end of this article, you will be able to: organic light-LEDs (OLED)is a high-
The resolution display makes it easy for users to read.
This display has no backlight and generates a backlight itself, which makes them clearer and smoother than the LCD.
American physics and chemistry
In 1987, Tang and Steven Van Slater of Tang man Kodak made the first practical OLED device.
Today, we can see the upgrading of OLED such as Samsung and LG\'s Super AMOLED and AMOLED Plus.
Small OLED modules are very useful in electronic projects.
The wiring of the display is simple and readable, and it is suitable for displaying data, numbers and simple images.
You can find different sizes and colors of these panels at different resolutions.
Depending on your project, you can choose the parallel, SPI, or I2C model.
Available in monochrome, 2 colors and 16-bit full-
Color panel used.
We choose 128*64, 0.
96 inch, spi oled display with ssd136 driver and Arduino UNO.
Read the rest of this article to learn how to display text and images on an OLED display.
Arduino UNO R3 ×.
96 \"OLED 64x128 display module × 121 40p male and female jumpers × 1 different spi oled displays have different pin names.
Use the circuit diagram above to understand the meaning of the module pin name.
Most OLED modules work with 3.
3 V power.
You can change the pin of the Arduino, but you also have to change it in the code.
If you don\'t have a component or don\'t want to buy it, you can try it by morph emulation and edit it based on your interests.
Download the following project files.
There are many libraries written for OLED modules.
In this article, we have selected the Library of the WaveShare OLED ssd136.
This is not complicated and you can even change the library based on your code.
You have to add the library first and then upload the code.
Please don\'t worry if this is the first time you are running an Arduino board.
Just follow these steps: you can do it using a breadboard and a public-to-public jumper.
Upload the code now.
To display an image, it must be converted to hexadecimal code.
There are several applications that can convert images to hexadecimal code.
You can download one of them from the link below.
First, run the software and open an image from the File menu.
Your image size should be less than 128*64 pixels.
Then click convert from options menu and make sure the settings are the same as the following figure.
Download the software from here.
Click the convert from File menu. Now open the .
C file and copy the hex code.
In the main code, add the hex code in the following format: Now, add the following lines to the loop.
Upload the code to Arduino once it\'s done.
For more practice, we added a sample meter and text animation.
Try editing it and make your own animation on the display.