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
Do you like this video? Please consider buying me a coffee, thank you! www.buymeacoffee.com/upir
All the source files are here: github.com/upiir/u8g2_custom_fonts
Thank you. Once again great info!
You are welcome, I’m glad you like it!
Solid gold tutorial !....cheers.
Glad you enjoyed it!
Thank you so much for the video.
You are so welcome!
That was dope man i want more and more
Thank you, and yes, there are many more videos covering this particular OLED screen, feel free to watch them all :)
Please upload all of them we love to watch them
This is quality content.
Thank you, I’m glad you like it!
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?
Every character can have a different width.
THANKS ☺♥♥, but can i create custom font of another language like japenese, arabic ?
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
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")
@@upir_upir 👍👍👍
beginners cant understand yours superfast speed explining tutorials
I’m sorry to hear that. Could you perhaps use the playback speed option to slow it down?
can I use 1 font for multi language?
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: ☃");
@@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
bdfconv won't run on my Win 11 machine.
Does it show any errors?
@@upir_upir It says it's a 32-bit app and can't run on 64-bit.
At this resolution, he mostly was just doing “How to draw pixel art” 😂
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.