Introduction: How to Use a 1.3 Inch I2C OLED Display With Arduino
In this instructable, I'm going to teach you how to use your i2C with your Arduino. Also, teaching you how to display images on the display.
You will need an Arduino board, four wires, and an OLED display.
Step 1: Connecting Your Display
The OLED display should be connecting to the Arduino like the included picture.
Step 2: Identifying What Kind of Your Display Is
The types of displays may affect the codes that are uploaded to. So after connecting the display to your Arduino, you might need to run a code. Which is included.
If the display is connected and the codes are uploaded, open up serial monitor, it should show something like the picture.
Step 3: Installing Libraries
The libraries that I use are
Step 4: Testing Your Display
To test your display, there are testing files that can be reached by following the picture.
After opening, make sure you change the highlighted part to the result that the scanner scanned. In my case, is 0X3C.
Step 5: Uploading Your Own Picture
Till this point, your OLED display should glow up and display the example file. If not, head back and check if you are following the right instructions.
So first find a picture that you would like to display to your OLED.
Next, head to https://diyusthad.com/image2cpp and follow the steps on the picture.
Then, copy the code and paste it into the part that writes " //Paste your bitmap here". Example file is also included.
Step 6: Enjoy Your OLED Display!
If the tutorial does not work for you or isn't clear enough, the reference link might be easier to understand than mine. Or you can comment down below so I can solve your problem!