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

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ส.ค. 2024
  • 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
    writetomission@gmail.com
    IMPORTANT LINKS ( CIRCUIT DIAGRAM AND CODE)
    minov.in/oled-...
    www.instructab...
    Social Media Links
    facebook
    / officialmissioncritical
    instagram
    / officialmissioncritical
    Twitter
    / akshaymomaya1

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

  • @christerranaldo906
    @christerranaldo906 3 ปีที่แล้ว +51

    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

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

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

  • @harshraj3652
    @harshraj3652 3 ปีที่แล้ว +29

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

  • @geekyfreak7920
    @geekyfreak7920 5 ปีที่แล้ว +15

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

  • @MakerVerse
    @MakerVerse 3 ปีที่แล้ว +7

    To fix the 128x32 resolution and force it to work in 128x64 start the library as follow:
    #include
    #include
    #include
    #include
    #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);

    • @unknownxdavid4579
      @unknownxdavid4579 8 หลายเดือนก่อน +1

      Oh thnx, I thought my screen was 128x32 even though I bought 128x64 😂

  • @Duskenxd2
    @Duskenxd2 7 หลายเดือนก่อน +3

    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.

    • @mission_critical
      @mission_critical  5 หลายเดือนก่อน

      Sure I will have a look, thanks

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

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

  • @oneill444
    @oneill444 ปีที่แล้ว +11

    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)

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

      Did you find the answer?

  • @askiny6576
    @askiny6576 3 ปีที่แล้ว +4

    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

  • @mateoslab
    @mateoslab 3 ปีที่แล้ว +7

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

    • @mission_critical
      @mission_critical  3 ปีที่แล้ว

      You can find a link below called as Instructables or Minov blog if not, go to www.minov.in or www.instructables.com

  • @mnj716
    @mnj716 3 ปีที่แล้ว

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

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

    thank you i got it working just fine!

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

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

  • @aseemparambennykukkarlive4501
    @aseemparambennykukkarlive4501 3 ปีที่แล้ว +1

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

  • @anushamg2488
    @anushamg2488 2 วันที่ผ่านมา

    The address is not shown on serial monitor screen.It says I2C scanner,scaning........and nothing is shown on screen.I thought it might take some time,but no,its not showing any address.Wt to do??does it mean OLED is not working.Should i buy different one??

  • @prettypointlessvideo
    @prettypointlessvideo 3 ปีที่แล้ว +3

    The example code has an extra space in #include !!! it says #include < Wire.h> just letting you know but good vid

    • @mission_critical
      @mission_critical  3 ปีที่แล้ว

      Ohkay, I wasn't aware about this error, thank you for letting me know

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

    Thank you! this is Helpful! 😊

    • @mission_critical
      @mission_critical  3 ปีที่แล้ว

      Most welcome 😊

    • @AidenJooMV
      @AidenJooMV 3 ปีที่แล้ว +1

      @@mission_critical 😁😁😁😁😁😁😁😁

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

    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.

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

    I’m new to Arduino.... I want to make a fuel gauge using a .96 Oled 2 color 12C..... 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.

  • @akshaykolekar5903
    @akshaykolekar5903 5 ปีที่แล้ว +15

    Bro, you have not fixed your adafruit library. Your Screen is 128x64. Open SSD1306.h ; see '#define SSD1306_128_32' below that it is '//#define SSD1306_128_64'. Just write '#define SSD1306 _128_64' and '//#define SSD1306_128_32'

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

      Hey there I tried that but it seems like when I did that both those X 64 and X 32 dont work for my display , the only problem we will face for not fixing those headers is intro logo of adafruit will be cut, other than that everything is normal and useable!

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

      Your display is 128x64

    • @akshaykolekar5903
      @akshaykolekar5903 5 ปีที่แล้ว +3

      You have to edit the adafruit_SSD1306.h library

    • @mission_critical
      @mission_critical  5 ปีที่แล้ว +1

      Yes I m quite aware about the same, I have tried it, I will still try again for the next tutorial thank you for bringing it to my notice!
      Thank you for Subsrcibing to Mission Critical
      ~ Akshay Momaya
      TechHead at Mission Critical

    • @CrazyCoupleDIY
      @CrazyCoupleDIY 5 ปีที่แล้ว +1

      @@akshaykolekar5903 thats right

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

    Great tutorial!
    There were some errors in the code, I fixed them:
    #include
    #include
    #include
    #include
    #define OLED_RESET 4
    Adafruit_SSD1306 display(OLED_RESET);
    void setup() {
    display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
    display.clearDisplay();
    }
    void loop() {
    display.setTextSize(2);
    display.setTextColor(WHITE);
    display.setCursor(0,0);
    display.println("Heheheheheh");
    display.display();
    }

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

    What's your name sir? I just love your tutorials..y
    You ar indian right? I am too ❤️

    • @mission_critical
      @mission_critical  2 ปีที่แล้ว

      Hello Circuit Overtime, glad to hear that you enjoy our video, let's chat on Instagram ☺️

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

      @@mission_critical alright sending you a ping can you tell me the I'd once?

    • @mission_critical
      @mission_critical  2 ปีที่แล้ว

      You can find it on my socials or look for officialmissioncritical

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

    im not able to find address it is showing-Sketch uses 3972 bytes (12%) of program storage space. Maximum is 32256 bytes.
    Global variables use 478 bytes (23%) of dynamic memory, leaving 1570 bytes for local variables. Maximum is 2048 bytes.

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

      Click that serial monitor icon in the right top corner

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

    How to add 2 pages in OLED to scroll between it. Like 1st page shows measurements, 2nd shows clock ⏰️ for exemple.

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

    Love you brother :)

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

    do you think it is possible to unstick oled screen from it PCB but keeping it connected with it's flex cable ? (need to do that for a project)

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

      With extreme skills, yes it is possible, but I would suggest you not to do it, since it's quite delicate to be pulled off and many complimentary components essential for working are mounted on PCB, I hope you know what you are doing and all the very best for your upcoming project ❤️

    • @AlexandrePerret
      @AlexandrePerret 3 ปีที่แล้ว

      @@mission_critical ok thank you for this answer :)

  • @Joblessyoutube
    @Joblessyoutube 5 ปีที่แล้ว +3

    Fabulous video n grt stuff...

    • @mission_critical
      @mission_critical  5 ปีที่แล้ว

      Thank you @Job less I have seen your videos too, you are doing a fantastic work and making people laugh isn't an easy job keep growing!

  • @bigcatdairy
    @bigcatdairy ปีที่แล้ว +1

    I did it in the same way, but got an error when I tried to get the screen address, said the wire.h file was not in the folder

    • @Cosmo_dino
      @Cosmo_dino 8 หลายเดือนก่อน

      Same😢

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

    It can use magnifier above the screen ,

  • @Thiliiri
    @Thiliiri 6 หลายเดือนก่อน

    sir enter the number s counting in dissplay

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

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

  • @vikasmishra8125
    @vikasmishra8125 3 ปีที่แล้ว

    Great!!
    Thanks a lot.

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

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

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

    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

  • @denise4ever242
    @denise4ever242 3 ปีที่แล้ว

    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?

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

    After running the code in the Arduino IDE the serial monitor does not show any thing just returning " ? ? " ,somethig like this is my i2c diplay is broken or what ?

  • @mint.f2060
    @mint.f2060 4 หลายเดือนก่อน

    Why are we running 128x32's code for this 128x64 display? I am confused.

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

      It was an oversight, I guess someone posted the correct settings / code on this video, please refer that

  • @armonchoudhry3065
    @armonchoudhry3065 ปีที่แล้ว +1

    is there a wa to see the output of the code without an oled display? like can i preview it on my laptop before displaing it on the oled display?

  • @amalbabu7667
    @amalbabu7667 6 หลายเดือนก่อน

    Is there any problem while removing the tag on the display

    • @mission_critical
      @mission_critical  6 หลายเดือนก่อน

      No it's fine you can remove that

  • @MrOrangeman18
    @MrOrangeman18 4 ปีที่แล้ว +3

    The reason why you where getting the error is you need to go into the .h fine and comment out 128x32 and uncomment our 128x64.
    That way your screen will work. As yours in the 128x64.
    This is why

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

      okay, thanks for bringing that in notice, i will add that in future tutorial video
      thank you for subscribing to Mission Critical

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

    Could you inform me where to purchase an OLed display please

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

    I wish theres a way to put it in a powerbank as an indicator

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

      Ofcourse there is a way to do it my man

  • @goodieteabag6665
    @goodieteabag6665 2 ปีที่แล้ว

    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?

  • @tanjimahmed7399
    @tanjimahmed7399 4 ปีที่แล้ว +1

    thanks it works

    • @mission_critical
      @mission_critical  4 ปีที่แล้ว +1

      Glad I could help,
      Thank you for subscribing to Mission Critical

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

    hi bro..after i done uploaded the code, the screen does not display anything..do you know why?

    • @mohdamir3734
      @mohdamir3734 4 ปีที่แล้ว +1

      i try the testing display code

    • @mission_critical
      @mission_critical  4 ปีที่แล้ว +1

      someone from viewers has solved this, can you check in comments? and try that, if it wont work, i will try to help you!
      thank you for subscribing to Mission Critical

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

    Not sure why but part of my display shows a yellow color on letters and some are blue.

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

      Some display modules are built that way, nothing to do with your code

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

    bhaiya aapne jo code instructables pe dala hai usme wire.h ka W small hai uski wajah se bohot logomko prblm aasakti hai please use change kijieye.🙏

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

    Where can I get the instrructable post 😢

  • @stimpyfeelinit
    @stimpyfeelinit 2 ปีที่แล้ว

    legend dude

  • @projects2122
    @projects2122 3 ปีที่แล้ว +1

    Sir
    I want to learn how to write the program
    Which website is best for learn the programming
    Can u plz help me

    • @mission_critical
      @mission_critical  3 ปีที่แล้ว +1

      Start with Arduino's website, so that you get an idea about its basics and then start with example codes of Arduino you will eventually learn everything with trail and error!
      All the very best

    • @projects2122
      @projects2122 3 ปีที่แล้ว +1

      @@mission_critical Tq sir😇

    • @mission_critical
      @mission_critical  3 ปีที่แล้ว

      Most welcome

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

    When I run the script to tell me the hex port it returns nothing. I've tried running it as admin and more stuff but nothing works. I'm hoping you could tell me why?

  • @XxPPslayer69
    @XxPPslayer69 6 หลายเดือนก่อน

    you are my favorite indian now

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

    help wire.h has no file or directory I even installed both libraries!

  • @nabilariff9601
    @nabilariff9601 3 ปีที่แล้ว

    Im a newby what does it mean when it says serial port not selected

  • @Drxxx
    @Drxxx 4 ปีที่แล้ว

    Good video@@

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

    Can I use this display with PIC16F677A

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

    Does this also work for Arduino nano

  • @iamaditya69
    @iamaditya69 3 ปีที่แล้ว +1

    It is showing error of spi.h and wire.h no such file or directory found pls help me......when uploading our own code

    • @tarun.a1742
      @tarun.a1742 3 ปีที่แล้ว +1

      go to sketch and include library andsearch for SPI and WIRE library and give include option

    • @iamaditya69
      @iamaditya69 3 ปีที่แล้ว +1

      @@tarun.a1742 have you use Instagram to chat with me.....

    • @tannermolitor9371
      @tannermolitor9371 3 ปีที่แล้ว

      i think the W in wire has to be capitalized, and so does the SPI

  • @atulpatidar6421
    @atulpatidar6421 5 ปีที่แล้ว +1

    It will be support or not in nodemcu. Arduino nano ??

    • @mission_critical
      @mission_critical  5 ปีที่แล้ว

      It will be supported yes, but it all depends on your Memory size of that Chip, I am not very sure about Nano, but it might work, well, on Node MCU, it should definately work, as node MCU has way large memory than Arduino Uno, so just give it a try or wait for little time I am working on few node MCU projects I might try it in near future
      Anyways thanks for subscribing to Mission Critical

  • @xperimentsqf3823
    @xperimentsqf3823 3 ปีที่แล้ว +1

    can we use this one oled display for several sensors?

    • @mission_critical
      @mission_critical  3 ปีที่แล้ว +1

      OLED is a display, it can display anything you want, if your sensor can send it's data to Arduino, this OLED can display it

    • @xperimentsqf3823
      @xperimentsqf3823 3 ปีที่แล้ว +1

      @@mission_critical @Mission Critical okay.. is it mean if we use this one pcs oled, install in one arduino, and let say we put three sensors together the oled can show output from each sensor..? thanx for your reply..

    • @mission_critical
      @mission_critical  3 ปีที่แล้ว +1

      Yes yes it will, unless you don't run out of memory space or size on OLED
      In my engineering days, I have integrated 3 sensors and yet had space on display

    • @xperimentsqf3823
      @xperimentsqf3823 3 ปีที่แล้ว +1

      @@mission_critical okay.. i'm new & interesting in arduino things.. and wanna start some projects with it.. wish me luck.. 🤣
      thanx alot for the answers..

    • @mission_critical
      @mission_critical  3 ปีที่แล้ว +1

      All the best for your projects

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

    2:30 Thanks!

  • @pankajkale9391
    @pankajkale9391 2 ปีที่แล้ว

    It shows error compiling for board Arduino Uno..
    Plz help

  • @assassingamer9088
    @assassingamer9088 4 ปีที่แล้ว +1

    can i change colors like blue or red

    • @mission_critical
      @mission_critical  4 ปีที่แล้ว +1

      The display I have had no options, I don't know for sure, try looking at the datasheet of your display and read example codes with library, I hope that should help you.
      Thank you for subscribing to Mission Critical

  • @navjotsingh2457
    @navjotsingh2457 15 วันที่ผ่านมา

    ty

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

    How to connect node 8266 mcu

  • @alienconcept2389
    @alienconcept2389 8 หลายเดือนก่อน

    im getting an error code on your script it says it cant find .h or smthing like tht

    • @alienconcept2389
      @alienconcept2389 8 หลายเดือนก่อน

      C:\Users\matth\AppData\Local\Temp\.arduinoIDE-unsaved20231126-19176-1xjbvnp.k83p\sketch_dec26a\sketch_dec26a.ino:1:10: fatal error: wire.h: No such file or directory
      #include < wire.h>
      ^~~~~~~~~
      compilation terminated.
      exit status 1
      Compilation error: wire.h: No such file or directory

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

      ​@@alienconcept2389Remove wire.h and put Wire.h instead

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

    What kind of wire is that

  • @0124akash
    @0124akash ปีที่แล้ว

    How many lines display sir ?

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

    Brother i need your help

  • @ownvisions2b
    @ownvisions2b 3 ปีที่แล้ว

    Where is part two of this tutorial?

  • @Jackinbox19001
    @Jackinbox19001 8 หลายเดือนก่อน

    CAN SOMONE HELP ME MY SCREEN DOES NOT EVEN WORK

  • @kevinperies4450
    @kevinperies4450 2 ปีที่แล้ว

    sir how to connect GND,VDD,SCK,SDA to arduino pro micro?

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

      find the "arduino pro micro pinout" and connect the 4 wires, I cannot post a pic of the pinout but it has vcc, gnd, scl, and sda.

  • @ahmedasaleh6547
    @ahmedasaleh6547 5 ปีที่แล้ว +1

    thanks .... helpful video

    • @mission_critical
      @mission_critical  5 ปีที่แล้ว

      You are most welcome 😍
      Thank you for subscribing to Mission Critical

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

    Is it called SCK or SCl

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

      It is the same thing, you can say "clock" as "cl" or "ck".

  • @paul.alarner6410
    @paul.alarner6410 ปีที่แล้ว

    not leaving a link to the code is a fail!.

  • @bob-ny6kn
    @bob-ny6kn 2 ปีที่แล้ว

    FYI: Q&A

  • @JavawithGD005
    @JavawithGD005 3 ปีที่แล้ว

    I'm followed steps properly but still the error is there

  • @herschel1969
    @herschel1969 3 ปีที่แล้ว

    thanks bro i thought that i killed my display

  • @sreeragaraj2580
    @sreeragaraj2580 4 ปีที่แล้ว +1

    Want to increase OLED font size in raspberry Pi using python

    • @mission_critical
      @mission_critical  4 ปีที่แล้ว

      i havent tried this on Raspberry pi, you need to check the Library for examples hopefully you will get some insights there!
      Thank you for Subscribing to Mission Critical

    • @omniyambot9876
      @omniyambot9876 4 ปีที่แล้ว

      Edit the library, make the fonts larger by adding more pixels to every letter

  • @SureshKumar-nk2ok
    @SureshKumar-nk2ok 4 ปีที่แล้ว +1

    sir once the progra loaded for name display does it remains even removing controller

    • @mission_critical
      @mission_critical  4 ปีที่แล้ว

      not sure if i understood your problem, can u clarify?

  • @blehprojects5776
    @blehprojects5776 9 หลายเดือนก่อน

    "Compilation error: wire.h: No such file or directory" wtf

    • @anotherperson9646
      @anotherperson9646 8 หลายเดือนก่อน +1

      Another comment says that "Wire.h" has a uppercase w and "SPI.h" is upper case as well. Hope this helps!

  • @daliageorge8323
    @daliageorge8323 5 ปีที่แล้ว +1

    Next how to display shapes

  • @themoralcode
    @themoralcode 5 ปีที่แล้ว

    CAN I GET THE DETAIL OF SAME OLED WITH ARDUINO DUE?

    • @mission_critical
      @mission_critical  5 ปีที่แล้ว +1

      I think you just need to find 5v power supply for OLED and connect ground of power supply to ground of Arduino due, just find SCL and SDA pines for that board and you are good to go!
      Thank you for subscribing to Mission Critical!♥️

  • @bomxacalaka2033
    @bomxacalaka2033 4 ปีที่แล้ว +3

    Whats with the sexy voice?

    • @mission_critical
      @mission_critical  4 ปีที่แล้ว

      maa ka pyaar aur subscribers ka dulhar,
      Glad I could help!
      thank you for subscribing to Mission Critical

  • @sreeragaraj2580
    @sreeragaraj2580 4 ปีที่แล้ว +1

    Bro how to increase OLED font size?????
    I'm printing time and want to increase font size
    What I want to do?

    • @celista
      @celista 4 ปีที่แล้ว

      You could try display.setTextSize(3);

    • @gd.ritter
      @gd.ritter 4 ปีที่แล้ว

      The default font with the adafruit library is 5x8 characters. display.setTextSize([1-4]) will let you set the text to scale to double, triple, or quadruple size. Or you can also add your own font into it. Adafruit documentation shows how to do that. Also, you can have multiple text scales on display at the same time. So you can have the time in text size 4 filling the display height and off to the right can have AM in size 2 or something. The adafruit example sketch shows how to use it really well for writing and drawing and animating.

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

    are you single

  • @radhakrishnavempati1391
    @radhakrishnavempati1391 3 ปีที่แล้ว +1

    I ran the code to find the I2C hexadecimal address, however, my serial prints this "⸮⸮⸮0A⸮0⸮⸮0⸮,⸮⸮". I corrected the Wire. h issue but I don't know how to solve this one?

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

      same problem here any solution??

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

      Same Here

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

      Most likely your baud rates are different, Serial monitors baud rate needs to be same as the one in code "Serial.begin(9600)"

    • @truck-kunmaybechan6511
      @truck-kunmaybechan6511 ปีที่แล้ว

      @@markotandara3845 brotha, you are our savior, it works, thank you very much from the bottom of my heart

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

      @@truck-kunmaybechan6511 glad I could help

  • @RetroEcoChicken
    @RetroEcoChicken 2 ปีที่แล้ว

    ignore what he says about serial port. go to examples/adafruitSSD1306/ssd1306_128X64_i2c. hit control + f and seach for SCREEN_ADDRESS. change it to this #define SCREEN_ADDRESS 0x3C

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

    your code does not compile and there is almost no instruction on "indestructible". C:\Users\ak\AppData\Local\Temp\.arduinoIDE-unsaved202401-2284-1r6i1lr.gmzm\sketch_jan1b\sketch_jan1b.ino:8:10: fatal error: wire.h: No such file or directory
    #include < wire.h>
    ^~~~~~~~~
    compilation terminated.
    exit status 1
    Compilation error: wire.h: No such file or directory

    • @mission_critical
      @mission_critical  5 หลายเดือนก่อน

      Many people faced the same issue, please check comments someone has posted a solution

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

    It can use magnifier above the screen ,