how to display images on 0.96' oled using arduino

preview_player
Показать описание
In this video, we will learn how we can use images and custom bitmaps to display logos or anything we want using our 0.96” OLED screen with Arduino.

For this video, I will be using Arduino Mega and 0.96” Monochrome OLED display, but you can use any Arduino board which supports I2C Communications.

First thing we need to do is complete the connections. If you have watched my previous video, you know connections are very simple, just 4 wires, SCL, SDA, VCC and GND. We just have to connect SCL to SDA and SDA to SCL of Arduino and power pins to VCC and ground of Arduino.

Connection Diagram:

Code :

Blog:

minov blogs:
coming soon

Instructables:

Hackster:

I am extremely excited to see what my subscribers have made!

time stamps:

00:00:00 - 00:00:28 introduction
00:00:28 - 00:00:35 Logo Revel
00:00:35 - 00:00:50 Hardware Requirements
00:00:50 - 00:01:15 Connections
00:01:15 - 00:03:50 Code Skeleton
00:03:50 - 00:05:36 create bitmap
00:05:36 - 00:05:46 upload code
00:05:46 - 00:07:06 challenge!

_Connect with Mission Critical_

Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use.
Рекомендации по теме
Комментарии
Автор

Another great OLED tutorial 🤩
Great going Akshay❤

roshnirabindrasahoo
Автор

im new to all this, after its coded and done does it have to stay connected or can I just plug in a power source and have it run with only the power source trying to make a companion that will rest on my shelf or my car

acuraintegurl
Автор

my drawBitmap is not working for some reason i am new all of this and it says Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno"

In function 'void loop()':

sketch_jul10g:89:25: error: 'myBitmap' was not declared in this scope

display.display(0, 0, myBitmap, 128, 64, WHITE);



exit status 1
'myBitmap' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

HeatYT
Автор

I wish you can make this tutorial on OpenWRT as well. R2s nano pi has i2c.

inohutushi
Автор

why is there only half the image? like not on the screen but on image2cpp itself it makes my image half

jivinmonging
Автор

This was very useful info. Thanks for sharing!

sarahkim
Автор

I paste the code, but is writes ERROR: Invalid Header File

mehdishkin
Автор

OMG!! you make it so easy and I bet is not, how you can change images? the screens I have says 1.14" RGB 135x240IPS, on the top has GND VCC SCL SDA RES DC CS BLK, are these ok to use for this purpose? wich libraries on arduino IDE I can use? the same?

Also wich pins are on arduino nano for sca & sdl
A5 SCL?
A4 SDA?
I saw schematic for nano and these 2 are the ones I think they are.


Thanks

persianasblindco
Автор

Anyone else experiencing that the image the OLED shows is messed up? The code generated by image2cpp seems not to be correct...

ACIDBREAKS
Автор

Hi great video by the way, can you make a tutorial on the dancing cat on the last part of your video? Very cute!!!!

KrackCocainEEEEEEE
Автор

thank you so much brother this video helped a lot

nyashas
Автор

this is a very worthy video sirr_!! thank you for making

paragbharadia
Автор

Hey. Thank you for your tutorial. I have a problem with my display. When I use your code to get the device address it sticks in the first step and it shows just "I2C scanner. Scanning ...
" I checked wires, I do everything as you said. Also, I used a logic analyzer to check Arduino Uno, it works perfectly. I really need your help to fix it. Thank you so much.

ismaeelm
Автор

Many thanks. For this.
I've followed your instructions to the letter picking the correct 128x64 i2c SSD 1306 but only get Half a Yoda ☹ top half. The image2cpp canvas is set at 128x64 and scale to fit keep proportions.
I notice this was done a while ago and when I open SSD 1306 now there are #define screen width and screen height options.
Kinda stuck here. Great full if you can help. 🙏

woolfy
Автор

Does the Arduino always have to be connected to the computer for the animation to work? I wanted to display the animation so I could put it in my room

estebanrivera
Автор

when i upload it it just says this :


exit status 1

'myBitmap' was not declared in this scope
can someone please help me?

kristinv
Автор

Great video! I am stuck finding the I2C address, I can't find it, COM is right when uploading program so I can't go forward. I am using Arduino nano

Please advise.

Thanks

joselagunas
Автор

Hi can you analysis a circuit which I have made but I don't know that will it work or not because I don't have that level of knowledge about electric components. Please help and share your email to send that project video.

kirtanthakar
Автор

Bro why is mine only half of the image but mine is 128x64 can you please help

josephmanallo
Автор

Do you have the code for the animations at the end of the video?

ft