Gaqqee OLED display SSD1306

Contents

User Manual

0.96-inch OLED Display Module with Rotary Encoder or Toggle Switch

Model: OLED display SSD1306

1. Product Overview

This module integrates a 0.96-inch OLED display with either a rotary encoder or a three-position toggle switch, providing a compact and versatile input/output solution for various microcontroller projects. It utilizes an IIC (I2C) interface for simplified communication and control.

Two main variants are available:

  • Rotary Encoder + OLED Display Module: Features a 360-degree continuous rotation encoder with a push-button function.
  • Three-Position Toggle Switch + OLED Display Module: Features a dial-wheel switch that acts as three distinct buttons (Up, Down, Center/OK).
Rotary encoder + OLED display combined module with 360-degree rotation indication.

Figure 1: Rotary Encoder + OLED Display Module Description

Play video
Watch video online

Video 1: Product showcase demonstrating the OLED display module.

2. Setup and Wiring

Proper connection to your microcontroller is essential for the module's operation. Both variants use a 3.3V power supply and an IIC communication interface.

2.1 Rotary Encoder + OLED Display Module Wiring

Connect the module to your microcontroller as follows:

Module Pin Description Connect To
GND Ground Microcontroller GND
VCC Power Supply (3.3V) Microcontroller 3.3V
SCL IIC Clock Line Microcontroller SCL
SDA IIC Data Line Microcontroller SDA
A Encoder Phase A Microcontroller Digital Pin
B Encoder Phase B Microcontroller Digital Pin
PUSH Encoder Push Button Microcontroller Digital Pin
Rotary Encoder + OLED Display Combination Module Interface Pinout Diagram.

Figure 2: Rotary Encoder Module Pinout

2.2 Three-Position Toggle Switch + OLED Display Module Wiring

Connect the module to your microcontroller as follows:

Module Pin Description Connect To
GND Ground Microcontroller GND
VCC Power Supply (3.3V) Microcontroller 3.3V
SCL IIC Clock Line Microcontroller SCL
SDA IIC Data Line Microcontroller SDA
K1 Up Button Microcontroller Digital Pin
K2 Down Button Microcontroller Digital Pin
K3 Center Button Microcontroller Digital Pin
Three-Position Paddle Wheel Switch + OLED Display Combination Module Interface Pinout Diagram.

Figure 3: Three-Position Toggle Switch Module Pinout

3. Operating Instructions

The functionality of the module largely depends on the code uploaded to your microcontroller. However, the physical interactions are as follows:

3.1 Rotary Encoder Operation

  • Rotation: The encoder can be rotated 360 degrees continuously. Your code will detect changes in phases A and B to determine direction and steps. This is typically used for scrolling through menus or adjusting values.
  • Push Button: The encoder also functions as a push button (PUSH pin). This is commonly used for selecting menu items or confirming actions.

3.2 Three-Position Toggle Switch Operation

  • Up Button (K1): Activates when the switch is moved to the 'up' position.
  • Down Button (K2): Activates when the switch is moved to the 'down' position.
  • Center Button (K3): Activates when the switch is pressed inwards (like an 'OK' or 'confirm' button).
Three-position dial-wheel switch + OLED display module showing Up, OK, and Down button functions.

Figure 4: Three-Position Toggle Switch Button Functions

3.3 OLED Display

The 0.96-inch OLED display is controlled via the IIC interface. You will need an appropriate library (e.g., Adafruit SSD1306 library for Arduino) to draw text, graphics, and display information. Example display content often includes:

  • Set Speed
  • Setup Time
  • Set Password
  • Software version

4. Maintenance

This module is a sensitive electronic component. Follow these guidelines for optimal performance and longevity:

  • Handle with Care: Avoid dropping or applying excessive force to the module.
  • Keep Dry: Protect the module from moisture and liquids.
  • Avoid Static Discharge: Handle the module by its edges and on an anti-static surface if possible, especially when connecting or disconnecting.
  • Cleanliness: Keep the display surface clean. Use a soft, dry cloth if cleaning is necessary.

5. Troubleshooting

  • Display Not Lighting Up:
    • Check VCC and GND connections for proper voltage (3.3V) and polarity.
    • Verify SCL and SDA connections to your microcontroller.
    • Ensure your code initializes the OLED display correctly and that the IIC address is correct (common addresses are 0x3C or 0x3D).
  • Encoder/Switch Not Responding:
    • Check all digital pin connections (A, B, PUSH for encoder; K1, K2, K3 for switch).
    • Ensure your microcontroller's pins are configured as inputs, potentially with pull-up resistors enabled in software if not already present on the module.
    • Review your code logic for reading the encoder/switch states.
  • Interference/Erratic Behavior:
    • Ensure all pins are correctly seated and there are no accidental shorts between pins or to other components.
    • Check for loose connections or poor soldering.

6. Specifications

Feature Specification
Display Type OLED
Display Size 0.96 inch
Driver IC SSD1315 (compatible with SSD1306)
Operating Voltage (VCC) 3.3V
Interface IIC (I2C)
Lens Shape SQUARE
Dimensions (approx.) 26.5mm x 30mm (1.04in x 1.18in)
Thickness (Rotary Encoder) 6.5mm (0.25in)
Thickness (3-Position Switch) 5mm (0.19in)
OLED + 3-Position Dial Wheel Switch module with included pin header.

Figure 5: OLED + 3-Position Dial Wheel Switch Module

OLED + Rotary Encoder module with included pin header.

Figure 6: OLED + Rotary Encoder Module

7. User Tips

  • Pin Connection Interference: When connecting the module, ensure that the pin headers are aligned correctly and fully inserted. Improperly attached pins or accidental contact with other components can cause interference, leading to the module not operating correctly or at all. Double-check all connections before powering on.
  • Library Compatibility: For Arduino users, the Adafruit SSD1306 library is widely used and compatible with the SSD1315/SSD1306 driver. Ensure you install the correct library and examples for your specific setup.

8. Warranty and Support

For specific warranty information, please refer to the terms and conditions provided by your seller at the time of purchase. If you encounter issues not covered in this manual, please contact your vendor for technical support.

An additional user manual in PDF format may be available for download from the seller's product page or via this link: User Manual (PDF).

© 2024 Gaqqee. All rights reserved.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.