arduino oled i2c tutorial : 0.96' 128 X 32 for beginners

preview_player
Показать описание
in this video, we will learn how to wire and code a 0.96" 128 X 32 / 128 X 64 OLED display using I2C or SPI communication.
by the end of this video, you will be able to write your own message and code the OLED display using an Arduino Microcontroller.

drop your questions in Comments or Social Media ( links below) for the upcomming QnA video!

Subscribe now for Part 2 of this tutorial

Business enquiry

IMPORTANT LINKS ( CIRCUIT DIAGRAM AND CODE)

Social Media Links

facebook

instagram

Twitter
Рекомендации по теме
Комментарии
Автор

Thanks for the tutorial!

Please note that on your instructables pages you have written "wire.h" instead of "Wire.h" and "spi.h" instead of "SPI.h". Arduino will not recognize if you don't write with capital leters

christerranaldo
Автор

every other channel fails to mention copying the address into the library code, you're a lifesaver my man

letsbnameless
Автор

This has got to be the most elaborated tutorial with extremely accurate English . Unlike other channels...you really ARE underrated. I loved your tutorial

harshraj
Автор

simplest tutorial so far, i think this is absolutely ideal for beginners ! great job.

geekyfreak
Автор

Thanks. This tutorial is just what I needed which was reduce an example to the bare bones.👍

BellowsSqueezer
Автор

This is a very well briefed explanation...awesome...

mnj
Автор

Simpleadt and easy to understand good going bro may gbu and you achieve all your all dreams

aseemparambennykukkarlive
Автор

الله اكبر
الحمد لله
لاحول ولاقوة الا بالله
اللهم صل وسلم وبارك على سيدنا و نبينا محمد
اللهم صل وسلم وبارك على سيدنا و نبينا محمد

henixx
Автор

Hi. Is it possible to adjust Code that is set for oled to one that fits a Lcd? Which libraries other than liquidcrystal can be used?

deniseever
Автор

did everything as instructed, but the display still remained black.
also the i2c scanner didn't find anything
any way to fix that? I checked comments already, but none of them worked

askiny
Автор

To fix the 128x32 resolution and force it to work in 128x64 start the library as follow:


#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 64 // OLED display height, in pixels

#define OLED_RESET 4 // Reset pin # (or -1 if sharing Arduino reset pin)
#define SCREEN_ADDRESS 0x3C ///< See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);

MakerVerse
Автор

I’m new to Arduino.... I want to make a fuel gauge using a .96 Oled 2 color how do you ode to make a bargraph that responds to the fuel level and show the E, 1/2, F increments on the yellow portion of the screen? I’m also using a fuel level sender, with one wire.

rickchowsr
Автор

Hello ! I want to ask what condition should I use if I want to automatically turn off the OLED display if it is not used for a minute using u8g Library thank you

ronamaerecalde
Автор

Hey! BTW if your display displays a kind of static (black and white dots) its not broken! Id recommend using SH1106 instead of SSD 1306.

Duskenxd
Автор

Can you print the display without the arduino or store the script in a smaller device to make like a custom watch or something?

karthiprem
Автор

Hello, i bought an OLED with 128x128 pixels and its i2c too (somehow). well i downloaded the librarys and tried everything as usual, cz i have a little xp with oled 128x64. But i dont know why i have a black screen, code is right, adress is right and most probably the librarys are wrong. Could you please give me an advice, what librarys to use for 128x128 oleds 12c. Thanx.

Amboss
Автор

What if I want to use it with stm32? Do you have a tutorial for it? What library I need to install?

lucadebs
Автор

But what happens when your wire the setup correctly, run the code to check for the I2C address and in the serial monitor it only says "I2C Scannrer, Scanning..." but nothing happens afterwards? (btw I had the same results when I tried to find the address of my LCD panel's I2C address)

oneill
Автор

The ic2 address finder sketch seems to have put my Nano in an endless loop. The internal led flashes constantly and i can't upload to it anymore. Any idea how to fix it?

goodieteabag
Автор

thank you very much for this, where can i find a documentation?

mateoslab