Commencing on a journey to render dynamic visuals that will amaze people of all ages. This guide is meant for both beginners who want to dive into animated OLED displays operated by Arduino. Thanks to Arduino’s great platform and OLED screens which are clear and with high contrast. You can do animations you never thought about and never before even dreamed of. Whether you want to make your project more vibrant or you want to explore the capabilities of OLED technology. This guide facilitates you gaining the skills and knowledge to ultimately create your own lively animations. It open up opportunities for you to unleash your creativity alongside limitless potential of Arduino and OLED technology.
This project aims to explore the capabilities of OLED technology and Arduino’s to generate dynamic, eye-catching animations. It serves multiple purposes, from educational demonstrations of programming and electronics principles to decorative and entertainment applications. By cycling through different animations, this project will foster creativity but also provide a foundation for more complex projects. Whether for learning, decoration, or simply the joy of making. The dynamic OLED animation display promises to be a fun and rewarding into the world of digital art.
Components:

Connections:
OLED Display to Arduino via I2C:
- VCC of OLED to 5V on Arduino
- GND of OLED to GND on Arduino.
- SCL (Serial Clock) of OLED to A5 on Arduino Uno
- SDA (Serial Data) of OLED to A4 on Arduino Uno
Additional Notes:
- Ensure you have installed the necessary libraries (
Adafruit_GFX
andAdafruit_SH110X
or a library specific to the SH1106 if using that) in the Arduino IDE before uploading your code. - Your sketch involves drawing a cloud and moving raindrops. The
drawCloud
function and the logic in theloop
function handle these animations. - The raindrops are reset to the cloud’s position once they exceed the screen height, simulating continuous rain.
Code:
Troubleshooting:
- If the display doesn’t turn on or show the expected graphics, double-check the wiring, ensure the I2C address is correct, and verify that the display is powered correctly.
- If you encounter compilation errors related to the display initialization, confirm that you’re using the right class and library for your SH1106 OLED display. The code snippet mentions
Adafruit_SH1106G
, which might be a typo or mix-up with library classes.