Arduino OLED Custom Fonts (tutorial for beginners, u8g2 library, SSD1306, IIC, SSD1309, UNO)

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.ค. 2024
  • Do you like video? Please consider buying me coffee, thanks! www.buymeacoffee.com/upir
    SOURCE FILES: github.com/upiir/u8g2_custom_...
    WOKWI SKETCH: wokwi.com/projects/3751251687...
    Links from the video:
    Custom fonts FAQ: github.com/olikraus/u8g2/blob...
    bdfconv utility: github.com/olikraus/u8g2/tree...
    128x64 SSD1306 OLED Display 1.54": s.click.aliexpress.com/e/_DCY...
    128x64 SSD1306 OLED Display 0.96": s.click.aliexpress.com/e/_DCK...
    128x64 SSD1306 OLED Display 2.42": s.click.aliexpress.com/e/_DFd...
    Arduino UNO: s.click.aliexpress.com/e/_AXDw1h
    Arduino breadboard prototyping shield: s.click.aliexpress.com/e/_ApbCwx
    Fony Font Editor: hukka.ncn.fi/?fony
    Photopea (online graphics editor like Photoshop): www.photopea.com/
    Related videos with Arduino UNO and 128x64 OLED screen:
    Arduino OLED menu: • Arduino OLED Menu Tuto...
    U8g vs U8g2: • U8g vs. U8g2 Arduino G...
    Arduino Parking Sensor - • DIY Parking Sensor wit...
    Turbo pressure gauge with Arduino and OLED display - • Turbo pressure gauge w...
    Arduino Car Cluster with OLED Display - • Arduino Car Cluster wi...
    Knob over OLED Display - • Knob over OLED Display...
    Arduino + OLED = 3D ? - • Arduino + OLED = 3D ?
    Arduino OLED Gauge - • Arduino OLED Gauge
    Smaller & Faster Arduino - • Smaller & Faster Arduino?
    Save Image from OLED Display to PC - • Save Image from OLED D...
    ------------------------------------------------------------------------------------------------------------------------------
    Do you have any questions? Suggestions for the next video? Please put those down in the comment section. I try to answer as many questions as I can. Thank you for watching, reading the video description and I hope to see you next time. Good luck with your projects!
    --------------------------------------------------------------------------------------------------------
    #arduino #oled #fonts
    --------------------------------------------------------------------------------------------------------
    Alternative titles:
    Custom Fonts U8G2 for OLED Display with Arduino
    Custom Fonts with Arduino U8g2 OLED and 128x64 OLED
    Custom Fonts with Arduino U8G2 and OLED 128x64

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

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

    Do you like this video? Please consider buying me a coffee, thank you! www.buymeacoffee.com/upir

  • @upir_upir
    @upir_upir  10 หลายเดือนก่อน +4

    All the source files are here: github.com/upiir/u8g2_custom_fonts

  • @iamkian
    @iamkian 10 หลายเดือนก่อน +3

    Thank you. Once again great info!

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

      You are welcome, I’m glad you like it!

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

    Solid gold tutorial !....cheers.

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

      Glad you enjoyed it!

  • @vladi_g
    @vladi_g 3 หลายเดือนก่อน +1

    Thank you so much for the video.

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

      You are so welcome!

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

    That was dope man i want more and more

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

      Thank you, and yes, there are many more videos covering this particular OLED screen, feel free to watch them all :)

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

      Please upload all of them we love to watch them

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

    This is quality content.

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

      Thank you, I’m glad you like it!

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

    Do all the symbols (numbers, letters, punctuation) in the custom font need to have the same width? Can I make a ":" or "." symbol that takes up less width on the display?

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

      Every character can have a different width.

  • @bimokayoba
    @bimokayoba 10 หลายเดือนก่อน +3

    THANKS ☺♥♥, but can i create custom font of another language like japenese, arabic ?

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

      You are welcome. Yes, it should be possible, since u8g2 library supports unicode. Here are some examples of Japanese fonts - github.com/olikraus/u8g2/wiki/fntgrpefont

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

      You are welcome. Yes, it should be possible, since u8g2 library supports unicode. There are already some Japanese fonts created for the library (google "fntgrpefont")

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

      @@upir_upir 👍👍👍

  • @qsdrfghgujfddyffguff
    @qsdrfghgujfddyffguff 6 หลายเดือนก่อน +3

    beginners cant understand yours superfast speed explining tutorials

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

      I’m sorry to hear that. Could you perhaps use the playback speed option to slow it down?

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

    can I use 1 font for multi language?

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

      Yes, if you use Unicode font and Unicode label drawing functions - for example:
      u8g2.setFont(u8g2_font_unifont_t_symbols);
      u8g2.drawUTF8(5, 20, "Snowman: ☃");

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

      @@upir_upir i mean if I can just set the font thẹ print any language I want ( meaning that I don’t have to change font every single time). This is based on a scenario that my esp32 has to display whatever it receives via Bluetooth, which can be in any language

  • @No1sonuk
    @No1sonuk 17 วันที่ผ่านมา +1

    bdfconv won't run on my Win 11 machine.

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

      Does it show any errors?

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

      @@upir_upir It says it's a 32-bit app and can't run on 64-bit.

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

    At this resolution, he mostly was just doing “How to draw pixel art” 😂

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

      That´s correct. If the font is not properly designed for low-resolution, i.e., either being a pixel font or having a proper hinting information, there are a lot of tweaks needed.