So it's Christmas Time!! Get ready to build an Easy yet AMAZING mini-project. You can minimize the whole thing to a PCB board and hang it on your Christmas Tree.
We will be using an SSD1306 OLED for the display of the message - "Merry Christmas" with a basic animation of snowflakes. To do that, let us go through the basics of How to use the OLED screen first.
There are 2 types of Communication used for different OLED displays - SPI and I2C.
Get PCBs for Your Projects Manufactured
You must check out PCBWAY for ordering PCBs online for cheap!
You get 10 good-quality PCBs manufactured and shipped to your doorstep for cheap. You will also get a discount on shipping on your first order. Upload your Gerber files onto PCBWAY to get them manufactured with good quality and quick turnaround time. PCBWay now could provide a complete product solution, from design to enclosure production. Check out their online Gerber viewer function. With reward points, you can get free stuff from their gift shop.
SPI based SSD1306
A 7-pin OLED module offers all interfacing options like 3-wire SPI, 4-wire SPI, and I2C. The default 4-wire SPI is the fastest communication mode with the OLED. It has the following pin configuration -
For interfacing, the module with Arduino connects the GND and VCC/VDD pins to the ground and 5V out of the Arduino, respectively. The D0, D1, RST, DC, and CS pins can be connected to any GPIO. A 6-pin module doesn't have Chip Select (CS) pin.