Interfacing and Displaying Images on OLED

Interfacing an OLED 128x64 display with Arduino UNO and displaying images.

Feb 9, 2019

115453 views

16 respects

Components and supplies

1

UTSOURCE Electronic Parts

1

arduino uno

1

Breadboard

1

0.96 Inch OLED Display Module 128X64 OLED for Arduino I2C

Project description

Code

Downloadable files

circuit_bb_Fpsoz4vRis.jpg

circuit_bb_Fpsoz4vRis.jpg

circuit_bb_Fpsoz4vRis.jpg

circuit_bb_Fpsoz4vRis.jpg

Comments

Only logged in users can leave comments

milespeterson101

a year ago

please help, I am getting an error: Compilation error: no matching function for call to 'Adafruit_SSD1306::Adafruit_SSD1306(int, int, TwoWire*, int)' What does this mean? Am I not including a library? Please let me know as soon as possible, I really need help.

Anonymous user

2 years ago

Any help with this error code? I've tried deleting that segment or moving it around and it's confined to the same line numbers. Not the actual code. Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Uno" Test:8:1: error: expected unqualified-id before numeric constant 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff ^~~~ Test:70:1: error: expected unqualified-id before numeric constant 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff ^~~~ exit status 1 expected unqualified-id before numeric constant

user1633406

2 years ago

Im getting an error: stray '\\303' in program

ingweza

2 years ago

Thats really great. Is it possible to do the same with say four (4) screens. and have each screen have 3 pics.. I like tt build rc cockpits but so far all my instruments are WW2. I would like to add a few modern jet cockpits with oled sc creens. Im sure I've sen some other people with similar examples but cant workl out how to do it.

Anonymous user

2 years ago

Very complete documentation which is a lot of effort. Thanks.

najad

2 years ago

Thanks for your support

Mitjas

2 years ago

Wow

Anonymous user

2 years ago

Hi. Thank you very much for the tutorial. I tried for hours to get an image to display on a SPI model and it just will not display correctly. So I followed your tutorial with a I2C oled. Worked straight away! So thank you very much indeed. I've since followed the same steps on the SPI oled and still, it will not display. Any chance you have code for an SPI model please?

Anonymous user

2 years ago

Hi! Excellent video. When trying to compile the slideshow of the two images, I get an error message which reads: "expected initializer before display" My code is exactly the same as yours, except the code for the two images which worked fine when run on their own. Have you any idea what the problem is??? Thanks, Andy.

Anonymous user

2 years ago

It is very important to correct the image. As a graphic designer, I know this very well. And that's why I always try to do my work well. In this I am helped by https://masterbundles.com/stock-content/vector/space/ where there are always all the templates to create. This is the best that I found.

Anonymous user

3 years ago

Any help with this error code? I've tried deleting that segment or moving it around and it's confined to the same line numbers. Not the actual code. Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Uno" Test:8:1: error: expected unqualified-id before numeric constant 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff ^~~~ Test:70:1: error: expected unqualified-id before numeric constant 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff ^~~~ exit status 1 expected unqualified-id before numeric constant

Anonymous user

3 years ago

Hi! Excellent video. When trying to compile the slideshow of the two images, I get an error message which reads: "expected initializer before display" My code is exactly the same as yours, except the code for the two images which worked fine when run on their own. Have you any idea what the problem is??? Thanks, Andy.

ingweza

4 years ago

Thats really great. Is it possible to do the same with say four (4) screens. and have each screen have 3 pics.. I like tt build rc cockpits but so far all my instruments are WW2. I would like to add a few modern jet cockpits with oled sc creens. Im sure I've sen some other people with similar examples but cant workl out how to do it.

Anonymous user

4 years ago

user1633406 This character will be invisible in the editor. There may be a number of them. It most likely occurs at the end of a line, but finding it might be difficult. If you copy the code, then paste it into some other editor, such as Notepad, then copy from there and paste into the IDE, that might remove the character. Otherwise, delete everything beyond the end of each line and insert a new linefeed - that usually clears it.,

user1633406

4 years ago

Im getting an error: stray '\\303' in program

Mitjas

5 years ago

Wow

exiledyorkie

6 years ago

Hi. Thank you very much for the tutorial. I tried for hours to get an image to display on a SPI model and it just will not display correctly. So I followed your tutorial with a I2C oled. Worked straight away! So thank you very much indeed. I've since followed the same steps on the SPI oled and still, it will not display. Any chance you have code for an SPI model please?

Anonymous user

6 years ago

Very complete documentation which is a lot of effort. Thanks.

najad

2 years ago

Thanks for your support