Login or create an accountClose
I am a returning customer
Login or create an accountClose
Your Account Has Been Created!
Thank you for registering with TechMaze!
You will be notified by e-mail once your account has been activated by the store owner.
If you have ANY questions about the operation of this online shop, please contact the store owner.
You have been logged off your account. It is now safe to leave the computer.
Your shopping cart has been saved, the items inside it will be restored whenever you log back into your account.
OLED 0.96 Inch White IIC Module I2c Serial 128x64 LCD Display for Arduino Raspberry pi
These displays are small, only about 1in diameter, but very readable due to the high contrast of an OLED display. This display is made of 128×64 individual white OLED pixels, each one is turned on or off by the controller chip. Because the display makes its own light, no backlight is required. This reduces the power required to run the OLED and is why the display has such high contrast; we really like this miniature display for its crispness!
This breakout can be used with I2C interface . The design is completely 5V-ready, with an onboard regulator and built in boost converter. It’s easier than ever to connect directly to your 3.3V or 5V microcontroller or single board computer!
LCD assistant: http://en.radzio.dxp.pl/bitmap_converter/
Now let’s go to the computer and see how the program Arduino to display these graphics. As you can see the code of the project is really simple. We are using the u8 graphics library for Arduino. In order to download it you have to visit the library’s website and download it from here. We click here … Download the library for Arduino and then we go to downloads. We download it from here. Then all we have to do is to unzip in our Arduino -> Libraries folder. In the code we have three byte Arrays that contain the data of each bitmap graphic that is going to be displayed on the screen. So all we do in the code is to display these graphics one after another with a delay of three seconds.
We use the command drawBitmap in order to display the graphics on the screen. The command has four arguments The first 2, are the x and y coordinates of the screen that we want the top-left corner over the bitmap to be drawn to. The third argument is the width of the image divided by 8, then is the height of the bitmap image, and then it’s the byte Array that we want to draw.
In order to create the bitmaps that we want to display on the screen we can use either Photoshop or the Free Software paint.net . We create a new empty document with a resolution 128 by 64 because that’s the resolution of the display. We disable antialiasing and we can use only two colors, Black and white. If we use any other colour it won’t appear on the display. I created a new bitmap and now I’m going to save it as a .bmp file. So we go to File -> Save as we save as BMP and we enter a new name here for example space4.bmp and we press save. OK. Flatten image. We don’t want any layers. and that’s it.
Now we are going to use LCD assistant in order to create a byte Array from this bitmap. I have loaded the image on the LCD assistant software and I change the settings to Horizontal orientation. Now, all we have to do is to press File save output as for example space4.c and press save. That’s it. Then we open the file that LCD assistant has created and we copy the data Array from here. We then paste it in our Arduino sketch and then enter the word PROGMEM in order to store all that data in the program memory. Then all we have to do is to call the drawBitmap command and with the new bitmap Array. That’s it!