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..
[mam_video id=A9EwJ7M7OsI]
[mam_tag id=2528]
[mam_bing_images id=http://i.ebayimg.com/images/g/OrUAAOSwAPlXhJA2/s-l300.jpg,https://megaeshop.pk/media/catalog/product/cache/1/image/7dfa28859a690c9f1afbf103da25e678/e/4/e4a99060e9e5f2c7297cb54d6aab2a53–arduino-lcd.jpg,https://3.bp.blogspot.com/-x-7ysRUEDrs/Wwepla1UzVI/AAAAAAAAAFo/yML2sUri0EkOrND3qg1VUWb80hMc05xTwCLcBGAs/s1600/oled-arduino.jpg]
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, 2019
A Year-Long Experiment In OLED Burn-In Hackaday … Continue Reading » -
Posted on Thursday February 14, 2019
Wemos Lolin = ESP32 + OLED on one board Elektor … Continue Reading » -
Posted on Tuesday November 06, 2018
Pocket Sized Arduino Calculator Makes A Great First Project Hackaday … Continue Reading »
https://www.pinterest.com/pin/35465915794474667/
https://www.pinterest.com/pin/35465915794474666/
https://www.pinterest.com/pin/35465915794474664/
not working
I hope you find this video useful. If you want to support the channel see how here: http://educ8s.tv/support-educ8s-tv/
10 minutes to show how to wire 4 cables, wow.
Neat video, thanks for that. However, I still hate to see everybody falling to the aurd. to make things work. When you do that, you are just paying other people to do something and you are just taggin along. Yes, many make a lot of modules for the aurd but I want to learn how to drive the displays myself, choosing my own display driver! I want to drive the display with my own circuit….anybody with knowledge please send me links to beginning courses on driving displays…
my oled displays‘ width and height don‘t fit to the animations how can i fix this ?
i changed in the adafruit library everything he did in his video but it didnt worked
Where did you get the code
thanks for this video
This is a community question. I have a couple of these modules running all the time for about a year, and they started to break down. They look really bad and some pixels don’t work at all. Is that normal?
Are bad OLEDs a common thing? Because mine doesn’t do anything. The I2C Scanner recognizes a device with address 0x3C, but the display doesn’t even light up despite trying two Adafruit examples (with the right address). No obvious signs of physical damage.
Maybe you got a faulty display. I didn’t have any problems with these displays so far.
You could do a tutorial but for PIC is that I want to integrate it into a development thanks.
Русский? )
Ordered my OLED from Banggood but it arrived with cracked screen due to the flimsy plastic bag it was packaged in, an inevitable outcome. So unless Banggood are going to change there P&P, I would not recommenced this supplier for this part……they did refund me in full.
Hello, i’m doing an project to school, and i decided to do this one. When i’m trying to set my board in arduino, and upload the program, it always say to me this “ssd1306_128x64_i2c.ino: In function ‘void testdrawchar()’:
ssd1306_128x64_i2c:297: error: ‘class Adafruit_SSD1306’ has no member named ‘cp437′” —-> i’m doing OLED Display
good for you you have an empty desktop! thanks nice job
Does the display switch without coding?
no of course.
Great videos. Thank you 🙂
Very good video fellow Greek!
NORVI IIOT – ESP32 for industrial projetcs
Industrial ESP32, Ready for multiple IDE : Arduino and ESP-IDF
USB Programmable Industrial ESP32 with OLED Display and din-rail mount
Not just a ESP32 in a industrial enclosure, it has designed for protection and reliability.
http://www.norvi.lk
How to connect with nano?