Fun ESP32 Project: Foul Bachelor Frog Meme Displayer (SSD1351 SPI OLED)
Here's how to make a fun little Foul Bachelor Frog (FBF) meme display device using an ESP32 microcontroller and an SSD1351 OLED display. It's a great beginner project and will definitely impress your emo friends. Maybe it will even help you find a girlfriend. Or possibly not. It would be easily modded to show other memes from the era when the internet was actually fun. I also made some other advice animals including Socially Awkward Penguin and Courage Wolf.
00:00 - Introduction
00:35 - Prepare the background image
02:20 - Arduino IDE sketch
04:04 - Pin wiring diagram
04:12 - Caption colours
04:23 - C++ class for meme captions
04:53 - Meme captions array
05:48 - Rotating the display
06:02 - Selecting a random meme
06:49 - Render background on display
08:00 - Placing captions on display
08:50 - My FBF lifestyle
The source code includes 60 FBF captions. I had to shorten some of them and I also excluded any that wouldn't fit on a single line of text. Hopefully I've included most of the classics, but you could easily add more.
The screen I'm using in the video is a Waveshare 1.5 inch square OLED. It has a 128x128 pixel display. If you buy similar ensure it supports the SPI protocol and the SSD1351 display driver.
Source code for Foul Bachelor Frog, Socially Awkward Penguina and Courage Wolf: https://github.com/nichelaboratory/ESP32_Meme_Display_Device
FBF: https://knowyourmeme.com/memes/foul-bachelor-frog
LCD Image Converter: https://sourceforge.net/projects/lcd-image-converter/
Full tutorial on how to display bitmaps on a TFT/OLED: https://youtu.be/nVLaM5JgG9w
What you can learn in this example: ESP32 display bitmaps on an OLED/TFT/LCD display using the Adafruit Gfx library, how to use an SSD1351 display with the ESP32, simple C++ classes, choosing random items from an array, centering text on a screen.
Incidentally, be aware you might get screen burn if you display the same meme on a display for an extended period of time.
Видео Fun ESP32 Project: Foul Bachelor Frog Meme Displayer (SSD1351 SPI OLED) канала Coding With Brett
00:00 - Introduction
00:35 - Prepare the background image
02:20 - Arduino IDE sketch
04:04 - Pin wiring diagram
04:12 - Caption colours
04:23 - C++ class for meme captions
04:53 - Meme captions array
05:48 - Rotating the display
06:02 - Selecting a random meme
06:49 - Render background on display
08:00 - Placing captions on display
08:50 - My FBF lifestyle
The source code includes 60 FBF captions. I had to shorten some of them and I also excluded any that wouldn't fit on a single line of text. Hopefully I've included most of the classics, but you could easily add more.
The screen I'm using in the video is a Waveshare 1.5 inch square OLED. It has a 128x128 pixel display. If you buy similar ensure it supports the SPI protocol and the SSD1351 display driver.
Source code for Foul Bachelor Frog, Socially Awkward Penguina and Courage Wolf: https://github.com/nichelaboratory/ESP32_Meme_Display_Device
FBF: https://knowyourmeme.com/memes/foul-bachelor-frog
LCD Image Converter: https://sourceforge.net/projects/lcd-image-converter/
Full tutorial on how to display bitmaps on a TFT/OLED: https://youtu.be/nVLaM5JgG9w
What you can learn in this example: ESP32 display bitmaps on an OLED/TFT/LCD display using the Adafruit Gfx library, how to use an SSD1351 display with the ESP32, simple C++ classes, choosing random items from an array, centering text on a screen.
Incidentally, be aware you might get screen burn if you display the same meme on a display for an extended period of time.
Видео Fun ESP32 Project: Foul Bachelor Frog Meme Displayer (SSD1351 SPI OLED) канала Coding With Brett
Комментарии отсутствуют
Информация о видео
25 апреля 2024 г. 15:17:26
00:09:01
Другие видео канала