19. STM32CubeIDE OLED Display. I2C with STM32F103C8T6

Поделиться
HTML-код
  • Опубликовано: 9 июл 2021
  • STM32 Blue Pill for beginners
    Code and diagram are at www.micropeta.com/video19

Комментарии • 56

  • @dragoscucu3128
    @dragoscucu3128 2 года назад +4

    Thumbs up for adding the source code to video description!

  • @mertoguzhan8814
    @mertoguzhan8814 2 года назад +3

    thank you man , very helpful content !

  • @remontlive
    @remontlive 9 месяцев назад

    You are made a great and easy tutorial? thank you indeed!

  • @manofmesopotamia7602
    @manofmesopotamia7602 9 месяцев назад

    thank you so much , you teach me a lot of things, I really appreciate your efforts.😊

  • @0miker0
    @0miker0 Год назад

    Excellent video and a huge thank you! Any idea if it's possible to rotate the screen 180 degrees? It looks ike it might be in SSD1306_Init somewhere.

  • @lucadebs7872
    @lucadebs7872 10 месяцев назад

    Did you write the .c and .h files we created in Src and Inc? If you didn't, do you know where I can find a tutorial explaining how they were created? Thank you.

  • @galalahmedfahmy5482
    @galalahmedfahmy5482 Год назад

    Clear, easy to follow .. My best wishes for you

  • @adiladl1836
    @adiladl1836 11 месяцев назад

    excellent choukran

  • @vibrex2009
    @vibrex2009 2 года назад

    Hi. I am trying to add more fonts. But I did'nt find any program to output 32bit format font archive. Only 8 bit format! Could you tell me wich program did you use? Thanks a lot.

  • @shihab6417
    @shihab6417 2 года назад

    sir, what about the color of text? can i print multiple color text in this display or it has these color by default?

  • @marek_vanco
    @marek_vanco 2 года назад +2

    Hello Nizar. What display do you use in this video ? I see it's SSD1306 based display, but which model do you use exactly ? It's colors display. Thanks you very much for nice demonstrations!

    • @NizarMohideen
      @NizarMohideen  2 года назад +2

      SSD1306 oled comes mainly with white color, blue color or blue/yellow color. This setup and code will work with all of them as long as they have I2C pins (SCL/SDA).
      For generic display module, it will work straight away. If it is adafruit module, comment
      //#define SSD1306_I2C_ADDR 0x78
      #define SSD1306_I2C_ADDR 0x7A
      in ssd1306.h file. Thanks

  • @user-fw7cm5fo5y
    @user-fw7cm5fo5y 9 месяцев назад

    While uploading the code each time, I'm getting an error :
    Error in final launch sequence:
    Failed to execute MI command:
    target extended-remote localhost:3333
    Error message from debugger back end:
    localhost:3333: Connection timed out.
    Failed to execute MI command:
    target extended-remote localhost:3333
    Error message from debugger back end:
    localhost:3333: Connection timed out.
    localhost:3333: Connection timed out.
    Just after I use the run option or debugger run. Why so?

  • @AS-zs7jw
    @AS-zs7jw 3 года назад +1

    thank you for this video and files

  • @OkwebaOscar
    @OkwebaOscar 3 года назад +2

    Hi, thanks for the videos you are sharing. Kindly create a tutorial how to use the internal temperature sensors in the STM32 chips

  • @farukdemirta
    @farukdemirta Год назад

    I just did what you did but it didn't work I don't understand the problem connection and code is right but screen is nothing show up.

  • @tranthanhlam4712
    @tranthanhlam4712 2 года назад +2

    Thanks pro for all

  • @muhtasimrabib9795
    @muhtasimrabib9795 8 месяцев назад

    I did everything perfectly but the display still does not turrn on, what should i do ??

  • @petercheung63
    @petercheung63 Год назад

    thanks, it works

  • @petercheung63
    @petercheung63 Год назад

    NucleoL476RG not work, any hints?

  • @sarankumar9128
    @sarankumar9128 Год назад

    can you plese give me the code for spi display with 7pins for stm32f103c8t6 (or please tell me the inilization process of spi communication in stm32cubeide

  • @user-nz1jw9en1y
    @user-nz1jw9en1y 5 месяцев назад

    i tried your code on stm32f030c8t6 it worked that time, now i am trying the same with stm32f103c8t6 but it is not working with and its new version display, though i studied its datasheet the address it says is 0x3C, i tried every address, its not working at all, even made pull up connection, the sda and sck lines both remains in high state, suggest me to fix it

  • @bahriozdem6063
    @bahriozdem6063 8 месяцев назад

    thank you, very good⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐

  • @TamilMani-sn5vr
    @TamilMani-sn5vr 10 месяцев назад +1

    itoa function was not available. Got an error because of the function missing. Please let me know how to resolve this issue.

    • @Anandkumar-jh1pg
      @Anandkumar-jh1pg 25 дней назад

      I have tried initially i got errors and i was not able to fix them. I deleted entire project and created the new one step by step by watching the tutorial. It worked

  • @0miker0
    @0miker0 Год назад

    Excellent video and I will give this a try. My oled display has an i2c address of 0x3C. Is this the address of the one that you use?

  • @user-mq4ki1fr2c
    @user-mq4ki1fr2c 7 месяцев назад

    Good~

  • @erenakcay9036
    @erenakcay9036 2 месяца назад

    uint8_t sicaklik;
    char dizi[5];
    while(){
    sprintf(array,"%d", temp);
    SSD1306_GotoXY (53, 30);
    SSD1306_Puts (array,&Font_11x18,0);
    SSD1306_UpdateScreen();
    HAL_Delay (500);
    }
    I checked in the debugging environment, there is no issue with the conversions. When going from two-digit temperatures to three-digit ones, there is no problem. However, when the temperature drops below 100 degrees, instead of getting 99, 98, 97, I'm getting 990, 980, 970. What could be the reason for this?

    • @NizarMohideen
      @NizarMohideen  2 месяца назад

      SSD1306_Clear();
      It will clear the 0. If you have flicker, then write empty space " "

    • @erenakcay9036
      @erenakcay9036 2 месяца назад

      @@NizarMohideen thank you very much sir for interesting and help.İts solved

  • @truongquangbaokhanh2910
    @truongquangbaokhanh2910 Год назад

    nice

  • @Ibra-fr
    @Ibra-fr 9 месяцев назад

    Спасибо у меня получилось 👍

  • @mucahithamarat2052
    @mucahithamarat2052 2 года назад

    Hi Nizar. Do you have an email address that we can reach and ask questions about ur projects 2 u?

  • @thaitoantran9293
    @thaitoantran9293 3 месяца назад

    I had a problem with "itoa". Can you help me?

    • @NizarMohideen
      @NizarMohideen  3 месяца назад

      sprintf() can be used instead of itoa()

  • @shubhamkumaragarwal7347
    @shubhamkumaragarwal7347 Год назад

    Can you provide the bare metal code for OLED I2C

  • @yasirshahzad3732
    @yasirshahzad3732 Месяц назад

    Will oled work in standard mode or not?

  • @berilyldrm5764
    @berilyldrm5764 3 месяца назад

    ssd1306_Init();
    undefined reference to "ssd1306_Init();" I am getting error. Has anyone encountered this problem? How can I solve it?

    • @NizarMohideen
      @NizarMohideen  3 месяца назад

      Put the library files
      Inside Core/Inc Folder
      fonts.h
      ssd1306.h
      Inside Core/Src Folder
      fonts.c
      ssd1306.c

    • @berilyldrm5764
      @berilyldrm5764 3 месяца назад

      @@NizarMohideen I added the libraries and the error appears in main.c in the src section.

    • @NizarMohideen
      @NizarMohideen  3 месяца назад

      Try SSD1306_Init(); instead of ssd1306_Init();
      Capital Big SSD not simple small ssd

    • @berilyldrm5764
      @berilyldrm5764 3 месяца назад

      I solved the problem. In the Properties section, changing the libraries option from executable to static libraries fixed it.Thanks a lot

  • @bigcatdairy
    @bigcatdairy Год назад +1

    did in the same way but lot of errors lol

  • @vahtang-testers
    @vahtang-testers 2 года назад +1

    Itoa error

  • @Everthingintheuniverse-ds4iq
    @Everthingintheuniverse-ds4iq Год назад

    How to contact with you? any whatsapp or other social media?