Arduino Nano OLED Display Tutorial for Beginners | 0.96 Inch, I2C White | Step-by-Step Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2024
  • ‪@maisonupstore‬
    Buy from www.maisonup.in
    Link to Arduino Nano Tutorial: • Getting Started with A...
    Link to Code & Libraries Used: drive.google.c...
    Welcome to our step-by-step Arduino OLED Display Tutorial for Beginners! In this comprehensive tutorial, we'll guide you through the process of using the 0.96" I2C/IIC OLED Display Module with your Arduino Nano. Whether you're new to Arduino or have some experience, this tutorial is designed to help you get started and create exciting projects with this versatile display.
    Keywords: Arduino, OLED Display, 0.96 Inch, I2C, IIC, White OLED, Arduino Nano, Tutorial for Beginners, Step-by-Step Guide, Display Graphics, Display Text, Microcontroller Projects.
    Topics Covered:
    1. Introduction: We'll start with a brief introduction to the OLED display and its features. Learn why this 0.96" I2C/IIC OLED with white pixels is perfect for adding visual feedback to your Arduino projects.
    2. Hardware Setup: We'll guide you through the hardware setup, including connecting the OLED display to your Arduino Nano using a breadboard and jumper wires. Follow along as we ensure all connections are correct.
    3. Library Installation: Learn how to install the necessary libraries to control the OLED display with your Arduino Nano. We'll walk you through the installation process step-by-step.
    4. Example Code Demonstration: Upload a sample code provided by the library to showcase the display's capabilities. Watch as the Arduino Nano controls the OLED display and showcases the sample text and graphics.
    5. Customizing Display: Now it's time to dive into customizing the display. We'll show you how to modify the example code to display your own text or graphics on the OLED screen. Personalize the display to suit your project's needs.
    6. Tips and Tricks: Gain some valuable tips and tricks for optimizing your OLED display projects. Learn how to use different text sizes, colors, and positioning to create engaging visual displays.
    7. Project Ideas: Get inspired with some exciting project ideas that utilize the 0.96" I2C/IIC OLED Display Module. From weather stations to smart home devices, there are endless possibilities for incorporating this display into your Arduino projects.
    8. Conclusion: In the end, we'll recap the key takeaways from the tutorial. You'll have a solid understanding of how to use the OLED display with your Arduino Nano and the confidence to create your own projects.
    Join us in this Arduino OLED Display Tutorial and start exploring the world of microcontroller-driven visual feedback! Whether you're a hobbyist or a professional, this tutorial will help you unlock the potential of the 0.96" I2C/IIC OLED Display Module and take your Arduino projects to the next level.

ความคิดเห็น • 31

  • @salc9593
    @salc9593 11 หลายเดือนก่อน +1

    Thank you for posting this video. As I'm working a Christmas gift for my great niece as this size OLED would work. Could you please inform me where I may be able to purchase this size OLEDs. Thank you. Keep up these informative videos as I'll be viewing your other videos for Ideas and Helps. 👍

    • @maisonupstore
      @maisonupstore  11 หลายเดือนก่อน

      Thanks a lot for showing your appreciation, you can easily buy this OLED on Amazon or any other Electronics Components Store. Look for “0.96 OLED DISPLAY FOR ARDUINO”

  • @mr.selfdestruct2917
    @mr.selfdestruct2917 ปีที่แล้ว +4

    I would like to use two screens that each display two separate voltages from a total of four sources that put out less than one volt. .000-.999vdc is this possible

    • @maisonupstore
      @maisonupstore  ปีที่แล้ว +2

      Hello! Indeed, you can use two OLED screens with a single microcontroller as long as you have enough available pins. To accomplish this, you'll need to ensure that each OLED display has a unique I2C address. Below code sets up two OLED screens with different addresses and alternates displaying voltage information from different sources on them. Each source's voltage is displayed for 5 seconds before moving on to the next source. If you need further assistance, don't hesitate to ask!"
      "
      #define SCREEN1_ADDRESS 0x3C
      #define SCREEN2_ADDRESS 0x3C
      Adafruit_SSD1306 display1(SCREEN1_ADDRESS);
      Adafruit_SSD1306 display2(SCREEN2_ADDRESS);
      void setup() {
      Wire.begin();
      display1.begin(SSD1306_SWITCHCAPVCC, SCREEN1_ADDRESS);
      display2.begin(SSD1306_SWITCHCAPVCC, SCREEN2_ADDRESS);
      // Other setup code here
      }
      void loop() {
      // Display voltage of the first source
      display1.clearDisplay();
      display1.setTextSize(1);
      display1.setTextColor(SSD1306_WHITE);
      display1.setCursor(0, 0);
      display1.print("Voltage Source 1:");
      // Add voltage reading for the first source
      display1.display();
      delay(5000); // Display for 5 seconds
      // Clear display for the second source
      display1.clearDisplay();
      display1.display();
      // Display voltage of the second source
      display2.clearDisplay();
      display2.setTextSize(1);
      display2.setTextColor(SSD1306_WHITE);
      display2.setCursor(0, 0);
      display2.print("Voltage Source 2:");
      // Add voltage reading for the second source
      display2.display();
      delay(5000); // Display for 5 seconds
      // Clear display for the next cycle
      display2.clearDisplay();
      display2.display();

  • @rubenarperalta
    @rubenarperalta ปีที่แล้ว +2

    My friend! Thanks for the video first of all.
    I'm planning on creating a hud for my car that displays the speed and whenever I put it in rear, the screen woould turn into a parking sensor visualizer. Do you think it is possible with this type of screen?

    • @maisonupstore
      @maisonupstore  ปีที่แล้ว

      the screen would be too small for the purpose however you can try, you would need to connect additional sensors for e.g. for parking a visualization a HC-SR04 or alike and a mechanism to detect reverse etc.

  • @Wil_Bloodworth
    @Wil_Bloodworth 5 หลายเดือนก่อน +1

    I really wanted to get this working... but couldn't. I'm not sure if it was because of the off-brand Arduino or the off-brand OLED display, but I sent everything back due to the hours of frustration of not being able to get anything at all working.

    • @sh4n940
      @sh4n940 4 หลายเดือนก่อน

      sorry for my english. well at first time i didnt do it too, but changing the OLED_RESET to 4 and the SCREEN_ADDRESS to 0x3C it works, and another problem is the arduinos nanos version, go to "tools"'--->"Processor"-->Atmega328P (Old Bootloader).i just said to you what worked for me, sorry if this dont work for you

  • @luckybeeyt
    @luckybeeyt 2 หลายเดือนก่อน +2

    Can you help me? I have an issue with printing int values

    • @maisonupstore
      @maisonupstore  20 วันที่ผ่านมา

      sure, please share your code with us at support@maisonup.in

  • @Elshan_Mammadov_
    @Elshan_Mammadov_ 10 หลายเดือนก่อน +1

    Hello. On the OLED screen I have, it is stated that there is SCK instead of SCL pin. Do these two pins serve the same function?

    • @maisonupstore
      @maisonupstore  10 หลายเดือนก่อน

      Absolutely, SCK or SCL is the same thing and stands for Clock while SDA stands for Data. If you are using it with a Nano Board connect SCK with A5 of NANO and SDA to A4 of Nano

    • @Elshan_Mammadov_
      @Elshan_Mammadov_ 10 หลายเดือนก่อน +1

      @@maisonupstore I did as you said. No problems with encoding. But the screen still does not turn on. I tried to test it with another screen. But the problem is still the same. I think I'm using a different screen. I will find a screen with scl and test it.

    • @maisonupstore
      @maisonupstore  10 หลายเดือนก่อน

      @@Elshan_Mammadov_ could you share picture of the display front and back ?

  • @deepy2121
    @deepy2121 10 หลายเดือนก่อน +1

    Does the color of the jumper wires matter?

    • @maisonupstore
      @maisonupstore  10 หลายเดือนก่อน

      Not really, but you must ensure match connections to microcontroller are correct, if you are using a Nano Board then VCC to 3.3 V, GND to GND, SCL TO A5 and SDA TO A4

  • @MateusMachado
    @MateusMachado 7 หลายเดือนก่อน +1

    My screen shows only noise. I uoloaded the sample from the Arduino IDE. After, I uploaded your code from Drive.

    • @maisonupstore
      @maisonupstore  7 หลายเดือนก่อน +2

      you can try the following troubleshooting: Check Connections, Confirm that the OLED display is receiving the correct voltage, Confirm that the I2C address in your code, Check if the display initialization in your code matches the specifications, Examine the OLED display for any physical damage

    • @MateusMachado
      @MateusMachado 7 หลายเดือนก่อน +1

      @@maisonupstore the screen looks okay, because I was finally able to run another code. It’s weird, but I will analyse the successful code and find out the issue for yours. Thanks for reply.

    • @MateusMachado
      @MateusMachado 7 หลายเดือนก่อน +1

      I found you the issue. My screen is SH1106 model! I was using the wrong driver.

  • @arvinlutchman8058
    @arvinlutchman8058 10 หลายเดือนก่อน +1

    Hi, please can you help. I want to connect the 7pin 1.5" 128 x128 OLED to the Nano. Tx in advance.

    • @maisonupstore
      @maisonupstore  10 หลายเดือนก่อน

      Assuming You are Trying to COnnect with NanoBoard, do the following connections: VCC: Connect this pin to 3.3V or 5V on the Arduino Nano (Check your OLED specifications to make sure which voltage it supports).
      GND: Connect this pin to one of the GND pins on the Arduino Nano.
      SCL: Connect this pin to A5 on the Arduino Nano.
      SDA: Connect this pin to A4 on the Arduino Nano.
      RES: Connect this pin to a digital pin (e.g., D4) on the Arduino Nano.
      DC: Connect this pin to another digital pin (e.g., D3) on the Arduino Nano.
      CS: Connect this pin to yet another digital pin (e.g., D2) on the Arduino Nano.
      And upload the following sample code: "#include
      #include
      #define sclk A5
      #define mosi A4
      #define cs D2
      #define dc D3
      #define rst D4
      Adafruit_SSD1351 display = Adafruit_SSD1351(128, 128, sclk, mosi, cs, dc, rst);
      void setup() {
      display.begin();
      display.fillScreen(0xFFFF);
      display.setTextColor(0x0000);
      display.setCursor(0, 0);
      display.print(F("Hello, world!"));
      }
      void loop() {
      // Your loop code here
      }
      "

    • @arvinlutchman8058
      @arvinlutchman8058 10 หลายเดือนก่อน

      @@maisonupstore thank you very much friend. Much appreciated. You are a star.💫🙏

  • @Hunter-ns9mf
    @Hunter-ns9mf 7 หลายเดือนก่อน +1

    I did the same as the video but my screen still doesn't light up

    • @maisonupstore
      @maisonupstore  7 หลายเดือนก่อน

      are you able to upload the code ? if yes you have ensured proper wiring ? if yes most likely you are not selecting the correct screen address it's typically 0x3C or 0x3D. Pls try changing it

    • @abhayraj6802
      @abhayraj6802 4 หลายเดือนก่อน

      My screen is not working even after that 😢😢😢
      What should I do now.

    • @abhayraj6802
      @abhayraj6802 4 หลายเดือนก่อน

      ​@@maisonupstoreMy screen is not working even after that 😢😢😢
      What should I do now.

    • @abhayraj6802
      @abhayraj6802 4 หลายเดือนก่อน

      ​@@maisonupstoredoes the colour of the screen also matters??

    • @maisonupstore
      @maisonupstore  4 หลายเดือนก่อน

      @@abhayraj6802 if your wiring are ok, following things will matter, Library Used, Screen Address. Please share your code at saurabh@maisonup.in will help you

  • @Markovicc21
    @Markovicc21 11 หลายเดือนก่อน +1

    nothing show on my display

    • @maisonupstore
      @maisonupstore  11 หลายเดือนก่อน

      If you are able to upload the code still see nothing on display please check for screen address according to display. If you need more help we will be happy to assist.