arduino oled 128×32
. Today we review this little OLED screen display that we bought from banggood.com few days ago.. The item was very cheap in banggood site and it came here in Greece very fast and we have the chance to review it now and drive it using the arduino platform.. So first of all, this display is very small in size. As you can see, it is only three by 3 centimeters long and wide., Comparing it with an Arduino pro mini. You can see how small it really is.. It is almost the same size in length and the arduino mini is around 2 cms wide and 3.5 cms long. Let’s, compare it with an arduino nano., As you can see, it’s almost half the size in length. And, lastly, lets compare it with an Arduino Mega.. As you can see, the Arduino Mega is really really bigger.. Now this OLED display has only four pins to connect.. The first pin is the ground. The second is the Vcc. The third pin is name SCL and the fourh SDA.. Those two pins are the only one used to in order to communicate with the processor, the Arduino or any other platform you can use and those pins use the I2C protocol. So we need only four pins and we are ready to go. First list let’s connect. This display with the Arduino Mega., The first pin Ground, is going to be connected, of course, with the Ground, so let’s connect it Ground goes to the Arduino Ground.
. The second pin is Vcc, so Vcc goes to 3.3 Volts or by 5 Volts., Whatever you want., It’s, better to use 3.3 Volts. Next is the pin SCL. SCL, the yellow wire goes to this pin on the Arduino with the same name. and lastly, the pin SDA Goes to SDA pin in Arduino Mega.. You can use any Arduino you like of course., So we are ready to power the device on and see how it works. Okay, I plug the USB input and I am powering from my little power bank.. Okay. I now press open and, as you can see, our display is powered on and it displays some graphics. Let’s zoom in …. That flickering is caused by my camera. Ok, now is better. You can see the display in full action. It displays some graphical elements from the Adafruit GFX library.. You can find the library in the link, below., OK, the display is, is very bright. You can see that the display is bright, the colors are bright, the upper one third is yellow and the two thirds below are blue.. Have that in mind before buying one? The price of this device is around 4 euros in banggood.com and it is the best price you can find. So it is very easy to use and very nice for small projects. Now let’s see in the computer. What do we need in order to light this display? Up., We are in the computer now and we’re going to see how to drive the OLED display.
. First of all, we have to download the GFX Adafruit library from this link.. You can find the link in the description below.. All we have to do is to press the quotDownload zipquot here.. Then we have to unzip the library to a place, let’s unzip it in the Dekstop and rename the library …. Ok like this.. Next we have to download the Adafruit SSD1306 library for the OLED display. Itself., The other library is for the graphics that it will display.. Also, this link is in the description of the video below.. We press, download, zip unzip it in the desktop as well and and rename to OLED for example.. We copy or cut those libraries in our Arduino installation in the Libraries folder and paste them. Paste them here.. We are ready now to open up Arduino., We open up Arduino and we go to to the examples. As you can see, we have a library here called OLED. We choose this 128×64 i2c example. We load it, and now we have to make a change. The only thing we have to change is go down a little bit and find the initialization line here. This one display.begin, we have to change this 3D to 3C. It is the I2C address. It is the value that we have to change in oder, the display from Banggood that you have bought to work., Otherwise, it won’t start up.. Now, the only thing we have to do is to choose our board.
I am using an Arduino Mega, so all I have to do is to press upload. When the compile is done, it is now uploading and the upload will complete. The screen will light up.. It is that easy. Using that display, you can make many things.. You can draw squares circles or print some text.. It is very easy., But we will make another video about that. Now let’s see our display in action.. When upload has finished, we can something like this.. The library that we have uploaded is drawing things in the screen.. It can draw lines, squares, circles, anything you can imagine, it can draw bitmaps and of course it can draw text. That flickering that you see in the screen now is invisible with naked eye. It is probably because of my camera now let’s see another interesting thing.. Ok, you can see how small text it can display scrolling and things like that. Now let’s see the power consumption of this little device.. I have plugged in my USB OLED meter and you can see that the it now draws around 0.06A. arms on it’s, not a big deal, but let’s unplugged the screen to see how that changes. Let’s see … 0.06A, and now I am unplugging the screen.. The difference is small., It is around 10mA.. If I plug the screen back in it is around 10mA.. The precision of this device is not very big, but you can that this OLED screen means very little power.
So that is the review and driving of the OLED display. If you like, the video press like below and subscribe to our channel, because we are going to use this screen in many projects to come..
0.91‘’ 128*32 OLED White LCD Display Module IIC I2C for …
0.91 inch OLED display White 12832 IIC 128*32 LCD screen …
DSD TECH Official Website: DSD TECH 0.91 0.96 1.3 INCH IIC …
Posted on Tuesday April 23, 2019A Year-Long Experiment In OLED Burn-In Hackaday … Continue Reading »
Posted on Thursday February 14, 2019Wemos Lolin = ESP32 + OLED on one board Elektor … Continue Reading »
Posted on Tuesday November 06, 2018Pocket Sized Arduino Calculator Makes A Great First Project Hackaday … Continue Reading »